Re: Accessing Mobile App Category Exclusions for specific campaigns - Google Ads API - PHP Lib

2020-02-07 Thread Dan GTD
Thanks Bryan thats great.

So how would I get to know what criterion id to use? Does each campaign 
have a criterion id? Because it would let me do this:

SELECT campaign_criterion.mobile_app_category.mobile_app_category_constant"
. "FROM campaign "
. "WHERE campaign.id = 'XXX'

or

SELECT campaign_criterion.mobile_app_category.mobile_app_category_constant"
. "FROM campaign_criterion "
. "WHERE campaign.id = '1011080063'


So do I have to find the criterion id first and then use that in the above? 
How do I get that? Is there only one criterion_id per campaign?

Thanks

Dan,




On Thursday, 6 February 2020 19:29:25 UTC, adsapiforumadvisor wrote:
>
> Hi Dan,
>
> Thank you for reaching out to us. You can use the “Campaign Criterion 
> ” 
> type report to see mobile_app_cateogry_constant 
> 
>  on 
> the campaign level. Let me know if you have further questions.
>
> Thank you,
> Bryan, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UV05Tf: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/e859bd5d-c898-4dde-a72c-6e23d8635fe7%40googlegroups.com.


Accessing Mobile App Category Exclusions for specific campaigns - Google Ads API - PHP Lib

2020-02-06 Thread Dan GTD
Hi Guys,

I can access Mobile App Exclusions using:


SELECT mobile_app_category_constant.name
FROM mobile_app_category_constant


But how would I access the mobile app category exclusions by *campaign*? If 
I try and as it to the statement above, it says its not compatible 
combining *Campaign* and *mobile_app_category_constant* data.

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/f0dd336f-0fac-436d-a3aa-302a181b3317%40googlegroups.com.


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.


Accessing enclosingId= accountLimitType= from Google Ads API (PHP)

2019-11-11 Thread Dan GTD
Hi,

How do you access the enclosingId= accountLimitType= via the new Google Ads 
API? I know how to get it from the Google Adwords API but when I upload a 
load of jobs via mutateCampaignCriteria it says check enclosingId but I 
can't see anywhere how to do it.

Any tips or examples 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 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/e2d407e5-a643-4ae5-b1d8-c92dc19634e7%40googlegroups.com.


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.


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

2019-11-07 Thread Dan GTD
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 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/5f84a8b0-e82b-4fed-96ac-8fe5bf71d9cc%40googlegroups.com.


Object of class Google\Protobuf\StringValue could not be converted to string - PHP - Google Ads API (BETA)

2019-11-04 Thread Dan GTD
Hi,

When I get back a CampaignCriterion using the PHP lib I get the following 
error:

Object of class Google\Protobuf\StringValue could not be converted to string



How do I correctly access that private StringValue object returned from the 
campaign criterion using php? An example 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 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/78b88dd8-de4d-4c6f-9d08-0e89787921af%40googlegroups.com.


Dev MCC Account Showing as Closed (Google Ads API)

2019-10-25 Thread Dan GTD
Hi Guys,

I've not used my test MCC account for a while and it now it shows as closed 
and it wont let me re-enable it.

I have also tried creating a new test MCC and that doesn't work either.

Any assistance would be appreciated. 

Cheers

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/d5a860c1-abca-4b82-ac21-bff6e292a2e4%40googlegroups.com.