//DIY PRODUCTION AD RESTRICTIONS
var adRestrictionManager = new AdRestrictionManager();

// turn off all superstitial tags on DIY-TEXT-66159-1
//var restrictionOne = new AdRestriction();
//restrictionOne.addParameter("UniqueId", "DIY-TEXT-66159-1");
//restrictionOne.addParameter("adtype", "SUPERSTITIAL");
//restrictionOne.isActive = false;
//restrictionOne.isIframe = false;

// turn off prestitial on PACKAGE_PAINTING_101
var restrictionFour = new AdRestriction();
restrictionFour.addParameter("adtype", "PRESTITIAL");
restrictionFour.addParameter("Sponsorship", "PACKAGE_PAINTING_101");
restrictionFour.isActive = false;
restrictionFour.isIframe = false;
adRestrictionManager.restriction.push(restrictionFour);

// turn off preroll if UniqueId is DIY_TEXT_66071_1
var restrictionEleven = new AdRestriction();
restrictionEleven.addParameter("adtype", "PREROLL");
restrictionEleven.addParameter("UniqueId", "DIY-TEXT-66071-1");
restrictionEleven.addParameter("PagePos", "1");
restrictionEleven.isActive = false;
restrictionEleven.isIframe = false;
adRestrictionManager.restriction.push(restrictionEleven);


// turn off leaderboard if UniqueId is DIY-TEXT-85294-1
var restrictionTwo = new AdRestriction();
restrictionTwo.addParameter("adtype", "LEADERBOARD");
restrictionTwo.addParameter("UniqueId", "DIY-TEXT-85294-1");
restrictionTwo.addParameter("PagePos", "1");
restrictionTwo.isActive = false;
restrictionTwo.isIframe = false;
adRestrictionManager.restriction.push(restrictionTwo);

// turn off preroll if UniqueId is DIY-SECTION-28716-1
var restrictionTwelve = new AdRestriction();
restrictionTwelve.addParameter("adtype", "PREROLL");
restrictionTwelve.addParameter("UniqueId", "DIY-SECTION-28716-1");
restrictionTwelve.addParameter("PagePos", "1");
restrictionTwelve.isActive = false;
restrictionTwelve.isIframe = false;
adRestrictionManager.restriction.push(restrictionTwelve);


// turn off prestitial on DIY-SECTION-13786-1 CRAFTS SECTION FRONT
var restrictionFive = new AdRestriction();
restrictionFive.addParameter("adtype", "PRESTITIAL");
restrictionFive.addParameter("UniqueId", "DIY-SECTION-13786-1");
restrictionFive.isActive = false;
restrictionFive.isIframe = false;
adRestrictionManager.restriction.push(restrictionFive);

