Retrieve Display Forecast Stats
curl --request GET \
--url https://api.hakumedia.ai/v2/reports/forecast/display \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.hakumedia.ai/v2/reports/forecast/display', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hakumedia.ai/v2/reports/forecast/display"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hakumedia.ai/v2/reports/forecast/display",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "display_forecast",
"url": "/v2/reports/forecast/display",
"data": {
"confidence": "moderate",
"confidence_reasons": [
{
"reason": "The placement forecast estimate may not be accurate because of poorly defined platform targets."
}
],
"impressions_projected": {
"total": 12540,
"daily_breakdown": [
{
"date": "2026-04-15",
"impressions": 420
}
]
},
"competing_ads": {
"campaigns": [
{
"id": 10509,
"placement_id": 88321,
"name": "Spring Promotion",
"type": "campaign",
"zone_id": 5001,
"channel_id": null,
"start_at": "2025-01-01T00:00:00+00:00",
"end_at": "2025-03-31T23:59:59+00:00",
"projected_impressions": 5000,
"priority": "standard",
"delivery_pacing": "default",
"serve_method": "weight",
"weight": 1,
"cpm": 0,
"quota_lifetime": 0,
"quota_daily": 0,
"has_platform_target": false,
"has_geo_target": false,
"has_ad_item_targets": false,
"has_ad_item_schedule": false
}
],
"ad_items": [
{
"id": 520518081,
"placement_id": 88322,
"name": "Banner Ad 300x250",
"type": "ad_item",
"zone_id": 5001,
"channel_id": null,
"start_at": "2025-01-01T00:00:00+00:00",
"end_at": "2025-03-31T23:59:59+00:00",
"projected_impressions": 3000,
"priority": "standard",
"delivery_pacing": "default",
"serve_method": "weight",
"weight": 1,
"cpm": 0,
"quota_lifetime": 0,
"quota_daily": 0,
"has_platform_target": false,
"has_geo_target": false,
"has_ad_item_targets": false,
"has_ad_item_schedule": false
}
]
}
}
}Reportes
Retrieve Display Forecast Stats
Retrieve a forecast of daily projected impressions for a proposed placement in a display zone over a future date range. The forecast accounts for existing competing placements, targeting, and delivery settings.
GET
/
reports
/
forecast
/
display
Retrieve Display Forecast Stats
curl --request GET \
--url https://api.hakumedia.ai/v2/reports/forecast/display \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.hakumedia.ai/v2/reports/forecast/display', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.hakumedia.ai/v2/reports/forecast/display"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hakumedia.ai/v2/reports/forecast/display",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"object": "display_forecast",
"url": "/v2/reports/forecast/display",
"data": {
"confidence": "moderate",
"confidence_reasons": [
{
"reason": "The placement forecast estimate may not be accurate because of poorly defined platform targets."
}
],
"impressions_projected": {
"total": 12540,
"daily_breakdown": [
{
"date": "2026-04-15",
"impressions": 420
}
]
},
"competing_ads": {
"campaigns": [
{
"id": 10509,
"placement_id": 88321,
"name": "Spring Promotion",
"type": "campaign",
"zone_id": 5001,
"channel_id": null,
"start_at": "2025-01-01T00:00:00+00:00",
"end_at": "2025-03-31T23:59:59+00:00",
"projected_impressions": 5000,
"priority": "standard",
"delivery_pacing": "default",
"serve_method": "weight",
"weight": 1,
"cpm": 0,
"quota_lifetime": 0,
"quota_daily": 0,
"has_platform_target": false,
"has_geo_target": false,
"has_ad_item_targets": false,
"has_ad_item_schedule": false
}
],
"ad_items": [
{
"id": 520518081,
"placement_id": 88322,
"name": "Banner Ad 300x250",
"type": "ad_item",
"zone_id": 5001,
"channel_id": null,
"start_at": "2025-01-01T00:00:00+00:00",
"end_at": "2025-03-31T23:59:59+00:00",
"projected_impressions": 3000,
"priority": "standard",
"delivery_pacing": "default",
"serve_method": "weight",
"weight": 1,
"cpm": 0,
"quota_lifetime": 0,
"quota_daily": 0,
"has_platform_target": false,
"has_geo_target": false,
"has_ad_item_targets": false,
"has_ad_item_schedule": false
}
]
}
}
}Autorizaciones
Parámetros de consulta
The delivery pacing of the proposed placement. Must be default or smooth. Default delivery serves impressions as quickly as possible. Smooth delivery will evenly serve ads based on the placement's lifetime dates and quotas. NOTE: Smooth delivery requires the Smooth Delivery feature to be enabled.