For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Overview Agent Access Ads ChatGPT + Codex user docs Use cases

API Reference

Sandbox

Cancel Partner Eligibility Job
POST
/sandbox/ad_eligibility_jobs/{batch_id}/cancel
Get Partner Eligibility Job
GET
/sandbox/ad_eligibility_jobs/{batch_id}
Get Partner Eligibility Results
GET
/sandbox/ad_eligibility_jobs/{batch_id}/results
Submit Partner Eligibility Job
POST
/sandbox/ad_eligibility_jobs
Models
SandboxCancelPartnerEligibilityJobResponse object { ad_account_id, association_id, batch_id, 12 more }
ad_account_id: string
association_id: string
batch_id: string
campaign_id: string
cancelled_count: integer
completed_count: integer
execution_deadline: string
expired_count: integer
failed_count: integer
result_expires_at: string
results_available: boolean
retry_after_seconds: integer
schema_version: "1.0" (default: "1.0")
status: "preparing" or "pending" or "running" or 6 more
One of the following:
"preparing"
"pending"
"running"
"cancelling"
"completed"
"partially_failed"
"failed"
"cancelled"
"expired"
total_count: integer
SandboxGetPartnerEligibilityJobResponse object { ad_account_id, association_id, batch_id, 12 more }
ad_account_id: string
association_id: string
batch_id: string
campaign_id: string
cancelled_count: integer
completed_count: integer
execution_deadline: string
expired_count: integer
failed_count: integer
result_expires_at: string
results_available: boolean
retry_after_seconds: integer
schema_version: "1.0" (default: "1.0")
status: "preparing" or "pending" or "running" or 6 more
One of the following:
"preparing"
"pending"
"running"
"cancelling"
"completed"
"partially_failed"
"failed"
"cancelled"
"expired"
total_count: integer
SandboxGetPartnerEligibilityResultsResponse object { batch_id, next_offset, results, schema_version }
batch_id: string
next_offset: integer or null
results: array of object { eligible, query_id, retryable, 2 more }
eligible: boolean or null
query_id: string
retryable: boolean or null
status: "pending" or "evaluated" or "not_evaluable" or 3 more
One of the following:
"pending"
"evaluated"
"not_evaluable"
"failed"
"cancelled"
"expired"
assistant_response: optional string or null

The generated synthetic answer released by the evaluator, or null when unavailable. Available only for completed observations and subject to the job's result expiry.

schema_version: "1.0" (default: "1.0")
SandboxSubmitPartnerEligibilityJobResponse object { ad_account_id, association_id, batch_id, 12 more }
ad_account_id: string
association_id: string
batch_id: string
campaign_id: string
cancelled_count: integer
completed_count: integer
execution_deadline: string
expired_count: integer
failed_count: integer
result_expires_at: string
results_available: boolean
retry_after_seconds: integer
schema_version: "1.0" (default: "1.0")
status: "preparing" or "pending" or "running" or 6 more
One of the following:
"preparing"
"pending"
"running"
"cancelling"
"completed"
"partially_failed"
"failed"
"cancelled"
"expired"
total_count: integer