Re: How to select all matched locations at account level?

2021-10-21 Thread Александр Кочкарёв
Hello Peter! Very thanks for reply!

I think my question is related more to Ads API because i use GAQL queries, 
and think this queries routed to the same engine that process queries from 
API (please, correct me if its wrong).

My customer want to analyze data which appeared in UI when selecting 
"Locations" (from left menu) -> and then "Matched locations (account)" 
(abowe table header)
I attach new screenshot from my testing AdWorda account where i can see 
this locations.

In API docs (near here: 
https://developers.google.com/google-ads/api/fields/v8/user_location_view_query_builder
 
) i found 3 resources related to locations:

geographic_view
location_view
user_location_view

Only "user_location_view" has "user_location_view.targeting_location" 
attribute. Which i expect to be responsible for showing targetted or 
matched locations.

I make 2 queries with different user_location_view.targeting_location 
condition:


This query, with user_location_view.targeting_location = TRUE produces 3 
rows:

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = TRUE"

Rows returned:

{segments={geoTargetMostSpecificLocation=geoTargetConstants/20455}, 
userLocationView={countryCriterionId=2356, targetingLocation=true, 
resourceName=customers/8180948152/userLocationViews/2356~true}, 
customer={id=8180948152, resourceName=customers/8180948152, 
descriptiveName=My_test_managed_account}}

{userLocationView={resourceName=customers/8180948152/userLocationViews/2356~true,
 
countryCriterionId=2356, targetingLocation=true}, 
customer={resourceName=customers/8180948152, id=8180948152, 
descriptiveName=My_test_managed_account}, 
segments={geoTargetMostSpecificLocation=geoTargetConstants/9040183}}

{segments={geoTargetMostSpecificLocation=geoTargetConstants/1011084}, 
customer={resourceName=customers/8180948152, id=8180948152, 
descriptiveName=My_test_managed_account}, 
userLocationView={targetingLocation=true, 
resourceName=customers/8180948152/userLocationViews/2586~true, 
countryCriterionId=2586}}

But this, with only difference that user_location_view.targeting_location = 
FALSE

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = FALSE"

returns nothing.


And here i am stuck... Don't know how to pull this data, which i expect to 
get from my second query.

On Tuesday, October 19, 2021 at 10:59:31 AM UTC+7 adsapi wrote:

> Hi, 
>
> Thank you for reaching out.
>
> You may note that this forum channel specializes in AdWords 
>  / Google 
> Ads  API 
> related concerns only.
>
> Since you mentioned using Adwords (Google Ads) Scripts 
> , 
> you may reach out to their support team instead via their own forum 
> , if this is indeed the 
> platform you are currently using.
>
> However, if you are using the above mentioned APIs, could you provide our 
> team with more details on the said matched locations? I asked because 
> targeted (not matched) locations can be extracted using the location_view 
> 
> .
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PKP5e: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/8295514b-cad6-4136-86b5-142bf87f485fn%40googlegroups.com.


Re: How to select all matched locations at account level?

2021-10-20 Thread Александр Кочкарёв
Thank you for answer! I think it will be great to make request for this 
feature.

On Wednesday, October 20, 2021 at 2:33:34 PM UTC+7 adsapi wrote:

> Hi,
>
> Thank you for sharing all these details.
>
> Upon checking, the matched locations information do not appear to be 
> currently supported in the Google Ads API. That said, allow me to create a 
> feature request, subject for review, for support in retrieving these 
> locations and their metrics.
>
> For now, you may keep an eye on our blog 
>  for 
> updates and announcements.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PKP5e: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/5d762640-4d0f-45e2-86d2-3b838a76e2d3n%40googlegroups.com.


Re: How to select all matched locations at account level?

2021-10-20 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi,

Thank you for sharing all these details.

Upon checking, the matched locations information do not appear to be currently 
supported in the Google Ads API. That said, allow me to create a feature 
request, subject for review, for support in retrieving these locations and 
their metrics.

For now, you may keep an eye on our blog for updates and announcements.

Best regards,

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


Re: How to select all matched locations at account level?

2021-10-19 Thread Александр Кочкарёв
Hello Peter! Very thanks for reply!

I think my question is related more to Ads API because i use GAQL queries, 
and think this queries routed to the same engine that process queries from 
API (please, correct me if its wrong).

