Location Assets Query

55 views
Skip to first unread message

Anurag Vishwakrma

unread,
Jun 17, 2025, 12:43:21 AMJun 17
to Google Ads API and AdWords API Forum

Dear Team,

I am currently working with the "Location Group" assets. I would like to clarify the following points regarding the Location Group section:

  1. Could you please provide GAQL query for fetching location list for creating location group.

  2. How to create location group by locations.

  3. How to add location-group/assets to account, campaign and ad-group.

I have attached a screenshot for reference to provide better context.

Thank you for your support.

google_location.png
google_location2.png

Google Ads API Forum Advisor

unread,
Jun 17, 2025, 3:12:24 AMJun 17
to evon....@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team. 

Please find the answers for your questions below:

1. Could you please provide GAQL query for fetching location list for creating location group.

  • Unlike other assets, location assets are automatically created by the Google Ads API after you create an asset set. If already created then you can use the asset resource to fetch the data from the Google Ads API. You can use the sample GAQL query as per your requirement: 
  • SELECT asset.location_asset.business_profile_locations, asset.location_asset.location_ownership_type, 
    asset.location_asset.place_id, asset.id, asset.name, asset.resource_name, asset.source FROM asset WHERE 
    asset.type = 'LOCATION' 
    
  • Note that this query will fetch you only the place IDs but not the location details as shared in your screenshot. Location assets do not store the location details in the asset. Instead, they store a Place Id that allows you to obtain the data via the Places ID. To get the addresses of the location assets, you need to use the Places API which comes at cost.  

2. How to create location groups by locations.

  • You need to create a location sync asset set and attach it to the customer by following this documentation.
  • Once these steps are completed, the Google Ads API automatically generates location assets and adds them to the created location sync asset set, just as it would if you added them manually using the AssetSetAssetService. You don't need to manage these assets yourself unless you intend to manually add them to a static location group asset set.
  • You can create a location group asset set by following this guide

3. How to add location-group/assets to account, campaign and ad-group.


Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-06-17 07:11:42Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rfTST:ref" (ADR-00314629)



Anurag Vishwakrma

unread,
Jun 20, 2025, 4:13:22 AMJun 20
to Google Ads API and AdWords API Forum

Hi Team,

I am currently working with the "Location Group" assets and would like to clarify a few points regarding the Location Group section:

  1. How can I retrieve the level and added_to fields of a Location Group using GAQL?

  2. How can I fetch insights related to locations via GAQL? If possible, please share an example query.

I’ve attached a screenshot for reference to help provide better context.

Thank you for your support.

Best regards,

location2.png

Google Ads API Forum Advisor

unread,
Jun 20, 2025, 8:21:29 AMJun 20
to evon....@gmail.com, adwor...@googlegroups.com
Hi,

Please find the below responses for your queries:

1) Kindly note that retrieving the 'level' and 'added_to' fields for Location Group assets is not available as per the documentation of the Google Ads API. I will raise a request for this feature to become available in the Google Ads API. However, I cannot provide a scheduled timeline for its availability in the API. So, I would recommend that you follow our Blog Post and Release Notes for future updates.

2) Please be informed that the most relevant resource for location-based insights is geographic_view. This geographic_view resource allows you to retrieve performance data (clicks, impressions, cost, conversions, etc.) broken down by various geographical targeting levels. Kindly refer to the below sample GAQL query for your reference:
SELECT geographic_view.country_criterion_id,
campaign.id, campaign.name, metrics.clicks, 
metrics.impressions, metrics.cost_micros FROM 
geographic_view WHERE segments.date DURING LAST_30_DAYS 
ORDER BY metrics.clicks DESC
Additionally, you can utilize the Google Ads Query Builder and Query Validator to build and validate the queries for retrieving the data from the Google Ads API.

I hope this helps! Feel free to get back to us in case of any further queries.
 

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-06-20 12:20:28Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01rfTST:ref" (ADR-00314629)



Reply all
Reply to author
Forward
0 new messages