AdWords API Re: ADD AdGroupOperation

2009-11-30 Thread AdWords API Advisor
Hi P.W., The order of the parameters to the constructor for the different operations (CampaignOperation, AdGroupOperation, AdGroupAdOperation) are not consistent. This is because these classes are automatically generated from the WSDL files and the order cannot be manipulated for consistency. As

AdWords API Re: ADD AdGroupOperation

2009-11-26 Thread phpoo
Ok, I do not understand I was using the example of folder "/examples/ v200909/AddAllCampaigns.php" not found in the documentation something told me to ADD AdGroups was another order of operation, and now to ADD TextAd is not so "new AdGroupAdOperation ($adText, NULL, 'ADD')"? thanks P.W On Nov 25

AdWords API Re: ADD AdGroupOperation

2009-11-25 Thread AdWords API Advisor
Hi, I believe the order of the objects in your constructor is wrong. It should be: $operations = array(new AdGroupOperation($adgroup1, 'ADD', NULL)); Best, - Eric Koleda, AdWords API Team On Nov 25, 3:11 pm, phpoo wrote: > Hi > eu tenho um erro no meu script mas não entendo > I'm trying to