Hello Billy,

 Taking a step back, you might not need to adjust your campaigns via
the AdWords API to achieve that behavior. The normal AdWords system
lets you define ad scheduling on a campaign level, allowing you
specify the exact times you'd like your ads to run.

 Of course, if you need something more dynamic because the schedule
might vary from week to week throughout the year, the AdWords API
would be a good choice for modifying your campaigns. You could either
use the AdWords API to modify the schedule associated with a given
campaign in advance, or you could forgo the built-in scheduling
entirely and just use the API to pause/unpause campaigns via a
scheduled job on your end.

 Either way, if you're using the AdWords API to modify campaigns,
you'll need to know at least the campaignIds to populate the Campaign
objects that you pass in to updateCampaignList(). If the accounts you
manage frequently have new accounts then it would make sense to get
these campaignIds each time your program runs, and you could parse the
results of getAllAdWordsCampaigns() for that (or run a Campaign
Structure report, though the getAllAdWordsCampaigns() approach is
arguably simpler). You'd use these ids to create Campaign objects with
either the appropriate ad scheduling set up (if you want to use
AdWords' scheduling) or with the appropriate "Paused" or "Active"
value for the "status" attribute.

Cheers,
-Jeff Posnick, AdWords API Team


On Aug 29, 11:09 am, billyw <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm new to this api stuff and just have a quick question
>
> I want to set up a program to pause all my campaigns at specific days/
> times that I will set up in a table. i'm just trying to figure out the
> quickest way to set it up. I have an mcc with a dozen accounts.
>
> Can i do a "get all campaigns", or will i need to have an existing
> list of all campaign ids in order to change their status?
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to