Thanks for your response. Yes, I've checked the sources you provide. I can 
see that in the *adGroupCriteria.mutate* doc the following would be the 
format of an error response when partialFailures is enabled:

{ "partialFailureError": { object (Status 
<https://developers.google.com/google-ads/api/rest/reference/rest/Shared.Types/ListOperationsResponse#Status>)
 
}, "results": [ { object (MutateAdGroupCriterionResult 
<https://developers.google.com/google-ads/api/rest/reference/rest/v8/MutateAdGroupCriterionResult>)
 
} ] }

However, I am not enabling partial failures, and the doc does not offer 
what that error response would look like. I'm mostly curious about where 
retryable errors will show up. For example, if the *api request rate is too 
high*, will that be reflected here: *StatusLine statusLine = 
response.getStatusLine()*, or, will it be embedded in a json  
*mutateResponse*? The same question for an *internal error *or a *concurrent 
modification *database error, etc. Ultimately I may have to figure it out 
through trial and error of failed requests, but just thought it'd be nice 
to have an idea up front.

On Friday, August 27, 2021 at 1:15:12 AM UTC-5 adsapi wrote:

> Hello,
>
> Thank you for reaching out to us.
>
> Since you're using REST, you have check on this REST 
> <https://developers.google.com/google-ads/api/rest/overview> guide? It is 
> also discuss there about JSON mappings 
> <https://developers.google.com/google-ads/api/rest/design/json-mappings>. 
> As for the mutateResponse 
> <https://developers.google.com/google-ads/api/rest/common/mutate>, there 
> is a separate guide for every REST method (sample: adGroupCriteria.mutate 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v8/customers.adGroupCriteria/mutate#response-body>);
>  
> however, there is no indicated format as to how the json would look like 
> when the request fails. You can try this on your end instead to check how 
> json response would look like. Fields and values should be included on 
> those responses in relation to the specific REST method (as stated on each 
> documentation).
>
> Regards,
> [image: Google Logo] 
> Mark Kevin Albios 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2MiOhw: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/834ebe48-47ed-471b-b25a-275622c25a42n%40googlegroups.com.

Reply via email to