YouTube ads work through an automated auction system run by Google Ads. Every time you load a YouTube video, an auction happens in milliseconds to determine which ad (if any) you’ll see. Advertisers set budgets and targeting preferences, Google weighs those against ad quality and viewer context, and the winning ad plays before, during, or alongside the video. Here’s what’s actually happening behind every ad you see on YouTube.
The Four Main Ad Formats
Not every YouTube ad looks the same, and each format serves a different purpose for advertisers. The format determines how long the ad runs, whether you can skip it, and where it appears on the page.
Skippable in-stream ads are the most common type. These play before, during, or after a video and let you hit “Skip Ad” after five seconds. There’s no maximum length, though YouTube recommends keeping them under three minutes. Because viewers can skip, advertisers only pay when someone actually watches a meaningful portion of the ad (more on billing below).
Non-skippable in-stream ads also play before, during, or after a video, but you have to watch the entire thing. These can be up to 60 seconds long. Advertisers use them when they want guaranteed full exposure to their message, and they pay based on the number of times the ad is shown rather than whether you interact with it.
Bumper ads are six seconds or shorter and can’t be skipped. They’re designed for quick, punchy brand messages. Think of them as the digital equivalent of a billboard you drive past: short enough that most viewers won’t be annoyed, but long enough to plant a brand name or slogan.
In-feed video ads don’t interrupt what you’re watching. Instead, they appear in YouTube search results, on the homepage, or in the “Up Next” sidebar as a thumbnail with text. You only watch them if you click. YouTube recommends these be under 60 seconds, but there’s no hard maximum. Advertisers typically use this format to attract viewers who are actively browsing for content rather than passively watching a video.
How the Ad Auction Works
Every ad placement on YouTube is determined by a real-time auction. When you click on a video, multiple advertisers who want to reach someone like you are instantly competing for that ad slot. But the highest bidder doesn’t automatically win. Google considers six factors together to decide which ad appears.
The first is the advertiser’s bid, which is the maximum amount they’re willing to pay for a view or impression. The actual price they pay is often less than this maximum, since the system only charges enough to beat the next-closest competitor.
The second factor is ad quality. Google evaluates how relevant and useful the ad is, including the landing page it sends you to. An ad for running shoes shown to someone watching marathon training videos will score higher on relevance than a generic ad for insurance. Google summarizes this evaluation in a metric called Quality Score that advertisers can track in their accounts.
Third, Google estimates the expected impact of any extra elements the advertiser has added to the ad, like clickable links to specific product pages or call-to-action buttons. Ads with useful additions tend to perform better and get a boost in the auction.
Fourth, every ad slot has a minimum quality threshold. Even if an advertiser bids generously, a low-quality or irrelevant ad won’t meet the bar to appear in certain positions. This is Google’s way of keeping the viewing experience from deteriorating.
The fifth factor is context: your location, the device you’re using, the time of day, what you searched for, and what other ads are competing for the same slot. An advertiser targeting mobile users in the evening will have different auction dynamics than one targeting desktop users at noon.
Finally, competitiveness matters. When two ads have similar overall scores, they’ll split opportunities roughly evenly. When one ad clearly outranks another, it wins more often but may also pay a slightly higher price for that advantage.
How Advertisers Choose Who Sees Their Ads
YouTube gives advertisers two broad categories of targeting: audience targeting (who to reach) and content targeting (where ads should appear).
Audience Targeting
Audience targeting lets advertisers define groups of people based on interests, online behavior, and demographics. The main options include:
- Affinity segments: These reach people Google has identified as having a strong, ongoing interest in a topic. If you regularly watch cooking content, search for recipes, and visit food blogs, you likely fall into a “food and dining” affinity segment. Advertisers for kitchen brands can target that entire group.
- Custom affinity segments: These let advertisers build narrower audiences tailored to their specific product. Instead of targeting everyone interested in “fitness,” a rock climbing gym could create a custom segment focused on people who watch bouldering videos and visit climbing gear sites.
- Data segments (remarketing): If you’ve visited a company’s website, used their app, or watched their YouTube videos before, they can show you follow-up ads. This is why you’ll often see ads from brands you’ve recently browsed. Advertisers enable this by linking their YouTube channel and website data to their Google Ads account.
Beyond these, advertisers can target by age, gender, household income, and life events like moving to a new city or getting married. Google infers these details from your search history, browsing behavior, and account information.
Content Targeting
Content targeting controls where ads appear rather than who sees them. Advertisers can select specific YouTube channels, individual videos, websites on Google’s display network, or even particular apps. A software company might choose to place ads only on tech review channels. A toy brand might target kids’ content. This approach gives advertisers control over the context surrounding their message, which matters for both relevance and brand safety.
Most advertisers combine both types. A running shoe brand might target affinity segments interested in fitness and simultaneously restrict placements to sports and outdoor channels, narrowing their audience to people most likely to care about their product.
How Advertisers Pay
YouTube uses different billing models depending on the ad format and campaign goal. The two most common are cost per view (CPV) and cost per thousand impressions (CPM).
With CPV billing, the advertiser pays when you watch at least 30 seconds of a skippable ad (or the full ad if it’s shorter than 30 seconds) or when you interact with the ad by clicking. If you skip at the five-second mark, the advertiser pays nothing. This is why skippable ads are popular with advertisers working on tighter budgets: they only pay for engaged viewers.
With CPM billing, the advertiser pays a set rate per 1,000 impressions, meaning every time 1,000 people see the ad regardless of whether they watch or skip. Non-skippable and bumper ads typically use this model, since viewers can’t skip anyway and the advertiser wants to pay for guaranteed exposure.
Some campaigns use cost per action (CPA) billing, where the advertiser pays only when someone takes a specific step after seeing the ad, like making a purchase or signing up for a newsletter. This shifts more financial risk onto Google, so it’s generally available to advertisers with established campaign histories and conversion tracking in place.
How Creators Earn From These Ads
YouTube shares a portion of ad revenue with creators who are part of the YouTube Partner Program. Creators earn 55% of the ad revenue generated on their videos, while YouTube keeps 45%. To qualify, a channel needs at least 1,000 subscribers and a minimum amount of recent watch time or short-form video views.
Creators don’t choose which specific ads appear on their videos. YouTube’s auction system handles that automatically based on the viewer’s profile and the advertiser’s targeting settings. Creators can, however, control which ad formats are enabled on their channel and can block certain ad categories they find inappropriate for their audience.
This is why ad revenue varies so much between creators. A channel covering personal finance or business software attracts advertisers willing to bid more per view (because those viewers are likely to spend money), while a channel focused on casual entertainment may see lower bids. The same video can generate different ad revenue depending on who’s watching it and which advertisers are competing for that viewer’s attention at that moment.
What Determines Which Ads You See
If you’ve ever wondered why you keep seeing the same ad, it’s usually because you fit squarely into an advertiser’s target audience, or because the advertiser is using remarketing after you visited their site. Your ad experience is shaped by your Google account activity, your watch history, your search behavior, the type of content you’re watching, and your location.
You have some control over this. In your Google account settings under “Ad personalization,” you can see the interest categories Google has assigned to you and remove ones that don’t fit. You can also turn off personalized ads entirely, though this won’t reduce the number of ads you see. It just means they’ll be less targeted and potentially less relevant to you. YouTube Premium subscribers skip the ad experience altogether, paying a monthly fee in exchange for ad-free viewing.

