2017-07-21

var hatenadfp = hatenadfp || {};

hatenadfp._startTime = new Date().getTime();

hatenadfp.adUnits = hatenadfp.adUnits || [];

var googletag = googletag || {};

googletag.cmd = googletag.cmd || [];

hatenadfp.debug = hatenadfp.debug || false;

hatenadfp.isNGContent = typeof hatenadfp.isNGContent !== 'undefined' ? hatenadfp.isNGContent : function () {

return false;

};

hatenadfp.enableSingleRequest = hatenadfp.enableSingleRequest || false;

hatenadfp.slotRenderEndedCallback = hatenadfp.slotRenderEndedCallback || function (event) {

if (hatenadfp.debug || window.location.search.match('hatena_dfp_debug=1')) {

console.log( 'Slot ' + event.slot.getAdUnitPath() + ' has been rendered in '

+ (new Date().getTime() - hatenadfp._startTime) + ' msec, with' +

' size: ' + event.size,

' creativeID: ' + event.creativeId +

' isEmpty: ' + event.isEmpty +

' lineItemId: ' + event.lineItemId +

' serviceName: ' + event.serviceName );

}

};

記事への反応(ブックマークコメント)

ログイン ユーザー登録
ようこそ ゲスト さん