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

# Postal Code Targeting

## Overview

You can target specific *postal codes* for a given campaign.

Postal code targeting is *unique* in the sense that it is managed via the `targeting/postal_code` resource - and *not* the `campaigns` resource.

The following table provides a bird's eye view of the available endpoints for the `targeting/postal_code` resource. Refer to the specific topics for more detail.

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Description
      </th>

      <th>
        Method
      </th>

      <th>
        Path (prefix: /backstage/api/1.0/

        \[account-id]

        /campaigns)
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        Fetch targeted postal codes for the specified campaign.
      </td>

      <td>
        GET
      </td>

      <td>
        /# Overview

        Y/targeting/postal\_code
      </td>
    </tr>

    <tr>
      <td>
        Update targeted postal codes for the specified campaign.
      </td>

      <td>
        POST
      </td>

      <td>
        /# Overview

        Y/targeting/postal\_code
      </td>
    </tr>
  </tbody>
</Table>

## Flow

1. Use the [targeting/postal\_code](https://developers.taboola.com/backstage-api/reference/update-targeted-postal-codes) endpoint to submit a [Targeting Restrictions Object](https://developers.taboola.com/backstage-api/docs/postal-codes-targeting-restrictions-object). The targeted postal codes *must* belong to the campaign's targeted country. For a successful request, the endpoint will return the submitted object.
2. The [targeted\_postal\_codes](https://developers.taboola.com/backstage-api/docs/campaign-postal-code-targeting) field of the specified Campaign contains a reference to the above endpoint, in its `href` property. This URL can be used to *fetch* the targeted collection. (Default value is an empty array.)

For a detailed example, see [Update Postal Codes Targeting](https://developers.taboola.com/backstage-api/reference/update-targeted-postal-codes).