-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest2.html
49 lines (44 loc) · 1.36 KB
/
test2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<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>
googletag.cmd.push(function() {
googletag.pubads().set("adsense_background_color", "FFFFFF");
});
</script>
<script>
googletag.cmd.push(function() {
googletag.defineSlot("/4495/ph.news/education", [728, 90], "div-gpt-ad-123456789-0")
.addService(googletag.pubads())
.setTargeting("interests", ["sports", "music", "movies"]);
googletag.defineSlot("/4495/ph.news/education", [[468, 60], [728, 90], [300, 250]], "div-gpt-ad-123456789-1")
.addService(googletag.pubads())
.setTargeting("gender", "male")
.setTargeting("age", "20-30");
googletag.pubads().setTargeting("topic","basketball");
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>
<body>
<div id="div-gpt-ad-123456789-0" style="width: 728px; height: 90px">
<script>
// googletag.cmd.push(function() {
// googletag.display("div-gpt-ad-123456789-0");
// });
</script>
</div>
<div id="div-gpt-ad-123456789-1">
<script>
// googletag.cmd.push(function() {
// googletag.display("div-gpt-ad-123456789-1");
// });
</script>
</div>
</body>
</html>