Hi,

By reviewing your concern, I understand that you are trying to retrieve a list 
of available location groups. Note that in Google Ads API before ‘V19’ version 
of Google Ads API, location groups were retrieved using feed_item_set resource. 
But in the ‘V19’ version, the feed_item_set resource has been removed. Now, 
‘Location’ is an asset and ‘LOCATION_GROUP’ is an asset set. I would recommend 
you to refer to this document for complete information.

Below are the answers for your concerns:

1. Which API resource or method should be used to retrieve the list of 
available location groups?

To fetch a list of all available location groups, you should query an asset_set 
resource.

2. Could you please provide an example GAQL query to retrieve all such 
available location groups?

SELECT asset_set.id, asset_set.name, asset_set.status, asset_set.type FROM 
asset_set WHERE asset_set.type = 'BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP'

If you want to fetch all available geo target constants, i.e., all available 
countries, cities, regions etc. in Google Ads API, I would recommend you to use 
geo_target_constant resource.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-04-28 09:52:35Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01qUriR:ref" (ADR-00301563)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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 visit 
https://groups.google.com/d/msgid/adwords-api/thlxc000000000000000000000000000000000000000000000SVFA3N00lWsAuUoDSyOG7gFX6wgJhg%40sfdc.net.
  • Cl... Amit Tomar
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Amit Tomar
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to