Hello Wesley, You will be able to EXCLUDE or REMOVE a criteria. If you want to exclude criteria, you will need to set them as negative criteria using the NegavtiveCampaignCriterion <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService.NegativeCampaignCriterion> or NegativeAdGroupCriterion <https://developers.google.com/adwords/api/docs/reference/v201806/AdGroupCriterionService.NegativeAdGroupCriterion>. This will exclude them from targeting. You will be able to remove the negative criteria if they are no longer required. In this scenario, OperatingSystemVersion does not support excluding. Hence, this criteria is only targetable and cannot be excluded. This said, you will be able to only Remove the criteria that is being targeted. For example, if a Display campaign is targeted for iOS versions 2.0 and above in the UI, you will be able to remove this criteria. You will not be able to explicitly exclude iOS devices for a campaign through the API. You may refer to the criteria usage table for more information.
This said, the Mobile Platforms that are supported through the API are listed here <https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms>. The other platforms are not supported. Let me know if you have any other questions. Regards, Bharani, AdWords API Team On Thursday, August 23, 2018 at 5:08:44 AM UTC-4, [email protected] wrote: > > Hello, > > How can I exclude all versions of iOS in my campaign without explicitly > removing every criterionID for an iOS version. My operation looks something > like this: > > { > 'xsi_type': 'CampaignCriterionOperation', > 'operator': 'REMOVE', > 'operand': { > 'xsi_type': 'CampaignCriterion', > 'campaignId': campaign_id, > 'criterion': { > 'xsi_type': 'OperatingSystemVersion', > 'id': 630161, > 'name': 'iOS', > 'osMajorVersion': 2, > 'osMinorVersion': 0, > 'operatorType': 'GREATER_THAN_EQUAL_TO' > } > } > } > > but I can't the following error: > > NewEntityCreationError.TEMP_IDS_NOT_ALLOWED > > Thanks, > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3629ef98-4619-40c6-b337-71df682147d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
