Thanks for that Danial. After much gnashing of teeth, I did manage to do what you suggested, although for other users it might be useful for others to know that the $adGroup operands need to be inside that loop as well. Well useful for people like me with big holes in their php education :-)
On May 30, 5:43 pm, Danial Klimkin <[email protected]> wrote: > Hello opalepatrick, > > From the example here: > > http://code.google.com/p/google-api-adwords-php/source/browse/trunk/e... > > Code: > > // Create operations. > > $operation = new AdGroupOperation(); > $operation->operand = $adGroup; > $operation->operator = 'SET'; > > $operations = array($operation); > > To update multiple ad groups, just add more operations to the $operations > array. Each of them will have operator 'SET' and it's own operand. > > -Danial, AdWords API Team. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
