Skip to main content

Google AdSense Integration

Monetize your website with display advertising.

Overview

Google AdSense lets you display ads on your website and earn revenue from your traffic.

Available for: Websites only

Setup

  1. Click ExtensionsAdSense in your project
  2. Enter your Publisher ID and Ad Slot ID
  3. Ask the AI: "Add AdSense ads to my website"

The AI will add the AdSense script and generate responsive ad unit components.

Get Credentials

  1. Go to adsense.google.com
  2. Create or log into your AdSense account
  3. Add your site and get approved
  4. Create ad units and copy your Publisher ID (ca-pub-XXXXXXXXXXXXXXXX) and Ad Slot IDs

Notes

  • Your site must be approved by Google before ads are served
  • Use auto ads or manual ad units depending on your layout
  • AdSense is only available for websites — for mobile apps, use AdMob instead