Head to head · Ad reporting · October 2026 research run
Microsoft Advertising API vs X Ads API
Microsoft Advertising API scores 60.3 (C) on agent readiness against X Ads API's 57.3 (C), and leads in 5 of 7 scored categories. X Ads API leads on reliability. Both do ad reporting.
Best advertising platform APIs for AI agents · All 28 advertising comparisons
Which one, for what
Good for Agents that manage or report on Microsoft Advertising accounts, including Google Ads imports.
Ahead on
- Schema & documentation, 79 against 64
- Security & auth, 60 against 48
- Payments & pricing, 30 against 20
Watch for
Call-rate limits carry no numbers. The docs describe a 60-second sliding window, and call the Bulk and Reporting limits internal and subject to change
Good for An agent that manages or reports on X campaigns for an advertiser with an approved developer app, especially through the MCP server, where scopes separate reads from writes and writes start paused.
Ahead on
- Reliability, 75 against 60
Watch for
No OpenAPI file covers the Ads API. The published file (version 2.170, 178 paths) describes api.x.com only
Score by category
| Category | Weight this run | Microsoft Advertising API | X Ads API | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 60 | 75 | X Ads API +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 79 | 64 | Microsoft Advertising API +15 |
| Agent ergonomics | 13%16.2 | 63 | 62 | Microsoft Advertising API +1 |
| Security & auth | 14%17.5 | 60 | 48 | Microsoft Advertising API +12 |
| Payments & pricing | 10%12.5 | 30 | 20 | Microsoft Advertising API +10 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 61 | 63 | X Ads API +2 |
| Transparency & trust | 7%8.8 | 64 | 62 | Microsoft Advertising API +2 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 60.3 · C | 57.3 · C |
Facts side by side
| Fact | Microsoft Advertising API | X Ads API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Microsoft | X Corp. |
| Hosted endpoint | https://campaign.api.bingads.microsoft.com/CampaignManagement/v13 | https://ads-api.x.com/mcp |
| Transports | HTTP | HTTP |
| Auth | OAuth | OAuth |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Proprietary service. The .NET, Java, Python and PHP SDKs are MIT | Proprietary service under the X Developer Agreement and its incorporated Developer Policy |
| Tools exposed | 7 | none |
| Read-only variant documented | yes | yes |
| llms.txt | no | yes |
| Last release | 2026-09-29 | 2026-09-17 |
| Terms last updated | couldn't be read | 2026-04-27 |
| Privacy policy last updated | 2026-09-01 | couldn't be read |
| Customer content may train models | yes | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | yes |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | 128 stars, 19k PyPI/wk | none |
Verdicts
Microsoft Advertising API
Version 13 covers campaigns, budgets, audiences, ads and reports over REST with JSON, with a sandbox that needs no payment method and four official SDKs. Call-rate limits are unpublished, no public OpenAPI file or idempotency key was found, and one OAuth scope covers every operation. The SOAP interface retires on 31 January 2027.
X Ads API
Rate limits are published per endpoint type, a sandbox host never serves ads, and the X Ads MCP server has separate read and write scopes and creates campaigns paused. The REST API needs OAuth 1.0a signing and an approved app, no OpenAPI file covers it, and the official Python and Ruby SDKs were last released in May 2022.
Before you call either
Microsoft Advertising API
- Build and test against the sandbox hosts (
*.api.sandbox.bingads.microsoft.com) with developer token BBD37VB98. Sandbox and production credentials are separate - Send
Authorization: Bearer <token>,DeveloperToken,CustomerIdandCustomerAccountIdon REST calls. Use the account ID, never the eight-character account number - Create campaigns with
Statusset toPaused, then read them back before activating. No validate-only mode was found - On error 117 (CallRateExceeded) wait 60 seconds. On Bulk error 4204 wait up to 15 minutes
- Read
PartialErrorson every add, update and delete. A call can succeed for some items and fail for others
X Ads API
- Build against
https://ads-api-sandbox.x.com/12/first. Create a test account withPOST accountsand a funding instrument there before touching a live account - On HTTP 429 wait until the time in
x-rate-limit-reset. On 503 wait forretry-after. The docs say apps that ignore these can be throttled or lose access without notice - Read the account-level limit from
x-account-rate-limit-*when present and usex-rate-limit-*only when it is absent - For a read-only MCP session request
ads.read offline.accessonly. Withoutoffline.accessthe token expires in about two hours with no refresh - Page with
count(1 to 1,000, default 200) andcursoruntilnext_cursoris null. Analytics endpoints page by time range instead, andwith_total_countcannot be combined withcursor
Questions
Which is better for AI agents, Microsoft Advertising API or X Ads API?
Microsoft Advertising API scores 60.3 (C) on agent readiness against X Ads API's 57.3 (C), and leads in 5 of 7 scored categories. X Ads API leads on reliability.
Do Microsoft Advertising API and X Ads API need an API key?
Both use an OAuth sign-in.
Can an agent call Microsoft Advertising API and X Ads API without installing anything?
Yes. Microsoft Advertising API has a hosted endpoint at https://campaign.api.bingads.microsoft.com/CampaignManagement/v13 and X Ads API at https://ads-api.x.com/mcp.
Other comparisons with Microsoft Advertising API or X Ads API
- Amazon Ads API vs Microsoft Advertising API
- Amazon Ads API vs X Ads API
- Apple Ads Platform API vs Microsoft Advertising API
- Apple Ads Platform API vs X Ads API
- Google Ads API vs Microsoft Advertising API
- Google Ads API vs X Ads API
- LinkedIn Marketing APIs vs Microsoft Advertising API
- LinkedIn Marketing APIs vs X Ads API
- Meta Marketing API vs Microsoft Advertising API
- Meta Marketing API vs X Ads API
- Microsoft Advertising API vs Snapchat Ads API
- Snapchat Ads API vs X Ads API
Machine-readable
- This page as Markdown
/compare/microsoft-advertising-api-vs-x-ads.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/microsoft-advertising-api.json·/api/v1/tools/x-ads.json - From a terminal
anchor compare microsoft-advertising-api x-ads(the CLI) - Over MCP
compare_tools {"a": "microsoft-advertising-api", "b": "x-ads"}at/mcp, no key