Mobile app version of vmapp.org
Login or Join
Correia994

: How to display a DFP ad in a slideshow? I want to display a DFP ad in a slideshow built with the Fotorama plugin. It works fine but the ad disappears in fullscreen or if I am sliding

@Correia994

Posted in: #GoogleDfp

I want to display a DFP ad in a slideshow built with the Fotorama plugin.

It works fine but the ad disappears in fullscreen or if I am sliding to other frames and back to the ad-frame. The iframe-document-body becomes empty of the ad-unit.

I can solve it with googletag.pubads().refresh([specificSlot]);
But I don't want a new refresh/new ad, I want the same ad to be shown again with no extra counting.

Can I simply use googletag.display('id-of-ad-unit-div');?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Correia994

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme