---
updatedAt: 2026-06-28T20:00:39.000Z
agentTools:
  projectIndex: https://developers.taboola.com/backstage-api/llms.txt
---

# OS Targeting

You can target specific *operating systems* for a given campaign.

> 📘 Use the [Dictionary](https://developers.taboola.com/backstage-api/docs/dictionary) to fetch a list of available operating systems:\
> `resources/campaigns_properties/operating_systems`

### Flow

1. Use the [campaigns](https://developers.taboola.com/backstage-api/reference/update-a-campaign) endpoint to update the [os\_targeting](https://developers.taboola.com/backstage-api/docs/campaign-os-targeting) field:

```json Request Object (Update Campaign)
{
   "os_targeting": {
      "type": "INCLUDE",
      "value": [
         {
            "os_family": "iOS",
            "sub_categories": [
               "iOS 9",
               "iOS 10"
            ]
         },
         {
            "os_family": "Android"
         }
      ]
   }
}
```

> 📘
>
> To target specific *versions* of an operating system, include the `sub_categories` property. If omitted, `sub_categories` will include *all* versions.

2. In the updated Campaign Object, the `value` property stores the targeted collection:

```json Campaign Object (Snippet)
{
  // other Campaign fields...
   "os_targeting": {
      "type": "INCLUDE",
      "value": [
         {
            "os_family": "Android",
            "sub_categories": []
         },
         {
            "os_family": "iOS",
            "sub_categories": [
               "iOS_9",
               "iOS_10"
            ]
         }
      ],
      "href": null
   }
}
```

> 📘
>
> To *fetch* OS Targeting details, fetch the relevant campaign (using the use the [campaigns](https://developers.taboola.com/backstage-api/reference/get-a-campaign) endpoint) and check the value of the [os\_targeting](https://developers.taboola.com/backstage-api/docs/campaign-os-targeting) field.