Hi, The result of a mutate call is an AdGroupReturnValue object, which contains an array of the ad groups that were operated on. You can inspect these objects to get their ids.
http://code.google.com/apis/adwords/v2009/docs/reference/AdGroupService.html#mutate Best, - Eric On Jul 8, 9:53 am, phpguy <[email protected]> wrote: > Eric, > > Thanks a bunch. As far as grabbing the response and Ad Group id, what > is the appropriate command for that? I've created the Ad Group > already but just wasn't sure how to catch the ID on the response. > > You sure are helpful on this board...we appreciate it! > > On Jul 7, 3:22 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > Hi, > > > When you make an AdGroupService.mutate(ADD) request, the response will > > include the created ad group with the ID filled out. You can grab > > this ID and use it in your AdGroupCriterionService requests. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Jul 6, 3:11 pm,phpguy<[email protected]> wrote: > > > > So I'm trying to add a new ad group with 2 associated keywords. I > > > have the ad group adding correctly but am trying to add the keywords > > > without making an additional "get" call to grab the new ad group > > > "id". Is this possible? > > > > Or is it possible to add an ad group and 2 keywords to that ad group > > > at one time? > > > > Thanks for your help! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
