Skip to content

Instantly share code, notes, and snippets.

@parkjinwoo
Created August 6, 2020 06:59
Show Gist options
  • Save parkjinwoo/19307b12dba4edcb7c09902654aa2417 to your computer and use it in GitHub Desktop.
Save parkjinwoo/19307b12dba4edcb7c09902654aa2417 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>LINE TV</title>
<script type="text/javascript" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script type="text/javascript">
window.googletag = window.googletag || {cmd: []};
googletag.defineSlot('/21635894919/NATIVE/FEED_General', 'fluid', 'ad-slot-th')
.addService(googletag.pubads());
googletag.defineSlot('/22005332045/NATIVE/FEED_General', 'fluid', 'ad-slot-kr')
.addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
</script>
<style type="text/css">
.ad-slot { border: 1px solid green; width: 50%; min-height: 50px; }
</style>
</head>
<body>
<h3>TH - /21635894919/NATIVE/FEED_General</h3>
<div class="ad-slot" id="ad-slot-th">
<script>
googletag.cmd.push(function() {
googletag.display('ad-slot-th');
});
</script>
</div>
<h3>KR - /22005332045/NATIVE/FEED_General</h3>
<div class="ad-slot" id="ad-slot-kr">
<script>
googletag.cmd.push(function() {
googletag.display('ad-slot-kr');
});
</script>
</div>
<h3>Guide</h3>
<div class="ad-slot" id="guide"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment