RE: campaign start date timezone issue in MCC account

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Krishnadas,

Your API requests should return date/timezone related to the account specified 
in your API request header. If you wish to extract the exact date/timezone of a 
specific account, you would need to perform API requests using that account 
instead.

An alternative would be to implement locally a timezone converter, once you 
have taken note of the date/timezone of each of the sub/client accounts under 
your MCC. I hope this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FY7x7: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/ZZf1F0QRJH2W00e5s-uopQTKya_NmtGvYGcg%40sfdc.net.


Re: Best practice - read only access

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hello Scott,

Thanks for getting back to us.

With regard to your concern on updating user access levels, you can check on 
these available guides ( Managing User Access | Managing User Access 
Invitations ) instead.

Regards,

Mark Kevin Albios
Google Ads API Team
ref:_00D1U1174p._5004Q2FX3u1: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/Z6WhW0QRJGYL00Fa3zRVbRSgegvRKUuqjgsA%40sfdc.net.


RE: Access level application form

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Samir,

Since a separate team handles these requests and reviews eligibility for these 
access levels, I would recommend that you reach out to them (Compliance Team) 
directly via this contact form, for further insight and guidance. I hope this 
helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FY7ML: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/oQvqv0QRJARR00672r1mE7TAGObwDJ39-1Lw%40sfdc.net.


Re: How to get location name from location_id in google adwords using node.js?

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Vasudev,

Thank you for your follow up. I work with Anthony and allow me to assist you 
for now.

Please note that our team is not familiar with node.js and that it is also not 
supported directly as a client library by the AdWords API. That being said, our 
team would not be able to help troubleshoot the implementation using node.js.

Moving forward, you can refer here, and also to this guide, for more 
information on how you can construct your AWQL if you would be using the query 
method of the LocationCriterionService. I hope this helps.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FX9bC: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/BIHlH0QRJ9PL00bQUxqOXxTmKmoYA5o1935w%40sfdc.net.


RE: Extracting conversions, conversion value, conversion action and conversion action name through the API.

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Alexander,

Thank you for reaching out.

Generally, metrics are associated to entities belonging to a specific client 
account. That said, retrieving these metrics would require customers to specify 
which client account ID (customer ID) they wish to retrieve the metrics from.

In your scenario, it appears that you are querying the metrics using a manager 
account. This is unfortunately not possible due to the above mentioned details.

To avoid this error, you need to ensure that the customer ID you specify in 
your request header (customer_id / ClientCustomerId field) belongs to a client 
account under your manager account.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FY6tx: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/10cFR0QRJ97X00AUagUPf1RYeRhEI1HJib6Q%40sfdc.net.


RE: Setting Campaign Level Conversion Action

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. However, I had to delete your initial post as it 
contained your logs.

Regarding your question :

Is there documentation describing if campaign can or cannot have selective 
optimization on multiple conversion actions?
For example, in UI I can assign either single conversion action (CA) or 
conversion action set (CAS).
However, I can read via API only data with single CA:
SELECT campaign.id, campaign.selective_optimization.conversion_actions FROM 
campaign;


For campaigns with CAS this field is empty so there should be another one.
Please describe how to manage CAS with API and assign it in certain campaign 
selective optimization.

Currently even single CA assignment via API does not work for me:

A conversion action can be specified in the selective optimization attribute 
for you app campaigns, as seen in this guide. However, conversion action sets 
are currently not supported in the Google Ads API and therefore cannot be 
managed and could be the reason why they are not visible in the report.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FY4PC: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/ovRqb0QRJ69S00G4BjO4dTRb2vvW-CG64llg%40sfdc.net.


Re: "Can not access the Google My Business account" error

2021-04-13 Thread 'Vlad Kuznetsov' via AdWords API and Google Ads API Forum
I see now that the customer actually connected this merchant account to 
their GMB account and this fact prevents me from updating their account. Is 
this normal behaviour?

On Tuesday, April 13, 2021 at 5:27:36 PM UTC-7 Vlad Kuznetsov wrote:

> Small addendum:
>
> I am able to get access to this account successfully via API.
>
> The error above occurs only when I attempt to update the account by 
> calling `Accounts.Update(ManagingAccountId, merchantAccountId);`
>
>
> On Tuesday, April 13, 2021 at 5:14:23 PM UTC-7 Vlad Kuznetsov wrote:
>
>> Hi,
>>
>> I have a situation that I cannot explain.
>>
>> I have create an account for my client and linked it to my managing 
>> account.
>>
>> I was able to access it using my managing account credentials. 
>>
>> But since some time back I have not able to get access to it. Instead, I 
>> am getting this `forbidden` exception:
>>
>> *Can not access the Google My Business account [403] Errors [ Message[Can 
>> not access the Google My Business account] Location[ - ] Reason[forbidden] 
>> Domain[global] ]*
>>
>> This is very puzzling. Not me nor the client have been making any changes 
>> to this account. 
>>
>> Could you please take a look?
>>
>> Thanks,
>> Vlad
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b007150-f5bf-4a02-b9f9-e97193843dc8n%40googlegroups.com.


Re: "Can not access the Google My Business account" error

2021-04-13 Thread 'Vlad Kuznetsov' via AdWords API and Google Ads API Forum
Small addendum:

I am able to get access to this account successfully via API.

The error above occurs only when I attempt to update the account by calling 
`Accounts.Update(ManagingAccountId, merchantAccountId);`


On Tuesday, April 13, 2021 at 5:14:23 PM UTC-7 Vlad Kuznetsov wrote:

> Hi,
>
> I have a situation that I cannot explain.
>
> I have create an account for my client and linked it to my managing 
> account.
>
> I was able to access it using my managing account credentials. 
>
> But since some time back I have not able to get access to it. Instead, I 
> am getting this `forbidden` exception:
>
> *Can not access the Google My Business account [403] Errors [ Message[Can 
> not access the Google My Business account] Location[ - ] Reason[forbidden] 
> Domain[global] ]*
>
> This is very puzzling. Not me nor the client have been making any changes 
> to this account. 
>
> Could you please take a look?
>
> Thanks,
> Vlad
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c803b80c-a49d-45d5-85d6-f39292632133n%40googlegroups.com.


"Can not access the Google My Business account" error

2021-04-13 Thread 'Vlad Kuznetsov' via AdWords API and Google Ads API Forum
Hi,

I have a situation that I cannot explain.

I have create an account for my client and linked it to my managing account.

I was able to access it using my managing account credentials. 

But since some time back I have not able to get access to it. Instead, I am 
getting this `forbidden` exception:

*Can not access the Google My Business account [403] Errors [ Message[Can 
not access the Google My Business account] Location[ - ] Reason[forbidden] 
Domain[global] ]*

This is very puzzling. Not me nor the client have been making any changes 
to this account. 

Could you please take a look?

Thanks,
Vlad

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b45da784-9db3-4686-87e7-d15ef70a06c0n%40googlegroups.com.


RE: Incompatible fields in the CAMPAIGN_PERFORMANCE_REPORT

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Alexander,

The field ExternalConversionSource cannot be selected if the fields mentioned 
in your error are also in the report query. For a clearer look at the 
incompatible fields, you can click on "Not compatible with the following 
fields:" from the link I shared.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2FY5TK: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/437cK0QRIQOO00vaV50sZjTdaMHzVP4LlGwA%40sfdc.net.


RE: How to get the used location targeting for a campaign?

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Samir,

You can target and exclude locations using the CampaignCriterionService and 
provide one of the location Ids found here. You'll be able to use different 
locations types such as cities, zip codes or countries. The field negative 
determines whether to target or exclude the location. Here is a comprehensive 
guide that provides details and samples on how to target locations.

Cheers,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2FY5gE: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/CoZzl0QRIQD900xuawW0xZTmWO8dInEHNyFg%40sfdc.net.


RE: problem in GEO_PERFORMANCE_REPORT in adwords API

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Neta,

Can you please provide your report query and its results through reply 
privately so I can take a closer look?

Thanks,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2FY2tu: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/Y1UuG0QRIPP000gOgn3cVbSmScwcIpCsMLiw%40sfdc.net.


Re: Create a seasonality adjustment

2021-04-13 Thread Ершов Александр
Hello, adsapiforumadvisor!

Could you please inform me, are there any changes on this front?

On Thursday, August 27, 2020 at 6:51:32 PM UTC+3 adsapiforumadvisor wrote:

> Hi Bas,
>
> Thank you for reaching out. This feature is not currently supported in the 
> API. There is an outstanding feature request for it so you can have your 
> client keep an eye on our Developer Blog 
>  for information about future 
> releases.
>
> Thanks,
>
> [image: Google Logo] 
> Nirmitabahen Gaurav Patel 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q23v7IH: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/464e2c72-cbb4-4d40-a1bb-b456d916940dn%40googlegroups.com.


Re: GoogleAds API Custom Audience

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Matan,

Thanks for the report type, but by sharing the report, I will need the report 
query and its results to further investigate.

If you're unable to reply privately, you can email us at 
googleadsapi-supp...@google.com.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2FXan6: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/Tg90U0QRIK9L00HnGTdnSmQuawR5m7fYZWug%40sfdc.net.


Re: CUSTOMER_NOT_ENABLED

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hello,

Yes, we are working on getting this feature added. As always, since we cannot 
give any timelines, you can follow our blog for any announcements.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5001UCZyNO: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/JmPsd0QRIK1E00kDmCPlzoRbaSxosMc6-tkA%40sfdc.net.


Token has been expired or revoked

2021-04-13 Thread Every Straus
Hello.

We have error "Token has been expired or revoked"

We don`t make any changes.

And in page https://myaccount.google.com/u/1/permissions our app 
Everystraus was self removed.

We don`t did that.

I read 
https://groups.google.com/u/1/g/adwords-api/c/PWuTWEBR98Q/m/FoDufLdgAwAJ
https://groups.google.com/u/1/g/adwords-api/c/O4ie7zrzh_I/m/iIYaXUTDAQAJ
https://developers.google.com/identity/protocols/oauth2#expiration

And this was not helpful.

Please help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a03a6238-8a20-4703-a839-9ef8970d3b00n%40googlegroups.com.
[2021-04-13 16:11:22] local.INFO: array (
  'command' => 'GoogleGetKeywordsStatistics {user_id} {google_acc_id} 
{client_customer_id} {startDate} {endDate}',
  'user_id' => '1',
  'google_acc_id' => '12',
  'client_customer_id' => '522-368-2215',
)  
[2021-04-13 16:11:22] local.INFO: GuzzleHttp\Exception\ClientException: Client 
error: `POST https://oauth2.googleapis.com/token` resulted in a `400 Bad 
Request` response:
{
  "error": "invalid_grant",
  "error_description": "Token has been expired or revoked."
}
 in 
/var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 /var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Middleware.php(69): 
GuzzleHttp\Exception\RequestException::create()
#1 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(204): 
GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(153): 
GuzzleHttp\Promise\Promise::callHandler()
#3 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/TaskQueue.php(48): 
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(248): 
GuzzleHttp\Promise\TaskQueue->run()
#5 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(224): 
GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(269): 
GuzzleHttp\Promise\Promise->waitIfPending()
#7 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(226): 
GuzzleHttp\Promise\Promise->invokeWaitList()
#8 /var/www/everystraus.su/vendor/guzzlehttp/promises/src/Promise.php(62): 
GuzzleHttp\Promise\Promise->waitIfPending()
#9 /var/www/everystraus.su/vendor/guzzlehttp/guzzle/src/Client.php(123): 
GuzzleHttp\Promise\Promise->wait()
#10 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsGuzzleProxyHttpHandler.php(63):
 GuzzleHttp\Client->send()
#11 /var/www/everystraus.su/vendor/google/auth/src/OAuth2.php(526): 
Google\AdsApi\Common\AdsGuzzleProxyHttpHandler->__invoke()
#12 
/var/www/everystraus.su/vendor/google/auth/src/Credentials/UserRefreshCredentials.php(110):
 Google\Auth\OAuth2->fetchAuthToken()
#13 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/Util/OAuth2TokenRefresher.php(66):
 Google\Auth\Credentials\UserRefreshCredentials->fetchAuthToken()
#14 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/RequestOptionsFactory.php(86):
 Google\AdsApi\Common\Util\OAuth2TokenRefresher->getOrFetchAccessToken()
#15 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/RequestOptionsFactory.php(186):
 Google\AdsApi\AdWords\Reporting\v201809\RequestOptionsFactory->createHeaders()
#16 
/var/www/everystraus.su/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/Reporting/v201809/ReportDownloader.php(156):
 
Google\AdsApi\AdWords\Reporting\v201809\RequestOptionsFactory->createRequestOptionsWithAwqlQuery()
#17 
/var/www/everystraus.su/app/Console/Commands/Google/Statistics/GoogleGetKeywordsStatistics.php(103):
 
Google\AdsApi\AdWords\Reporting\v201809\ReportDownloader->downloadReportWithAwql()
#18 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36):
 App\Console\Commands\Google\Statistics\GoogleGetKeywordsStatistics->handle()
#19 
/var/www/everystraus.su/vendor/laravel/framework/src/Illuminate/Container/Util.php(37):
 

Re: Best practice - read only access

2021-04-13 Thread Scott Spradlin
How can we link to their account of some kind but NOT have full access? We 
want to guarantee that we only have read-only access.

On Friday, April 9, 2021 at 1:45:05 PM UTC-5 adsapiforumadvisor wrote:

> Hi Scott,
>
> Thank you for reaching out. If you do not want to have your email added to 
> the client MCC as a user, then you could consider having the client MCC 
> linked to your main MCC instead. This way you don’t have to expose your 
> email to the client. You could follow the instructions in this guide 
> 
>  to 
> have their MCC account linked to your MCC account. Once these accounts are 
> linked, you would be able to query their accounts directly from your MCC 
> account. 
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>  
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2FX3u1: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/7a56ad3b-15e9-4a7f-8f4d-dfb4564a8b5en%40googlegroups.com.


RE: Google Ads API

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hello,

Thanks for reaching out. You cannot link a production account with a test 
account. There is no need to link the test account with the production -- you 
can make calls against your test account using your developer token without 
this link.

Regards,
Matt
Google Ads API Team

Matt
Google Ads API Team
ref:_00D1U1174p._5004Q2FY2ZC: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/sduaI0QRICGE00RgIYrl_vTuqJADKeftDrnw%40sfdc.net.


campaign start date timezone issue in MCC account

2021-04-13 Thread Krishnadas D
Hi i am using google ads API for getting campaign start date and end date , 
my account is MCC account , so i am getting date with my MCC account 
timeZone

but i need to get time with child account time zone , how can i get like 
that ? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f34d103f-1eb3-4662-8639-4817b9e9ef4bn%40googlegroups.com.


Re: Developer Token

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi,

You will not be able to see the developer token status in the API Center. After 
filling out the form, the compliance team will receive it and email you back 
within a few business days.

Regards,
Anthony

Anthony
Google Ads API Team
ref:_00D1U1174p._5004Q2FXjSQ: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/F18MA0QRI8F100pZ32x3daQ6q2aVpnBFc0Zg%40sfdc.net.


Access level application form

2021-04-13 Thread Samir Sabri
Hello

We already have been approved for the Standard access level, however, at 
the time we have submitted the application form, we said that we will only 
be using APIs for reporting only.

Now, it seems that we will start using other APIs, like setting the 
targeting locations for a campaign. Do we need to do anything regarding our 
access level application?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fcedec95-2e07-46c5-ba17-74df3f2afdc6n%40googlegroups.com.


Re: How to get location name from location_id in google adwords using node.js?

2021-04-13 Thread Vasudev
I tried the solution given in the above link. I'm using node.js so I tried 
using the soap kit as suggested in the document.
I tried to run the same example mentioned in the link above because if It 
works for "locationName". It will work for "Id".

async function getLocationName() {
let wsdlURL = 
'https://adwords.google.com/api/adwords/cm/v201809/LocationCriterionService?wsdl';
const  url = 'https://adwords.google.com/api/adwords/cm/v201809';
let Id = "104";
let LocationName = "Quebec";
var args = { request: {
  "feilds":["Id", "LocationName", "CanonicalName", "DisplayType",
  "ParentLocations", "Reach"],
  "predicates":["LocationName","IN",LocationName]
  }
};
soap.createClientAsync(wsdlURL).then((client) => {
  console.log(client);  
   // Returns an object which contains xml 
script starting as shown below along with other key-values  


  console.log(client.getLocation(args).getLocationName());//Throws 
error "client.getLocation is not a function" with or without args  
  return client.MyFunctionAsync(args);
}).then((result) => {
  console.log(result);
})
.catch((e)=> {
  console.log(e)
});
}

xml: '\n' +
  '\n' +
  '\n' +
  'https://adwords.google.com/api/adwords/cm/v201809"\n' +
  '  xmlns:tns="https://adwords.google.com/api/adwords/cm/v201809"\n' +
  '  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"\n' +
  '  xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema;>\n' +
  '  \n' +

What am I  doing wrong?
On Saturday, 10 April 2021 at 00:20:22 UTC+5:30 adsapiforumadvisor wrote:

