Skip to content

Instantly share code, notes, and snippets.

View scott-thrillist's full-sized avatar

scott-thrillist scott-thrillist

View GitHub Profile
@scott-thrillist
scott-thrillist / adtag.html
Created April 25, 2020 00:26
Ad Tag for Nivea
https://pubads.g.doubleclick.net/gampad/ads
?sz=640x480
&iu=/1006809/tmg/nowthisnews
&impl=s
&gdfp_req=1
&env=adops
&output=vast
&unviewed_position_start=1
&url=[referrer_url]
&description_url=https%3A%2F%2Fadops.nowthisnews.com%2Fvideos%2Fnews%2Fdrag-queens-fight-against-bill-that-would-outlaw-story-time-events
https://pubads.g.doubleclick.net/gampad/ads
?sz=640x480
&iu=/1006809/tmg/thrillist
&impl=s
&gdfp_req=1
&env=vp
&output=vast
&unviewed_position_start=1
&url=[referrer_url]
&description_url=http%3A%2F%2Fthrillist.localhost%2Fvideos%2Feat%2Fnation%2Fsend-foodz-thrillists-100-course-meal
/**
* Amazon APS TAM ad setup
*
* @param {string} options.slotId The ad slot ID
* @param {array} options.sizes Array of sizes in DFP sizeMapping format
*/
const setupTamAd = options => {
const { slotId, sizes, adElementRef = {} } = options;
// request the bids for the googletag slots
@scott-thrillist
scott-thrillist / related_articles_html5.html
Created September 26, 2016 19:57
Related Articles markup: Production vs Recommended
<body>
<ul>
<li class="list-1">Item 1</li>
<li class="list-2">Item 2</li>
<li class="list-3">Item 3</li>
<li class="list-4">Item 4</li>
<li class="list-5">Item 5</li>
</ul>
<p><a href="#">Linkypoo</a></p>