I have three ad groups, two that display images, one for adsense. There are several ads installed in each image group. They display fine, and when I'm logged in as admin everything works - I see different banners on every page load, and adsense shows up.

Unfortunately, when I log out of the admin account, I see the same two banner ads every single pageload, and the block for adsense is empty.

I've checked permissions, "Show Ads" is enabled for all user groups, including anonymous.

Per instructions in debug.txt:
checked page source when logged in as admin, loaded the serve.php URL in a browser window. Nothing showed up. The URL string doesn't look right. I have sites/all/modules/ad/serve.php?o=image&a=67 - not modules/ad/serve.php?q=1&t=23 as described in debug.txt. Not sure if this is relevant.

Checked page source as anonymous user. Same results. I must be missing something.

Debug2:
Just displays the URL string

THis is happening on a production site, so any assistance you can offer would be greatly appreciated.

Comments

jeremy’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

You are using the Raw display method, which means the ads will only be rotated when Drupal's page cache is rebuilt. On a busy website this happens enough that it all tends to balance out in the same. The instructions in DEBUG.txt don't do much good if you're using the Raw display type.

I recommend you instead try and display advertisements with JavaScript. If you're still having a problem with JavaScript enabled, then please follow the directions in DEBUG.txt and post the debug output here.

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

No further feedback, I guess you got this working. Closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.