My customer want to analyze data which appeared in UI when selecting 
"Locations" (from left menu) -> and then "Matched locations (account)" 
(above table header)
Here is the screenshot with data which i want to get from query:
https://yadi.sk/i/vYwXdBYQC9pNLg
(can't attach image here because message was deleted immediately after i 
try to post it)

In API docs (near here: 
https://developers.google.com/google-ads/api/fields/v8/user_location_view_query_builder
 ) 
i found 3 resources related to locations:

geographic_view
location_view
user_location_view

Only "user_location_view" has "user_location_view.targeting_location" 
attribute. Which i expect to be responsible for showing targeted or matched 
locations.

I make 2 queries with different user_location_view.targeting_location 
condition:


This query, with user_location_view.targeting_location = TRUE produces 3 
rows:

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = TRUE"

3 rows returned.

But this, with only difference that user_location_view.targeting_location = 
FALSE

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = FALSE"

returns nothing.


And here i am stuck... Don't know how to pull this data, which i expect to 
get from my second query.

On Tuesday, October 19, 2021 at 10:59:31 AM UTC+7 adsapi wrote:

> Hi, 
>
> Thank you for reaching out.
>
> You may note that this forum channel specializes in AdWords 
>  / Google 
> Ads  API 
> related concerns only.
>
> Since you mentioned using Adwords (Google Ads) Scripts 
> , 
> you may reach out to their support team instead via their own forum 
> , if this is indeed the 
> platform you are currently using.
>
> However, if you are using the above mentioned APIs, could you provide our 
> team with more details on the said matched locations? I asked because 
> targeted (not matched) locations can be extracted using the location_view 
> 
> .
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PKP5e: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/e4238ffb-dd26-4985-8f6c-3902b332d02cn%40googlegroups.com.


Re: How to select all matched locations at account level?

2021-10-19 Thread Александр Кочкарёв
Here is the screenshot with data which i want to get from query:
https://yadi.sk/i/vYwXdBYQC9pNLg

(can't attach image here because message was deleted immediately after i 
try to post it)

On Tuesday, October 19, 2021 at 10:35:35 PM UTC+7 Александр Кочкарёв wrote:

> Hello Peter! Very thanks for reply!
>
> I think my question is related more to Ads API because i use GAQL queries, 
> and think this queries routed to the same engine that process queries from 
> API (please, correct me if its wrong).
>
> My customer want to analyze data which appeared in UI when selecting 
> "Locations" (from left menu) -> and then "Matched locations (account)" 
> (above table header)
>
> In API docs (near here: 
> https://developers.google.com/google-ads/api/fields/v8/user_location_view_query_builder
>  
> ) i found 3 resources related to locations:
>
> geographic_view
> location_view
> user_location_view
>
> Only "user_location_view" has "user_location_view.targeting_location" 
> attribute. Which i expect to be responsible for showing targeted or matched 
> locations.
>
> I make 2 queries with different user_location_view.targeting_location 
> condition:
>
>
> This query, with user_location_view.targeting_location = TRUE produces 3 
> rows:
>
> "SELECT user_location_view.country_criterion_id, 
> user_location_view.resource_name, user_location_view.targeting_location, 
> segments.geo_target_most_specific_location, customer.descriptive_name, 
> customer.id FROM user_location_view WHERE 
> user_location_view.targeting_location = TRUE"
>
> 3 rows returned.
>
> But this, with only difference that user_location_view.targeting_location 
> = FALSE
>
> "SELECT user_location_view.country_criterion_id, 
> user_location_view.resource_name, user_location_view.targeting_location, 
> segments.geo_target_most_specific_location, customer.descriptive_name, 
> customer.id FROM user_location_view WHERE 
> user_location_view.targeting_location = FALSE"
>
> returns nothing.
>
>
> And here i am stuck... Don't know how to pull this data, which i expect to 
> get from my second query.
>
> On Monday, October 18, 2021 at 1:53:30 PM UTC+7 Александр Кочкарёв wrote:
>
>> Hello!
>>
>> I'am working on some AdWords script.
>>
>> Can someone advice me how make a correct query (which fields to select 
>> and from what resources) to select matched locations at account level?
>>
>> I want to select in script the same data that i can select from UI:
>> [image: 2021-10-18_13-48-08.png]
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7097a942-a967-4d06-bb58-b3c754804d30n%40googlegroups.com.


