Как реализовать HTMLT ad clickTag с Adobe animate, который будет работать для рекламного сервера Trade Desk? - PullRequest
0 голосов
/ 09 октября 2019

Я использовал это право раньше

<script type = "text/javascript" charset = "utf-8">

var clickTAG = "https://wellfirstbenefits.com/";
  function getParameterByName(name) {
    name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
      results = regex.exec(location.search);
    return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
  }
  var clickTAG = getParameterByName("clickTAG");

  window.tracker = {
    clickHandler: function (url, trackername) {
      window.open(window.clickTAG);
  }}
  window.trackerInitialized = true;
</script>

И это в теле

<body onload="init();" style="margin:0px;">
<a href="javascript:window.open(window.clickTag)"><canvas id="canvas" width="300" height="250" style="border: 1px solid black;"></canvas></a>
<div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:300px; height:250px">
    <canvas id="canvas" width="300" height="250" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 1.00);"></canvas>
    <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:300px; height:250px; position: absolute; left: 0px; top: 0px; display: block;">
    </div>
</div>

Но реклама не загружается вПлатформа. Я что-то пропустил? спасибо

...