Adwords Api Errors: OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT

1,026 views
Skip to first unread message

Alex

unread,
Sep 13, 2019, 6:23:47 PM9/13/19
to AdWords API and Google Ads API Forum
Hi All,

I am getting following errors when try to pause an expanded text ad in a campaign (Search Campaign).

Error: OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT at operations[1]

Service: AdGroupAdService

Operation:
 
AdGroupAd adGroupAd = new AdGroupAd
{
    status = AdGroupAdStatus.PAUSED,
    adGroupId = adGroupId,
    ad = new Ad
    {
        id = adId
    }
};
AdGroupAdOperation operation = new AdGroupAdOperation
{
    @operator = Operator.SET,
    operand = adGroupAd
};


AdGroup and Ad Ids are correct and campaign is search campaign and ad is expanded text ad.

I already verified that this is not a experiment, express, or smart campaign. I am able to pause and resume keywords in the same ad group. and also able to change bid for keyword.

If you need any more details, please let us know.

Thanks
Alex

Google Ads API Forum Advisor Prod

unread,
Sep 16, 2019, 1:21:58 AM9/16/19
to adwor...@googlegroups.com
Hi Alex,

Thank you for reaching out.

To better investigate the issue, could you provide the complete SOAP request and response logs when you encountered the error via reply privately to author for further investigation.

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UHGlGT:ref

Alex

unread,
Sep 16, 2019, 8:43:57 AM9/16/19
to AdWords API and Google Ads API Forum
Hi Dannison,

I sent request and response details in private reply.

Please loot at it and If you need more details let us know.

Thanks
Alex

Google Ads API Forum Advisor Prod

unread,
Sep 17, 2019, 1:10:17 AM9/17/19
to adwor...@googlegroups.com
Hi Alex,

Thank you for providing the logs privately.

After checking the logs, I have come up with the following additional questions below to further investigate the issue :
  1. The error you are encountering could be related to your OAuth2 Credentials. Could you confirm if you are encountering the same issue when mutating other entities? Could you also provide the email address you used to generate your OAuth2 Credentials so I could further check?
  2. I could not find the Ad ID specified in your logs. Could you confirm if this ad indeed exists in your account? You could use the AdGroupAdService.get() and confirm whether it is returned or not. If it is not returned, you could use an existing ad id instead.
  3. Could you also confirm what is the original status of the ad you are trying to set to ENABLED?

Alex

unread,
Sep 17, 2019, 7:27:41 AM9/17/19
to AdWords API and Google Ads API Forum
Hi Dannison,

I send an private reply which includes answer to your questions with some details.

Please check and let us know If you need more information.

Thanks
Alex

Google Ads API Forum Advisor Prod

unread,
Sep 18, 2019, 1:21:07 AM9/18/19
to adwor...@googlegroups.com
Hi Alex,

My apologies for the late response. I have received your message privately.

I was checking this with the team and have filed a bug on this as there might be an issue with the service. We will provide you with updates once available.

Alex

unread,
Oct 7, 2019, 9:17:50 PM10/7/19
to AdWords API and Google Ads API Forum
Hi,

Can you provide any update on this ?

Thanks
Abhinesh

Google Ads API Forum Advisor Prod

unread,
Oct 13, 2019, 10:34:33 PM10/13/19
to adwor...@googlegroups.com
Hi Abhinesh,

My apologies for the delay.

Upon checking with the rest of our team, it appears that you are encountering this error because you are trying to pause an automatically generated ad. This is the reason why you are also not able to view it in the Google Ads UI.

Could you confirm if what you intend is to really pause the specific ad? Could you also try pausing the ad group instead as a workaround
? Let me know if pausing the ad group resolves your issue.

Thanks and regards,
Peter
Google Ads API Team


ref:_00D1U1174p._5001UHGlGT:ref

Alex

unread,
Oct 14, 2019, 10:10:26 PM10/14/19
to AdWords API and Google Ads API Forum
Hi Peter,

We need to pause a specific ad in an ad group. Pausing an ad group will not solve the issue.

If account has automatically generated ad and not visible in Google Ads UI and still showing to visitors and occurs cost for account.
Can you provide some more details on this ?
 
Thanks
Alex

Google Ads API Forum Advisor Prod

unread,
Oct 15, 2019, 3:24:09 AM10/15/19
to adwor...@googlegroups.com
Hi Alex,

Our team is currently looking into this issue and working on finding a solution. For now, however, my apologies as I would not be able to provide more information. Rest assured that we'll post an update through this thread once more information is available.

Alex

unread,
Dec 3, 2019, 12:35:51 AM12/3/19
to AdWords API and Google Ads API Forum
Hi,

Any update on this ?

Thansk
Alex

Google Ads API Forum Advisor Prod

unread,
Dec 3, 2019, 12:09:29 PM12/3/19
to abhi...@optmyzr.com, adwor...@googlegroups.com

Hi Alex,

We will get back to you shortly with an update on this issue.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UHGlGT:ref

Google Ads API Forum Advisor Prod

unread,
Dec 4, 2019, 3:08:09 AM12/4/19
to abhi...@optmyzr.com, adwor...@googlegroups.com
Hi Alex,

The ads in question are automatically generated by the Ad Variations feature in Drafts & experiments section of the Google Ads UI. You can find instructions for setting creating and managing ad variations in our Set up an ad variation Help Center article.  

While you can't edit or pause ad variations using the API, you can manage them via the UI screen mentioned in that article if, for example, you no longer want them showing or accruing cost in any given Google Ads account. 

Note that any ExpandedTextAds created by ad variations will have their systemManagedEntitySource == AD_VARIATIONS. So you can filter on and/or identify such ads when working with the API. 

- Adam 

ref:_00D1U1174p._5001UHGlGT:ref

Alex

unread,
Dec 4, 2019, 4:55:52 AM12/4/19
to AdWords API and Google Ads API Forum
Hi Adam,

Thanks for your information.

Thanks
Reply all
Reply to author
Forward
0 new messages