Differentiating Between Existing and New Campaigns/AdGroups

10 views
Skip to first unread message

s...@feedonomics.com

unread,
Jan 11, 2017, 5:34:20 PM1/11/17
to AdWords API Forum
We have an AdWords account with existing Campaigns and AdGroups, and we are going to generate new Campaigns and AdGroups using an AdWords API script, but we don't want the script to read or modify any of the existing Campaigns and AdGroups.

What would be the best or suggested way of going about this? Are there any Campaign or AdGroup attributes that we could use to help our queries select only certain Campaigns/AdGroups?

Peter Oliquino

unread,
Jan 11, 2017, 10:38:52 PM1/11/17
to AdWords API Forum
Hi Sam,

One possible solution would be to use the StartDate field of your new Campaigns as predicate to separate them from your old campaigns. Additionally, when retrieving your new AdGroups (considering that they also belong to your new campaigns), you may use the CampaignId (campaign IDs of your new campaigns) field of your AdGroup as a predicate. You may also refer to the following links for more information on which fields you can select/filter on for your Campaigns and AdGroups.

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