Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
LegacyResponsiveDisplayAdInfo
Stay organized with collections
Save and categorize content based on your preferences.
A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' in the Google Ads UI.
codeProto definition
| Fields |
accent_color
|
string
The accent color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
|
allow_flexible_color
|
bool
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.
|
business_name
|
string
The business name in the ad.
|
call_to_action_text
|
string
The call-to-action text for the ad.
|
description
|
string
The description of the ad.
|
|
DisplayAdFormatSetting
Specifies which format the ad will be served in. Default is ALL_FORMATS.
|
logo_image
|
string
The MediaFile resource name of the logo image used in the ad.
|
long_headline
|
string
The long version of the ad's headline.
|
main_color
|
string
The main color of the ad in hexadecimal, for example, #ffffff for white. If one of main_color and accent_color is set, the other is required as well.
|
marketing_image
|
string
The MediaFile resource name of the marketing image used in the ad.
|
price_prefix
|
string
Prefix before price. For example, 'as low as'.
|
promo_text
|
string
Promotion text used for dynamic formats of responsive ads. For example 'Free two-day shipping'.
|
short_headline
|
string
The short version of the ad's headline.
|
square_logo_image
|
string
The MediaFile resource name of the square logo image used in the ad.
|
square_marketing_image
|
string
The MediaFile resource name of the square marketing image used in the ad.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[[["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-01-22 UTC."],[],[]]