Every ad slot on your page tells the ad systems which sizes it can show, and that list decides which ads may compete for it. Accept too few sizes and you may turn away ads that would have paid well. Accept sizes that do not fit and the page jumps or the ad spills out of its box. This guide covers the common sizes, how to set up a slot that accepts several, and how to check which sizes are worth it.
Why the sizes a slot accepts matter
An ad can only serve into a slot whose sizes include the ad's size. Google's Google Publisher Tag (GPT) guide to ad sizes says that for a slot defined as 300x250, only creatives (the ads themselves) of that size will be served, and that for a multi-size slot Ad Manager only considers creatives matching the sizes you list. The same rule holds in header bidding: in Prebid, mediaTypes.banner.sizes is described as "all sizes this ad unit can accept".
So the size list is a filter on demand. For each slot, the question is which sizes fit the space, earn money and do not make the page shift.
Common display ad sizes
Sizes are written as width x height in pixels. Google's AdSense guide to ad sizes lists sizes it describes as top performing, plus other supported sizes, and marks which ones apply to high-end mobile. The IAB Tech Lab New Ad Portfolio (the industry body that sets ad standards) publishes a list of recommended fixed sizes alongside its flexible, aspect-ratio based sizes.
| Size | Common name | What Google's AdSense guide says | In IAB's fixed-size list |
|---|---|---|---|
| 300x250 | Medium rectangle | Performs well within text content or at the end of articles; marked for mobile too | Yes |
| 336x280 | Large rectangle | Performs well within text content or at the end of articles | No |
| 728x90 | Leaderboard | Performs well above the main content, and on forum sites | Yes |
| 300x600 | Half page | One of the fastest growing sizes by impressions; gives advertisers a larger space | No |
| 160x600 | Wide skyscraper | Best along sidebars | Yes |
| 970x250 | Billboard | Performs well in a premium position; supply is currently limited | Yes |
| 320x50 | Mobile leaderboard | Works well on smartphones, particularly at the bottom of a page | Yes (300x50 or 320x50) |
| 320x100 | Large mobile banner | An alternative to 320x50 and 300x250, with twice the height of 320x50 | No |
The AdSense guide also says 300x250, 336x280, 728x90 and 160x600 tend to have more ad inventory available. Treat the table as a starting list, not a ranking for your site.
Responsive ad units in AdSense
In AdSense you usually do not pick sizes one by one. Google's page on the responsive behavior of display ad units says display ad units are responsive by default: the ad code calculates the size from the space available and the size of the reader's screen. When you create a display ad unit, Google recommends leaving Responsive selected and warns that fixed-size ad units may have a limited pool of ads available.
- Do not put a responsive unit inside a container with a fixed or limited height; Google says the ad may be taller on some devices. To control height, use CSS media queries, as Google's page on modifying responsive ad code shows.
- Fixed-sized display ad units do not change size or respond to screen rotation. Google limits them to at least 120 pixels wide and 50 tall, no side over 1200, and only one side over 450.
Multi-size slots in Google Ad Manager and GPT
With Google Ad Manager, the sizes that count are the ones in the GPT tag on your page. Google's page on creating ad units says sizes set on the ad unit itself don't affect ad serving.
Listing several sizes
To accept more than one size, pass a list to defineSlot. The ad unit path below is a placeholder:
googletag
.defineSlot("/1234567/article-mid", [[300, 250], [336, 280]], "ad-mid")
.addService(googletag.pubads());
Different sizes for different screens
A size mapping tells GPT which sizes to request at which viewport (visible browser window) size. The GPT ad sizes guide says GPT detects the viewport size and uses the largest mapping that fits; if the mapping has an error or the viewport size can't be determined, it falls back to the sizes in defineSlot. An empty size list for a viewport means no ad can serve there.
const midMapping = googletag
.sizeMapping()
.addSize([768, 0], [[300, 250], [336, 280]])
.addSize([0, 0], [[300, 250]])
.build();
googletag
.defineSlot("/1234567/article-mid", [[300, 250], [336, 280]], "ad-mid")
.defineSizeMapping(midMapping)
.addService(googletag.pubads());
Fluid
You can also add the "fluid" size. Per the same guide, native ads are currently the only fluid ad type Ad Manager supports, and fluid ads generally take longer to become visible than fixed sizes. Google's layout shift guide adds that you cannot reserve space for fluid slots before the ad arrives, so use fluid only for slots below the fold.
Multi-size slots in Prebid
If you run header bidding with Prebid.js, each ad unit carries its own size list:
pbjs.addAdUnits({
code: "ad-mid",
mediaTypes: { banner: { sizes: [[300, 250], [336, 280]] } },
bids: [ /* your bidders */ ]
});
Prebid's ad unit reference recommends that the sizes auctioned by Prebid be the same as those auctioned through Google. For different sizes per screen, Prebid's size mapping module uses sizeConfig with CSS media queries and filters each banner ad unit's sizes down to the ones supported for the matched screen.
Why accepting more sizes can help
Google's GPT ad best practices advise considering not just the largest size that could serve, but also smaller sizes that could comfortably fit into the same space. In Google's words, "in general, the more sizes you specify when defining a slot, the more ads that will be eligible to serve to it. This can translate to higher fill rates and increased revenue."
Each extra size lets ads built in that size enter the auction, so the slot has more chances of a strong bid. Ad Manager's page on multi-size pricing in the Open Auction describes buyers bidding on several sizes for one request, with "the highest bid across all sizes above the floor price" winning.
Note the careful words "can" and "eligible". Google does not promise a gain, and there are limits:
- A size only helps if buyers have ads in it. The same pricing page says most buyers support multi-size requests, but for those that do not, multiple sizes are not passed along.
- One floor price for every size may not suit them all. Ad Manager lets you set different floors per size with pricing rules; if more than one floor applies to the same size, the highest one wins. See price floors.
Read the transcript
Every ad slot tells buyers which sizes it accepts. Accept only one size, and only ads in that size can compete. Here is a made-up slot that accepts one size, three hundred by two fifty. Three buyers bid. The highest bid wins. Now the same slot also accepts a slightly larger size. More ads are eligible to compete for it, so the best bid can be higher. The page reserves space for the larger size, so nothing jumps when the ad loads. So check which sizes actually win in each slot, add sizes that fit your layout, reserve space for them, and judge the change on revenue per page view.
The layout cost: reserve space
A slot that can show a 250-pixel or a 280-pixel tall ad has to decide how much room to hold before the ad arrives. If it holds too little, content below moves when the ad loads. That movement counts towards Cumulative Layout Shift (CLS), one of Google's Core Web Vitals. On web.dev, a good CLS score is 0.1 or less, measured at the 75th percentile of page loads.
Google's guide to minimizing layout shift says the only guaranteed way to avoid it is to reserve enough space with CSS. For multi-size slots it gives three options:
- Reserve the largest size. Google calls this the most effective way to eliminate layout shifts. The cost is blank space when a smaller ad serves; Google suggests centering the ad rather than shrinking the slot.
- Reserve the smallest size. No extra blank space, but a larger ad still causes a (smaller) shift.
- Reserve the most likely size, chosen from historical fill data in your Ad Manager reports.
Use CSS min-height, which reserves room but still lets the box grow. Google advises against reserving space with JavaScript.
#ad-mid {
min-height: 280px;
display: flex;
align-items: center;
justify-content: center;
}
More on this in Core Web Vitals and ads.
Mobile and desktop sizes
The AdSense size guide marks 300x250, 320x100 and 320x50 for high-end mobile; 336x280, 728x90, 300x600, 970x250 and 160x600 are not marked. Wide sizes simply do not fit a phone: a 728x90 or 970x250 ad is wider than a phone screen. Use a size mapping in GPT, or sizeConfig in Prebid, so phones only request sizes that fit their column.
Check widths as well as heights. A 336x280 ad needs a container at least 336 pixels wide. On a phone with a 360-pixel screen and side padding, the article column may be narrower than that.
Sticky ads on phones have their own limit: the Coalition for Better Ads standard on large sticky ads covers a sticky ad that takes up more than 30% of the screen. See anchor, sticky and interstitial ads.
How to check which sizes actually win
In Google Ad Manager
Build an Interactive report with these fields (names as in the Ad Manager report reference):
- Ad unit, to see each slot separately.
- Requested ad sizes: the set of sizes each request asked for. The report dimensions table describes it as including all ad sizes in each ad request.
- Rendered creative size: the size of the ad as shown.
- Metrics: Total ad requests, Total impressions, Total revenue and Total average eCPM.
This shows how often each size wins in each slot and what it earns. A size that almost never serves adds little; a larger size that wins often is worth reserving space for.
In AdSense
Google's page on creating display ad units points to the Ad units report for each unit's performance and the Creative sizes report for the sizes of ads served from your units. Look at phones and desktops separately.
How to test a size change
- Change one slot at a time, and only add sizes that fit its container on every screen it will serve on.
- Reserve space for the sizes you added before the test starts.
- Run it for at least a full week to cover weekday and weekend traffic.
- Judge by revenue per page view (page RPM) and revenue per 1,000 ad requests for that slot, not by CPM or fill alone.
- Check Core Web Vitals for the affected pages, especially CLS, in field data rather than a single lab test.
If fill is the problem you are trying to solve, read fill rate and unfilled impressions first; restrictive sizes are only one possible cause.
Common mistakes
- Sizes that do not fit the container. An ad wider than the column overflows or is cut off.
- A 300x600 in a phone article. At 600 pixels tall it can fill most of a phone screen, and AdSense does not list it among its mobile sizes. Made sticky, it would take far more than the 30% of the screen the Better Ads standard allows for sticky ads.
- Many sizes with no reserved space. Every extra height is another way for the page to jump.
- GPT and Prebid size lists out of step. Prebid recommends auctioning the same sizes in both.
- Changing ad unit sizes in Ad Manager and expecting serving to change. Serving follows the sizes in your tag.
Common questions
What is a multi-size ad slot?
It is one ad position on a page that accepts more than one ad size, for example 300x250 or 336x280. In Google Publisher Tag you list the sizes in defineSlot; in Prebid you list them in mediaTypes.banner.sizes. Only ads in one of the listed sizes can serve there.
Does adding more ad sizes increase revenue?
It can, but it is not guaranteed. Google says the more sizes you specify for a slot, the more ads are eligible to serve, which can mean higher fill and revenue. Test the change on one slot and judge it by revenue per page view and layout shift.
How much space should I reserve for a multi-size slot?
Google says reserving space for the largest size is the most effective way to avoid layout shift, at the cost of some blank space when a smaller ad serves. You can instead reserve the smallest or the most likely size, using your Ad Manager reports to see which size serves most.
Which ad sizes work on mobile?
Google's AdSense size guide marks 300x250, 320x100 and 320x50 for high-end mobile. Wide sizes such as 728x90 and 970x250 do not fit a phone screen, so use a size mapping so phones only request sizes that fit.