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
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
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 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
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
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 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
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
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
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
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
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
[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
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
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
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
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
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
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
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?