The placeholder div and text shows up in the html source, but nothing is displayed on the page.
Implementation: in the 'Page' portion of a View, within 'Header', using Full HTML input format:
<?php print adsense_display( array( 'format'=>'468x15', slot=>'4910564720' ) ); ?>
Output:
<div class='adsense' style=' ... 15px;'>Ads disabled for site admin<br />Google AdSense 4-links 468x15</div>
If I remove the class='adsense', the placeholder text DOES show up.
- I've placed the same code into the full-page view of a node, with the same effect.
- None of the user roles has 'hide adsense' checked.
- The behaviour is the same regardless of whether or not I'm logged in as admin.
- I've cleared the cache tables, logged out, and run a cron.
- The adsense core setting is set to 'show on all pages except listed below', and nothing is listed there.
- I've tried with ads both enabled and disabled, both testing mode on and off.
I must be overlooking something really simple.
I've tried searching the modules for what defines the class 'adsense', but to no avail. What attribute of the class would cause the
I don't expect ads themselves to show up for a while, but the placeholder should show up immediately, right?
Comments
Comment #1
jcnventuraI would guess you're using Firefox with AdBlock Plus or similar.. I think that if you disable it you'll see the placeholder (and eventually the ads).
Comment #2
ybthefurste commentedSee, now that's the kind of slap-in-the-forehead mistake I was talking about. I had the same issue when I first checked out the homepage for Adsense -- it was entirely blank.
Thank you, jcn; you're totally right.
Comment #3
kbahey commented