Upload campaigns via Microsoft Advertising Bulk API

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

Steps

  1. Authenticate via Microsoft Identity Platform OAuth 2.0 (MSAL) to obtain an access token; use the Bulk Service SOAP endpoint or the REST-style bulk upload approach.
  2. Prepare a CSV or TSV file following the Bulk API record format with columns Type, Status, Campaign, Budget, Budget Type, Time Zone, and other required fields per record type.
  3. Submit the bulk file by calling UploadEntityRecordsAsync (SOAP) or via the upload URL obtained from GetBulkUploadUrl; include developer token and customer/account headers.
  4. Capture the RequestId from the upload response and poll GetBulkUploadStatus until the RequestStatus is Completed or Failed.
  5. Download the result file from the URL provided in GetBulkUploadStatus response; the result file contains per-row error codes for any rejected records.
  6. Parse error codes in the result file; common issues include missing required fields, invalid time zones, or budget below minimums.

Known gotchas

Related routes

Upload a first-party data audience to Microsoft Advertising (Bing Ads) via the Customer Match API
learn.microsoft.com/en-us/advertising/bulk-service · 6 steps · unrated
Bulk-manage Shopping campaigns and product feeds with the Microsoft Advertising Bulk API
learn.microsoft.com · 6 steps · unrated
Set the correct Bulk file Format Version when downloading or uploading Microsoft Advertising campaigns via the Bulk service
learn.microsoft.com/en-us/advertising/bulk-service · 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