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?
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
Comment #1
TimMachine commentedThe block had a hyphen "-" in the name. Turns out this caused the problem. I removed the hyphen from the name and the ad appeared.
Comment #2
toemaz commentedWithout 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.
Comment #3
jcisio commentedChange 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.