Hey Robert - It is not very intuitive, but as you have already discovered, when a campaign is created it has all 3 platform targets associated with it. This means that after creating a campaign what you have to do is remove the targets that you don't want rather than add the targets that you do.
This one stumped me for a while, too. HTH - Margaret On Feb 2, 5:19 am, "robert.johans...@adwire.se" <robert.johans...@adwire.se> wrote: > Hi, > > I'm unable to add platform targets when creating a campaign. All other > targets are accepted by the API, but not platform targets. I don't receive > any error message and when printing the result set I can see that I'm > sending in the right values (in this case I don't want to show ads on > mobile carriers): > > CampaignCriterionReturnValue Object ( [value] => Array ( [0] => > CampaignCriterion Object ( [campaignId] => 77XXXX55 [criterion] => Platform > Object ( [platformName] => Desktop [id] => 30000 [type] => PLATFORM > [CriterionType] => Platform [_parameterMap:private] => Array ( > [Criterion.Type] => CriterionType ) ) [CampaignCriterionType] => > CampaignCriterion [_parameterMap:private] => Array ( > [CampaignCriterion.Type] => CampaignCriterionType ) ) [1] => > CampaignCriterion Object ( [campaignId] => 77XXXX55 [criterion] => Platform > Object ( [platformName] => Tablet [id] => 30002 [type] => PLATFORM > [CriterionType] => Platform [_parameterMap:private] => Array ( > [Criterion.Type] => CriterionType ) ) [CampaignCriterionType] => > CampaignCriterion [_parameterMap:private] => Array ( > [CampaignCriterion.Type] => CampaignCriterionType ) ) ) > [ListReturnValueType] => CampaignCriterionReturnValue > [_parameterMap:private] => Array ( [ListReturnValue.Type] => > ListReturnValueType ) ) > > When looking in the AdWords interface I can see that the campaign was > created targeting "all available devices". > > Thank you in advance! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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