AdGroupAdService not returning a Display Ad

43 views
Skip to first unread message

yu...@singular.net

unread,
Mar 24, 2016, 7:54:38 AM3/24/16
to AdWords API Forum
Hey,

I'm using the adwords ad hoc reports for ads statistics (AD_PERFORMANCE_REPORT) and the AdGroupsAdService for their metadata (url, size, heading, description, etc.).
For some reason, some ads, specifically display ads are not returned when pulling the data though the SOAP API service.

The ad status is approved, AdType: Display Ad, and the display URL of the ad is directing to the play store.
More data can be provided in private.

Is there any discrepancy between the reports and the API?

Thanks

Yin Niu

unread,
Mar 24, 2016, 10:05:16 AM3/24/16
to AdWords API Forum
Hello, 

Could you provide the report definition and the SOAP request and response log for the API service call? And could you give an example where the data in report is different from what is returned from the AdGroupAdService? 

Thanks,
Yin, AdWords API Team. 

yu...@singular.net

unread,
Mar 24, 2016, 12:43:23 PM3/24/16
to AdWords API Forum
Thanks for the quick response.
The issue was that I wasn't mentioning the Status field in the selector (the filed is mandatory apparently) so I received only the ENABLED. 

Why isn't the API call fails when the required field isn't mentioned?
Thanks anyway.

Umesh Dengale

unread,
Mar 25, 2016, 9:34:51 AM3/25/16
to AdWords API Forum
Hello,

The AdGroupAdField.Status field in selector and AD_PERFORMANCE_REPORT.Status field are not mandatory.  Both the UI and the API don't return stats for DELETED / DISABLED entities by default. You need to explicitly request it. (e.g. getTextAd Java example code .in(AdGroupAdField.Status, "ENABLED", "PAUSED", "DISABLED")). Please check out AdGroupAd document and GetTextAds Java example code for more details. Other languages example code could be found here.

Cheers,
Umesh, AdWords API Team.

Reply all
Reply to author
Forward
0 new messages