AdSense for search (AFS)

Custom search style ad settings

All of the available ad settings for Custom Search Ads are described below.

Global options

Use these settings to apply styles across your ads:

Setting Description
Font Set the font for the text in your ads. You can choose from a range of Google fonts.
Font color Set the font color for the text in your ads.
Background color Set the background color for your ads.
Padding Set the padding around the top, bottom and sides of your ads.
Borders Set the border size and color for your ads.
On rollover Set the emphasis and background color for your ads on rollover.

Headline

Use these settings to style the headlines of your ads:

Setting Description
Font Set the font and font color for the headlines.
Font size Set the font size for the headlines.
Line height Set the line height for the headlines.
Letter spacing Set the letter spacing for the headlines.
Emphasis Choose whether you want the headlines to be bold, italicized, or underlined
Padding Set the padding around the top, bottom and sides of the headlines.
On rollover Set the emphasis and background color for the headlines on rollover.

Display URL

Use these settings to style the URL text of your ads:

Setting Description
Font Set the font and font color for the URL text.
Font size Set the font size for the URL text.
Line height Set the line height for the URL text.
Letter spacing Set the letter spacing for the URL text.
Emphasis Choose whether you want the URL text to be bold, italicized, or underlined.
On rollover Set the emphasis and font color for the URL text on rollover.
Padding Set the padding around the top, bottom and sides of the URLs.

Description

Use these settings to style the description text of your ads:

Setting Description
Font Set the font and font color for the descriptions.
Font size Set the font size for the descriptions.
Line height Set the line height for the descriptions.
Letter spacing Set the letter spacing for the descriptions.
Emphasis Choose whether you want the descriptions to be bold, italicized, or underlined.
Padding Set the padding around the top, bottom and sides of the descriptions.

Search keyword

Use these settings to style the search keyword of your ads:

Setting Description
Text color Set the font and font color for the search keywords.
Emphasis Choose whether you want the search keywords to be bold, italicized, or underlined.

Ad separator

Use these settings to style the ad separator in your ads:

Setting Description
Separator color Set the color for the ad separator.

Ad badge

Note that ad badge settings may not be available for all styles. When available, use these settings to style the ad badge in your ads:

Setting Description
Font Set the font for the ad badge. You can choose from a range of Google fonts.
Font color Set the font color for the text in your ad badge.
Background color Set the background color for the ad badge.
Font size Set the font size for the ad badge.
Line height Set the line height for the ad badge.
Letter spacing Set the letter spacing for the ad badge.
Emphasis Choose whether you want the ad badge to be bold, italicized, or underlined.
Padding Set the padding around the top, bottom and sides of the ad badge.
Borders Set the border color, size and radius for the ad badge.

Image

If your layout includes an image, use these settings to style the image in your ads:

Setting Description
Icon color Set the color for the icon.
Icon Choose either a custom or standard icon.
Size Set the width and height of the image.

Left container

If your layout includes an image in the left-hand column, use these settings to style the image in your ads:

Setting Description
Background color Set the background color for the ad image.
Margins Set the margins around the top, bottom and sides of your ad image.
Padding Set the padding around the top, bottom and sides of your ad image.
Borders Set the border color, size and radius for the ad image.
Width Set the width of the ad image.
Height Set the height of the ad image.
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue