hello,

i manage to post a campaign through the python library, using a series of 
'for' loops that follow the objects hierarchy in adwords.

ie
for campaigns in campaigns_list:
  operations-
  try:  
    camp = campaign.mutate #with 'ADD' operator
  except AdWordsRequestError:
    camp = campaign.mutate #with 'SET' operator that does nothing
    for c in camp['value']
      for adgr in adgroups_list:
      etc etc

the 'try...except' handles the error for duplicate campaigns or adgroups. i 
use a similar structure for keywords and ad copies. this way i can generate 
campaigns with an external script, and if not existing, it creates a new 
one, otherwise it adds elements to the existing ones....

how can i design something like this to work with mutatejob?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to