var gptadslots = [];
var googletag = googletag || {cmd:[]};
googletag.cmd.push(function() {
var responsive_billboard = googletag.sizeMapping()
.addSize([320, 300], [[320, 100], [300, 250]])
.addSize([730, 300], [728, 90])
.addSize([1000, 500], [[970, 250], [970, 90]]) // Desktop
.build();
var responsive_sidebar_mrec = googletag.sizeMapping()
.addSize([0, 0], [])
.addSize([1024, 500], [300, 250]) // Desktop
.build();
var responsive_sidebar_halfpage = googletag.sizeMapping()
.addSize([0, 0], [])
.addSize([1024, 500], [300, 600]) // Desktop
.build();
var responsive_article_mrec2 = googletag.sizeMapping()
.addSize([0, 0], [])
.addSize([340, 300], [[336, 280], [300, 250], [320, 100]])
.addSize([1024, 500], [[336, 280], [300, 250]]) // Desktop
.build();
var responsive_sidebar_button = googletag.sizeMapping()
.addSize([0, 0], [])
.addSize([300, 300], [[300, 100], [300, 250]])
.addSize([730, 300], [728, 90])
.addSize([1024, 500], [[300, 100], [300, 250]]) // Desktop
.build();
//Billboard
googletag.defineSlot('/32246135/scbm-billboard', [[970, 250], [970, 90], [728, 90], [300, 250], [320, 100]], 'scbm-billboard')
.defineSizeMapping(responsive_billboard)
.addService(googletag.pubads());
//Sidebar_MRec1
googletag.defineSlot('/32246135/scbm-article-mrec1', [300, 250], 'scbm-article-mrec1')
.defineSizeMapping(responsive_sidebar_mrec)
.addService(googletag.pubads());
//Article_MRec 2
googletag.defineSlot('/32246135/scbm-article-mrec2', [[320, 100], [300, 250], [336, 280]], 'scbm-article-mrec2')
.defineSizeMapping(responsive_article_mrec2)
.addService(googletag.pubads());
//Article_MRec3
googletag.defineSlot('/32246135/scbm-article-mrec3', [[300, 250], [336, 280]], 'scbm-article-mrec3')
.addService(googletag.pubads());
//Article_OutStream Video
googletag.defineSlot('/32246135/scbm-article-outstream', [1, 1], 'scbm-article-outstream')
.addService(googletag.pubads());
//Button
googletag.defineSlot('/32246135/scbm-button', [[728, 90], [300, 100], [300, 250]], 'scbm-button')
.defineSizeMapping(responsive_sidebar_button)
.addService(googletag.pubads());
//Sidebar_Halfpage
googletag.defineSlot('/32246135/scbm-article-300x600', [300, 600], 'scbm-article-300x600') .defineSizeMapping(responsive_sidebar_halfpage)
.addService(googletag.pubads());
//Skinner
googletag.defineOutOfPageSlot('/32246135/scbm-oop-skinner', 'scbm-oop-skinner')
.addService(googletag.pubads());
//OOP
googletag.defineOutOfPageSlot('/32246135/scbm-oop-misc', 'scbm-oop-misc')
.addService(googletag.pubads());
//SC-BM OOP
googletag.defineOutOfPageSlot('/32246135/sc-bm-oop', 'sc-bm-oop')
.addService(googletag.pubads());
//scbm-1x1-misc
googletag.defineSlot('/32246135/scbm-1x1-misc', [1, 1], 'scbm-1x1-misc')
.addService(googletag.pubads());
googletag.pubads().setTargeting("inskin_yes", (screen.width >= 1245) ? "true" : "false");
googletag.pubads().setTargeting("inskin_m_yes", (screen.width >= 375 && screen.width = 1200) ? "true" : "false");
// DFP page level targeting
googletag.pubads().setTargeting( "sc-pagetype-key", "article" );
googletag.pubads().setTargeting( "sc-page-key", "ganjaran-rm25000-telefon-pintar-rm25-dan-25gb-percuma-maxis-hotlink" );
googletag.pubads().setTargeting( "sc-category-key", ["berita", "hotlink", "maxis"] );
googletag.pubads().setTargeting( "sc-tag-key", ["hotlink", "maxis"] );
googletag.pubads().setTargeting( "sc-site-key", "soyacincaubm" );
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setForceSafeFrame(false);
googletag.pubads().setCentering(true);
googletag.enableServices();
});