Join us live on Discord on the Google Advertising and Measurement Community server and on YouTube on October 15th at 10:00 AM EST! We will discuss the new features added in v26 of the Google Ads API.
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.
context
Union field. Additional context to guide image generation.
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.
generation_type
Union field. Type of image generation to apply. Required.
[[["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-02-23 UTC."],[],[]]