Ad name not getting from Ads API

28 views
Skip to first unread message

Aswanth Madhav

unread,
Mar 10, 2020, 3:06:01 AM3/10/20
to AdWords API and Google Ads API Forum

I tried with google ads api npm with the query 

SELECT
ad_group_ad.ad.name, ad_group_ad.ad.type ,ad_group_ad.ad.app_ad.headlines,ad_group_ad.ad.app_engagement_ad.headlines,ad_group_ad.ad.text_ad.headline
FROM
ad_group_ad


Response 

{

  ad: { resource_name: 'customers/xxxxx/ads/xxxxxx', type: 3 },

  resource_name: 'customers/xxxxx/adGroupAds/xxxx~xxxxxx'

}


But response not containing ad name. But ad Id and resource name is there.
How can I get the ad name?

Google Ads API Forum Advisor Prod

unread,
Mar 10, 2020, 3:03:40 PM3/10/20
to aswant...@gmail.com, adwor...@googlegroups.com

Hi Aswanth,

Thank you for reaching out. I tried to run the report query on my end and was successfully able to retrieve this field for Image Ads and Video Ads as available in my Google Ads account. This is because the field ad.name will only provide the name of the ad for Image and Video Ads, as this field is available for these types in the UI. Let me know if you have further questions.

Thank you,
Bryan, Google Ads API Team



ref:_00D1U1174p._5001UXUeIv:ref

Aswanth Madhav

unread,
Mar 11, 2020, 4:21:36 AM3/11/20
to Google Ads API Forum Advisor Prod, adwor...@googlegroups.com
Thank you for your response. 
But when I select  ad_group_ad.ad.text_ad.headline  ,it is not listing 
Reply all
Reply to author
Forward
0 new messages