GenerateImagesRequest
Stay organized with collections
Save and categorize content based on your preferences.
| Fields |
asset_field_types[]
|
AssetFieldType
Optional. Output field types for generated images. Supported values are MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be compatible with the advertising_channel_type or existing_generation_context (whichever is set). If no field types are provided, images will be generated for all compatible field types.
|
advertising_channel_type
|
AdvertisingChannelType
Optional. The advertising channel type for which the images are being generated. This field is required if existing_generation_context is not provided. Supported channel types include SEARCH, PERFORMANCE_MAX, DISPLAY, and DEMAND_GEN.
|
customer_id
|
string
Required. The ID of the customer for whom the images are being generated. Required.
|
final_url_generation
|
FinalUrlImageGenerationInput
Optional. Generate images from a final url.
|
|
FreeformImageGenerationInput
Optional. Generate images from a freeform prompt.
|
product_recontext_generation
|
ProductRecontextGenerationImageInput
Optional. Generate new images by recontextualizing existing product images.
|
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-16 UTC."],[],[]]