Hello! Sorry, I'm junior in AdWords API. Tell me please. I'm using.
Net library.
I am trying to run an example AddCampaignTargetingCriteria.cs but it
returns the error UNEXPECTED_INTERNAL_API_ERROR.
Targeting doesn't work. Can you explain how to make targeting Gender,
AgeRange etc. During adding of targeting of Gender object I get an
error that Id field isn't filled. What kind of Id I should pass?
CampaignCriterionOperation CriterionOperation = new
CampaignCriterionOperation();
Gender gender = new Gender();
gender.genderType = GenderGenderType.GENDER_MALE;
gender.type = CriterionType.GENDER;
NegativeCampaignCriterion crirerion = new
NegativeCampaignCriterion();
crirerion.campaignId = campaignId;
crirerion.criterion = gender;
//crirerion.criterion.id = ???;
CriterionOperation.@operator = Operator.SET;
CriterionOperation.operand = crirerion;
CampaignCriterionReturnValue retval =
campCriterionService.mutate(new CampaignCriterionOperation[]
{ CriterionOperation });
Is it possible to set up targeting of Gender or AgeRange on AdGroup?
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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