> ## Documentation Index
> Fetch the complete documentation index at: https://data-foundation.rockerbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI

> Set up Rockerbox tracking for OpenAI advertising campaigns

## Overview

Rockerbox supports tracking for OpenAI advertising campaigns. By configuring Rockerbox tracking parameters in OpenAI Ads Manager, you enable Rockerbox to attribute and map spend at the campaign, ad group, and ad level.

Spend ingestion for OpenAI is currently in development. Configuring tracking parameters now ensures that Rockerbox can backfill historical spend data once the integration is fully available.

## Tracking Parameter Setup

We recommend configuring tracking at the **campaign level** so parameters inherit across all ad groups and ads. Ad group or ad-level configuration is available if you need to override specific values.

1. Navigate to **Campaigns**, **Ad Groups**, or **Ads**
2. Open the three-dot menu for the level where you want to configure tracking
3. Select **Edit campaign**, **Edit ad group**, or **Edit ad**
4. Locate the **Landing page query parameters** field
5. Enter the following Rockerbox tracking parameters:

<img src="https://mintcdn.com/rockerbox-a0a04d23/q_l7qk4B_byTUHgp/images/openai-tracking-params.png?fit=max&auto=format&n=q_l7qk4B_byTUHgp&q=85&s=67eb6dc69e178db4b3af745784092fd0" alt="Landing page query parameters in OpenAI Ads Manager" width="1460" height="792" data-path="images/openai-tracking-params.png" />

```text wrap theme={null}
cg_campaignid={campaign_id}&cg_adgroupid={ad_group_id}&cg_adid={ad_id}&cg_accountid={ad_account_id}
```

## URL Tracking Parameter Explanation

| Parameter       | Template Value    | Description   |
| --------------- | ----------------- | ------------- |
| `cg_campaignid` | `{campaign_id}`   | Campaign ID   |
| `cg_adgroupid`  | `{ad_group_id}`   | Ad Group ID   |
| `cg_adid`       | `{ad_id}`         | Ad ID         |
| `cg_accountid`  | `{ad_account_id}` | Ad Account ID |

**Note:** All template values are automatically populated by OpenAI when ads are served — no manual replacement is needed.

## Implementation Notes

* Tracking parameters can be configured at the campaign, ad group, or ad level. More specific settings take precedence: Ad URL → Ad → Ad Group → Campaign
* Parameters are appended to the landing page URL as query strings
* This page will be updated with additional configuration steps as the spend integration becomes available

For implementation assistance, contact [support@rockerbox.com](mailto:support@rockerbox.com).
