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
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
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 =