Is it possible to get all the campaign data as a single response (JSON/XML) in adwords api?

36 views
Skip to first unread message

royallte...@gmail.com

unread,
Feb 10, 2017, 9:28:49 AM2/10/17
to AdWords API Forum
I would like to get all the campaign data with a single call to the API for one campaign without having to specify each field in the xml call request.Please let me know if this is possible.

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Feb 10, 2017, 2:07:01 PM2/10/17
to AdWords API Forum
Hi, 

By design In AdWords API, the get() methods does not return all the fields of an object by default. You will need to set the required fields in the selector which is passed in as the input to the get() methods. Please check this document for more details. 

If you need all the fields pertaining to the campaigns, please set these fields to the selector one time and then you should be able to reuse that code for different campaigns. 

Thanks,
Sreelakshmi, AdWords API Team 
Reply all
Reply to author
Forward
0 new messages