Get ad status
curl --request GET \
--url https://{publisher_host}/v1/ads/{ad_id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://{publisher_host}/v1/ads/{ad_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{publisher_host}/v1/ads/{ad_id}/status', 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://{publisher_host}/v1/ads/{ad_id}/status",
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: Bearer <token>"
],
]);
$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://{publisher_host}/v1/ads/{ad_id}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{publisher_host}/v1/ads/{ad_id}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{publisher_host}/v1/ads/{ad_id}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ad_id": "ad_9pL2wR",
"status": "active",
"updated_at": "2026-08-19T09:00:00Z"
}Ads
Get ad status
Return the current delivery status of an ad
GET
/
ads
/
{ad_id}
/
status
Get ad status
curl --request GET \
--url https://{publisher_host}/v1/ads/{ad_id}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://{publisher_host}/v1/ads/{ad_id}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{publisher_host}/v1/ads/{ad_id}/status', 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://{publisher_host}/v1/ads/{ad_id}/status",
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: Bearer <token>"
],
]);
$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://{publisher_host}/v1/ads/{ad_id}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{publisher_host}/v1/ads/{ad_id}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{publisher_host}/v1/ads/{ad_id}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"ad_id": "ad_9pL2wR",
"status": "active",
"updated_at": "2026-08-19T09:00:00Z"
}Overview
Return the current delivery status so Targeter can sync campaign state. Targeter polls this while a campaign is live and after pause, resume, or review.Status values
| Status | Meaning |
|---|---|
draft | Created but not yet submitted for delivery |
pending_review | Waiting on publisher or policy review |
scheduled | Approved; start_date is in the future |
active | Currently delivering |
paused | Delivery stopped by Targeter or the publisher |
completed | Flight ended or budget exhausted |
rejected | Review failed; the ad will not deliver |
error | Publisher-side failure; include enough in error payloads for Targeter to retry or surface the issue |
Request
Headers
Authorization: Bearer {token}(required)
Path Parameters
Example Request
curl "https://publisher.example.com/v1/ads/ad_9pL2wR/status" \
-H "Authorization: Bearer YOUR_TOKEN"
Response
Success (200)
string
Publisher-generated ad id
string
Current delivery status
string
UTC timestamp of the last status change
{
"ad_id": "ad_9pL2wR",
"status": "active",
"updated_at": "2026-08-20T06:00:00Z"
}
Error Responses
401 - Unauthorized
{
"error": "Missing or invalid Authorization header"
}
404 - Ad not found
{
"error": "Ad not found"
}
500 - Server Error
{
"error": "Unexpected server error. Please try again later."
}
Authorizations
API token issued to Targeter during integration setup. Send as Authorization: Bearer <token>.
Path Parameters
Publisher-generated ad id returned from POST /ads