is there a way to fetch all campaigns with adgroups?
15 views
Skip to first unread message
Ken Dan Tinio
unread,
Jan 17, 2018, 2:32:07 AM1/17/18
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 want to fetch all campaigns along its adgroups in one API request.
Luis Xander Talag (AdWords API Team)
unread,
Jan 17, 2018, 4:09:19 AM1/17/18
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 Ken,
You may try to use the AdGroupService.get() or Adgroup Performance Report to retrieve all the ad groups with their corresponding campaigns. Though you may get limited fields for the campaigns for both service and report. You may check this guide for the available fields using the AdGroupService, sample code in PHP, reporting guide and sample reporting in PHP for references. If the fields that you are looking for in a campaign are not available in the ad group level, then you need to create another request to get these fields via CampaignService.get() or in Campaign Performance Report.