![]() |
Google Ads API Team |
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/2yZNKaDsNdM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/hUvZJ000000000000000000000000000000000000000000000SKUJMD00vOP64cwARhGVVo6yEsGQ5g%40sfdc.net.
The location assets are handled differently from other asset types. See Location assets for details. The campaign_asset.field_type won't contain the asset type 'location'. You need to use the asset.type field from the asset report. Please 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 using the customer ID "1618748068". 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 incurs a cost.
Could you also let us know which report you've used earlier to retrieve the location ID?