Cancel Partner Eligibility Job
POST
/sandbox/ad_eligibility_jobs/{batch_id}/cancelRequest cancellation of unfinished items; completed observations retain their normal expiry.
Cancel Partner Eligibility Job
curl https://api.ads.openai.com/v1/sandbox/ad_eligibility_jobs/$BATCH_ID/cancel \
-X POST \
-H "Authorization: Bearer $OPENAI_ADS_ACCESS_TOKEN"200 — Example
{
"ad_account_id": "ad_account_id",
"association_id": "association_id",
"batch_id": "batch_id",
"campaign_id": "campaign_id",
"cancelled_count": 0,
"completed_count": 0,
"execution_deadline": "execution_deadline",
"expired_count": 0,
"failed_count": 0,
"result_expires_at": "result_expires_at",
"results_available": true,
"retry_after_seconds": 0,
"schema_version": "1.0",
"status": "preparing",
"total_count": 0
}Returns
Returns Examples
200 — Example
{
"ad_account_id": "ad_account_id",
"association_id": "association_id",
"batch_id": "batch_id",
"campaign_id": "campaign_id",
"cancelled_count": 0,
"completed_count": 0,
"execution_deadline": "execution_deadline",
"expired_count": 0,
"failed_count": 0,
"result_expires_at": "result_expires_at",
"results_available": true,
"retry_after_seconds": 0,
"schema_version": "1.0",
"status": "preparing",
"total_count": 0
}