Hi All,
I am getting the above error when using the CampainTargetService.
I'm looking for further information on the above error and how to
solve it. Java API.
I am calling mutate on a CampainTargetService object passing in a
number of CampaignTargetOperation objects, one of which has an array
(with a single AgeTarget object) as its operand. As such:
...
DemographicTargetList ageTargetList = new
DemographicTargetList();
ageTargetList.setCampaignId(myCampaignId);
ageTargetList.setTargets(new DemographicTarget[] { new
AgeTarget
(null, 0, AgeTargetAge.AGE_0_17) } );
CampaignTargetOperation ageTargetOperation = new
CampaignTargetOperation();
ageTargetOperation.setOperand(ageTargetList);
ageTargetOperation.setOperator(Operator.SET);
myCampaignTargetService.mutate(new
CampaignTargetOperation[]
{ genderTargetOperation,
ageTargetOperation});
(genderTargetOperation specifies MALE).
What am I missing?
All help appreciated. Many thanks.
Greg.
--
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.