---
updatedAt: 2026-06-28T17:53:44.000Z
agentTools:
  projectIndex: https://developers.taboola.com/backstage-api/llms.txt
---

# traffic_allocation_mode

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

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

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

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        traffic\_allocation\_mode
      </td>

      <td style={{ textAlign: "left" }}>
        Default:\
        *OPTIMIZED*
      </td>

      <td style={{ textAlign: "left" }}>
        `"OPTIMIZED"`\
        The exposure of your campaign items is determined by our algorithm, with more engaging items served more frequently.

        `"EVEN"`\
        Triggers an A/B Test.

        During the A/B testing period, the campaign’s items will receive equal *opportunity* to *compete*. If an item ranks highly enough for a given opportunity, it will be served.

        * *Note\*\*: items might not be*served\* equally during this period.

        The A/B test runs until the [`traffic_allocation_ab_test_end_date`](https://developers.taboola.com/backstage-api/reference/traffic-allocation-ab-test-end-date) is reached. (If you do not pass a value for [`traffic_allocation_ab_test_end_date`](https://developers.taboola.com/backstage-api/reference/traffic-allocation-ab-test-end-date), a default of `'current date + 14 days'` is applied.)

        Once the end date is reached, the `traffic_allocation_mode` switches to `"OPTIMIZED"`.

        (You can also view the start and end dates for the A/B Test via the `campaign_breakdown` dimension of the [Campaign Summary Report](https://developers.taboola.com/backstage-api/reference/campaign-summary-report).)
      </td>
    </tr>
  </tbody>
</Table>

> 🚧 A/B Testing
>
> Setting `traffic_allocation_mode` to `"EVEN"` will trigger an **A/B Test**.
>
> During the A/B testing period, the campaign’s items will receive equal *opportunity* to *compete*. If an item ranks highly enough for a given opportunity, it will be served.
>
> ***
>
> **Note**: items might not be *served* equally during this period.

> 🚧 A/B Testing Period
>
> **Default period**: 14 days\
> **Max period allowed**: 30 days\
> **Min period allowed**: 3 days