curl --request GET \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/generation-status \
--header 'Authorization: Bearer <token>'{
"ad_groups": {
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
},
"rsas": [
{
"rsa_id": 123,
"ad_group_id": 123,
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
}
],
"extensions": {
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
},
"all_complete": true
}Get the generation status for ad groups and RSAs in a draft. Useful for polling during async operations.
curl --request GET \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/generation-status \
--header 'Authorization: Bearer <token>'{
"ad_groups": {
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
},
"rsas": [
{
"rsa_id": 123,
"ad_group_id": 123,
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
}
],
"extensions": {
"task_id": "<string>",
"status": "not_started",
"error": "<string>"
},
"all_complete": true
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Combined generation status for a draft.
Status of ad group generation task.
Show child attributes
Show child attributes
Status of ad group generation task.
Show child attributes