Web Stories is an open source format for visual storytelling. You can use AdSense to show ads in your Web Stories. Currently, only Google Display ads are available through AdSense, with more demand partners coming soon.
How it works
- Sign in to your AdSense account.
- Click Ads.
- Click By ad unit.
- Click Display ads.
- Give your ad unit a name. We suggest using a unique, descriptive name to help you find your ad unit later.
- In the 'Ad size' section, leave Responsive selected.
- Click Create.
- Include the
<head>:<script async custom-element="amp-story-auto-ads" src="https://cdn.ampproject.org/v0/amp-story-auto-ads-0.1.js"></script>
- Embed the ad unit in your Web Story with the
- Copy the
data-ad-slotvalues from your ad unit’s code and replace the highlighted code in the configuration above. To find these values in AdSense, click Get code in your Ads > Overview page.
Track the performance of your Web Story ad unit
View the Ad units report to track the performance of your Web Story ad unit.