What is an Ad Unit in Google Ad Manager?
Setting up your ad inventory in Google Ad Manager (GAM) starts with one fundamental building block: the ad unit. Think of an ad unit as a specific space on your website or app where an advertisement can appear. This article will walk you through exactly what an ad unit is, how to create one, and the best practices for managing them to maximize your ad revenue.
What Exactly is a Google Ad Manager Ad Unit?
An ad unit is essentially a placeholder within your website's content that you reserve for advertising. It's a named inventory slot defined by characteristics like size, placement, and specific targeting settings. When you create an ad unit in Google Ad Manager, GAM generates a snippet of code, called a tag, that you place on your site. This tag is what communicates with the ad server, telling it, "Hey, I have an ad space available right here. Send me an ad that fits."
A simple analogy is a picture frame on a wall. The frame itself is the ad unit - it defines the specific size and location for a piece of art. The picture you hang inside the frame is the creative (the ad). You can swap out different pictures within that same frame, just as different ad creatives can serve into the same ad unit.
Every single ad you deliver through GAM is targeted to at least one ad unit. They form the base of your inventory hierarchy and are the primary tool for organizing and managing the ad spaces available for sale on your properties. Without ad units, Google Ad Manager would have no way of knowing where to deliver your advertisers' campaigns.
The Core Components of an Ad Unit
When you create or edit an ad unit, you’ll encounter several key settings. Understanding each one is vital for proper setup and effective campaign management.
Code and Name
The Code is a unique identifier used within the ad tag. Once saved, this code cannot be changed. It's best practice to make it descriptive and easy to understand.
The Name is what you'll see within the GAM interface. Unlike the code, the name can be changed later. For both, a consistent naming convention is your best friend. A common and highly effective format is:
[SiteSection]_[PageType]_[Position]_[Size]
For example, an ad unit for a leaderboard banner at the top of the homepage might be named:
Homepage_Top_728x90
Or a sidebar box on a blog post could be:
Blog_Post_Sidebar_300x250
This structure makes it incredibly easy to find, target, and report on specific units as your inventory grows.
Sizes
This is where you define the dimensions of the creatives that are allowed to serve in this ad unit. You have a few options:
- Fixed Sizes: You specify one or more standard IAB (Interactive Advertising Bureau) sizes, like
728x90(Leaderboard),300x250(Medium Rectangle), or160x600(Wide Skyscraper). Providing multiple sizes for a single ad unit (e.g., allowing a300x250and a336x280in the same slot) increases competition and can raise your CPMs. - Fluid: This option is used for native ads or situations where the ad should stretch to fill the width of its parent container. It's great for seamless, responsive experiences.
- Smart Banner: A mobile-specific size that automatically detects the device's width and orientation, then serves an ad of the appropriate height.
Target Window
This setting controls how a user is taken to an advertiser’s landing page when they click an ad. There are two primary options:
- _top: This opens the landing page in the current window, meaning the user navigates away from your site.
- _blank: This opens the landing page in a new blank window or tab. For the best user experience, _blank is almost always the recommended setting. It allows users to check out the ad without losing their place on your website, making them more likely to return.
Placements
While not a direct part of an ad unit’s creation, placements are intrinsically linked. A placement is a group of one or more ad units. For instance, you could create a placement called "All Homepage Banners" and include your Homepage_Top_728x90 and Homepage_Sidebar_300x250 ad units in it.
Why do this? It dramatically simplifies targeting for your campaigns. Instead of your ad ops team needing to remember and select five different ad units for a run-of-site campaign, they can just target the "Run of Site" placement. It reduces errors and speeds up workflow.
How to Create an Ad Unit in Google Ad Manager
Creating an ad unit is a straightforward process. Here’s a step-by-step guide to get you started.
- Navigate to the Ad Units Section
In your Google Ad Manager account, go to the left-hand navigation menu and click on
Inventory > Ad units. - Start a New Ad Unit Click the “New ad unit” button. You’ll be asked to choose whether this is a new top-level unit or nested under an existing one. For organization, it's smart to create top-level units for each site (e.g., MyWebsite.com, MyOtherSite.com) and then nest page-specific units under them.
- Enter the Code and Name
Fill in the
Codefield, remembering this can't be changed later. Use your clear naming convention (e.g.,Homepage_ATF_728x90). TheNamefield will auto-populate with the same text, which you can leave as is or modify. - Define the Ad Unit Sizes In the “Sizes” section, begin typing the dimensions (e.g., “300x250”). Select the size from the list that appears. You can add multiple fixed sizes to a single unit. If you’re creating a native or responsive ad slot, you can also select “Fluid” here.
- Configure Optional Settings Below the main configuration, you'll see several other options:
- Target window: Choose
_blankor_top. - Placements: If you've already created placements, you can associate this new ad unit with them here.
- AdSense inventory settings: You can choose to enable AdSense to compete for this inventory if a direct-sold campaign isn’t available, which helps maximize fill rate.
- Frequency caps: Limit the number of times a user sees creatives from certain line items within this unit (e.g., no more than 3 impressions per user per hour).
- Refresh rate: For specific use cases like live sports scores or stock tickers, you can cause the ad unit to refresh with a new ad every 30-120 seconds. Use this feature with caution, as it can negatively impact viewability scores. A new feature called Rewarded ads for web allows certain ad units to show users rewards for viewing an advertisement.
- Save Your Ad Unit Once you've configured everything, click the “Save” button at the bottom of the page. Your ad unit is now created and ready for implementation.
Generating and Implementing Ad Tags
After creating your ad unit, the final step is to place its ad tag on your website.
- Generate Tags:
Navigate back to the ad unit's page (
Inventory > Ad units) and click on your new unit. Inside, you’ll find a “Tags” tab. Click it. - Select Tag Type: The default and recommended type is the Google Publisher Tag (GPT). This tag type supports asynchronous loading (which helps your page load faster) and a host of other advanced features.
- Place the Code: GAM will provide two snippets of code.
- Document header: This piece of code should be placed once per page, high up within the
<head>section of your HTML. - Document body: This second piece of code is specific to the ad unit and should be placed exactly where you want the ad to appear on your webpage (e.g., in a
<div>in your sidebar or header).
After you’ve placed the tags on your site, the ad unit is officially live. It can now be targeted by line items and will start requesting ads from GAM.
Best Practices for Ad Unit Management
Getting your ad units right isn't just about initial setup, it's about long-term strategy and organization.
- Stick to Your Naming Convention: This cannot be overstated. When your site has hundreds of ad units, a logical naming structure is the difference between an efficient workflow and an operational nightmare.
- Use Placements for Targeting: For advertisers buying bundles of inventory (like "all leaderboard ads" or "all sports section ads"), always use placements. Targeting dozens of individual ad units is inefficient and prone to error.
- Prioritize Viewability: Don't place ads at the bottom of the footer just to say you have another ad slot. Advertisers and programmatic exchanges pay higher CPMs for impressions that are actually seen by users. Place your units "above the fold" (visible without scrolling) or in high-engagement areas. Sticky ad units that stay in view as a user scrolls can perform very well.
- Include Multiple Sizes to Boost Competition: For a sidebar unit, don't just include
300x250. Add comparable sizes like336x280and300x600. By making the same ad impression available to more advertisers and creative sizes, you increase demand, competition, and ultimately, your revenue. - Don't Overcrowd the Page: While it’s tempting to add ad units to every empty space, too many ads can harm user experience, leading to higher bounce rates and less traffic over time. Find a balance that serves your revenue goals without alienating your audience.
Final Thoughts
Ad units are the foundational element of your ad serving infrastructure in Google Ad Manager. Mastering how to create, organize, and strategically manage them is a critical first step toward building a successful ad monetization strategy. By following these guidelines, you can create a clean, efficient, and profitable ad inventory that's easy to sell and manage.
Once your ad units are serving impressions and generating data, the next step is making sense of it all. Manually pulling reports from GAM to understand performance across thousands of units, creatives, and line items is incredibly time-consuming. This is where we built Graphed to help. Instead of wrestling with CSVs, you just ask questions in plain English like, "Show me my top 10 ad units by revenue last month" or "Compare CPMs for my 300x250 vs 728x90 ads on mobile." We instantly build live, shareable dashboards so you can spend less time pulling reports and more time acting on the insights they contain.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.