Report costs from
your ad spend.
Pull ChatGPT Ads spend from OpenAI every hour, or import billed spend by ad and hour. Prosper202 uses it to calculate click costs, profit and ROI in your reports. Clicks without matching spend keep the CPC you set on the tracking link.
Without pulled or imported spend, reports continue to use your existing click costs.
How ad spend becomes click cost
Prosper202 matches spend to clicks using the ad ID supplied by your traffic source.
Import billed spend
Include impressions, platform clicks and spend for each ad and hour, in your account’s currency. Reimporting an hour replaces its previous values, so you can update figures that are still settling.
p202 spend import · POST /api/v3/spend-ledgerMatch clicks to ads
Prosper202 uses the traffic source variable named
Traffic source variable · ad_idad_id. The ChatGPT Ads traffic source adds this field during setup.Calculate click cost
Each matched click receives a share of its ad’s spend for that hour. Other clicks retain their configured CPC.
Reports · report pagesShow unmatched spend
Spend with no matching clicks is reported as unallocated. It is not spread across other clicks. Reports also show how recently spend was imported.
The note above the figures
Use the same costs across reports
Dashboard reports and the API read the same spend ledger, including results requested by scripts or connected AI assistants.
- Overview’s tables and chart, Group Overview and Breakdown.
- Day and Week Parting, the Analyze reports, Custom Variables and Publishers.
- The REST API’s summary, breakdown, timeseries, daypart, weekpart, groups and redirector stats.
Match ChatGPT spend to ChatGPT clicks
ChatGPT Ads spend is allocated only to clicks from ChatGPT Ads traffic sources. Clicks from another source keep their existing cost, even when they share an ad ID. Reports note when this source restriction affects the calculation.
If you created the traffic source manually, edit it and mark it as ChatGPT Ads under Advanced.
Import spend through the CLI or API
Import up to 2,000 rows per file. Use a dry run to preview changes. The command line needs an active free ClickServer licence; the API is available on every install.
p202 spend import chatgpt-spend.json --dry-run # preview, write nothing p202 spend import chatgpt-spend.json # record it p202 spend list --period last7 --interval day POST /api/v3/spend-ledger?dry_run=1 GET /api/v3/spend-ledger
Or pull ChatGPT Ads spend hourly
Turn on the hourly pull for a ChatGPT Ads connection (it is off by default) on the ChatGPT Ads spend card in Setup › Traffic Sources, with p202 spend sync enable, or through the API. The first run reads the last 30 days; later runs re-read the last 72 hours, since spend settles after the clicks. It runs from the hourly part of the install’s cron job (or AutoCron), so keep the cron job running. An ad account billed in a different currency from your Prosper202 account is refused, with an error that says so.
Ad IDs must have one owner
An import is rejected if its ad ID is already recorded under another platform or ad account.
Use your account currency
Imports in another currency are rejected with an error that names the currency.
Set the required permissions
The API key needs the spend ledger scope, and its user must have a role that can update the account’s data.
Keep each conversion’s recorded currency
Changing your account currency no longer relabels earlier conversions.
Preserve earlier records
Existing conversions retain their currency after an account currency change. Reports flag periods that contain more than one currency.
Convert incoming amounts
Postback and pixel amounts from campaigns paid in another currency use a daily exchange rate. Prosper202 also retains the original amount.
Correct a past currency change
Enter the date of an earlier account currency change in Personal settings to assign the correct currency to older conversions.
Set campaign payouts
Enter a campaign payout in the network’s currency. It is converted to your account currency when you save.
Review held sales
Sales in an unsupported currency are held. The payment integration shows which setting to change, then lets you record the held sales.
Include currency in exports
Conversion Logs, the API, offline conversion files, and GA4 and Google Ads destinations include each conversion’s recorded currency.
Use billed spend in your reports
When 1.9.80 ships, upgrade and pull or import your ad spend to calculate profit and ROI from billed costs.