Query assets

84 views
Skip to first unread message

dhmitc...@gmail.com

unread,
May 5, 2021, 1:43:00 PM5/5/21
to AdWords API and Google Ads API Forum
Just checking, the Google Ads Query Language (https://developers.google.com/google-ads/api/docs/query/overview) says it cannot handle repeated fields. ResponsiveSearchAdInfo says headlines[] is a field. I assume altho it doesn't use the word "repeated", being an array means it is repeated.

Can one use the query language to get it from AdTextAsset directly such as
```
  SELECT ad_text_asset.pinned_field, ad_text_asset.asset_performance_label, asset_performance_label.text, ad.id
  FROM at_text_asset
  WHERE ad.id IN (...)
```

Google Ads API Forum Advisor Prod

unread,
May 5, 2021, 10:41:02 PM5/5/21
to dhmitc...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out.

The Google Ads API currently does not have an ad_text_asset report. Could you confirm if what you are referring to instead is the asset or the ad_group_ad_asset_view reports?

In addition, I would recommend that you try out our Query Builder as well to help in constructing your API report queries and determine which fields would be compatible when querying a specific resource.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2GKDh7:ref
Reply all
Reply to author
Forward
0 new messages