curl --request POST \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/rsas/generate-all \
--header 'Authorization: Bearer <token>'{
"rsas": [
{
"rsa_ids": [
123
],
"task_id": "<string>",
"status": "in_progress"
}
],
"total_started": 123
}Start RSA generation for all ad groups in a draft.
Company info is auto-resolved from the draft’s linked customer. Creates 3 CampaignDraftRSA records per ad group and kicks off background tasks for each ad group.
curl --request POST \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/rsas/generate-all \
--header 'Authorization: Bearer <token>'{
"rsas": [
{
"rsa_ids": [
123
],
"task_id": "<string>",
"status": "in_progress"
}
],
"total_started": 123
}The access token received from the authorization server in the OAuth 2.0 flow.