Hi Oksana,

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?

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGcKG:ref" 
(ADR-00270652)

Thanks,

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 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 on the web visit 
https://groups.google.com/d/msgid/adwords-api/rxWRC000000000000000000000000000000000000000000000SL1GGT00dbUgHBmaRFS53hT35Pu7Zg%40sfdc.net.
  • Lo... 'Oksana Sulyma' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to