Download campaigns without the removed Ad groups, ads and keywords

28 views
Skip to first unread message

Shy. A

unread,
Mar 18, 2016, 9:10:04 AM3/18/16
to AdWords API Forum
Hello everyone,

Just a simple question:

We would like to download all campaigns across all accounts from Adwords, so we are downloading campaigns first, followed by Ad groups, Ads and keywords. Our issue is that previously, parent campaigns in our account were removed without removing Ad groups, ads and keywords first, and now we cannot remove the unwanted Ad groups, ads and keywords from the campaigns. This is affecting the download from our API as it is taking 24 hours to download everything and it also includes Ad groups, ads and keywords from removed campaigns (which we do not want to have). We do not have a status filter in Google-API which allows us to exclude removed campaigns. 

I would like a solution on how to download these campaigns without the removed Ad groups, ads and keywords and in less than 24 hours. 

Thank you for your assistance.

Anthony Madrigal

unread,
Mar 18, 2016, 5:10:12 PM3/18/16
to AdWords API Forum
Hello,

While there is no CampaignStatus field in the AdGroupService, AdGroupAdService and AdGroupCriterionService, you can use reporting to get the CampaignStatus for the report type you need to use. You can use a filter to get only ENABLED and PAUSED campaigns. 

Cheers,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages