Re: get_geo_target_constant service limit

2021-03-19 Thread Creative Work
>
> geographic_view | Google Ads API | Google Developers
>
> 
> 5 नव॰ 2020 — These fields will not segment metrics in your SELECT clause.
> ... Geographic view resource names have the form: ... · इस पेज का अनुवाद
> करें
> 
> [image: Image]www.runnersworld.com › ...
> 6 Reasons You May Be Tired All the Time | Runner's World
>
> 
> 7 अक्तू॰ 2016 — “If you're still feeling the symptoms of fatigue after
> those changes, then you need professional help,” says Sandra Adamson ...
>  · इस पेज का अनुवाद करें
> 
> [image: Image]www.verywellfit.com › ...
> How to Run Without Getting Tired or Winded - Verywell Fit
>
> 
> If you are new to running and find yourself getting tired during a run,
> there are techniques you can use to increase endurance and ... · इस पेज
> का अनुवाद करें
> 
> [image: Image]www.realbuzz.com › ...
> 21 Ways To Boost Your Running Energy | realbuzz.com
>
> 
> Count your calories. As a runner there is a big difference between
> watching what you eat and not taking on enough fuel. The daily ... · इस
> पेज का अनुवाद करें
> 
> [image: Image]www.ppchero.com › ...
> Using AdWords Geographic Data Reports | PPC Hero
> 
> 12 अप्रैल 2018 — AdWords geographic reports provide performance data by
> location. This data is vital to identifying efficiencies and growth ... · इस
> पेज का अनुवाद करें
> 
> [image: Image]strengthrunning.com › ...
> How to Prevent Over-Training and Running Fatigue (Or, How to Feel ...
> 
> I see a lot of new runners making mistakes with their training that put
> them at an increased risk for injury and feeling less than their best.
> My ... · इस पेज का अनुवाद करें
> 
> लोगों ने यह भी खोजा
> No energy to run anymore
>
> 
> How to run without getting tired easily
>
> 
> How to run longer without stopping
>
> 
> Motivation to keep running when tired
>
> 
> [image: Image]m.youtube.com › watch
> वेब परिणाम
> How To Run Without Getting Tired – Essential Run Tips For Triathletes ...
> 
> 4 जून 2019 — In association with TrainingPeaks.Find out essential run
> tips for before, during and after your run. All of the advice here will ...
> [image: Image]electronicspost.com › ...
> Multiple Choice Questions and Answers on GIS (Geographic ...
>
> 
> 9 जन॰ 2020 — The questions have been arranged chapter wise & they ... By
> ' spatial data' we mean data that has ... The followi

get_geo_target_constant service limit

2021-03-19 Thread INI GlobalOps
Hi - we need geographic data at the ad_group level from the geographic_view 
resource on a daily basis - the issue is that we hit error 429: resource 
exhausted when we run this for even 1 account

*my question is:* how can we get the geographic metrics by ad_group?

this is the code:

client = GoogleAdsClient.load_from_storage(CREDS_PATH)
ga_service = client.get_service('GoogleAdsService', version='v6')
gt_service = client.get_service('GeoTargetConstantService', version='v6')

*# this query returns about 8500 records*
geo_query = {
"api_query": '''
SELECT ad_group.id, customer.id, ad_group.campaign, ad_group.name, 
geographic_view.location_type, geographic_view.resource_name, 
segments.geo_target_city, segments.month
FROM geographic_view  
WHERE segments.date = '2020-03-19'
ORDER BY customer.id '''
}

*# but when we try to run the geo_target_constant service we meet with 429 
error*
def get_batch_list(customer_id, query):
response = ga_service.search_stream(str(customer_id), query)
batch_list = []
for batch in response:
for row in batch.results:

*geotarget = gt_service.get_geo_target_constant(row.segments.geo_target_city)*
batch_list.append(geotarget)
return batch_list

get_batch_list('123456789', geo_query['api_query'])

thanks, frank

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/03f63d01-4e0a-4f5e-a632-7c03d1fadee1n%40googlegroups.com.


RE: [CampaignGroupError.MISSING_CURRENCY_CODE_FOR_CAMPAIGN_GROUP_CREATION_UNDER_MANAGER_ACCOUNT @ operations[0].operand.currencyCode]

2021-03-19 Thread Google Ads API Forum Advisor Prod
Greetings!

This is an unusual error because you are doing something quite unexpected. 
Campaign groups can only be created in Google Ads client accounts. They cannot 
be created in Google Ads manager accounts. In your request to create the 
campaign group, you have the clientCustomerId set to the manager account. You 
need to set the clientCustomerId to the ID of the client account that you just 
created. Please give that a try.

If that doesn't work, feel free to respond on this thread.

Happy coding,
Nadine Wang, Google Ads API Team
ref:_00D1U1174p._5004Q2Dx0fZ: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/xkDcA0QQ8JFE00JZ_fNaLnTcyuIGjaSp4ZyA%40sfdc.net.


RE: GoogleAds API V6

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. 2 represents the LOWEST_UNIQUE and 5 represents the 
ONLY_PARTNER_SHOWN in Java client library so 2 should be Uniquely lowest price 
and 5 should be Only price shown.

Thanks and regards,
Xiaoming, Google Ads API Team


Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2Dx2yj: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/MDMTr0QQ8F8F00VaONtkEPQUiAZ_Wnj2nsDA%40sfdc.net.


Re: The Google Ads API doc is down

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hello,

If you are facing "Service unavailable" issues with the documentation, please 
disable any ad blockers you may have.

Regards,
Anthony

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


Re: ad_group_criterion.gender.type value not getting

2021-03-19 Thread Krishnadas D
Thanks a lot.

On Fri, 19 Mar, 2021, 11:57 pm Google Ads API Forum Advisor Prod, <
adsapiforumadvi...@gmail.com> wrote:

> Hi,
>
> You can refer to this page
> 
> to map the genders to the Ids you are receiving.
>
> Cheers,
> Anthony
>
> [image: Google Logo]
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2Dx8Bl: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/CA%2BDSwyT7R%3DPTx5vyJG7cQ85uo4seNx0VQOs7Evt1QhU1CHnCEg%40mail.gmail.com.


Re: Geographic Cost value is off

2021-03-19 Thread AdWords API and Google Ads API Forum


Reposting the last inquiry 
 from the forum as 
it wasn't routed to our support queue.

Thanks,
Lakshmi, Google Ads API Team
On Tuesday, March 16, 2021 at 3:06:45 PM UTC-4 toddev...@gmail.com wrote:

> We are currently running the following gaql to acquire Geographic 
> information.
> The Cost data(metrics.cost_micros) returned from this gaql needs to be 
> divided by 1,000,000 to get the "Real" Cost.  We feel this needs to be 
> corrected in the API.
>
> SELECT campaign.name ,ad_group.name, geographic_view.location_type 
> ,segments.ad_network_type ,segments.geo_target_city 
> ,segments.geo_target_state ,geographic_view.country_criterion_id 
> ,segments.geo_target_metro ,metrics.impressions, metrics.clicks, 
> metrics.cost_micros FROM geographic_view  WHERE segments.date BETWEEN 
> '2019-01-01' AND '2019-12-31' 
>
>
> See attached screen shot of some data returned by the API
>
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b1ea5c5-b313-4d2b-a5cc-36f98a45178cn%40googlegroups.com.


RE: ad_group_criterion.gender.type value not getting

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hi,

You can refer to this page to map the genders to the Ids you are receiving.

Cheers,
Anthony

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


RE: ads api getting campaign views , view_rate , video view 100%

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hello,

Can you please share the response you are seeing from this report call and your 
client customer Id?

Thanks,
Anthony

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


Re: The Google Ads API doc is down

2021-03-19 Thread Janis Karimovs
I'm dealing with the same issue. I'm getting 'Service Unavailable' when 
trying to view some pages on developers.google.com domain, but it seems to 
work when using Incognito mode.
I'm using Chrome.

On Friday, 19 March 2021 at 16:38:04 UTC+1 dhmitc...@gmail.com wrote:

> From very small test, incognito appears to work fine. I guess I'll switch 
> to using it (or safari which also works)
>
> In USA (Boston)
>
> Don Mitchell
> Cargurus Principal Architect traffic acquisition
>
> On Wednesday, 17 March 2021 at 23:33:38 UTC-4 adsapiforumadvisor wrote:
>
>> Hi Don,
>>
>> Thank you for reaching out. I understand the inconvenience that you are 
>> currently encountering.
>>
>> Before raising this concern with the rest of our team, could you confirm 
>> if using incognito mode does not resolve the issue?
>>
>> In addition, could you also confirm your current location (ex. country) 
>> when accessing the documentation? For this detail, you may confirm via the 
>> *Reply 
>> privately to author* option.
>>
>>
>> Best regards,
>>
>> [image: Google Logo] 
>> Peter Laurence Napa Oliquino 
>> Google Ads API Team 
>>   
>>
>> ref:_00D1U1174p._5004Q2AHNCv: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/4d12694b-93fd-44a6-a9e7-f089596a324cn%40googlegroups.com.


Re: The Google Ads API doc is down

2021-03-19 Thread dhmitc...@gmail.com
>From very small test, incognito appears to work fine. I guess I'll switch 
to using it (or safari which also works)

In USA (Boston)

Don Mitchell
Cargurus Principal Architect traffic acquisition

On Wednesday, 17 March 2021 at 23:33:38 UTC-4 adsapiforumadvisor wrote:

> Hi Don,
>
> Thank you for reaching out. I understand the inconvenience that you are 
> currently encountering.
>
> Before raising this concern with the rest of our team, could you confirm 
> if using incognito mode does not resolve the issue?
>
> In addition, could you also confirm your current location (ex. country) 
> when accessing the documentation? For this detail, you may confirm via the 
> *Reply 
> privately to author* option.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2AHNCv: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/2d8bdcbf-688c-404f-8e68-4787b3123e7fn%40googlegroups.com.


RE: Error when trying to get sub account under manager account.

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hi Puneet,

Thanks for reaching out. Based on the error message indicating that there was 
no access token given, it looks like this request was made without the proper 
authorization header. If you still need further assistance, please reply 
privately with the complete request details.

Thanks,
Matt
Google Ads API Team

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


Re: Internal Error in Change Event Service

2021-03-19 Thread Arshdeep Singh
Great! Thank you for the update.

Looking forward to hearing from you.


On Fri, 19 Mar, 2021, 4:07 am Google Ads API Forum Advisor Prod, <
adsapiforumadvi...@gmail.com> wrote:

> Hi Arshdeep,
>
> This looks like a server-side issue at our end. I was able to pull the
> relevant log and pass it onto the team for further investigation. I'll keep
> you posted as I hear from them.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5004Q2DwPUO: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/CAAbhvEG7jtkiMi1ccNqAgt-DWWaFCMO_VBPc9BggfGBatBKqLQ%40mail.gmail.com.


Re: Cannot pass location Id for linking GMB specific locations while creating Campaign

2021-03-19 Thread Megha Sethi
*Adgroup Feed Matching function* -> 

I am trying to create this matching function in case of i want to combine 
functions using AND

matching_function: {
function_string: `AND(CONTAINS_ANY(FeedAttribute[${feedId},1],{"name of 
business"}),CONTAINS_ANY(FeedAttribute[${feedId},9],{"Pub"}))`,
left_operands: [
{
matching_function: {
function_string: `CONTAINS_ANY(FeedAttribute[${feedId},1],{"name of 
business"})`,
left_operands: [{feed_attribute_operand: { feed_id: feedId, 
feed_attribute_id: 1}}],
operator: CONTAINS_ANY,
right_operands: [
{ constant_operand: { string_value: "name of business" } }
]
},
},
{
matching_function: {
function_string: `CONTAINS_ANY(FeedAttribute[${feedId},9],{"Pub"})`,
left_operands: [{feed_attribute_operand: { feed_id: feedId, 
feed_attribute_id: 9}}],
operator: CONTAINS_ANY,
right_operands: [
{ constant_operand: { string_value: "Pub" } }
]
}
}
],
operator: AND
}

If i try to create separate matching functions to associate with Ad group 
feed, it is working but if i am combining functions- it is giving me 
Internal server error.

Please let me know what i am doing wrong here

Thanks

On Friday, 19 March 2021 at 15:34:06 UTC+5:30 Megha Sethi wrote:

> Thanks Got it.
>
> I have created one Flow for Adding Location extensions for new google ads 
> account for linking it with GMB -> 
> 1. Create a Feed by passing business account id and origin as GOOGLE. So 
> it automatically creates all attributes, feed items and feed mapping.
> 2. Associate this feed with customer by passing placeholder types as 
> LOCATION.
> 3. Create a Local Campaign -> Ad group -> Local Ad.
> 4. I try to Associate Feed with Campaign Feed but it throws an error of 
> Matching function would not be allowed for this placeholder type. I don't 
> understand WHY? Can you please answer it ?
> 5. Then i try to associate Feed with Adgroup feed and it created 
> successfully for granular filtering of locations with specific ads.
>
> Please answer these questions ->
>
> 1. The flow that i created for Adding Location extension to google ads 
> account and then associating specific locations to ad level. Is this 
> correct or am i missing something ?
> 2. Please tell me more about Point no. #4 i mentioned above in the flow
>
> 3. I provide matching function  ->
> matching_function: {
> function_string: 'IDENTITY(true)',
> left_operands: [{ constant_operand: { boolean_value: true } }],
> operator: 'IDENTITY'
>  },
> for associating with customer . Is that right ?
>
> 4. On Adgroup level Feed, i have passed this as matching function -
> matching_function: {
> function_string: 'IN(FEED_ITEM_ID,{167953491297})',
> left_operands: [{ request_context_operand: { context_type: 2 } }],
> operator: 2,
> right_operands: [
> { constant_operand: { long_value: 167953491297 } }
> ],
> },
> Is there any other way we can check with location name OR location id. How 
> do we match in case of Virtual brand when we have same location names?  Do 
> we have to keep this mapping of location id with feed item id for filtering 
> specific locations
>
> 5. When we create Feed, we can pass business account id of GMB - Can we 
> pass multiple account ids in case we have two brands on GMB and we want all 
> locations to be added for Google ads account. AS of now, i can see it is 
> taking only a string. Is there any way to pass multiple. If yes, can you 
> please give example ?
>
> Thanks
>
> On Thursday, 18 March 2021 at 14:32:40 UTC+5:30 adsapiforumadvisor wrote:
>
>> Hi Megha,
>>
>> Thank you for your questions. You may refer below for my responses :
>>
>>
>>
>> *I am able to create Feed Object and as per documentation, Google Ads by 
>> default set Feed attributes and feed mapping between Google Ads and GMB. 
>> But how we need to make sure from API level that Feed Mapping is actually 
>> done because we are creating manually feedmapping and we don't have 
>> resource name to check using GET API.*
>>
>> Feed mapping should be automatically done by the system as mentioned here 
>> 
>> .
>>
>>
>> *1. When we don't create any feed/location extension, if we just create 
>> campaign/adgroup/ad by passing ENUM as GMB at campaign level. BY default it 
>> takes all businesses of GMB to show ads right ?*
>>
>> This approach unfortunately would not work, you would need to follow the 
>> guides 
>> 
>>  
>> in order for your GMB locations to work as intended.
>>
>>
>> *2. If we create Feed Object only , will it be applicable to all 
>> campaigns /ads we create ? *
>>
>> Once the feed is created and setup accordingly, the system should 
>> automatically create the attributes. You will then have the option to 
>> associate it at the customer/campaign/adgroup level. These however, cannot 
>> be associated directly to ads. For more information related to this 
>> question, you may 

ad_group_criterion.gender.type value not getting

2021-03-19 Thread Krishnadas D
in ads API when i use ad_group_criterion.gender.type it is showing some 
values  like 10,20,11 .

but in documentation  it is showing 
FEMALE
MALE
UNDETERMINED
UNKNOWN
UNSPECIFIED
https://developers.google.com/google-ads/api/fields/v6/ad_group_criterion

how to  get proper value or how to identify wich is male and wich is female 
??

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ceb970d-849e-4baa-9aea-4ac0b082503cn%40googlegroups.com.


Re: Getting "OperationAccessDenied.ACTION_NOT_PERMITTED" when making a call

2021-03-19 Thread Janis Karimovs
Hi,

Oh I did actually get Google Ads  and Adwords APIs confused, so I guess I 
am using Adwords API and I managed to get the campaigns through it.

I am not quite sure what you mean by providing you with the SOAP request 
and response logs, where can I find those? The links you posted weren't too 
helpful.

Where I stand now, I have the sample code I linked to earlier to populate a 
user list (which throws me the permission error), and a googleads.yaml 
file. I'm pretty sure the .yaml file is in check since I was able to make a 
call to get the campaigns.

Cheers
Janis K.

On Friday, 19 March 2021 at 04:03:19 UTC+1 adsapiforumadvisor wrote:

> Hi Janis,
>
> The link you provided is for an AdWords API 
>  
> example. Could you confirm whether it is indeed the AdWords API your are 
> using or the Google Ads API 
> ?
>
> Moving forward, retrieving campaigns should be possible only by using a 
> client account ID as the customer ID in your API request header. That said, 
> so our team can further investigate, and since you mentioned an AdWords API 
> example, could you provide your customer ID and the complete SOAP request 
> 
>  
> and response 
> 
>  
> logs, with the requestId 
> 
> ?
>
> You may send the requested details using the *Reply privately to author* 
> option.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2DwkhU: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/4b99c1a8-c66c-4353-9715-71773acab169n%40googlegroups.com.


Re: Where can I get "Total: Search Keywords on Display Network" data from API?

2021-03-19 Thread Google Ads API Forum Advisor Prod
Hello,

Please use the keyword_view report and include the field 
ad_group_criterion.criterion_id. The ids that return 300 should total the 
sum of the Search Keywords on Display Network values.

Regards,
Anthony

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


camapign report with gender,age_range wise using google ads API

2021-03-19 Thread Krishnadas D
Hi , is there any way to get campaign report with age and gender wise with 
google  ads api ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6710921c-a446-425c-a92f-efaca351946an%40googlegroups.com.


Cant access shared accounts through api

2021-03-19 Thread Kostja Saprykin
I set my python program to collect campaigns of account, it works fine for 
campaigns that are linked to my manager, but i cant get data from request 
regarding shared account,
i get this warning:
WARNING:google.ads.google_ads.client:Request made: ClientCustomerId: 
8252429017, Host: googleads.googleapis.com:443, Method: 
/google.ads.googleads.v6.services.GoogleAdsService/SearchStream, RequestId: 
1fssbQ4_jBPXzY3lqJ1pFg, IsFault: True, FaultMessage: User doesn't have 
permission to access customer. Note: If you're accessing a client customer, 
the manager's customer id must be set in the 'login-customer-id' header. 

Shared account linked to b2b.click.mcc as manager, and i dont have access 
to it.
I also set login-customer-id to this mcc but it doesnt help.

How can i fix this?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3bd4b15d-3077-494c-a7b8-5be4bc2b1c21n%40googlegroups.com.


Re: Unclear error: The number of entries in the request exceeds the system limit

2021-03-19 Thread Antoni Martyniuk
Hello Peter!

For some reason "reply to author" is grayed and says I'm not allowed to do 
that in this forum, so I've send all requested details 
to googleadsapi-supp...@google.com and included link to this topic within a 
message. Hope it won't get lost :) 

Thanks!

piątek, 19 marca 2021 o 06:20:26 UTC+1 adsapiforumadvisor napisał(a):

> Hi Antoni,
>
> Create operations should be used only for mutating a not yet existing 
> entity. However, so our team can have a closer look at your issue, could 
> you provide the complete request 
> 
>  
> and response 
> 
>  
> logs, with the request-id 
> ,
>  
> and the batch IDs?
>
> You may send the requested details using the *Reply privately to author* 
> option.
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2DwoJv: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/96e0654f-0514-4efc-af11-c19b157ab24cn%40googlegroups.com.


Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-19 Thread Pavel Hegler
Perfect, thanks

adsapiforumadvisor schrieb am Mittwoch, 17. März 2021 um 19:49:35 UTC+1:

> Hi Pavel,
>
> The get_service method retrieves the service 
> 
>  
> specified in the first argument for the version given in the second 
> argument. In this case, it's getting the GoogleAdsService 
> 
>  for 
> version 6.
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
>  
>
> ref:_00D1U1174p._5004Q2Dw2Ze: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/4daa3ff0-c84e-42cb-8d3a-5d7fe15a937fn%40googlegroups.com.


Re: Cannot pass location Id for linking GMB specific locations while creating Campaign

2021-03-19 Thread Megha Sethi
Thanks Got it.

I have created one Flow for Adding Location extensions for new google ads 
account for linking it with GMB -> 
1. Create a Feed by passing business account id and origin as GOOGLE. So it 
automatically creates all attributes, feed items and feed mapping.
2. Associate this feed with customer by passing placeholder types as 
LOCATION.
3. Create a Local Campaign -> Ad group -> Local Ad.
4. I try to Associate Feed with Campaign Feed but it throws an error of 
Matching function would not be allowed for this placeholder type. I don't 
understand WHY? Can you please answer it ?
5. Then i try to associate Feed with Adgroup feed and it created 
successfully for granular filtering of locations with specific ads.

Please answer these questions ->

1. The flow that i created for Adding Location extension to google ads 
account and then associating specific locations to ad level. Is this 
correct or am i missing something ?
2. Please tell me more about Point no. #4 i mentioned above in the flow

3. I provide matching function  ->
matching_function: {
function_string: 'IDENTITY(true)',
left_operands: [{ constant_operand: { boolean_value: true } }],
operator: 'IDENTITY'
 },
for associating with customer . Is that right ?

4. On Adgroup level Feed, i have passed this as matching function -
matching_function: {
function_string: 'IN(FEED_ITEM_ID,{167953491297})',
left_operands: [{ request_context_operand: { context_type: 2 } }],
operator: 2,
right_operands: [
{ constant_operand: { long_value: 167953491297 } }
],
},
Is there any other way we can check with location name OR location id. How 
do we match in case of Virtual brand when we have same location names?  Do 
we have to keep this mapping of location id with feed item id for filtering 
specific locations

5. When we create Feed, we can pass business account id of GMB - Can we 
pass multiple account ids in case we have two brands on GMB and we want all 
locations to be added for Google ads account. AS of now, i can see it is 
taking only a string. Is there any way to pass multiple. If yes, can you 
please give example ?

Thanks

On Thursday, 18 March 2021 at 14:32:40 UTC+5:30 adsapiforumadvisor wrote:

> Hi Megha,
>
> Thank you for your questions. You may refer below for my responses :
>
>
>
> *I am able to create Feed Object and as per documentation, Google Ads by 
> default set Feed attributes and feed mapping between Google Ads and GMB. 
> But how we need to make sure from API level that Feed Mapping is actually 
> done because we are creating manually feedmapping and we don't have 
> resource name to check using GET API.*
>
> Feed mapping should be automatically done by the system as mentioned here 
> 
> .
>
>
> *1. When we don't create any feed/location extension, if we just create 
> campaign/adgroup/ad by passing ENUM as GMB at campaign level. BY default it 
> takes all businesses of GMB to show ads right ?*
>
> This approach unfortunately would not work, you would need to follow the 
> guides 
> 
>  
> in order for your GMB locations to work as intended.
>
>
> *2. If we create Feed Object only , will it be applicable to all campaigns 
> /ads we create ? *
>
> Once the feed is created and setup accordingly, the system should 
> automatically create the attributes. You will then have the option to 
> associate it at the customer/campaign/adgroup level. These however, cannot 
> be associated directly to ads. For more information related to this 
> question, you may refer to this section 
> 
>  once 
> more.
>
>
> *3.  Is it mandatory to associate it with customer ? If i create Feed on 
> managerial level -> it automatically associate with each customers. On the 
> other hand, if i try to create Feed for sub accounts under that manager -> 
> it automatically associate with each customers. So why is it necessary to 
> associate with Customer ?*
>
> *4.  Is it mandatory to associate it with campaign or adgroup feed? If we 
> have created Feed with given business account id then why is there need to 
> associate with campaigns / ad group feeds. I assume it is applicable to 
> all.*
>
> *5. What is concept of Feed Items? Do we need to create it manually after 
> creating Feed?*
>
> For the above #3, #4 and #5 items, I would recommend reaching out to the 
> Google Ads Product support team, via this link 
> , for further insight on 
> location extension concepts and behavior when set at specific levels.
>
>
> *6. Can we pass specific location ids (from the business that we added to 
> manage in Feed), when we associate Feed with Campaign or Ad Group ?*
>
> This is unfortunately not possible via the Google Ads API. You can 

GoogleAds API V6

2021-03-19 Thread did...@wihphotels.com
hello

Google is sending new values into HotelPriceBucket : 2 and 5.
these values are not figuring into HotelPriceBucketEnum of PHP client API 
V6.1

Google announced to new HotelPriceBuckets
- Only price shown
- Uniquely lowest price

which is 2 and which is 5

thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ec7c1071-4019-4fb8-9b5e-d85149a584c0n%40googlegroups.com.


How to get remaining credit from ads v6 api?

2021-03-19 Thread Jimmy
Hello
I try to get some  bill data (like the mask in the photo) via ads api.
I tried some query FROM account_budget/customer/billing_setup in ads v6 
api, but it seems not return the data that I want.

Where can I get those data? Thank you.
- remain credit in some account
- recent added date
- the amount of added money value recently
[image: 2021-03-19 17 08 56.jpg]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b3ca15a2-b58e-47c5-b993-85c8796d29d2n%40googlegroups.com.


ads api getting campaign views , view_rate , video view 100%

2021-03-19 Thread Krishnadas D
Hi 
how can i get views , view_rate ,  video view 100%  in campaign report 
i am using this query to get these values , 

SELECT campaign.name,
metrics.impressions,
metrics.clicks,
metrics.ctr,
metrics.average_cpv,
metrics.average_cpm,
metrics.interactions,
metrics.cost_micros,
*metrics.views,*

*metrics.view_rate*
FROM campaign WHERE campaign.name LIKE  'campaign name' 
but  it is not working 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1ce415cd-3ee7-4180-9b1b-52734ab82a93n%40googlegroups.com.