Bing Ads Api . Getting error code 1001: "The user is not authorized to perform this action.".

David Aptikadir 1 Reputation point
2022-12-11T01:07:12.52+00:00

Hi,
I am trying to add a client link via AddClientLinks operation (https://learn.microsoft.com/en-us/advertising/customer-management-service/addclientlinks?view=bingads-13) but I am getting error code 1001: "The user is not authorized to perform this action".
The access token and developer token are correct since I am calling successfully SearchClientLinks operation (https://learn.microsoft.com/en-us/advertising/customer-management-service/searchclientlinks?view=bingads-13). Here is the tracking id : 30a7733d-d877-4f5e-99ca-026dde76c153.

The whole response:
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring>Invalid client data. Check the SOAP fault details for more information. TrackingId: 30a7733d-d877-4f5e-99ca-026dde76c153.</faultstring>
<detail>
<ApiFault
xmlns="https://bingads.microsoft.com/Customer/v13"
xmlns:a="https://bingads.microsoft.com/Customer/v13/Exception"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<TrackingId
xmlns="https://adapi.microsoft.com">30a7733d-d877-4f5e-99ca-026dde76c153
</TrackingId>
<a:OperationErrors>
<a:OperationError>
<a:Code>1001</a:Code>
<a:Details/>
<a:Message>The user is not authorized to perform this action.</a:Message>
</a:OperationError>
</a:OperationErrors>
</ApiFault>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

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.
485 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.