WP DFP Loads Twice (Ads Flicker)
-
I have a leaderboard ad slot in the header of my page. The ad(s) displayed in this slot is loading twice on each page load. Ad 1 preloads and then, once page fully loads, Ad 2 displays over the top in the same slot. This results in a flicker effect on each page load.
Any ideas?
I’m using WP DFP v1.1.5 on WordPress 4.3.1
Here’s the code from the plugin:
Body:
<div class="wp-dfp-ad-slot" id="wp-dfp-ad-slot-<leaderboard>"> <div class="wp-dfp-ad-unit wp-dfp-ad-unit-<leaderboard>" id="wp-dfp-ad-unit-<leaderboard>" data-size-mapping="<leaderboard>" data-adunit="<leaderboard>" style="display: none"></div> </div>
===========================================
footer:
<script type='text/javascript' src='/wp-content/plugins/wp-dfp/js/jquery.dfp.js?ver=2.1.0'></script> <script type='text/javascript'> /* <![CDATA[ */ var wpdfp = {"network":"<our network code>","targeting":{"taxonomy":"category","term":"outdoors"},"slots":{"<sidebar ad>":[[[300,250]]],"<leaderboard ad>":{"728":[[728,90]],"0":[[320,50]]}},"messages":{"noNetworkCode":null}}; /* ]]> */ </script> <script type='text/javascript' src='/wp-content/plugins/wp-dfp/js/wp-dfp.js?ver=1.1.5'></script>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP DFP Loads Twice (Ads Flicker)’ is closed to new replies.