Perform incremental (delta) Bulk downloads of Microsoft Advertising campaign changes using LastSyncTimeInUTC

domain: learn.microsoft.com/en-us/advertising/guides · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Perform an initial full download via DownloadCampaignsByAccountIds or DownloadCampaignsByCampaignIds with LastSyncTimeInUTC set to NULL
  2. Record the SyncTime value from the Account record in the returned file
  3. On subsequent downloads, set LastSyncTimeInUTC to the previous SyncTime so only entities updated or deleted since then are returned
  4. Poll GetBulkDownloadStatus until the job succeeds, then download the file within 2 days and before the returned URL (valid 5 minutes) expires
  5. For very large accounts, switch from DownloadCampaignsByAccountIds to DownloadCampaignsByCampaignIds since accounts with very high keyword counts can fail on the account-level call

Known gotchas

Related routes

incrementally sync grade and submission changes from Microsoft Graph using delta queries and getRecentlyModifiedSubmissions
learn.microsoft.com · 5 steps · unrated
Bulk-manage Shopping campaigns and product feeds with the Microsoft Advertising Bulk API
learn.microsoft.com · 6 steps · unrated
Synchronise Dataverse records incrementally using change tracking and delta tokens
dynamics-365 · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans