ResponsiveDisplayAdInfo

A responsive display ad.

Fields

marketing_images[]

AdImageAsset

Marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%). At least one marketing_image is required. Combined with square_marketing_images the maximum is 15.

square_marketing_images[]

AdImageAsset

Square marketing images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must be 1:1 (+-1%). At least one square marketing_image is required. Combined with marketing_images the maximum is 15.

logo_images[]

AdImageAsset

Logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must be 4:1 (+-1%). Combined with square_logo_images the maximum is 5.

square_logo_images[]

AdImageAsset

Square logo images to be used in the ad. Valid image types are GIF, JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be 1:1 (+-1%). Combined with square_logo_images the maximum is 5.

headlines[]

AdTextAsset

Short format headlines for the ad. The maximum length is 30 characters. At least 1 and max 5 headlines can be specified.

long_headline

AdTextAsset

A required long format headline. The maximum length is 90 characters.

descriptions[]

AdTextAsset

Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 headlines can be specified.

youtube_videos[]

AdVideoAsset

Optional YouTube videos for the ad. A maximum of 5 videos can be specified.

business_name

StringValue

The advertiser/brand name. Maximum display width is 25.

main_color

StringValue

The main color of the ad in hexadecimal, e.g. #ffffff for white. If one of main_color and accent_color is set, the other is required as well.

accent_color

StringValue

The accent color of the ad in hexadecimal, e.g. #ffffff for white. If one of main_color and accent_color is set, the other is required as well.

allow_flexible_color

BoolValue

Advertiser's consent to allow flexible color. When true, the ad may be served with different color if necessary. When false, the ad will be served with the specified colors or a neutral color. The default value is true. Must be true if main_color and accent_color are not set.

call_to_action_text

StringValue

The call-to-action text for the ad. Maximum display width is 30.

price_prefix

StringValue

Prefix before price. E.g. 'as low as'.

promo_text

StringValue

Promotion text used for dyanmic formats of responsive ads. For example 'Free two-day shipping'.

format_setting

DisplayAdFormatSetting

Specifies which format the ad will be served in. Default is ALL_FORMATS.