Skip to content
Skip to content
MICROSOFT ADS ENCYCLOPAEDIA

Microsoft Ads REST API migration from SOAP

Microsoft Advertising is transitioning from legacy SOAP web services to modern JSON REST endpoints. Here is the migration roadmap and dual-ID authentication requirements.

Summarise with
Set as preferred source on Google
5 min read
Quick answerMicrosoft Advertising is migrating its developer platform from legacy XML/SOAP protocols to lightweight JSON REST API endpoints (v13+). Developers must update authentication pipelines to OAuth 2.0 with MSAL and implement mandatory dual-ID parameters for account linking.
Section 01

The architecture shift from XML SOAP to JSON REST

For over a decade, the Bing Ads API operated primarily on enterprise XML SOAP web service protocols. Microsoft is modernizing the developer platform with native JSON REST endpoints across Campaign Management, Bulk, and Reporting services.

As outlined in Microsoft REST API Guide, 2026, JSON REST endpoints reduce payload size by up to 60% and simplify mobile and web integrations.

Section 02

The mandatory dual-ID account linking requirement

Effective 26 August 2026, Microsoft enforces a dual-ID requirement for all API account-linking requests (AddClientLinks). Requests must supply both a Manager Account Number and an Account ID to eliminate brute-force linking vulnerabilities as detailed in Microsoft Ads API Security Update, 2026.

API enforcement

Single-ID account linking API requests are rejected with ClientLinkFieldInvalid errors across all versions.

Section 03

Modern OAuth 2.0 and MSAL token handling

Authenticate all REST API requests using OAuth 2.0 tokens issued via the Microsoft Authentication Library (MSAL), passing the bearer token in standard Authorization HTTP headers.

Section 04

Python, Node.js, and .NET SDK upgrades

Upgrade to the latest Microsoft Advertising Python SDK (v13.0.20+) to leverage built-in REST endpoint serialization and automatic token refresh handling.

Consult our Microsoft Ads Hub for developer integration blueprints.

Section 05

SOAP to REST migration comparison

The table below summarizes technical differences between legacy SOAP and modern REST endpoints.

Technical comparison: Legacy SOAP vs Modern REST in Microsoft Advertising
Technical DimensionLegacy SOAP (v13)Modern REST (v13+)
Data InterchangeXML SOAP EnvelopesLightweight JSON Payloads
Payload OverheadHeavy XML envelope tagsMinimal JSON key-value pairs
AuthenticationSOAP Header tokensHTTP Bearer Authorization headers
Account LinkingSingle-ID (Deprecated)Mandatory Dual-ID validation
Questions

Frequently asked questions

Is the Microsoft Advertising SOAP API being shut down?

Microsoft is progressively deprecating SOAP endpoints in favor of JSON REST APIs, with full retirement schedules published on the Microsoft Ads API developer blog.

What is the dual-ID API requirement in Microsoft Advertising?

Enforced in 2026, all account-linking API calls must provide two identifiers (Manager Account Number plus Account ID) to prevent unauthorized account link requests.

Where can I find official SDKs for the Microsoft Ads REST API?

Official SDKs are available for Python, .NET (C#), Java, and PHP on GitHub under the Microsoft Advertising repositories.

How do I authenticate Microsoft Ads REST API calls?

Authenticate using OAuth 2.0 access tokens obtained through Microsoft Entra ID (MSAL) passed as Bearer tokens in HTTP request headers.

Does the Bulk API support REST downloads?

Yes, the Bulk Service supports JSON-formatted bulk file downloads and uploads for large-scale account synchronization.

Keep reading

Read more on this topic

Need developer expertise for your Microsoft Ads API migration?

folkfox builds and audits enterprise API integrations and data pipelines for Microsoft Advertising.

The den

Where to?

Pricing

Choose a section. Enter opens it, Escape continues reading.

Cookie preferences

folkfox uses data the way we use strategy: only when it earns its place.