509 questions with Microsoft Advertising API tags

Sort by: Updated
1 answer

Microsoft OAuth Error Code : AADSTS650052

When we request consent for our application , users are facing this error : AADSTS650052: The app is trying to access a service 'd42ffc93-c136-491d-b4fd-6f18168c68fd'(Microsoft Advertising API Service) that your organization 'xxxxx' lacks a service…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2022-12-29T15:32:55.903+00:00
Vinay Pugal 36 Reputation points
answered 2025-11-19T13:50:01.62+00:00
Manoj 0 Reputation points
2 answers

Windows Development

HTTP ResponseHTTP/1.1 401 Unauthorized Cache-Control: no-cache Pragma: no-cache Content-Type: application/json; charset=utf-8 Expires: -1 Date: Tue, 14 Nov 2025 14:42:00 GMT Content-Length: 456 Request-Id:…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-11-14T16:20:45.7166667+00:00
anukul harry 0 Reputation points
edited the question 2025-11-17T09:18:42.4633333+00:00
Harry Vo (WICLOUD CORPORATION) 3,505 Reputation points Microsoft External Staff Moderator
2 answers

Sandbox API Authentication Error — Code 105 (InvalidCredentials)

Hello Microsoft Advertising Support Team, I’m currently testing Microsoft Advertising API integration in the sandbox environment, and I’m consistently encountering the following error when calling the GetUser operation: {   "details": {   …

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-11-12T04:54:29.1566667+00:00
santosh sakre 0 Reputation points
answered 2025-11-12T08:41:43.7966667+00:00
MS Advertising - Vahid 110 Reputation points Microsoft External Staff Moderator
1 answer

Microsoft Advertising API Error

HTTP Response HTTP/1.1 401 Unauthorized Cache-Control: no-cache Pragma: no-cache Content-Type: application/json; charset=utf-8 Expires: -1 Date: Tue, 28 Oct 2025 14:42:00 GMT Content-Length: 456 Request-Id:…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-28T12:40:08.06+00:00
Oscar harry 0 Reputation points
edited the question 2025-11-11T22:49:09.1133333+00:00
Alexandra Tanasescu 0 Reputation points Microsoft External Staff Moderator
2 answers

Authentication failed. Either supplied credentials are invalid or the account is inactive

Hello All, I have been working on Microsoft Ads API data ingestion and I would need a help to proceed ahead as I am stuck at one stage with an error. Below are the steps I have already performed: Created azure app registration. Requested consent and…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-11-11T14:38:49.7533333+00:00
NIKHIL KUMAR 126 Reputation points
answered 2025-11-11T15:33:45.8266667+00:00
MS Advertising - Vahid 110 Reputation points Microsoft External Staff Moderator
3 answers

how to resolve ConnectionResetError(104, Connection reset by peer) when requesting for Microsoft Ads report using python library

I keep getting the error ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) when trying to download campaign performance report using the Python SDK. May I know how I can resolve this error? Attached is the python script…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-11-07T02:09:19.7333333+00:00
Derek Poh 0 Reputation points
commented 2025-11-10T10:42:24.9+00:00
MS Advertising - Dagmara 395 Reputation points Microsoft External Staff Moderator
0 answers

Microsoft Ads REST API: GetBillingDocumentsInfo Returns Empty Results

Hi, I think I found a bug or an undocumented permissions issue when I try to query for billing-docs via the microsoft-ads rest api. below is a claude generated summary walking through the EXACT curl commands I used and their various responses. As a…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-11-05T21:40:49.76+00:00
PIO 0 Reputation points
commented 2025-11-06T07:17:48.08+00:00
mr jack 10 Reputation points
0 answers

Issue with Reporting API – NullRequest Error When Submitting Campaign Performance Report

Dear Microsoft Advertising Support Team, I am encountering a persistent "NullRequest" error when attempting to submit a Campaign Performance Report via the Reporting API v13. I would appreciate your assistance in identifying the root cause. …

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-31T11:52:48.8233333+00:00
santosh sakre 0 Reputation points
edited the question 2025-10-31T11:54:20.0766667+00:00
santosh sakre 0 Reputation points
1 answer

Question about EditorialStatus in ImageAsset (Microsoft Advertising API)

Hello, I have a question about the Microsoft Advertising Bing Ads API. When retrieving ads using the GetAdsByAdGroupId operation, I found that for ResponsiveAd types, the Images (an array of AssetLink elements) are returned. However, the EditorialStatus…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-30T03:30:25.8066667+00:00
ryoheimita-8112 0 Reputation points
commented 2025-10-31T02:27:56.3766667+00:00
ryoheimita-8112 0 Reputation points
1 answer

How to fetch campaigns with metrics using REST API (Python)

Hi Microsoft Ads Support Team, I’m integrating the Microsoft Advertising API using REST + Python, and I need to fetch campaigns along with their performance metrics (like impressions, clicks, CTR, spend, conversions, and currency code) — similar to what…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-28T05:32:26.5533333+00:00
santosh sakre 0 Reputation points
answered 2025-10-29T09:29:51.5866667+00:00
MS Advertising - Arsen 155 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Responsive Ad Image aspect ratios error (association type not valid)

Hi all :) We are using the Microsoft Advertising API via the Java SDK. Our goal is to upload a "responsive ad" (audience ad), sub type "native". A code example for this process can be found here:…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-27T12:47:03.3933333+00:00
dev-om 20 Reputation points
commented 2025-10-28T16:23:11.0733333+00:00
MS Advertising - Dagmara 395 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

