Hi,

I'm looking forward to implement user list upload for Customer Match 
<https://developers.google.com/google-ads/api/docs/remarketing/audience-types/customer-match>
 
using Google Ads API. In the provided example 
<https://github.com/googleads/google-ads-java/blob/master/google-ads-examples/src/main/java/com/google/ads/googleads/examples/remarketing/AddCustomerMatchUserList.java#L221>
 
I see that response can contain partial failure, and I want to understand 
how can I handle it if many issues occurred simultaneously(invalid data, 
quota exceeded etc). For example:
say I have quota for 1_000 operations, then if request 2_000 mutate 
operations (ADD) where some operations (say first 300) have invalid data, 
then:
1. What StatusCode will I receive?
2. Am I right that for 2_000 operations I will receive 1_300 errors: first 
300 - with errorCode saying that data is invalid, then 1_000 with errorCode 
saying that resource exhausted?

I assume that response will look something like this:
Exception: {
  "StatusCode": 8, // (1) first question
  "Details": "Resource has been exhausted (e.g. check quota).",
  "RequestId": "MoKNN9ntONjF9nPdug0xSg",
  "Failure": {
    "errors": [ // (2) second question
      {
        "errorCode": {
          "quotaError": "RESOURCE_EXHAUSTED"
        },
        "message": "Too many requests. Retry in 3254 seconds.",
        "details": {
          "quotaErrorDetails": {
            "rateScope": "DEVELOPER",
            "rateName": "Get requests for standard access",
            "retryDelay": "3254s"
          }
        }
      }
    ]
  }
}  

Thanks forward!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8f8272a5-c1c2-4da0-a7a8-1fe807e015b2n%40googlegroups.com.

Reply via email to