curl --request POST \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/ad-groups/{ad_group_id}/rsa/generate \
--header 'Authorization: Bearer <token>'{
"rsa_ids": [
123
],
"task_id": "<string>",
"status": "in_progress"
}Start RSA generation for a specific ad group using Gemini AI.
Company info is auto-resolved from the draft’s linked customer. Kicks off a background task. Returns immediately with task_id for polling.
curl --request POST \
--url http://localhost:8000/api/v1/campaigns/drafts/{draft_id}/ad-groups/{ad_group_id}/rsa/generate \
--header 'Authorization: Bearer <token>'{
"rsa_ids": [
123
],
"task_id": "<string>",
"status": "in_progress"
}The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response
Response when starting RSA generation (3 RSAs per ad group).