Hi,
Thanks for posting your concern to us. I had to delete your initial post as it
contained your logs. I am reposting below without the sensitive log information
for reference :
“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
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"}]}}],}
”
Could you provide us with the complete request and response logs with the
request-id when you encountered the error, so our team can better check?
If you haven't yet, logging can be enabled by navigating to the Client
libraries > Your client library (ex. Java) > Logging documentation, which you
can access from this link. You may then send the requested information via the
Reply privately to author option. If this option is not available, you may send
the details directly to our [email protected] alias instead.
Regards,
Yasar
Google Ads API Team
ref:_00D1U1174p._5004Q2QEdW8:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30x9e000000000000000000000000000000000000000000000R1IXTU00KAonvHT8T920ro0Ur0-CnQ%40sfdc.net.