curl --request GET \
--url https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"start_time": 123,
"end_time": 123,
"readable_time": "<string>",
"timezone": "<string>",
"campaign_id": "<string>",
"campaign_name": "<string>",
"ad_group_id": "<string>",
"ad_group_name": "<string>",
"ad_id": "<string>",
"ad_name": "<string>",
"impressions": 123,
"clicks": 123,
"spend": 123,
"ctr": 123,
"cpc": 123,
"cpm": 123
}
],
"count": 123,
"first_id": "<string>",
"last_id": "<string>",
"has_more": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Account Insights
Get ad account insights for the organization’s OpenAI Ads partner brand.
aggregation_level=campaign returns one row per campaign (with campaign_id
/ campaign_name and all metrics), so every campaign’s insights come back in
a single call; time_granularity=daily gives per-day rows (e.g. daily spend).
curl --request GET \
--url https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tryprofound.com/v1/ads/openai-ads/ad-account/insights")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"start_time": 123,
"end_time": 123,
"readable_time": "<string>",
"timezone": "<string>",
"campaign_id": "<string>",
"campaign_name": "<string>",
"ad_group_id": "<string>",
"ad_group_name": "<string>",
"ad_id": "<string>",
"ad_name": "<string>",
"impressions": 123,
"clicks": 123,
"spend": 123,
"ctr": 123,
"cpc": 123,
"cpm": 123
}
],
"count": 123,
"first_id": "<string>",
"last_id": "<string>",
"has_more": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Query Parameters
Organization scope for API keys that can access multiple organizations.
Row entity for the insights breakdown. campaign returns one row per campaign.
ad_account, campaign, ad_group, ad Time bucket for the rows; none or omitted returns totals over the whole range.
hourly, daily, monthly, none Time ranges as JSON objects, e.g. {"type": "date_range", "since": "2026-07-01", "until": "2026-07-18"}.
Maximum rows to return.
1 <= x <= 2000Return items after this ID (forward pagination).
Return items before this ID (backward pagination).
Response
Successful Response
Cursor-paginated insights, mirroring the OpenAI Ads insights envelope.
Insight rows.
Show child attributes
Show child attributes
Total row count, when reported upstream.
ID of the first item; pass as before to page back.
ID of the last item; pass as after to page forward.
Whether more items are available.
Was this page helpful?