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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.