Google Ads API - Specific Content Query Issue

33 views
Skip to first unread message

Isaac Choe

unread,
Jun 6, 2020, 8:37:26 AM6/6/20
to AdWords API and Google Ads API Forum
Hello,

I had an issue I was trying to resolve with the google API. Whenever we get a csv file manually from the console UI at the ad level, the headline, description and path1, path2 are included in the file. We were trying to get that same information from the API programmatically.

I found what I believe might be the field I am looking for but I cannot confirm it because I keep getting a syntax error being thrown from google when I make an Ad API call.

Here is the link to the field I am trying to access.

If you could first verify that this is indeed the correct property to access. Secondly if so, please refer below.

image.png

As you can see, I circled the points of interest. According to the documentation, the ResponsiveSearchAdInfo seems to be at the Ad level. I confirmed it by looking at google's library and C# implementation of the object structure.

In the query, I've tried many different combinations 
"ad_group_ad.ad.ad_data.responsive_search_ad.path1"
"ad_group_ad.ad.responsive_search_ad.path1"
just as a few examples.

If you could assist, we would greatly appreciate it as this is a major stopping point for us.

Thank you very much.


Google Ads API Forum Advisor Prod

unread,
Jun 8, 2020, 12:36:21 PM6/8/20
to is...@triadms.com, adwor...@googlegroups.com
Hi Isaac,

Thank you for reaching out. You have two options for retrieving those values. The first is by using the AdGroupAdService get request and retrieving the ResponsiveSearchAdInfo field that you shared. The other option is to use the ad group ad report and pull the ad_group_ad.ad.responsive_search_ad.descriptionsad_group_ad.ad.responsive_search_ad.headlinesad_group_ad.ad.responsive_search_ad.path1ad_group_ad.ad.responsive_search_ad.path2 fields.

It looks like the image you attached isn't displaying properly so if my above solution doesn't solve the issue, please try sending the image again along with your client customer ID via Reply privately to author so I can further investigate the issue.

Regards,
Mitchell
Google Ads API Team

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