2
我想表明谷歌DFP机时navbar
谷歌DFP广告节目click事件
$(document).ready(function() {
var navbar = false;
var navslot = null;
$(document).on('click', '.new_car_nav', function(){
navslot = googletag.defineSlot('/10176910/NavBar', [[250, 250]], 'ad_navbar').addService(googletag.pubads());
googletag.enableServices();
googletag.display('ad_navbar');
});
});
问题用户点击的是,它提供了一个错误
Exception in queued GPT command TypeError: $ is not defined
要么我们可以在它使用jquery或不?如果没有,那我该如何执行它?