Hello Team,
I am working on google Ads API , I have some errors in *Responsive Video
Ads API ,* Please check below request and response log & suggest us
solution.
*Google responsive video ads API request & response :*
Request:
{"customerId":"9978994307","operations":[{"create":{"status":"PAUSED","adGroup":"customers\/9978994307\/adGroups\/131633401671","ad":{"finalUrls":["https:\/\/www.sweply.com"],"videoResponsiveAd":{"headlines":[{"text":"Best-517541111"}],"longHeadlines":[{"text":"Best
1660426802"}],"descriptions":[{"text":"Buy
your-1512772587"}],"callToActions":[{"text":"Shop
Now"}],"videos":[{"asset":"customers\/9978994307\/assets\/18040224225"}]}}}}]}
Response
-------
Headers: {
"request-id": "RyY_b6TPscJUkeN3RL1BKA",
"date": "Sat, 23 Oct 2021 06:32:02 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\";
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\";
ma=2592000,h3-Q043=\":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.","trigger":{"stringValue":"VIDEO"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}},{"errorCode":{"contextError":"
*OPERATION_NOT_PERMITTED_FOR_CONTEXT*"},"message":"The operation is not
allowed for the given
context.","trigger":{"stringValue":"VIDEO"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0}]}},{"errorCode":{"adError":"INCOMPATIBLE_WITH_RESTRICTION_TYPE"},"message":"The
associated ad is not compatible with restriction
type.","trigger":{"stringValue":"VIDEO_MIXED_REACH"},"location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"ad"}]}},{"errorCode":{"fieldError":"REQUIRED"},"message":"The
required field was not
present.","location":{"fieldPathElements":[{"fieldName":"operations","index":0},{"fieldName":"create"},{"fieldName":"ad"},{"fieldName":"name"}]}}],"requestId":"RyY_b6TPscJUkeN3RL1BKA"}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e57d7862-04dd-4565-9a02-833f9969c2e2n%40googlegroups.com.