Hi,

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.

If you are not looking for the above, share the uncropped screenshot of the 
Google Ads UI by highlighting the fields you would like to fetch via the Google 
Ads API.  You can send the details via Reply privately to the author option, or 
direct private reply to this email.

Additionally, from the provided API logs, it seems that you are using the 
deprecated version (v17) of the Google Ads API. Note that 'v17' was deprecated 
on October 16, 2024, and will sunset on June 4, 2025. After this date, all v17 
API requests will fail. To avoid any disruption, I would recommend upgrading to 
the latest version, 'v19', as soon as possible to take advantage of the new 
features. You can find more information about the deprecation and sunset dates 
for each version in the documentation.

Thanks,

Google Ads API Team


Feedback
How was our support today?


[2025-04-23 08:05:21Z GMT] This message is in relation to case 
"ref:!00D1U01174p.!500Ht01qUXlY:ref" (ADR-00300692)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 visit 
https://groups.google.com/d/msgid/adwords-api/_gLJe000000000000000000000000000000000000000000000SV5VSX00atEJ_B0aTvuwdVEdYBSFsg%40sfdc.net.
  • lo... Lộc Đoàn
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Lộc Đoàn
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Lộc Đoàn

Reply via email to