Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-12-02 Thread Dan Slay

Hi Pierrick,
Is there any update to this at all?
Would really appreciate an update as its currently holding up development.
Thanks
Dan.

On Fri, Nov 29, 2019 at 14:21, Dan Slay  wrote:
Hi Pierrick,
Am I doing this correctly? If I do a bulk campaign mutate and there are 
errors it throws an ApiException (see below). Each one of these is 
obviously relating to each campaign that failed but how do I get those 
details e.g. accountLimitType and enclosingId I need to know what campaign 
ids have failed.
Do I have to enable partial failures on mutateCampaignCriteria ? If I do 
that I get another error:
Error occurred during parsing: Class 
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to 
descriptor pool

Am I doing this in the wrong way?
ApiException: {
"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": "0"
}
]
}
},
{
"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": "1"
}
]
}
},
{
"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": "2"
}
]
}
},
{
"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": "3"
}
]
}
},
{
"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": ""

Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-29 Thread Dan Slay

Hi Pierrick,
Am I doing this correctly? If I do a bulk campaign mutate and there are 
errors it throws an ApiException (see below). Each one of these is 
obviously relating to each campaign that failed but how do I get those 
details e.g. accountLimitType and enclosingId I need to know what campaign 
ids have failed.
Do I have to enable partial failures on mutateCampaignCriteria ? If I do 
that I get another error:
Error occurred during parsing: Class 
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to 
descriptor pool

Am I doing this in the wrong way?
ApiException: {
"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": "0"
}
]
}
},
{
"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": "1"
}
]
}
},
{
"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": "2"
}
]
}
},
{
"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": "3"
}
]
}
},
{
"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",

Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-12 Thread Google Ads API Forum Advisor Prod
Hi Dan,

I reached out to you privately requesting the details as I did not receive the 
logs shared. Could you please share the details on the private thread so we can 
investigate further and continue the discussion here?

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWauF: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 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/Dr86Z0Q0V37B00o_D5RqCwSxWQlzCy2vvdjw%40sfdc.net.


Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-12 Thread Dan GTD
You should hopefully have my private response? Please confirm.

Thank

Dan.
 
On Monday, 11 November 2019 15:40:31 UTC, adsapiforumadvisor wrote:
>
> Hi Dan, 
>
> Regret the delay as I was checking this internally with the team. Could 
> you please share the sample logs for both AdWords API and Google Ads API to 
> provide a helpful answer for these errors? You can share the details 
> privately via *Reply privately to author* option. 
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UMWauF: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 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/e045725e-946d-4995-825f-18f8b72bb471%40googlegroups.com.


RE: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-11 Thread Google Ads API Forum Advisor Prod
Hi Dan,

Regret the delay as I was checking this internally with the team. Could you 
please share the sample logs for both AdWords API and Google Ads API to provide 
a helpful answer for these errors? You can share the details privately via 
Reply privately to author option.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWauF: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 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/EWf4i0Q0TA6Y00JMawOI8aRLaFBGRx2Raahw%40sfdc.net.


RE: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-07 Thread Dan GTD
Thanks, I’m pretty sure what limits are being hit but I want to know how to 
find that out via the errors. As you can see in my email it doesn’t give 
specifics, like which campaign(s) had the error(s) and what campaign limit 
specifically was hit. The errors just say this:

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.

How do you check the accountLimitType and enclosingId?

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 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/20a1b965-c460-4765-8c08-16eab2242880%40googlegroups.com.


RE: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-07 Thread Google Ads API Forum Advisor Prod
Hello Dan,

The CAMPAIGN_LIMIT error usually occurs if it is hitting any campaign specific 
limits. Please refer to this guide for more information on the campaign 
criteria limits. If you could share the complete request and response logs, we 
will be happy to take a look. You can share the details privately via Reply 
privately to author option.

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWauF: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 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/1HtgR0Q0MC7300ZDQBodJHTFK8CvknvKEdGw%40sfdc.net.