Hi, I'm getting the following error:

Method Name: 
/google.ads.googleads.v12.services.AdGroupAdService/MutateAdGroupAds
Host: googleads.googleapis.com
Headers: {
    "x-goog-api-client": "gl-php\/7.4.33 gccl\/17.1.0 gapic\/17.1.0 
gax\/1.19.1 grpc\/1.40.0 rest\/1.19.1 pb\/+n",
    "x-goog-request-params": "customer_id=9999999999",
    "developer-token": "REDACTED"
}
Request: 
{"customerId":"9999999999","operations":[{"create":{"status":"PAUSED","adGroup":"customers\/9999999999\/adGroups\/153724162012","ad":{"finalUrls":["https:\/\/www.hytag.app"],"finalUrlSuffix":"zid=fb2b305487fcf5d0e32258196e6c0b3d","name":"Pacote
 
Mimo - 
320x50_1756","displayUploadAd":{"displayUploadProductType":"HTML5_UPLOAD_AD","mediaBundle":{"asset":"customers\/9999999999\/assets\/81303692797"}}}}}]}

Response
-------
Headers: {
    "request-id": "3v3KT-vD90aTUuIAdnXBeA",
    "date": "Fri, 28 Apr 2023 20:55:43 GMT",
    "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

Fault
-------
Status code: 3
Details: Request contains an invalid argument.
Failure: 
{"errors":[{"errorCode":{"mutateError":"MUTATE_NOT_ALLOWED"},"message":"Mutates 
are not allowed for the requested 
resource.","location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"ad"}]}}],"requestId":"3v3KT-vD90aTUuIAdnXBeA"}
  

And I cant seem to find why the mutate_not_allowed is being triggered.

Any ideas?

Gustavo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/8377c74a-413f-4b96-94bf-46c35d71939an%40googlegroups.com.

Reply via email to