Responsive Search and Display Ads Assets ID

79 views
Skip to first unread message

Reggie Pasco

unread,
Sep 12, 2019, 11:40:09 AM9/12/19
to AdWords API and Google Ads API Forum
hi,

How can I get the Asset ID of the Headlines and Description from the specific Responsive Search Ads?

Using the Ad Group Ad resource, I can only retrieve the actual text but not the assetid:
e.g. Headlines : {[ { "text": "Experience the Stars" }, { "text": "Have new adventures" } ]}

string query = $@"SELECT 
ad_group_ad.ad.id,                         
ad_group_ad.ad.responsive_search_ad.descriptions,
ad_group_ad.ad.responsive_search_ad.headlines,
ad_group_ad.ad.responsive_display_ad.headlines,
ad_group_ad.ad.responsive_display_ad.descriptions
FROM ad_group_ad 
WHERE ad_group.id = {AdGroupID}";

Using the Asset resource, Im not sure how I can retrieve assets per Ad Group Id.

Please advise.

Google Ads API Forum Advisor Prod

unread,
Sep 12, 2019, 4:53:44 PM9/12/19
to regi...@surefirelocal.com, adwor...@googlegroups.com

Hi Reggie,

Thank you for reaching support. You could use ad_group_ad_asset_view to pull the asset id details per ad group Id. Please find below the sample report query for reference.
"SELECT ad_group_ad_asset_view.performance_label, asset.id, ad_group_ad.ad.responsive_search_ad.descriptions, ad_group_ad.ad.responsive_search_ad.headlines, ad_group_ad.ad.responsive_display_ad.headlines, ad_group_ad.ad.responsive_display_ad.descriptions FROM ad_group_ad_asset_view WHERE ad_group.id = 12XXXX34XXX3"
Please give this a try and let us know if you have any issues.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UHGamm:ref

Reginald Chris Pasco

unread,
Sep 12, 2019, 11:33:35 PM9/12/19
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Noted with thanks. 
Reply all
Reply to author
Forward
0 new messages