I have two ads on my page.

One is in a panel and appears perfectly.

The second ad is in a block region and the GAM manager just spits out 0. The GA_googleFillSlot function is not appearing in the page source.

Am I doing something wrong?

Comments

TimMachine’s picture

The block had a hyphen "-" in the name. Turns out this caused the problem. I removed the hyphen from the name and the ad appeared.

toemaz’s picture

Without trying to reproduce this problem and just thinking from the top of my mind, I can't think why the module would fail over a hyphen.

jcisio’s picture

Status: Active » Fixed

Change hyphen to underscore. The hook mechanism in Drupal use block name in function name, and hyphen is not a valid character for function name. Maybe that's the problem. I haven't chance to test, however.

Status: Fixed » Closed (fixed)

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