get MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT when updating campaigns through Google Ads API Campaign Service

960 views
Skip to first unread message

king...@athinkingape.com

unread,
Apr 12, 2019, 6:43:08 AM4/12/19
to AdWords API and Google Ads API Forum
Hello,

I tried to update campaigns through Google Ads API, using the sample code provided in the documentation: https://developers.google.com/google-ads/api/docs/samples/update-campaign?hl=zh-tw#python

After calling the main function, I received this error:
error_code {
  operation_access_denied_error
: MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT
}
message
: "A mutate action is not allowed on this campaign, from this client."
trigger
{
  string_value
: ""
}
location
{
  field_path_elements
{
    field_name
: "operations"
    index
{
   
}
 
}

}

The error is said to be caused by attempting to modify a campaign that was created using the AdWords Express: https://developers.google.com/adwords/api/docs/common-errors#OperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT. However, I am sure the campaigns that I was trying to update are not AdWords Express campaigns, they are universal app campaigns.

In this thread (https://groups.google.com/forum/#!topic/adwords-api/ioP0_5mIRuw) the AdWords team said the document needs to be updated, but seems it hasn't been done yet. I wonder is there any updates on it and any more information about this error?

Thanks,
Kingston

googleadsapi...@google.com

unread,
Apr 12, 2019, 10:30:45 AM4/12/19
to king...@athinkingape.com, AdWords API and Google Ads API Forum
Hi Kingston, 

The error MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT error is triggered when the attempted operation cannot be performed through the API. Could you please share the API request and response logs along with the email address used for generating the OAuth credentials, to check this further? Please check the logging guide in the respective client library for steps to enable logging. You can share the details privately via Reply privately to author option.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages