How to use Google Tag Manager to add Google AdSense ads in your flipbook

Embed Google AdSense ads in your flipbook using Google Tag Manager. Step-by-step guide for monetizing flipbooks with AdSense banners.

Table of contents:


Overview

If you want to monetize your flipbooks with display ads, you can do this by adding Google AdSense scripts through Google Tag Manager (GTM). This allows you to show relevant ads without altering the original flipbook content.

This article walks you through how to add your GTM code in Flipsnack, then use it to insert AdSense banners in a non-intrusive way.

Key benefits

  • Monetization opportunity: Earn revenue by displaying targeted ads in your flipbooks

  • Flexible ad placement: Position banners at the top, bottom, or sides of the flipbook player

  • Easy setup: Paste your AdSense code directly into GTM without editing the flipbook itself

Requirements

  • GTM account and container already created

  • Enterprise plan (GTM is available on demand)

  • Verified Google AdSense account

  • Custom domain or subdomain

Step-by-step guide

Add your GTM container ID in Flipsnack

  1. Open your flipbook and go to the Customize page.

  2. Scroll to the Advanced options section.

  3. Paste your GTM container ID (e.g., GTM-XXXXXXX) in the Google Tag Manager field.

  4. Click Save & Exit.

GTM tag setup for AdSense

Use GTM to configure and inject AdSense ads

  1. Log in to your Google Tag Manager account.

  2. Select your container and go to the Tags section.

  3. Click New > Tag Configuration.

  4. Select Custom HTML tag type.

  5. Paste your AdSense Code there. You can get it by navigating to your sites and selecting the domain you have for your flipbooks. 

  6. Set up a trigger for when the tag should fire (e.g., All Pages or only your flipbook URL).

  7. Save and publish your container.

Screenshot 2025-08-18 at 17.29.52-mh

If you plan to monetize with AdSense, we strongly recommend setting up a custom domain or subdomain for your flipbooks. AdSense verifies ownership at the domain level, so publications hosted only on Flipsnack’s default domain cannot be approved. 

To ensure the ads display correctly within the Flipsnack player and your public flipbook profile, we recommend setting up a responsive, non-intrusive format in your AdSense account. The best option is to create a display ad unit styled as a pop-up banner that sticks to the bottom of the page. This format ensures visibility without covering the flipbook content and works seamlessly across both embedded and standalone flipbook views. When configuring the ad in AdSense, set its layout to "anchor/overlay" and placement to "bottom" for optimal results.

Additional tips / FAQs

  • Will my ads show in embedded flipbooks?
    Yes, GTM-injected AdSense ads will appear in both direct links and embedded flipbooks.

  • Which ad formats are best?
    Non-intrusive formats like sticky bottom banners or side banners work well without blocking content.

  • Do I need coding skills?
    No — AdSense in GTM is set up with a simple form where you paste your publisher code.

Common use-cases

  • Digital magazines with AdSense sticky banners

  • Product catalogs with subtle AdSense placements

  • Online publications using targeted display ads for monetization

Troubleshooting

  • Ad not showing? Check if your AdSense account is verified, your GTM changes are published, and your triggers match the flipbook URL.

  • Script blocked? Check your browser’s ad blocker settings.

Next steps

Useful resources

Need expert support?

Our team is here to help. Connect with our team experts or message us via the in-app chat for a personalized assistance.