---
title: "Queue an AI rewrite of one ad group's signals and/or texts."
method: POST
path: "/app/create/g/demand-gen/{draftId}/regenerate"
tags: ["App/Create/GoogleAds/DemandGenCreation"]
---

# Queue an AI rewrite of one ad group's signals and/or texts.

`POST /app/create/g/demand-gen/{draftId}/regenerate`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/app/create/g/demand-gen/{draftId}/regenerate`
- Auth: API key in header `authorization`
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/app/create/g/demand-gen/:draftId/regenerate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `draftId` integer, required

## Request body

- object
  - `adGroup` object, required
  - `adFormat` 'single_image' | 'carousel' | 'video'
  - `parts` string[], required

## Response `200`

Queued

- object
  - `data` object
    - `token` string
    - `status` string

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
