What is the most optimal way to pull account/campaign/adgroup/ad structure?
49 views
Skip to first unread message
Han Vo
unread,
Mar 17, 2017, 2:44:47 PM3/17/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 all,
I've tried to look for the account structure report; But there doesn't seem to be one. What would be the recommended way to pull structure of an account/campaign/adgroup or ad? I am thinking going with the regular services such as CampaignService and drill down; but looks like this would require a lot of roundtrip to Google to retrieve every details for an accou t
Thank you
Shwetha Vastrad (AdWords API Team)
unread,
Mar 17, 2017, 3:44:22 PM3/17/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 Han,
You can use AdWords API reports to to get the structural information of your account as API services can be slow if you have a large account.
For example, to get the details of each campaign in your account, you need to use the Campaign Performance Report as described here. You should then use other report types in a similar manner to get the details of other entities in the account. Please see the chart here which is helpful to identify the report type to be used based on the level at which you want the data to be aggregated. The examples listed here show how to download reports using the Java client library. Example code in other languages is available here.