What's the correct way to get completely ads information?

32 views
Skip to first unread message

郭文豪

unread,
Apr 12, 2017, 11:18:27 PM4/12/17
to AdWords API Forum


By read the report api documents,

it seems if I have to get completely ad informations,

it's better to use 'ad performance report' rather than 'AdGroupAdService'.

===

From the document 'Reference' page, I may get these informations(attachment1),

but by using `com.google.api.ads.adwords.axis.v201702` ,

there are few fields I can choose, and none of them looks like I can get enough informations corresponding to attached picture

What is the correct way to get full ad informations ?

===

Thanks. 
螢幕快照 2017-04-13 11.09.54.png

Vishal Vinayak (Adwords API Team)

unread,
Apr 13, 2017, 2:34:51 PM4/13/17
to AdWords API Forum
Hi,

To select information for a particular type of ad in your Ad Performance Report, you can filter on the field AdType. For example, to filter for dynamic search ads, you can apply a filter as follows:

AdType = DYNAMIC_SEARCH_AD 

Please note that you would have to add relevant fields to your selector to be able to retrieve all information about your ad type. For example, if you are trying to filter on all image ads in your account, you might want to include the field ImageAdUrl to your selector.  

Not sure if you need help with AdGroupAdService, but you can use AdGroupAdService to get information (except metrics) for your ads as well. For that purpose, you can use AdGroupAdService.get to retrieve relevant fields. Similar to the reports, please filter on the field AdType to retrieve information for a particular type of ad.  

Please revert if you have additional questions or concerns. 

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages