Thanks Shwetha.

Seems like using this approach I'll need to download a file - something I'd 
like to avoid.

Is there a way to do this and get a JSON response instead?

On Thursday, 23 February 2017 12:09:14 UTC-8, Shwetha Vastrad (AdWords API 
Team) wrote:
>
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/55d0ae6f-f6f7-4e96-ab6f-b7c815e6e02f%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