Hi,
As in this thread: 
https://groups.google.com/g/adwords-api/c/t746T7rnM0w/m/QplwJrw0AQAJ, 
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.
On Wednesday, October 30, 2024 at 10:23:10 PM UTC+7 Google Ads API Forum 
Advisor wrote:

> 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 
> <https://developers.google.com/google-ads/api/docs/assets/location-assets> 
> for 
> details. The campaign_asset.field_type 
> <https://developers.google.com/google-ads/api/fields/v17/campaign_asset#campaign_asset.field_type>
>  won't 
> contain the asset type 'location'. You need to use the asset.type 
> <https://developers.google.com/google-ads/api/fields/v17/asset#asset.type> 
> field 
> from the asset 
> <https://developers.google.com/google-ads/api/fields/latest/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 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/search>
>  or SearchStream 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v17/customers.googleAds/searchStream>
>  by 
> passing the customer Id. Also, you can use Query Builder 
> <https://developers.google.com/google-ads/api/fields/v14/customer_search_term_insight_query_builder>
>  to 
> create your query and Query Validator 
> <https://developers.google.com/google-ads/api/fields/v14/query_validator> to 
> validate your query. Also, you can check the Conversion reporting 
> <https://developers.google.com/google-ads/api/docs/conversions/reporting> for 
> more information.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02vGhMq:ref" (ADR-00273847)
>
> Thanks,
>   
> [image: Google Logo] 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 visit 
https://groups.google.com/d/msgid/adwords-api/5791d126-e29a-4667-9b71-f3927416fdb8n%40googlegroups.com.
  • RE... '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

Reply via email to