ThoughtMetric

Ad platforms

Connect ChatGPT Ads

Sync ad spend and campaign performance from ChatGPT Ads.

Connect the ChatGPT Ads integration to track your spend, ROI, and campaign performance.

Connect your ChatGPT Ads account

  1. Open the general settings in Ads Manager

    Log in to OpenAI's Ads Manager, click Settings, and then click General underneath it.

    Connect ChatGPT Ads screenshot 1
  2. Create a new API key

    In the API Keys section, click Create New Key.

    Connect ChatGPT Ads screenshot 2
  3. Name the key

    Give the key a name. We recommend something like "ThoughtMetric Integration" to indicate what the key is used for. Then click Create.

    Connect ChatGPT Ads screenshot 3
  4. Copy the key

    The new key is displayed. Press Copy to save the key to your clipboard.

    Leave this tab or window open until you have successfully saved the key in ThoughtMetric. You cannot retrieve the key again once it has been closed.

    Connect ChatGPT Ads screenshot 4
  5. Open Configure in ThoughtMetric

    Navigate to Configure in the left-side navigation menu.

    Connect ChatGPT Ads screenshot 5
  6. Start the ChatGPT Ads connection

    Select Integrations and then click Connect under ChatGPT Ads.

    Connect ChatGPT Ads screenshot 6
  7. Paste your API key

    A popup appears, prompting you for your ChatGPT Ads API key. Paste the key you copied, then press Connect ChatGPT.

    Connect ChatGPT Ads screenshot 7
  8. Confirm the connection

    ThoughtMetric validates your key with ChatGPT Ads. If validation succeeds, the integration shows as Connected. Otherwise, an error such as "invalid_api_key" is displayed.

    Connect ChatGPT Ads screenshot 8

Connect multiple ChatGPT Ads accounts

You can connect more than one ChatGPT Ads account to your ThoughtMetric account.

  1. Edit the integration

    Navigate to the Integrations page and click Edit Integration on the ChatGPT Ads integration.

    Connect ChatGPT Ads screenshot 9
  2. Add or remove accounts

    You are taken to a page that shows all of the ChatGPT Ads accounts you currently have connected. Click the Connect New Account button to add a new account, or click the Disconnect buttons to remove old accounts.

    Connect ChatGPT Ads screenshot 10

Add tracking parameters to your ads

For the most accurate tracking of ChatGPT Ads, place the ThoughtMetric tracking parameters on your ChatGPT Ads.

ThoughtMetric ChatGPT Ads tracking parameter:

tmsrc=chatgptad&tmcid={campaign_id}&tmsid={ad_group_id}&tmid={ad_id}

  1. Copy the ThoughtMetric tracking parameter.

  2. Open your campaigns

    Click Campaigns in the Ads Manager sidebar.

    Connect ChatGPT Ads screenshot 11
  3. Select the campaigns to update

    Select the applicable ad campaign(s), or check the box indicated to select all campaigns.

    Connect ChatGPT Ads screenshot 12
  4. If more than one campaign is selected, set the query parameters

    From the Edit menu, select Set query parameters.

    Connect ChatGPT Ads screenshot 13

    Paste the ChatGPT Ads tracking parameter into the field and click Continue.

    Connect ChatGPT Ads screenshot 14
  5. If only one campaign is selected, edit the campaign

    Click the Edit button itself. In the resulting popup, paste the ChatGPT Ads tracking parameter into the Landing page query parameters field and then click Save.

    Connect ChatGPT Ads screenshot 15

If your tracking template already has parameters

If you already have tracking parameters in the tracking template field, you can use the ThoughtMetric tracking parameters in addition to the tracking you already have in place.

Append the ThoughtMetric parameters to the end of your existing UTM string with an & symbol, starting with the tmsrc parameter.

For example, if your tracking template already contains this text:

utm_source=openai

Append the ThoughtMetric tracking parameters so that the end result looks like this:

utm_source=openai&tmsrc=chatgptad&tmcid={campaign_id}&tmsid={ad_group_id}&tmid={ad_id}