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

# postal_code_targeting

<Table align={["left","left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        Name
      </th>

      <th style={{ textAlign: "left" }}>
        Modifier & Defaults
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>

      <th style={{ textAlign: "left" }}>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        postal\_code\_targeting
      </td>

      <td style={{ textAlign: "left" }}>
        Default:\
        [Targeting Object](https://developers.taboola.com/backstage-api/docs/targeting-object) with `type` = ALL
      </td>

      <td style={{ textAlign: "left" }}>
        [Targeting Object](https://developers.taboola.com/backstage-api/docs/targeting-object)<br/>

        * \*Usage\*\*:<br/>

        1. Target 1 country *only*, using *INCLUDE* mode.
        2. Target 1 or more postal codes *in the above country*.
      </td>

      <td style={{ textAlign: "left" }}>
        For a non-default value, the `href` property of the [Targeting Object](https://developers.taboola.com/backstage-api/docs/targeting-object)  stores a *reference* to the targeted postal codes. The `value` property is always `null`.<br/>\
        See [Postal Code Targeting](https://developers.taboola.com/backstage-api/docs/postal-code-targeting)
      </td>
    </tr>
  </tbody>
</Table>

The `postal_code_targeting` field is updated *indirectly* via the [targeting/postal\_code](https://developers.taboola.com/backstage-api/reference/update-targeted-postal-codes) endpoint. A reference to this endpoint, for the current campaign, is stored in the `href` property. (This URL can be used to *fetch* the collection.)

```json Campaign Object (Snippet)
{
   "id": "1234",
   //...
   "postal_code_targeting": {
      "type": "INCLUDE",
      "value": null,
      "href": "https://backstage.taboola.com/backstage/api/1.0/demo-account/campaigns/1234/targeting/postal_code"
   }
   //...
}
```

> 📘 The `value` property is always `null`.

> 📘 See: [Postal Code Targeting Flow](https://developers.taboola.com/backstage-api/reference/postal-code-targeting-flow)