ampproject / ampproject/amphtml
Google AdSense Auto Ads Not Working
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
## What's the issue?
We are launching AMP site and for our testing, we launch 10 URLs with AMP support. Adsense on AMP page isn't working. Adsense is working absolutely fine for non-amp page. We are seeing warning "[amp-auto-ads] No ad placements found for publisher ID 'ca-pub-*************'. Check that the provided publisher ID is correct."
I did follow below thread but it says it is fixed and closed and thus opening up new bug.
https://github.com/ampproject/amphtml/issues/25845
## How do we reproduce the issue?
https://openroadmedia.com/ebook/the-thin-red-line/9781453215678?amp=1
Please provide a public URL and ideally a reduced test case (e.g. on jsbin.com) that exhibits only your issue and nothing else. Provide step-by-step instructions for reproducing the issue:
1. Please go to https://openroadmedia.com/ebook/the-thin-red-line/9781453215678?amp=1 and open console. You will find warning and no ads will be displayed
## What browsers are affected?
All, All mobile device
## Which AMP version is affected?
Version 2004252135000
Contributor guide
Research direction
Start by reproducing the warning on the provided AMP URL and compare it with the non-AMP page, using the reported AMP version. Trace the amp-auto-ads behavior around the publisher ID and ad placement response. Done means the AMP page displays ads without the reported “No ad placements found” warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100