Hi,
I'm looking forward to implement user list upload for
Customer Match using Google Ads API. In the
provided example 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!