Had the same exact issue while following the documentation.

Here's what worked for me.

Add login_customer_id to your google-ads.yaml file. It should have the id 
associated with your MCC. 
Then, the *customer* *id* is the id of the client test account you're 
trying to access.

-Matt

On Monday, September 16, 2019 at 6:02:58 AM UTC-4, Naomi Shao wrote:
>
> Hi,
>
> I am trying to create an app campaign with the new API. I tried with both 
> Java and Python, getting the same error message as below. The error message 
> in Java is MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT, I don't understand 
> what exactly I am trying to "mutate"? Basically I think the mutation is 
> creating campaign and budget. I used the sample code of add_campaigns.py 
> which came with the client lib as reference.
>
> Attached is the python script, pls take a look and help! Thx!!
>
> Request made: ClientCustomerId: 9189232388, Host: 
> googleads.googleapis.com:443, Method: 
> /google.ads.googleads.v2.services.CampaignService/MutateCampaigns, 
> RequestId: mGoLwJYa1kppmiEsJYGjPg, IsFault: True, FaultMessage: A mutate 
> action is not allowed on this campaign, from this client.
>
> Request with ID "mGoLwJYa1kppmiEsJYGjPg" failed with status 
> "INVALID_ARGUMENT" and includes the following errors:
>
> Error with message "A mutate action is not allowed on this campaign, from 
> this client.".
>
> On field: operations
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3101971b-56d3-48d8-833d-0ba51250bae8%40googlegroups.com.
  • create app camp... 'Naomi Shao' via AdWords API and Google Ads API Forum
    • Re: create... 'Matthew Fleming' via AdWords API and Google Ads API Forum
    • RE: create... Google Ads API Forum Advisor Prod

Reply via email to