Skip to content

Instantly share code, notes, and snippets.

@Rooke
Rooke / refresh_example.html
Last active June 8, 2020 20:49
An example DFP implementation using refresh and disableInitialLoad
<!DOCTYPE html>
<html>
<head>
<script async='async' src='https://www.googletagservices.com/tag/js/gpt.js'></script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<script>
@Rooke
Rooke / example.html
Last active April 13, 2017 18:26
A canonical DFP implementation
<!DOCTYPE html>
<html>
<head>
<script async='async' src='https://www.googletagservices.com/tag/js/gpt.js'></script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<script>