Hi!
So i'm uploading a number of *CampaignCriterionOperations* using
*mutateCampaignCriteria* and I need to act on any errors for the individual
operations that may arise. So at the moment i'm getting the following error
responses:
ApiException was thrown with message '{
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 0,
"data":
"type.googleapis.com\/google.ads.googleads.v2.errors.GoogleAdsFailure"
},
{
"@type": 0,
"data": [
{
"errorCode": {
"resourceCountLimitExceededError": "CAMPAIGN_LIMIT"
},
"message": "Indicates that this request would exceed
the number of allowed resources in a Campaign. The exact resource type and
limit being checked can be inferred from accountLimitType, and the numeric
id of the Campaign involved is given by enclosingId.",
"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "7"
}
]
}
},
How do I get the ID of the campaign that had the error and the exact
resource type and limit? I can't see any way/example to use
accountLimitType? Or enclosingId?
I have also tried adding ['partialFailure' => true] but that just gives an
error:
Error occurred during parsing: Class
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to descriptor
pool
Any pointers would be great!
Thanks
Dan.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5f84a8b0-e82b-4fed-96ac-8fe5bf71d9cc%40googlegroups.com.