RE: location asset total metrics

102 views
Skip to first unread message
Message has been deleted

Google Ads API Forum Advisor

unread,
Oct 30, 2024, 11:23:10 AM10/30/24
to locdoan...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

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. kindly note that this report shows without metrics data. 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'"
You can try making a request using the Search or SearchStream by passing the customer Id. Also, you can use Query Builder to create your query and Query Validator to validate your query. Also, you can check the Conversion reporting for more information.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGhMq:ref" (ADR-00273847)

Thanks,
 
Google Logo Google Ads API Team


Lộc Đoàn

unread,
Oct 30, 2024, 12:49:28 PM10/30/24
to Google Ads API and AdWords API Forum
Hi,
to get the total lines, I'm suggested to get it from   asset_field_type_view. What you suggested seems does not applicable, as I've already try and the number does not match. You can check my query and its result with the request_id I included.
So, for the total lines, I think the keyword is non-overcounted. And I cannot get non-overcounted metrics from views like asset_set_asset or campaign_asset.
So can you suggest how to get the non overcounted data for location asset? Specifically, I want to get the row I included in the picture.

Google Ads API Forum Advisor

unread,
Nov 4, 2024, 12:03:23 AM11/4/24
to locdoan...@gmail.com, adwor...@googlegroups.com
Hi,

To get the total row with non-overcounted metrics for each asset field type, we have to use the asset_field_type_view resource but this resource does not support the location asset. You may check this field asset_field_type_view.field_type to know the supported asset field type.

Since the location asset type is not supported in the API, I will raise a request to add this feature to be available in the Google Ads API. We cannot provide a scheduled timeline for the availability of this feature in the Google Ads API. I would recommend you to follow our Release Notes and Blog Post for future updates.


Please be informed that I have removed your response from the forums as it contains the PII information. You can send the details via Reply privately to the author option, or direct private reply to this email.
Reply all
Reply to author
Forward
0 new messages