• Resolved williamsdb

    (@williamsdb)


    Hi

    I am trying to use the plugin but I am getting the following error from the ad console:

    googletag.defineSlot was called without a matching googletag.display call.

    You can see the full error here:

    https://imgur.com/p0pATos

    The error implies that there are two ad slots overlaying one another. This is the HTML from the page:

    <div class="td-header-rec-wrap">
        <div class="td-a-rec td-a-rec-id-header "><!-- wp_mfc_lb_1 -->		<div id="ad_pos_wp_mfc_lb_1" class="ad_pos_wp_mfc_lb_1 wp_mfc_lb_1 dfp_ad_pos" style="display: none;">
    			<script type="text/javascript">
    				googletag.cmd.push(function () {
    					googletag.display('ad_pos_wp_mfc_lb_1');
    				});
    			</script>
    		<div id="google_ads_iframe_/19110094/wp_mfc_lb_1_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/19110094/wp_mfc_lb_1_0" name="google_ads_iframe_/19110094/wp_mfc_lb_1_0" width="728" height="90" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:&quot;<html><body style='background:transparent'></body></html>&quot;" style="border: 0px; vertical-align: bottom;"></iframe></div><iframe id="google_ads_iframe_/19110094/wp_mfc_lb_1_0__hidden__" name="google_ads_iframe_/19110094/wp_mfc_lb_1_0__hidden__" width="0" height="0" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" src="javascript:&quot;<html><body style='background:transparent'></body></html>&quot;" style="border: 0px; vertical-align: bottom; visibility: hidden; display: none;"></iframe></div>
    		</div>
    </div>

    If you want to have a look at the site itself it can be found here:

    https://52.18.46.188/

    Can anyone guide me as to what I need to do?

    Thanks

    https://www.ads-software.com/plugins/dfp-ads/

Viewing 1 replies (of 1 total)
  • Thread Starter williamsdb

    (@williamsdb)

    Ok it seems that I might have been a bit too quick off the mark and this was just a timing issue as it seems to be working fine now.

Viewing 1 replies (of 1 total)
  • The topic ‘googletag.defineSlot was called without a matching googletag.display call. Error’ is closed to new replies.