Need to get headline from ads

43 views
Skip to first unread message

Ad Guru

unread,
Oct 17, 2024, 12:29:39 PM10/17/24
to Google Ads API and AdWords API Forum
SELECT ad_group_ad_asset_view.ad_group, ad_group_ad_asset_view.asset, ad_group_ad_asset_view.field_type, ad_group_ad_asset_view.performance_label, ad_group_ad_asset_view.policy_summary, ad_group_ad_asset_view.enabled, asset.text_asset.text, metrics.impressions, metrics.clicks, metrics.ctr FROM ad_group_ad_asset_view WHERE ad_group_ad_asset_view.field_type = 'HEADLINE' AND ad_group_ad_asset_view.enabled = TRUE AND ad_group_ad.ad.type = 'RESPONSIVE_SEARCH_AD'
can i get the correct GAQL query for getting the Headlines
Message has been deleted

Ad Guru

unread,
Oct 18, 2024, 4:54:45 AM10/18/24
to Google Ads API and AdWords API Forum
How can I retrive associated keywords with the headline.

Google Ads API Forum Advisor

unread,
Oct 18, 2024, 5:05:00 AM10/18/24
to ffkalap...@gmail.com, adwor...@googlegroups.com

Hi,

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

The ad_group_ad.ad.responsive_search_ad.headlines field retrieves the list of text assets for headlines. When the ad serves, the headlines will be selected from this list.

You can use the following query: SELECT ad_group_ad.ad.responsive_search_ad.headlines, metrics.clicks, metrics.impressions FROM ad_group_ad. 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.

For keywords, please provide the uncropped screenshot of the UI which fields you wanted to retrieve from the API and visibility of Google Ads customer ID.

You can send the details via Reply privately to the author option or direct private reply to this email.

SELECT ad_group_ad.ad.responsive_search_ad.headlines, metrics.clicks, metrics.impressions FROM ad_group_ad
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGf2e:ref" (ADR-00272104)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages