Api returns error message "106 UserIsNotAuthorized" while the account is super admin

Chengcheng Yuan 0 Reputation points Microsoft Employee
2025-02-11T09:43:32.16+00:00

I tried to call SOAPAction=GetCampaignsByAccountId, I received the error message UserIsNotAuthorized. (TrackingId: 73d95a6f-985e-4d24-91c8-be03d14f1816)
User's image

I checked the document https://learn.microsoft.com/en-us/advertising/campaign-management-service/getcampaignsbyaccountid?view=bingads-13&tabs=prod&pivots=soap, And this error code indicates that the user does not have access to peform the action.

I am confused because I call SOAPAction=GetUser and found the user is super admin(CustomerRoleId=41) User's image Do you have any idea?

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.
447 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.