Re: How to select all matched locations at account level?

2021-10-19 Thread Александр Кочкарёв
Hello Peter! Very thanks for reply!

I think my question is related more to Ads API because i use GAQL queries, 
and think this queries routed to the same engine that process queries from 
API (please, correct me if its wrong).

My customer want to analyze data which appeared in UI when selecting 
"Locations" (from left menu) -> and then "Matched locations (account)" 
(above table header)

In API docs (near here: 
https://developers.google.com/google-ads/api/fields/v8/user_location_view_query_builder
 
) i found 3 resources related to locations:

geographic_view
location_view
user_location_view

Only "user_location_view" has "user_location_view.targeting_location" 
attribute. Which i expect to be responsible for showing targeted or matched 
locations.

I make 2 queries with different user_location_view.targeting_location 
condition:


This query, with user_location_view.targeting_location = TRUE produces 3 
rows:

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = TRUE"

3 rows returned.

But this, with only difference that user_location_view.targeting_location = 
FALSE

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = FALSE"

returns nothing.


And here i am stuck... Don't know how to pull this data, which i expect to 
get from my second query.

On Monday, October 18, 2021 at 1:53:30 PM UTC+7 Александр Кочкарёв wrote:

> Hello!
>
> I'am working on some AdWords script.
>
> Can someone advice me how make a correct query (which fields to select and 
> from what resources) to select matched locations at account level?
>
> I want to select in script the same data that i can select from UI:
> [image: 2021-10-18_13-48-08.png]
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/806512df-3482-41c2-a15d-f56734fac600n%40googlegroups.com.


Re: How to select all matched locations at account level?

2021-10-19 Thread Александр Кочкарёв
Hello Peter! Very thanks for reply!

I think my question is related more to Ads API because i use GAQL queries, 
and think this queries routed to the same engine that process queries from 
API (please, correct me if its wrong).

My customer want to analyze data which appeared in UI when selecting 
"Locations" (from left menu) -> and then "Matched locations (account)" 
(above table header)
I attach new screenshot from my testing AdWorda account where i can see 
this locations.

In API docs (near here: 
https://developers.google.com/google-ads/api/fields/v8/user_location_view_query_builder
 
) i found 3 resources related to locations:

geographic_view
location_view
user_location_view

Only "user_location_view" has "user_location_view.targeting_location" 
attribute. Which i expect to be responsible for showing targetted or 
matched locations.

I make 2 queries with different user_location_view.targeting_location 
condition:


This query, with user_location_view.targeting_location = TRUE produces 3 
rows:

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = TRUE"

3 rows returned.

But this, with only difference that user_location_view.targeting_location = 
FALSE

"SELECT user_location_view.country_criterion_id, 
user_location_view.resource_name, user_location_view.targeting_location, 
segments.geo_target_most_specific_location, customer.descriptive_name, 
customer.id FROM user_location_view WHERE 
user_location_view.targeting_location = FALSE"

returns nothing.


And here i am stuck... Don't know how to pull this data, which i expect to 
get from my second query.

On Tuesday, October 19, 2021 at 10:59:31 AM UTC+7 adsapi wrote:

> Hi, 
>
> Thank you for reaching out.
>
> You may note that this forum channel specializes in AdWords 
>  / Google 
> Ads  API 
> related concerns only.
>
> Since you mentioned using Adwords (Google Ads) Scripts 
> , 
> you may reach out to their support team instead via their own forum 
> , if this is indeed the 
> platform you are currently using.
>
> However, if you are using the above mentioned APIs, could you provide our 
> team with more details on the said matched locations? I asked because 
> targeted (not matched) locations can be extracted using the location_view 
> 
> .
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PKP5e: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/8aa5f352-3858-4b45-88b2-1c95cdcdfeecn%40googlegroups.com.


RE: How to select all matched locations at account level?

2021-10-18 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi,

Thank you for reaching out.

You may note that this forum channel specializes in AdWords / Google Ads API 
related concerns only.

Since you mentioned using Adwords (Google Ads) Scripts, you may reach out to 
their support team instead via their own forum, if this is indeed the platform 
you are currently using.

However, if you are using the above mentioned APIs, could you provide our team 
with more details on the said matched locations? I asked because targeted (not 
matched) locations can be extracted using the location_view.

Best regards,

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