Adsense problem

Created on 14 April 2009, about 16 years ago
Updated 19 September 2024, 7 months ago

I saved adsense code as html ad via "php filter". Added a block to page footer via Blocks menu. Tried all display types, but all of them have problems.

1) JavaScript: Ad placement is wrong in IE. Ad is shown under the dedicated box for showing the ad. Firefox's ad placement is OK. Firefox shows the ad, but throws the error "Security Error: Content at http://googleads.g.doubleclick.net/ may not load data from http://www.mydrupalsite.com." in the error log. When I try to edit the advertisement node for adsense, IE shows the editing page properly, but Firefox shows only a whitescreen.

2) jQuery: Only shows an URL instead of the ad

3) IFrame: Frame size does not fit to ad size. Also I suspect it is not allowed to show Adsense ads inside IFRAME. It looks against the TOS of Google.

3) Raw: Does not show anything. I do not use drupal caching or the cache inside the module. Clearing cache via Performance menu does not make a difference.

🐛 Bug report
Status

Closed: outdated

Component

ad_html module

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany lrwebks Porta Westfalica

    Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!

Production build 0.71.5 2024