Tracking for OpenAI

Tracking for OpenAI Ads

Table of Contents


Introduction

This guide will show you how to set up OpenAI Ads spend and click based attribution tracking in Northbeam.

Once the account is connected and the required Northbeam tracking parameter is added, Northbeam will receive:

  • Spend data from OpenAI Ads
  • Platform reported click data from OpenAI Ads
  • Campaign, ad group, and ad identifiers used for reconciliation and attribution

OpenAI Ads supports the following Northbeam attribution models:

  • Clicks Only
  • Last Click
  • First Click
  • Linear
InputOutputIf the input is missing
OpenAI Ads API keyNorthbeam can connect to the selected OpenAI Ads account and pull spend and platform reported click data.OpenAI Ads data will not appear in Northbeam.
Northbeam tracking parameterOpenAI Ads visits can be reconciled to the correct campaign, ad group, and ad.Visits and attributed results may be missing or assigned incorrectly.


Before You Start

Make sure you have:

  • Access to the correct OpenAI Ads account
  • Permission to create an API key in OpenAI Ads Manager
  • Access to the correct Northbeam dashboard
  • Permission to edit the landing page query parameters for your OpenAI Ads ad groups

Step 1: Create an OpenAI Ads API Key

  1. Sign in to OpenAI Ads Manager.

  2. Use the account switcher in the bottom left corner to select the ad account you want to connect.

  3. Go to Settings > General >API Keys.

  4. Click Create New Key.

  5. Enter a recognisable name, such as Northbeam ingestion.

  6. Copy the API key.

📘

Important: An API key is shown only once. Copy it when it is created. If it is lost, you must generate a new key.

Keep the API key secure. Do not include it in landing page URLs or share it outside the people responsible for the integration.


Step 2: Connect Your OpenAI Ads Account

Open the OpenAI Ads integration in Northbeam:

  1. Confirm that the correct OpenAI Ads account is displayed.
  2. Paste the API key into the API Key field.
  3. Click Connect.

After the connection succeeds, the card will display the linked ad account and a green confirmation icon.


Step 3: Add the Northbeam Tracking Parameter

Add the following parameter to the Landing page query parameters field for each OpenAI Ads ad group:

nbt=nb:openai:openai:{campaign_id}:{ad_group_id}:{ad_id}

The template values are automatically replaced with the relevant campaign, ad group, and ad identifiers when an ad is served.

Important: Copy the parameter exactly as shown. Missing colons, braces, or identifiers can prevent Northbeam from reconciling visits correctly.


Step 4: Verify the Integration

Complete the following checks:

  • The OpenAI Ads connection card shows a green confirmation icon.
  • The correct ad account ID and timezone appear on the connection card.
  • The NBT parameter is present in every active OpenAI Ads ad group.
  • OpenAI Ads spend and platform reported clicks begin appearing in Northbeam.
  • OpenAI Ads visits are assigned to the expected campaign, ad group, and ad.

The integration can backfill up to two years of historical spend when an account is first connected.

Historical attribution still depends on whether valid tracking parameters were present on the ads during that period.


OpenAI Ads FAQ

1. Does the OpenAI Ads integration support attribution and revenue tracking?

Yes. OpenAI Ads supports click based attribution when the API connection is active and the required NBT parameter is present on the ad group.

2. Which Northbeam attribution models are supported?

OpenAI Ads supports:

  • Clicks Only
  • Last Click
  • First Click
  • Linear

Clicks + Modeled Views and Clicks + Deterministic Views are not supported for this integration.

3. Does OpenAI Ads require UTMs?

The required Northbeam tracking parameter is:

nbt=nb:openai:openai:{campaign_id}:{ad_group_id}:{ad_id}

This parameter allows Northbeam to reconcile visits with the correct OpenAI Ads campaign, ad group, and ad.

4. Does Northbeam pull platform reported clicks?

Yes. Northbeam pulls platform reported click data from OpenAI Ads.

You can compare Northbeam visits with OpenAI Ads clicks to identify possible tracking coverage issues.

5. How far does spend backfill?

The integration can backfill up to two years of historical spend when the account is first connected.

6. What should I do if I lose the API key?

OpenAI Ads displays an API key only once.

If you lose it, return to Settings > API Keys, generate a new key, and update the OpenAI Ads connection in Northbeam.

7. Why is OpenAI Ads data missing or incomplete?

Check the following:

  • Go to Settings > Connections and confirm that the OpenAI Ads connection is green.
  • Confirm that the correct OpenAI Ads account is linked.
  • Generate a new API key and reconnect if the existing key is no longer valid.
  • Confirm that every active ad group contains the exact Northbeam tracking parameter.
  • Check that the landing page preserves the NBT parameter after redirects.

Did this page help you?