Skip to main content

ChatGPT Ads - Eligibility, Setup, and MCP

Internal reference for support on ChatGPT Ads: how eligibility is determined and checked, the steps to onboard a new Pattern brand for it, the account spend limit, MCP access for debugging, and BigQuery dataset

D
Written by Dominika Rakyta

ChatGPT Eligibility

The ChatGPT Ads menu section is optional — it only appears for companies that are eligible for it. A company becomes eligible when it has "Open AI" listed under Contracted Services in Hubspot.

Hubspot deal detail showing Contracted Services field with Open AI tag

Hubspot deal page — the Contracted Services field (under "About this deal") must include the Open AI tag for the company to be eligible.

Checking eligibility in-platform

  1. Open DevTools (Network tab) and do a fresh page load.

  2. Find the request to https://billing.roihunter.com/deals/latest.

  3. In the response, look at the products list for an entry called OPENAI_SPEND_LIMIT.

If OPENAI_SPEND_LIMIT is present, the company is eligible. That same entry also carries the actual spend limit and its currency, which is useful for debugging spend-related questions.

If the entry is not in the response:

  • the ChatGPT Ads menu item will not show, and

  • the market detail page will not allow the user to connect ChatGPT assets.

The billing service mirrors Hubspot data — it refreshes each time Hubspot is exported into BigQuery, a pipeline owned by the BI team that runs several times a day. So a Contracted Services correction in Hubspot won't show up in OPENAI_SPEND_LIMIT until the next export runs.

Known Gaps

  • When a company previously had the ChatGPT product but it was later removed, existing ChatGPT assets are not automatically unlinked. The menu item disappears, but the market detail page will likely still show the asset connected there.

  • The billing page currently shows no information about the ChatGPT product at all — neither its presence nor spend consumption against the limit.

This is a known issue, not currently a blocker for support to act on — cleaning up stale assets automatically is planned as future work, not something to escalate case-by-case today.


Creating a new company for Pattern brands

Not specific to ChatGPT, but a prerequisite when onboarding a new Pattern brand. This comes up when someone at Pattern wants to add a new brand whose only goal is to run ChatGPT ads, and wants it live as fast as possible. Support doesn't run these steps directly — each one below is done by asking the labeled person or team to do it, and support's role is to request it, verify the result, and escalate if it stalls.

  1. [BI team] Create the Hubspot company (if it doesn't already exist) and set its Agency = Pattern - US. This puts the company into the group deal, which already carries the ChatGPT spend limit.

    • Ask Štefan or someone from BI to do this.

    • Verify the company exists in Core DB and has hubspot_id set.

    • Sometimes the Hubspot→Core DB webhook doesn't fire. If so, ask BI to move the company to a different pipeline stage and then back to the desired one — this re-triggers the sync.

  2. [Any backend dev] Speed up BigQuery propagation. New companies normally sync into BigQuery overnight. To do it immediately, run the product-bi-exporter--companies Cloud Run Job. Ask any backend dev to run it — support does not have direct access.

  3. [You] Verify the company landed correctly by running (manually, or by asking Claude to run it):

    SELECT * FROM `dbt-bi.product_billing.mart_deals_and_products` WHERE id = 62465532771

    62465532771 is the real deal ID for the Pattern group deal — this is not a placeholder, keep it as-is when running the query. A passing result is a single row, where the newly created/added company shows up in that row's companies column (identifiable by its RH ID and name).

  4. [BI team] If ChatGPT still isn't showing in the menu, ask BI to manually trigger the Hubspot→BigQuery export. That workflow calls the Billing service endpoint /integration/deals/trigger-pull-from-bq, which rebuilds the cache. If it still doesn't resolve, escalate to David.

Timing: the slowest part of this whole flow is the Hubspot→BigQuery export in step 4, which can take up to 30 minutes. The other steps (webhook re-trigger, Cloud Run job, verification query) are all near-instant.


Account Spend Limit

Not implemented yet Everything in this section is the intended design. The tie-in between deal spend limit and account spend limit described below does not exist yet — treat the behavior described here as "what's coming," not "what happens today." In practice, right now, all accounts are effectively unlimited.

ChatGPT ad accounts can be capped, via the OpenAI Ads API, to a defined spend limit. The intent is for that cap to reflect the spend limit purchased on the deal — but that link is not implemented yet.

Because this involves money, unlocking spend will be gatekept by someone on the Finance team, who will only raise the limit once the corresponding payment has actually landed on our account.

  • All newly created ChatGPT ad accounts default to a spend limit of 0.

  • All Pattern accounts are treated as unlimited (i.e. not subject to this cap).


MCP For Debugging

Our MCP plugin for Claude can access the OpenAI Ads API. It's useful for quick checks against the API, and for pulling data that isn't otherwise exposed in the backend or frontend.

The MCP is used by both RH and Pattern employees. Access is controlled by two separate allowlists, and a user typically needs an entry in both:

  1. The OpenAI Ads module ACL — acl.ts in the MCP service repo. This defines, per user:

    • Full access users — can access all ad accounts. Used for RH developers (and potentially support agents), and Pattern managers.

    • Regular users — restricted to a per-ad-account allowlist. Used for individual ad strategists dedicated to specific brands.

  2. The MCP-wide ACL — allowed-users.ts. This defines read/write permission level for the user's email, via either:

    • Role.OPENAI_MANAGER — grants both read and write, or

    • Scope.READ_OPENAI_ADS and/or Scope.WRITE_OPENAI_ADS — granted selectively.

Note This permissions setup is completely separate from Pattern Ad Signals' own permission system. A user does not automatically get MCP access to accounts they manage inside Pattern Ad Signals, even under the same email — the two ACLs above are the only source of truth for MCP access.

The MCP only supports a defined set of API endpoints — it cannot make a generic API call the way Meta's GraphAPI Explorer can. A good starting point is asking Claude to list the available tools and their parameters. If something useful is missing, reach out to David.

Requesting access: agents are welcome to open a PR against either ACL file themselves, linking the access request in the PR description.

BigQuery Data

Like other channels, ChatGPT Ads usage is exported into BigQuery — specifically into dbt-bi.product_owned.mart_chatgpt_ad_stats_daily. This lets you analyze cross-account and cross-company data without needing Pattern Ad Signals or MCP access to those individual accounts. The export runs multiple times a day.

Note: date in this table represents the date in each ad account's own timezone — not a single shared timezone across rows. Keep that in mind when comparing or summing "today"/"yesterday" figures across accounts.

Query it directly — either through the BigQuery UI, or by asking Claude to run the query for you.

Query it directly — either through the BigQuery UI, or by asking Claude to run the query for you.

Did this answer your question?