Campaign Criterion ID for OS of all versions

62 views
Skip to first unread message

Gary Jiang

unread,
May 24, 2018, 9:45:02 PM5/24/18
to AdWords API and Google Ads API Forum
Hi,

I am trying to configure some criterion of a campaign including OS version. I called getOperatingSystemVersionCriterion in ConstantData services and found items with version=-1


  1. {id: 630153, type: null, Criterion.Type: "OperatingSystemVersion", name: "Apple iOS",…}
    1. Criterion.Type:"OperatingSystemVersion"
    2. id:630153
    3. name:"Apple iOS"
    4. operatorType:"EQUAL_TO"
    5. osMajorVersion:-1
    6. osMinorVersion:-1
    7. type:null
  2. 1:{id: 630159, type: null, Criterion.Type: "OperatingSystemVersion", name: "Android", osMajorVersion: -1,…}
    1. Criterion.Type:"OperatingSystemVersion"
    2. id:630159
    3. name:"Android"
    4. operatorType:"EQUAL_TO"
    5. osMajorVersion:-1
    6. osMinorVersion:-1
    7. type:null
  3. 2:{id: 630160, type: null, Criterion.Type: "OperatingSystemVersion", name: "Palm webOS",…}
    1. Criterion.Type:"OperatingSystemVersion"
    2. id:630160
    3. name:"Palm webOS"
    4. operatorType:"EQUAL_TO"
    5. osMajorVersion:-1
    6. osMinorVersion:-1
    7. type:null
Just wondering if those refer to operating system of all versions. Thanks

Regards,

Gary 

Michael Cloonan (AdWords API Team)

unread,
May 25, 2018, 8:07:23 AM5/25/18
to AdWords API and Google Ads API Forum
Hello,

I'm going to look into what these -1 values mean and I'll post back here with my findings. Thanks for bringing this up!

Regards,
Mike, AdWords API Team

Michael Cloonan (AdWords API Team)

unread,
May 25, 2018, 1:03:04 PM5/25/18
to AdWords API and Google Ads API Forum
Hello,

I have confirmed your suspicion that -1 means "all versions". We are going to look into a better way to document or present this information so it's clear right away.

Regards,
Mike, AdWords API Team

Gary Jiang

unread,
May 25, 2018, 1:18:13 PM5/25/18
to AdWords API and Google Ads API Forum
Great. Thanks for confirmation!
Reply all
Reply to author
Forward
0 new messages