When I try to create a SmartCampaign, it  occurred error"
MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT","message": 
"A mutate action is not allowed on this resource, from this client."
 Then I tryed both test account and  production account,also responsed the 
same error.Is account should be added whitelist or my request has problem?
THX,viviana

Request:
curl --location --request POST 
'https://googleads.googleapis.com/v9/customers/XXXXXXX/campaigns:mutate' \ 
--header 'Content-Type: application/json' \ --header 'developer-token: 
--header 'login-customer-id: --header 'Authorization: Bearer --data-raw '{ 
"operations":{ "create":{ "name":"TestSmartCmapaigns", 
"campaign_budget":"customers/XXXXXX/campaignBudgets/XXXXXX", 
"advertising_channel_type":"SMART" "status":"PAUSED" } } }'

Response:
{ "error": { "code": 400, "message": "Request contains an invalid 
argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "operationAccessDeniedError": 
"MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT" }, "message": "A mutate action is 
not allowed on this resource, from this client.", "trigger": { 
"stringValue": "EXPRESS" }, "location": { "fieldPathElements": [ { 
"fieldName": "operations", "index": 0 } ] } } ], "requestId": 
"Ucg6-10DeArX2Y--WbFyrw" } ] } }



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2cf3f686-0588-4511-a859-1cf8cc7b1d4en%40googlegroups.com.
  • &q... 晓薇陈
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to