Error: "Error 105 - Authentication failed"

Developer Token: <PII Removed> Error TrackingId: <PII Removed> Error: "Error 105 - Authentication failed" Is my developer token approved and active? Why am I getting Error 105?" As far as I can tell, this is the only error.…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-09T08:35:16.6433333+00:00
Paddy Ogee 20 Reputation points
edited the question 2025-10-23T13:37:54.8433333+00:00
Ana M 0 Reputation points Moderator
1 answer

[Reporting API v13] Error 105 (InvalidCredentials) when using OAuth 2.0 client credentials (daemon / server-to-server)

[Reporting API v13] Error 105 (InvalidCredentials) when using OAuth 2.0 client credentials (daemon / server-to-server) Summary I’m building a server-to-server (daemon / machine-to-machine) integration to pull Microsoft Advertising reports via REST…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-14T19:21:36.9133333+00:00
felipy c 0 Reputation points
commented 2025-10-16T17:29:50.5566667+00:00
MS Advertising - John Mark 230 Reputation points Microsoft External Staff Moderator
3 answers

Why does "Microsoft Advertising API Service" not appear in the Enterprise application?

Hi, Please advise why the Microsoft Advertising API Service cannot find as below screenshot. Thanks

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2021-09-27T13:57:20.59+00:00
Darren Tran 1 Reputation point
commented 2025-10-16T15:12:07.2966667+00:00
Mike Zima 0 Reputation points
1 answer

How to fix AADSTS650052 error when connecting microsoft ads connector on fivetran

Hi, I am using fivetran to bring microsft ads data into my system. When I click on authorize, the following message pops up: AADSTS650052: The app is trying to access a service 'd42ffc93-c136-491d-b4fd-6f18168c68fd'(Microsoft Advertising API…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-05-08T14:18:53.21+00:00
Karan, Kshitij 0 Reputation points
answered 2025-10-16T11:38:16.2566667+00:00
Manoj 0 Reputation points
1 answer

Fetch Monthly advertising billing invoices using API

I am writing to request your assistance in fetching invoices from Microsoft Advertising using the API. Despite having reviewed the available documentation, I am experiencing challenges in successfully implementing the API calls to retrieve invoice data.…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-06-03T05:11:35.2233333+00:00
Ranjeet Singh 0 Reputation points
answered 2025-10-16T11:32:40.61+00:00
Manoj 0 Reputation points
1 answer

Bing ADS API - InternalError In Bulk Upload

Hi I am getting an unknown error while try to upload a bulk file via BING Ads <OperationError> **<Code>0</Code>** <Details i:nil="true"/> <ErrorCode>InternalError</ErrorCode> <Message>An internal…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-06-17T15:22:50.92+00:00
Filipe-7862 0 Reputation points
answered 2025-10-16T10:57:59.8133333+00:00
Manoj 0 Reputation points
1 answer

Cant get sandbox token for Bing Ads anymore - says redirect_uri is not valid

Cant get sandbox token for Bing Ads anymore. This used to work. I see the instructions have changed and now you need an outlook.com email vs outlook-int.com. I tried the url (with PROD_CLIENT_ID replaced with my client…

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-06-05T19:24:40.2033333+00:00
Oliver Chrzan 0 Reputation points
answered 2025-10-16T10:39:18.0733333+00:00
Manoj 0 Reputation points
4 answers

GetEstimatedBidByKeywordIds has been failing last 2 days

No changes to my code nor the version of the PHP SDK ("13.0.25.2") but the last two nights, GetEstimatedBidByKeywordIds has been failing. All other API calls are working fine.

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-09-25T15:11:10.16+00:00
Eric Nagel 55 Reputation points
answered 2025-10-09T14:37:57.16+00:00
MS Advertising - John Mark 230 Reputation points Microsoft External Staff Moderator
1 answer

How long do customer lists typically take to populate via the API?

The API connection was made over a week ago and the audiences still haven't populated. What is the audience queue process on Microsoft's side? How long should this take?

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
509 questions
asked 2025-10-08T11:04:11.3166667+00:00
Molly Peake 0 Reputation points
answered 2025-10-08T15:26:07.43+00:00
MS Advertising - Vahid 110 Reputation points Microsoft External Staff Moderator