Here are some answers to questions you may have about AdSense ad formats.
Responsive adsHow 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.
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.
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.
availableWidth=0error. 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.
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 adsWhy 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 Content All sites 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 Overview Global settings and turn off Let Google optimize the size of your mobile ads.
Sticky adsAm 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 contentWhat 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.
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.
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.
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.