> Hello,
>
> Please use the GET operation just as shown here 
> 
>  
> except set a predicate on the Id instead of the LocationName. Let me know 
> if you still face issues.
>
> Cheers,
>
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2FX9bC: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/a7e8289c-4da6-475c-b6ca-83b311340489n%40googlegroups.com.


Extracting conversions, conversion value, conversion action and conversion action name through the API.

2021-04-13 Thread Alexander Hristov
Hey everyone,

I've tested several different solutions but none of them seems to be the 
right answer, In essence I'm afer the following:

  SELECT
customer.id,
metrics.conversions,
metrics.conversions_value,
segments.conversion_action,
segments.conversion_action_name
  FROM customer

I'm using an mcc login in this particular case. Here's what I've tried so 
far:

credentials = Credentials(
None,
refresh_token="**refresh_token**",
token_uri="**uri**",
client_id="**client_id**",
client_secret="**client_secret**",
)
client= GoogleAdsClient(
credentials,
login_customer_id = '**login_customer_id**',
developer_token="**developer_token",
)
service = client.get_service("GoogleAdsService", 'v6')
response = ga_service.search_stream(customer_id=client.login_customer_id, 
query=query)
for batch in response:
for row in batch.results:
logger.debug(row)

Which(understandably) returns an error: 

...*errors { error_code { query_error: REQUESTED_METRICS_FOR_MANAGER } 
message: "Metrics cannot be requested for a manager account. To retrieve 
metrics, issue separate requests against each client account under the 
manager account." }...*

So with that, I decided to go over each of the accessible customers:

ee = []
rr = []

client_ids = client.get_service(
'CustomerService',
version='v6',
).list_accessible_customers().resource_names
for client_id in client_ids:
client_id = client_id.split('/')[1]
logger.debug(client_id)
try:
results = iter(
service.search_stream(client_id, query),
)
except Exception as e:
ee.append(e)
continue
for xxx in results:
rr.append(xxx)

In which case all the requests fail with the following error:

Request made: ClientCustomerId: *, Host: googleads.googleapis.com:443, 
Method: /google.ads.googleads.v6.services.GoogleAdsService/SearchStream, 
RequestId: , IsFault: True, FaultMessage: Metrics cannot be requested 
for a manager account. To retrieve metrics, issue separate requests against 
each client account under the manager account.

All except for one, the one being the manager account itself, which fails 
with the first error. So The question is what am I doing wrong here?

Kind regards,
Alex.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/00a3a583-f607-470d-a0cb-141136794c04n%40googlegroups.com.


How to get the used location targeting for a campaign?

2021-04-13 Thread Samir Sabri
For already created campaigns, how can we get the location targeting for 
each campaign? How can we get the following data:

   - Inclusion or exclusion.
   - Zip code.
   - Counties.
   - Cities.
   - States.

Thank you,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c5d775bf-a4a0-4c03-a17e-534280eb5356n%40googlegroups.com.


Incompatible fields in the CAMPAIGN_PERFORMANCE_REPORT

2021-04-13 Thread 'Alexander Neroslavsky' via AdWords API and Google Ads API Forum
Hello team,

We're having the following problem with Adwords API for the 
CAMPAIGN_PERFORMANCE_REPORT:

HTTP Response Code: 400, FieldPath: ExternalConversionSource, Trigger: 
Cannot select a combination of ExternalConversionSource and 
AbsoluteTopImpressionPercentage,ActiveViewCpm,ActiveViewCtr,ActiveViewImpressions,ActiveViewMeasurability,ActiveViewMeasurableCost,ActiveViewMeasurableImpressions,ActiveViewViewability,AllConversionRate,AverageCost,AverageCpc,AverageCpe,AverageCpm,AverageCpv,AverageFrequency,AveragePageviews,AveragePosition,AverageTimeOnSite,BounceRate,ClickAssistedConversionValue,ClickAssistedConversions,ClickAssistedConversionsOverLastClickConversions,Clicks,ContentBudgetLostImpressionShare,ContentImpressionShare,ContentRankLostImpressionShare,Cost,CostPerAllConversion,CostPerCurrentModelAttributedConversion,Ctr,EngagementRate,Engagements,GmailForwards,GmailSaves,GmailSecondaryClicks,ImpressionAssistedConversionValue,ImpressionAssistedConversions,ImpressionAssistedConversionsOverLastClickConversions,ImpressionReach,Impressions,InteractionRate,InteractionTypes,Interactions,InvalidClickRate,InvalidClicks,NumOfflineImpressions,NumOfflineInteractions,OfflineInteractionRate,PercentNewVisitors,RelativeCtr,SearchAbsoluteTopImpressionShare,SearchBudgetLostAbsoluteTopImpressionShare,SearchBudgetLostImpressionShare,SearchBudgetLostTopImpressionShare,SearchClickShare,SearchExactMatchImpressionShare,SearchImpressionShare,SearchRankLostAbsoluteTopImpressionShare,SearchRankLostImpressionShare,SearchRankLostTopImpressionShare,SearchTopImpressionShare,TopImpressionPercentage,VideoQuartile100Rate,VideoQuartile25Rate,VideoQuartile50Rate,VideoQuartile75Rate,VideoViewRate,VideoViews,
 
Type: ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT

However, this field (and also AllConversionRate and CostPerAllConversion) 
is included in the documentation 

.

Also, these fields (ExternalConversionSource,  AllConversionRate 
and CostPerAllConversion) are missing in the result of the following call:

ReportDefinitionField[] reportDefinitionFields =
reportDefinitionService.getReportFields(
ReportDefinitionReportType.fromString("CAMPAIGN_PERFORMANCE_REPORT"));

What can be the reason of such behaviour?

Thanks in advance!

WBR,
Alexander

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f5bad950-db2a-4fda-b521-b71a29b46cfcn%40googlegroups.com.


How to update a campaign targeted location?

2021-04-13 Thread Samir Sabri
Hello

How would a targeted location for a specific campaign get updated via API 
for exclusion or inclusion? And at what level can we actually set a 
targeted location for both exclusion or inclusion? 

Can we set it via the following:

   - Zip code level
   - Counties
   - Cities
   - State

I can see that we can set the postal code here 

 for 
USA, is it the same as zip code?

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/672e3080-4c2e-48c3-924b-a4a5a90063a4n%40googlegroups.com.


Re: GoogleAds API Custom Audience

2021-04-13 Thread Matan Wilchek
Hi,

I couldn't reply through "reply to author" because that option is disabled 
for me, but I already said, that the report is the view/table called 
'custom_audience' 
- https://developers.google.com/google-ads/api/fields/v6/custom_audience

If you'll enable it for me, I will reply to author with the private details.

Thanks, Matan

On Monday, April 12, 2021 at 6:48:14 PM UTC+3 adsapiforumadvisor wrote:

> Hello,
>
> Can you please share the report where you are seeing this behavior, along 
> with the other details Ernie mentioned through *reply privately*?
>
> Thanks,
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2FXan6: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/9610816a-e79d-4713-8fae-f4a72e1f4a8en%40googlegroups.com.


Re: CUSTOMER_NOT_ENABLED

2021-04-13 Thread cv
Hi Anthony,

This customer ids are returned through API when we call 
listaccessiblecustomers api call.

If this is not giving any API response we should have option to get only 
those accounts which have valid setup/active.

Thanks,


On Monday, 12 April 2021 at 23:26:04 UTC+5:30 adsapiforumadvisor wrote:

> Hello,
>
> Unfortunately, we don't have any updates regarding that feature request.
>
> Here is some documentation on the PARAMETERS 
> 
>  
> clause for Google Ads API queries. 
>
> Regards,
> Anthony
>
> [image: Google Logo] 
> Anthony 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5001UCZyNO: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/d7c04c6c-0ced-4a1b-9b09-ad0af8683a07n%40googlegroups.com.


Re: Setting Campaign Level Conversion Action

2021-04-13 Thread KL
Hi All,

Is there documentation describing if campaign can or cannot have selective 
optimization on multiple conversion actions?
For example, in UI I can assign either single conversion action (CA) or 
conversion action set (CAS).
However, I can read via API only data with single CA:
SELECT campaign.id, campaign.selective_optimization.conversion_actions FROM 
campaign;

For campaigns with CAS this field is empty so there should be another one.
*Please describe how to manage CAS with API and assign it in certain 
campaign selective optimization*.

Currently even single CA assignment via API does not work for me:
List conversionIds = Arrays.asList("526204302", "527630287", 
"527627998");

Campaign campaign = Campaign.newBuilder()
.setResourceName(ResourceNames.campaign(customerId, 11662629026L))
.setSelectiveOptimization(Campaign.SelectiveOptimization.newBuilder()
//.addAllConversionActions(conversionIds)
.addConversionActions("526204302")
.build())
.build();

*Request/response are*:

Request
---
MethodName: google.ads.googleads.v6.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6766519764, 
x-goog-api-client=gl-java/1.8.0_201 gapic/ gax/1.60.1 grpc/1.32.2}
Body: customer_id: "3744819405"
operations {
  update {
resource_name: "customers/3744819405/campaigns/11662629026"
selective_optimization {
  conversion_actions: "526204302"
}
  }
  update_mask {
paths: "resource_name"
paths: "selective_optimization.conversion_actions"
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=T0yqXrUCk9uXP5la-gNIVQ,date=Tue,
 
13 Apr 2021 09:18:20 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-T051=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
request_error: RESOURCE_NAME_MALFORMED
  }
  message: "Resource name \'526204302\' is malformed: expected 
\'customers/{customer_id}/conversionActions/{conversion_action_id}\'."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "update"
}
field_path_elements {
  field_name: "selective_optimization"
}
field_path_elements {
  field_name: "conversion_actions"
}
  }
}

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.
Request ID T0yqXrUCk9uXP5la-gNIVQ failed due to GoogleAdsException. 
Underlying errors:
  Error 0: error_code {
  request_error: RESOURCE_NAME_MALFORMED
}
message: "Resource name \'526204302\' is malformed: expected 
\'customers/{customer_id}/conversionActions/{conversion_action_id}\'."
location {
  field_path_elements {
field_name: "operations"
index: 0
  }
  field_path_elements {
field_name: "update"
  }
  field_path_elements {
field_name: "selective_optimization"
  }
  field_path_elements {
field_name: "conversion_actions"
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d54de38e-b4de-4290-954c-e16542312d43n%40googlegroups.com.
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package com.google.ads.googleads.examples.remarketing;

import static com.google.ads.googleads.examples.utils.CodeSampleHelper.getPrintableDateTime;

import com.beust.jcommander.Parameter;
import com.google.ads.googleads.examples.utils.ArgumentNames;
import com.google.ads.googleads.examples.utils.CodeSampleParams;
import com.google.ads.googleads.lib.GoogleAdsClient;
import 

RE: Error 403: org_internal :This client is restricted to users within its organization.

2021-04-13 Thread Google Ads API Forum Advisor Prod
Hi Ankit,

I had to delete your initial post as it contained your OAuth2 credentials 
information.

Moving forward, there is currently no API feature to look up if a refresh token 
has expired. An error would be returned automatically in such an event. I would 
also recommend that you check out this guide on the possible reasons why your 
refresh token might expire.

Regarding the Error 403: org_internal, our team is unfamiliar with the link 
that you provided. If you have concerns on how to generate your credentials and 
is encountering errors doing so, I would recommend that you reach out to the 
Google API Console support team instead via this link for further guidance.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2FXqu6: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/_ofc00QRHP7A0038tLC0DlRvW9ahIXoOs_xQ%40sfdc.net.


problem in GEO_PERFORMANCE_REPORT in adwords API

2021-04-13 Thread 'Neta Savir' via AdWords API and Google Ads API Forum
hi guys,
in some cases i get  'Criteria ID'  as null and as a result the country
field in this report data is null. when i look in the UI (in adgroup level)
i see that all records has country ('Country/Territory')

So where are these NULL's coming from?
i'm using the adwords api version v201809

thanks,
Regards,
Neta Savir

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CA%2B1WToc36jrjKxYA0NdDgjTk9D1_SNv_u%3DMLrbqEDwCFrdJ4qQ%40mail.gmail.com.


Re: Google Ads API

2021-04-13 Thread Darshak Kmphasis
This error occurs when I try to manually connect the root account in a test 
manage account. Please give me a solution.


On Tuesday, 13 April 2021 at 11:14:11 UTC+5:30 Darshak Kmphasis wrote:

> but when I get the developer token, it says that you can use this token 
> with a test manage account but this error occurs when I use it.
>
> On Tuesday, 13 April 2021 at 11:11:57 UTC+5:30 Darshak Kmphasis wrote:
>
>> Why can't I connect my test manager account with my root account then I 
>> get this error.
>>
>> Error - You can't link this account because the manager and client 
>> account types aren't compatible
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ea51674d-497e-4483-a3a6-079dabaf5a65n%40googlegroups.com.