Hi, I've a problem with GeoTargetList in php api v201109!! With api v201101 I use this code to set province-target
$on = array(); $i=0; foreach ($attivate as $pr){ $provincia = new ProvinceTarget(); $provincia->provinceCode = $pr; $provincia->excluded = false; $on[$i] = $provincia; $i++; } // Create geo targets. $geoTargetList = new GeoTargetList(); $geoTargetList->campaignId = $campaignId; $geoTargetList->targets =$on; // Create operations. $geoTargetOperation = new CampaignTargetOperation(); $geoTargetOperation->operand = $geoTargetList; $geoTargetOperation->operator = 'SET'; $operations = array($geoTargetOperation); $result = $campaignTargetService->mutate($operations); But I don't know to have some effect with new v201109 because ProvinceTarget class doesn' exist. How I can solve this problem? I've read documentation but I've found only way with using Address..... -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en