Hi Danny,

You can use AdWords API reports instead to retrieve Ads 
<https://developers.google.com/adwords/api/docs/guides/uireports#ads_report>
, keywords 
<https://developers.google.com/adwords/api/docs/guides/uireports#keywords_report>
 and sitelinks 
<https://developers.google.com/adwords/api/docs/guides/uireports#ad_extensions_report>
 from 
the corresponding report types and query for rows where the CampaignStatus 
<https://developers.google.com/adwords/api/docs/appendix/reports/all-reports#campaignstatus>
 and AdGroupStatus 
<https://developers.google.com/adwords/api/docs/appendix/reports/all-reports#adgroupstatus>
 is 
ENABLED using predicates 
<https://developers.google.com/adwords/api/docs/guides/uireports#filters>. 
This way you wont have to make a second request to check the AdGroup and 
Campaign status. This guide 
<https://developers.google.com/adwords/api/docs/guides/reporting> provides 
more details on using the AdWords API to download reports. The 
DownloadCriteriaReport 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/reporting/DownloadCriteriaReport.java>
 Java 
example demonstrates how to download a Criteria Performance Report. Example 
code in other languages is available here 
<https://developers.google.com/adwords/api/docs/clientlibraries>. 
 
Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/92d51d8f-79fc-4675-9d33-203ee23bea62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Get all ads, ke... Danny
    • Re: Get al... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: Ge... Danny
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to