Method Name: /google.ads.googleads.v12.services.AdGroupAdService/MutateAdGroupAds
Host:
googleads.googleapis.comHeaders: {
"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.