Works similar :-) 
There are array-functions in AdGroupService:  
http://code.google.com/intl/de-DE/apis/adwords/docs/developer/AdGroupService.html
 


AdGroup[] adGroups = adgroupService.getAdGroupList(adGroupIds);

or 

AdGroup[] adGroups = adgroupService.getAllAdGroups(campaignId);

or

AdGroup[] adGroups = adgroupService.getActiveAdGroups(campaignId);



for (AdGroup adGroup : adGroups)
        adGroup.setKeywordMaxCpc(new_bid_value);


adgroupService.updateAdGroupList(adGroups);



Tino

--
Refined Labs GmbH
Landwehrstraße 17
80336 München
Tel +49 89 1392879-0
t...@refinedlabs.com
http://www.refinedlabs.com

Sitz: München
AG München HRB 166589
Geschäftsführer:
Thomas Bindl, Stephan Seitz


-----Ursprüngliche Nachricht-----
Von: adwords-api@googlegroups.com [mailto:adwords-...@googlegroups.com] Im 
Auftrag von sampath
Gesendet: Dienstag, 20. Januar 2009 11:05
An: AdWords API Forum
Betreff: AdWords API How to Update keywordMaxCPC for list of AdGroups


Is it possible to update list of user defined adgroups in one account
at once.
individually it's possible like

for example

AdGroup adGroup = adgroupService.getAdGroup(adgroup_id);

adGroup.setKeywordMaxCpc(new_bid_value);
adgroupService.updateAdGroup(adGroup);


But how to update list of adgroup's at once using AdGroup[].


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to