Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

Ad units

Ad formats FAQ

Here are some answers to questions you may have about AdSense ad formats.

expand all | collapse all

Responsive ads

How do I use responsive ad tag parameters?

Responsive ad tag parameters allow you to change the behavior of your responsive display ad units. For example, to specify a general shape that your ad unit should conform to. To use responsive ad tag parameters, you typically make a small change to your responsive ad code. Learn how to use responsive ad tag parameters.

Can I customize responsive ads to fit my site?

If you find that our responsive ad code doesn't do everything you need, you may modify your ad code to better meet the requirements of your responsive site. These examples of advanced responsive ad code features show you how to correctly make these modifications.

Can I set a maximum width and/or height for my responsive ads?

Yes, you can set the maximum width and/or height. See How to modify your responsive ad code for instructions on how to do this.

In Chrome Dev Tools I get an availableWidth=0 error. What does it mean?

If the following error is returned, it means that when the responsive ad code calculated the available width, the width was 0.

In Chrome Dev Tools I get this error: adsbygoogle.push() error: No slot size for availableWidth=0. What should I do?

This is because your responsive ad code is inside a parent container that has no explicit width set. To fix this, you need to either set the width of the parent container or make the ad unit fixed size.

Fixed-sized ads

Why do fixed-sized ad units sometimes show ads that are a different size from the size I specified?

The following AdSense features that are designed to increase the performance of ad units may cause this to happen:

  • Similar sized display ads lets you show similar-sized but higher performing display ads in your ad units. To opt out of this feature, go to Blocking controls and then Content and then All sites and then Ad serving and turn off Similar sized display ads.
  • Ad size optimization lets Google automatically optimize the size of your ad units on mobile. To opt out of this feature, go to Ads and then Overview and then Global settings and turn off Let Google optimize the size of your mobile ads.
Note: Turning off either of these features may have a negative impact on your ad unit performance.

Sticky ads

Am I allowed to implement sticky ads and what are the policy rules?

Sticky ads are permitted in AdSense. If you are interested in using this format, please see below for technical requirements that you must abide by:

  • Only ad formats with width of 300px or less are allowed.
  • For example, 728x90 is not allowed.
  • 160x600, 300x600, 300x250, 300x50 and 120x600 are all allowed.
  • Sticky ads must not overlap or underlap any other page content. Nor may the ad ever come too close to content, navigational site functions (including scrollbars), or another ad. This includes pages with responsive design and any issues that may arise from resized windows.
  • All ad attributions, and all of the ads content, must be displayed at all times.
  • Ads must scroll into an out of the viewport, they cannot appear or disappear at any point in the scroll.
  • Ads must only move in the vertical axis, without any horizontal scrolling. Sticky units are not allowed to float elsewhere on the page or follow the cursor.
  • Ads must render at a reasonable rate and must scroll smoothly without any choppiness or stuttering.
  • There can only be one sticky ad visible in the viewport at a time. Mirrored sticky units on both sides of the content, or parallel units (horizontally next to each other) on one side of the content are not allowed.
  • These implementations are for desktop only and ads should not be sticky on tablet or mobile optimized versions of a site.  Publishers should ensure implementation will be compliant when their site is loaded on tablet/mobile even if the page is not tablet/mobile-optimized.

Matched content

What is the eligibility criteria for Matched content?

To be eligible for Matched content, your site must first meet our minimum requirements for traffic volume and number of unique pages. You can find out if your site is eligible for Matched content by checking the Sites page in your AdSense account. If you don't see Matched content under "Sites" then you're not currently eligible to use Matched content.

How can I customize a responsive Matched content unit?

If you have specific requirements for your responsive Matched content units, you can customize the way they look by adding parameters to your ad code. These parameters allow you to change things like the layout of your Matched content units and specify how you'd like to arrange the rows and columns of recommendations within them. Learn how to customize your responsive Matched content unit.

My Matched content units are blank. What should I do?

There are two reasons why your Matched content units might appear blank:

  • The total number of recommendations in your Matched content unit is either less than 1 or more than 30. You should change the number of rows and/or columns in your Matched content unit so that the total number of recommendations is within the limit.
  • Your Matched content unit is too wide for the number of recommendations you've set. In this case, you should try reducing the width of your Matched content unit.
Can Matched content recommend articles from a specific subdomain or a subdirectory?

No. Matched content generates recommendations from your entire site. Note that you can exclude articles from being recommended by adding them to your blocklist. For more details, go to Apply settings to your Matched content units.

Native ads 

  What types of native ads can I implement?

AdSense offers the following native products:

As long as your ads don't exceed your content, you can place as many native and non-native ads on your pages as you want. Learn more about our inventory value policy.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

true
' data-mime-type=
Your AdSense page

Introducing AdSense Page: a new resource in which you can find personalized information and new opportunities in your account to help to succeed with AdSense.

Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
157
false