Re: Update array of Adgroups statuses

2011-06-01 Thread opalepatrick
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 Ma

Re: Update array of Adgroups statuses

2011-05-30 Thread Danial Klimkin
Hello opalepatrick, >From the example here: http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201101/UpdateAdGroup.php Code: // Create operations. $operation = new AdGroupOperation(); $operation->operand = $adGroup; $operation->operator = 'SET'; $op

Update array of Adgroups statuses

2011-05-27 Thread opalepatrick
Hi, I can see how I would go about updating the status of one adgroup in the php code example UpdateAdgroup.php. How would I update hundreds of groups from an array of hundreds of adGroupId's and mutate as single operation? Problem I have is that I am not sure what elements need to be looped be