Re: GeoTarget Away From

2011-03-07 Thread AdWords API Advisor
Hi Mike, Nice to know you resolved your issue. For future reference, the field you need to set (and currently doing using the constructor parameters) is GeoTarget::excluded. See http://code.google.com/apis/adwords/docs/reference/v201008/CampaignTargetService.GeoTarget.html#excluded for details. C

Re: GeoTarget Away From

2011-03-07 Thread uby308
Well if anyone is interested I managed to find the solution to this. // Create geo targets. $geoTargetList = new GeoTargetList(); $geoTargetList->campaignId = $campaignId; $geoTargetList->targets = array(new CountryTarget('GB'), new ProvinceTarget('GB-NIR',true));// Include United Kingdom, Exclude

GeoTarget Away From

2011-03-07 Thread uby308
I am an API newbie. I am trying to create a campaign with various geotargetting options. In the PHP example library the code to create geo targetting is this // Create geo targets. $geoTargetList = new GeoTargetList(); $geoTargetList->campaignId = $campaignId; $geoTargetList->targets =