Bing Ads SearchCoupons operation fails

Pedro Avila 1 Reputation point

Hello !

I've been struggling with the SearchCoupons operation.

I want to check if my clients (whose ads accountas are linked to my account) have used one of my coupons.

For that I use the SearchCoupons operation with my account acccess token ( I have no problem using this for other operations like SearchInsertionOrders, reporting, etc)

The problem is that when I use that operation I get the 1001 error code.

Here is the SOAP Response (I've removed sensible data)

<?xml version="1.0" encoding="UTF-8"?>  
<env:Envelope xmlns:xsd="" xmlns:xsi="" xmlns:tns="" xmlns:env="" xmlns:ins0="" xmlns:ins1="" xmlns:ins2="" xmlns:ins3="">  
HTTPI /peer POST request to (net_http)  
SOAP response (status 500)  
<?xml version="1.0"?>  
<s:Envelope xmlns:s="">  
      <faultstring xml:lang="en-US">Invalid client data. Check the SOAP fault details for more information. TrackingId: 5622483c-665f-49b3-83fa-a83cedc636ac.</faultstring>  
        <ApiFault xmlns="" xmlns:a="" xmlns:i="">  
          <TrackingId xmlns="">5622483c-665f-49b3-83fa-a83cedc636ac</TrackingId>  
              <a:Message>The user is not authorized to perform this action.</a:Message>  

Why is that happening? I can use the same access token for any other operation like SearchInsertionOrder.

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