Dear Team,
I am currently working with the "Local store visits and promotions" campaign objective and using the Performance Max campaign type. I would like to clarify the following points regarding the Campaign Feeds section:
Could you please confirm which Google Ads API endpoint or method should be used to fetch all location groups?
When creating a campaign via the API, which field in the campaign resource should be used to define or associate location groups?
I have attached a screenshot for reference to provide better context.
Thank you for your support.
1. Could you please confirm which Google Ads API endpoint or method should be used to fetch all location groups?
SELECT campaign_criterion.criterion_id, campaign_criterion.type, campaign_criterion.resource_name, campaign.advertising_channel_type FROM campaign_criterion WHERE campaign.advertising_channel_type = 'PERFORMANCE_MAX' AND campaign_criterion.type = 'LOCATION_GROUP'
2. When creating a campaign via the API, which field in the campaign resource should be used to define or associate location groups?
Request Body: =============== POST https://googleads.googleapis.com/v19/customers/{customerId}/campaignCriteria:mutate?key=[YOUR_API_KEY] HTTP/1.1 developer-token: ********************** Authorization: Bearer [YOUR_ACCESS_TOKEN] Accept: application/json Content-Type: application/json { "operations": [ { "create": { "campaign": "customers/{customerId}/campaigns/{campaignId}", //PMax campaign ID "locationGroup": { "geoTargetConstants": [ "geoTargetConstants/2008" ], "radius": 3000, "radiusUnits": "METERS", "locationGroupAssetSets": [ "customers/{customerId}/assetSets/{assetSetId}" ] } } } ] } Response: =========== HTTP/1.1 200 content-encoding: gzip content-length: 128 content-type: application/json; charset=UTF-8 date: Thu, 24 Apr 2025 18:03:51 GMT server: ESF vary: Origin, X-Origin, Referer { "results": [ { "resourceName": "customers/{customerId}/campaignCriteria/{campaignId}~{campaignCriterionId}" } ] }
![]() |
Google Ads API Team |
[2025-04-24 18:24:57Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUriR:ref" (ADR-00301563)
Dear Team,
Thank you for your previous detailed response regarding Campaign Feeds and Location Groups.
However, I would like to kindly clarify my actual requirement, as I believe there may have been some misunderstanding:
I am not looking to retrieve location groups already assigned to campaigns.
I am trying to fetch the list of available location groups (the same way it appears in the UI under “Choose store locations” > “Use location groups”) before associating them with a new Performance Max campaign.
Essentially, I would like to display all available location groups in my application so users can select from them when creating a campaign.
Which API resource or method should be used to retrieve the list of available location groups?
Could you please provide an example GAQL query to retrieve all such available location groups?
Thank you for your support and guidance.
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.
![]() |
Google Ads API Team |
[2025-04-28 09:52:35Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUriR:ref" (ADR-00301563)