across adx docs

AD Guide

SCRIPT

<!DOCTYPE html>
<html>
<head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <style>
                body {
                    margin: 0;
                    padding: 0;
                }
                .div_mc_cabinet {
                    margin: -4px;
                }
            </style>
</head>
<body>
      <script>
                acrossadx_ad_slot = 'The issued SLOT ID';
                acrossadx_ad_passback = "";
      </script>
      <script src="//adf.acrosspf.com/js/acrossadx.js"></script> 
</body>
</html>

After copying ad script code in the html above, paste it to the place you want ads to appear.

bell When you add script code to a new empty iframe page, paste entire document html above.

<script>
        acrossadx_ad_slot="The issued SLOT ID";
        acrossadx_ad_passback="";
</script>
<script src="//adf.acrosspf.com/js/acrossadx.js"></script>

SLOT ID

As we shall see below, put the issued SLOT ID in quotation.

<script>
        acrossadx_ad_slot="20100";
        acrossadx_ad_passback="";
</script>
<script src="//adf.acrosspf.com/js/acrossadx.js"></script>

PASSBACK

When you need a passback feature, put your passback url address in quotation.

<script>
        acrossadx_ad_slot="The issued SLOT ID";
        acrossadx_ad_passback="Passback url address";
</script>
<script src="//adf.acrosspf.com/js/acrossadx.js"></script>

Add passback url with http or https protocol like below.

acrossadx_ad_passback="http://naver.com";

REPORT Guide

REQUEST

Request parameters

  • API KEY format : XXXXXXXXXXXXXX-XXXXXXXXXXXXXXX

    https://adx.acrosspf.com API KEY can be issued after you login.

  • Begin date format : YYYY-MM-DD
  • End date format: YYYY-MM-DD

Example

  • Address format : https://adx.acrosspf.com/report/?apikey=XXXXXXXXXXXXXX-XXXXXXXXXXXXXXX&begindate=2016-05-05&enddate=2016-05-05

RESPONSE

Example

[
        {
            "publisher_id": "keanu",
            "slot_id": "20100",
            "date": "2016-12-25",
            "site_url": "http:\/\/keanureeves.com",
            "site_name": "\ud0a4\uc544\ub204\ub9ac\ube0c\uc2a4",
            "impression": 27000,
            "click": 2700,
            "revenue": 26000
        },
        {
            "publisher_id": "keanu",
            "slot_id": "20101",
            "date": "2016-12-25",
            "site_url": "http:\/\/keanureeves.com",
            "site_name": "\ud0a4\uc544\ub204\ub9ac\ube0c\uc2a4",
            "impression": 36000000,
            "click": 360000,
            "revenue": 3500000
        },
]

Response items

  • slot_idSLOT ID
  • dateRequested Date
  • site_urlSite URL to which the slot belongs
  • site_nameSite name to which the slot belongs
  • impressionImpressions of the slot
  • clickClicks of the slot
  • revenueExpected revenue for the date