Hi,
Thank you for contacting the Google Ads API support team.
I understand you are facing issues while retrieving data of location assets for a performance max campaign. To assist you further, provide us with the complete API logs (request and response logs with request-id and request header) generated at your end.
If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.
![]() |
Google Ads API Team |
[2025-04-22 12:10:17Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUXlY:ref" (ADR-00300692)
Yes, we have received your email. To fetch the location asset, you need to use the asset.type field from the asset report. Note that this report is a resource without metrics.
You may see the sample query below for reference:
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'I have successfully replicated the above query on my end and managed to retrieve the location asset for pmax campaign. Kindly give this query a try. Once you have obtained the place ID, you will need to utilize the Places API to access the details of the locations, which comes at cost.
![]() |
Google Ads API Team |
[2025-04-23 08:05:21Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUXlY:ref" (ADR-00300692)
SELECT metrics.clicks, metrics.impressions, metrics.conversions, metrics.average_cpc, metrics.cost_micros, campaign.advertising_channel_type, segments.date FROM asset_group WHERE campaign.advertising_channel_type = '"'"'PERFORMANCE_MAX'"'"' AND segments.date >= '"'"'2025-04-01'"'"' AND segments.date <= '"'"'2025-04-21'"'"' AND metrics.impressions > 0If you would like to retrieve the location asset details of PMax campaigns as shown in the given screenshot, you can use the asset report. Please find the given GAQL query for your reference:
SELECT asset.id, asset.name, asset.location_asset.place_id, asset.location_asset.location_ownership_type FROM asset WHERE asset.id = 149233636843Also, 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.
![]() |
Google Ads API Team |
[2025-04-23 11:35:39Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qUXlY:ref" (ADR-00300692)