Hello,

 Please put the following code.


          $country = array('US','GB');

          $geoTargetList = new GeoTargetList();
          $geoTargetList->campaignId = $campaignId;
          $countryArray = array();
          for($i=0;$i<count($country);$i++)
          {
                $obj = new CountryTarget(trim($country[$i]));
                $countryArray[] = $obj;
          }
          $geoTargetList->targets = $countryArray;

          $geoTargetOperation = new CampaignTargetOperation();
          $geoTargetOperation->operand = $geoTargetList;
          $geoTargetOperation->operator = 'SET';

           $operations = array($geoTargetOperation);

          // Set campaign targets.
          $result = $campaignTargetService->mutate($operations);



This solution will work.

Thanks
David

On Mar 26, 9:59 am, Geeeeek <[email protected]> wrote:
> Any Help ? :(

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe from this group, send email to 
adwords-api+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to