Skip to main content
POST
Regenerate Google Ads asset group creative

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
google_ads:manage
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyAuth
google_ads:manage
WorkspaceApiKeyBearerAuth
full_access
WorkspaceApiKeyBearerAuth

Path Parameters

app_id
string
required

ID of the app whose Google Ads creative you want to generate or read.

asset_group_id
string
required

Google Ads' own numeric ID for the asset group, as reported in asset_group_id by List Google Ads asset performance.

Body

application/json

Request shape for the ad-strength-drop creative regeneration.

channel_type defaults to PERFORMANCE_MAX (ad_strength drops are surfaced for PMax asset groups). session_id/final_url/freeform_prompt mirror generate-all; the produced assets are session previews the user accepts via the existing POST /assets/{id}/accept — nothing is pushed to Google here.

channel_type
enum<string>
default:PERFORMANCE_MAX

Campaign type to generate for, which decides the slots that get filled. One of PERFORMANCE_MAX, DEMAND_GEN, SEARCH or DISPLAY. Asset groups belong to Performance Max campaigns, so the default is the value you almost always want.

Available options:
SEARCH,
PERFORMANCE_MAX,
DISPLAY,
DEMAND_GEN
Example:

"PERFORMANCE_MAX"

final_url
string | null

Page the new pictures should be based on. Send this or freeform_prompt, not both, or omit both to ground the creative in the app's own home page.

Example:

"https://example.com/spring"

freeform_prompt
string | null

What the new creative should show, in your own words, up to 1500 characters. Send this or final_url, not both.

Maximum string length: 1500
Example:

"Brighter lifestyle shots with the product in use"

session_id
string | null

The session_id of an earlier generation to add this creative to. List Google Ads generated assets returns the combined set for an hour. Omit it to start a new generation. Sending it always starts a new generation, even while one is running, so poll List generated assets for progress rather than calling this again.

Example:

"3f9c2a7b8d1e4f6a9b0c1d2e3f4a5b6c"

Response

The replacement creative that was generated.

The creative one generation produced.

session_id
string
required

ID of this generation. Pass it as session_id to List Google Ads generated assets to poll for the images that are still coming.

Example:

"9c1d2e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f"

text
GeneratedAssetSummary · object[]
required

The copy that was generated. Empty when the text engine produced nothing and when a generation for this app was already running.

Example:
images
GeneratedAssetSummary · object[]
required

The pictures that finished in time to be returned inline. The rest are counted in background_image_count.

Example:
background_image_count
integer | null

How many more pictures are still being generated for this session. The response comes back as soon as the copy is done, so poll List Google Ads generated assets with session_id for these. The field is absent when a generation for this app was already running, which is how you tell that case apart.

Example:

3

language
string | null

Language the copy was written in, as a lowercase two-letter code: language_code when you sent it, and otherwise the language of the app's own site. The field is absent when a generation for this app was already running and you sent no language_code.

Example:

"de"