💰

How to Double Your AdX eCPM

Use Google AdX Rewarded Video Ads to dramatically increase your eCPM. This method forces users to watch a video ad before continuing — resulting in much higher payouts than standard display ads.

⚡ 3 Easy Steps đŸŽ¯ Google AdX 📈 Higher eCPM 🆓 Free Method
âš™ī¸
How It Works
01
âąī¸ Time Check
Checks localStorage to see when the last ad was shown. If more than 10 minutes (600,000 ms) have passed — or it's the first visit — the ad is displayed.
02
đŸŽŦ Rewarded Video Ad
Loads a Google AdX Rewarded Video Ad using the googletag API. A popup opens saying "Watch the ad to continue."
03
🔒 Close After 30s
The "Close Ad" button only appears after 30 seconds, ensuring users watch the full ad. The back button is also disabled during playback.
04
đŸšĢ Back Button Blocked
When the ad is running, pressing the browser back button is disabled, so users cannot skip the advertisement by navigating away.
05
💾 Records Ad Time
When the ad closes, the current timestamp is saved in localStorage. The ad won't appear again for another 10 minutes per user.
06
📈 Higher eCPM
Because users are forced to watch the full video ad, advertiser bids are much higher — effectively doubling or even tripling your eCPM compared to display ads.
01
Create a New Ad Unit in Ad Manager
Name it "video" (lowercase only) and add required ad sizes

Go to your Google Ad Manager account and create a new ad unit. This is the unit that will serve the rewarded video ad to your visitors. Follow these rules carefully:

âš ī¸
Important: The ad unit name must be exactly video — all lowercase. Any other name or capitalisation will break the code.

Select the following ad sizes when creating the unit:

Ad Size Type Status
336 × 280 Large Rectangle Required
300 × 250 Medium Rectangle Required
320 × 100 Large Mobile Banner Optional
728 × 90 Leaderboard Optional
970 × 250 Billboard Optional
💡
Tip: Adding more optional ad sizes increases the chances of higher-paying bids filling your ad slot, which further boosts your eCPM.
02
Install a Header & Footer Code Plugin
Use WPCode Lite or any similar plugin on your WordPress site

To inject the rewarded ad script into your website, you need a plugin that lets you add code to the footer of every page. Install and activate one of these plugins:

🔌
WPCode Lite (Recommended)
Free plugin — Insert Headers and Footers with ease. Available on WordPress.org
📝
Insert Headers and Footers
Another popular free alternative for adding footer scripts
â„šī¸
After installing, go to the plugin settings and find the Footer section. This is where you will paste the code from Step 3.
03
Paste the Code in the Footer Field
Replace the network code with your own Ad Manager network code

Copy the code below and paste it into the Footer field of your plugin. Before saving, replace 23331201958 with your actual Google Ad Manager Network Code.

🔑
Where to find your Network Code: Log in to Google Ad Manager → Click the settings gear → Admin → Network Settings. Your network code is shown at the top (a numeric ID like 21700000000).
footer-code.html
<!--rewarded --> <style> .modal .btn { padding: .5rem; background: #2990ea; border: none; border-radius: 4px; margin: 4px; display: none; } .modal p { text-align: center; } </style> <script> googletag = window.googletag || { cmd: [] }; googletag.cmd.push(() => { const e = localStorage.getItem("hasShownRewardedAd"), o = Date.now(); if (!e || o - parseInt(e, 10) > 6e5) { const adSlotRewarded = googletag .defineOutOfPageSlot( "/23331201958/video", // ← Replace with your network code googletag.enums.OutOfPageFormat.REWARDED ) .addService(googletag.pubads()); adSlotRewarded.setForceSafeFrame(true); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); (function () { const modal = document.getElementById("rewardModal"); const closeButton = document.querySelector('.modal .btn'); window.addEventListener("popstate", function () { history.pushState(null, null, location.href); }); googletag.pubads().addEventListener("impressionViewable", function () { setTimeout(() => { closeButton.style.display = "block"; }, 30000); // 30 seconds delay }); googletag.pubads().addEventListener("slotRenderEnded", function (event) { if (event.isEmpty) { setTimeout(function () { modal.classList.remove("block"); modal.classList.add("hidden"); }, 0); } }); googletag.pubads().addEventListener("rewardedSlotReady", function (event) { modal.classList.remove("hidden"); modal.classList.add("block"); event.makeRewardedVisible(); }); googletag.pubads().addEventListener("rewardedSlotClosed", function () { modal.classList.remove("block"); modal.classList.add("hidden"); localStorage.setItem("hasShownRewardedAd", o.toString()); }); googletag.display(adSlotRewarded); })(); } }); </script> <div id="rewardModal" class="hidden modal fixed z-10 pt-80 left-0 top-0 w-full h-full overflow-auto bg-black bg-opacity-5"> <div class="modal-content m-auto p-6 bg-slate-100 text-center fixed top-2/4 left-2/4 transform -translate-x-2/4 -translate-y-2/4"> <p>Watch the ad to continue.</p> <button class="btn">Close Ad</button> </div> </div> <!--rewarded end -->
✅
Done! Save the plugin settings. The rewarded video ad will now automatically show to visitors every 10 minutes, significantly boosting your AdX eCPM earnings.
â–ļī¸

Watch the Full Video Tutorial

Live Chat