Documentation

Documentation

  • General
  • Advertisers
  • Publishers
  • RTB
  • API
  • News

›Ad Placement API

EXADS Public API

  • API Overview
  • Developer API
  • Versions
  • API Interface
  • HTTP Headers
  • HTTP Verbs
  • Returned Data Standard Types
  • Errors
  • Macros
  • Pagination
  • Rate Limiting
  • Global Statistics API
  • PHP Examples

Ad Placement API

  • Ad Placement API Overview
  • Request
  • Response
  • Errors
  • Error Examples
  • Renderers

Conversion Tracking API

  • Conversion Tracking API

Response


Note: The response is made in JSON format.


Response Parameters

Type

In the response, the "type" field sets what ad format is being used. It can be any one of the following:

  • banner
  • sticky_banner
  • popunder
  • instant_message
  • mobile_instant_message
  • native_ad
  • outstream_video

 

Impression Tracking

In order to record impressions for an ad, the response contains a field called "impressions". This field contains a URL, unique to that ad, that records when an impression takes place.

The best way to use this impression URL is to GET it in the user's browser.

One way to achieve this is to:

  • Add <img src="IMPRESSION_TRACKER_URL" width="0" height="0"> to the page where the ad will be displayed.

    • The IMPRESSION_TRACKER_URL is the URL returned in the "impression" field of the response.

 

Banner

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. banner.

 

Data

ParameterDescription
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
imageThe original image uploaded for the ad.
widthThe width of the ad in pixels.
heightThe height of the ad in pixels.
optimum_imageIn an image banner, if the creative uploaded is an animated GIF, this is the optimized MP4 version of it that is created for use in the ad.
mediaThis shows which type of banner this is: Image, HTML, or video: This should be img_banner, html_banner, or video_banner respectively.
variation_fieldsContains the information of the customizable fields. tag: Field Identifier; value: Value associated with the field that will be displayed

 

Banner Response Examples: JSON

 

Image Banner

{
    "zones": [
        {
            "idzone": 1111111,
            "type": "banner",
            "data": {
                "url": "http://main.example.com/click.php?data=H4sIAAAAAAAAAyVOu04DMRD8lTRprX14bW9JQ0PBN6xzPlGAgCToQJqPx7nTTrGa0TxOyELNnKCJuWX3yqpVBW_3.9ftrE9neZ7Yti3FekuXzw8ABHBhKmoujuUa33H9O0RJ3JJkSmxALs3YJUNrqbkYjNpkGQKWmWIFUKJfMQI_UqMvY20_jukTVOZVuXr3EcrlYqNXW6lHjl6G1t3T32PiGEbzTtjp46Y7F27Hp1ltHz.JXZ31j96M1xdQzRbNJbxE1EJhbfWL8bLQCBvyD4rI3QwpAQAA",
                "impression": "http://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAAzVPS05DMQy8Chdo5PEnn+5YsGCL4ADJa7ICIYqQiuTD4z5ax9HEI2fGZmIcCAfoA7Wj8ZGac0JNrJRg/vz66Ao/nftXP/9+p+3zw3NRLbhDVZFcXErU2dyoujJVa+Saq6GxOtjZLTt5EBxAiUiAqq0ViBRhB5E/vb3sF47EDMQvIbqwUVDXUVBrQraUEzRkw+oqdiHv4zRX/WlegCUobbTZBXmzOYotGl37yFNKCJGP9x65L0P/J4nlcHW+Ex4imsPh9hYV8wjynYnY98Gte81yosm2lswFmW2jPBsv07YQw/0B+rSsfmgBAAA=",
                "image": "http://static.example.com/library/674471/66c5e562a8a324a649c05a52bb03b65be3f0882a.png",
                "width": 300,
                "height": 250,
                "media": "img_banner",
                "variation_fields": [
                    {
                        "tag": "title",
                        "value": "Test"
                    },
                    {
                        "tag": "description",
                        "value": "description test"
                    },
                    {
                        "tag": "brand",
                        "value": "exads"
                    },
                    {
                        "tag": "cta",
                        "value": "Click now!"
                    }
                ]
            }
        }
    ]
}

 

HTML Banner

{
    "zones": [
        {
            "idzone": 2222222,
            "type": "banner",
            "data": {
                "html": "\n<div id=\"example_id\">\nExample HTML Ad!\n</div>\n",
                "impression": "https://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAAz1OW2oDMQy8Si8Qo7Fky8p3+18IPYDteqGwJYGkkA8dvt7dUj1AjGY0ihRxIpwgL2Rn4XMiR0khRg0REsDF3y7vTn4b69f9tv7cw+PqauxJPGWPouIgN1h2jazFET1uK3I2cGZLc6RApMmN/OPyujdmxikpzwkCuw1KCcgp5ACRqZqnnZ5T7QosDLVmozJyT6NpWqhVqS0P1o3oba2zQr9+b46Hq8hh9Ac4M2cjHDMAY/YZ5DsyY//8n11qtiy0LJU/e2Xl0a3FUqlq70q/g8aBP0ABAAA=",
                "width": 300,
                "height": 250,
                "media": "html_banner",
                "variation_fields": [
                    {
                        "tag": "title",
                        "value": "Test"
                    },
                    {
                        "tag": "description",
                        "value": "description test"
                    },
                    {
                        "tag": "brand",
                        "value": "exads"
                    },
                    {
                        "tag": "cta",
                        "value": "Click now!"
                    }
                ]
            }
        }
    ]
}

 

Video Banner

{
    "zones": [
        {
            "idzone": 4444444,
            "type": "banner",
            "data": {
                "url": "http://main.example.com/click.php?data=H4sIAAAAAAAAAyVPy4rbQBD8lb34GNHz1Oi4EBaDHe3itWRHt3kpWWLNjGTJOKE_PmOZbuimqruKekFOQVaMIxTA8Pc8p.uGvW7oW.45LlNhdPhlpngtbBweMHv7chv23d.jvXzZP2RDpU1DRmJ0H9vabD.O.23dlFdqxv1kktasIfTcfpK_yxwvy.AO.93ox5Y08zR24bgMwf2QLUyTTok1x1ND_p2WOFxjiqPbyQ6mdP5cLs.jdO6kMeoUFtfV9f1Qdy65WzjU56m9pa6971M4hnS.HX7KlgbqA7U.9uw9K.X3cWRZym7p6zdEBEQiCUgOgjJMcQox.EdQpAVRBeVQEIHIZVkJkICsUhVwiQJURglSJDSLEEQGcKfisWZNbZzv1VKhEpkvCekZKStTec2ItMKbUvRgNNdGelauP.aic6_W2Q6yq2JQEXzBlX5WVuGSqOfGOBNrhAysrJDr4Pi.Q2l6kB6ctbLKNlaUXnvOcwiheleq__CkLqj3AQAA",
                "impression": "http://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAAz1PSU4DQQz8Ch9Iq7x1u3NDIgeuQB7Qk+k5QYKQkHLw47FGEbYP5a3KZjAdQAfSJ6Ij/KgSXMgLKwpZvH48h1J8336ut+ssl9tXsFUWjwYR9vBmaB7SvUNrGDyUUbtoaG3dUBHEwUGBcEuIkILTwTKL0/ktzu8vgeLkLWc4BLiz5dKuTe6FqpVaSDWz0NzHHTGWdW7+26MRbUKtL30OoXqxuTTbsAwdS53SduHlc2Ts5yPvQn7mgp6tgqq8C+PhSaY1lR5YVCzSEHslzer/bJLZ2upl+jbHyoJGa9u20W0Mn75Y+wNJJUoPYQEAAA==",
                "video": "http://static.example.com/library/256238/906f02361f3cd12043514304c777ed489599f637.mp4",
                "width": 300,
                "height": 250,
                "media": "video_banner",
                "variation_fields": [
                    {
                        "tag": "title",
                        "value": "Test"
                    },
                    {
                        "tag": "description",
                        "value": "description test"
                    },
                    {
                        "tag": "brand",
                        "value": "exads"
                    },
                    {
                        "tag": "cta",
                        "value": "Click now!"
                    }
                ]
            }
        }
    ]
}

 

Sticky Banner

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. sticky_banner.

 

Data

ParameterDescription
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
imageThe original image uploaded for the ad.
optimum_imageIn a sticky banner, if the creative uploaded is an animated GIF, this is the optimized MP4 version of it that is created for use in the ad.
widthThe width of the ad in pixels.
heightThe height of the ad in pixels.
frequency_periodHow often in minutes the ad shows.
v_posThe vertical position of the ad.
h_posThe horizontal position of the ad.
mediaThis shows which type of banner this is: Image, HTML, or video: This should be img_banner, html_banner, or video_banner respectively.

 

Sticky Banner Response Example: JSON

{
    "zones": [
        {
            "idzone": 4204610,
            "type": "sticky_banner",
            "data": {
                "url": "http://main.example.com/click.php?data=H4sIAAAAAAAAAz1Qy4rbQBD8FV98jOie9xwNy.LgzVokkmx808tsQLIeI4Ex_fHpsZPQA1NVU11NjxIejXAEiaavZRnDVu624p3P_VsIX0k99JHK94Bb.QYaPJitMB2TZv69MAyCsXLWopIicsl86LhezSYoFqT3xvjIdLQLUAYhUsv0e7aL0DFs74yWOUYMTbr_rPZp9rH_zG0Q1XTRZanHcy7EKcshW7vm58dhaqcC82WeLrds7W9NcTIFzHM5jjLPTjk.TuvQh2EcpuZgLjCP51_c.COaxvMx9L3i5xVW.Rj6GScJYVIdPMYHzHIIzcFmNs3sMc1Tezt2nFFgUcWQN7sjAkKDyngHUtL_rUkk6BKhIEFN__6G_m5NGhyRQhKEggO0IQlwF5qzmBI5zbpFvEq0vvJtKdHUuq2svkJVqrIyrbRPb9WVfJ4TmQFtXsKGhQ09HbE4hue6F5JKaopuBa8eHh8v5DoeyLSqFhbKuuaNjPMtz1etr5pKOrTX.g.ZmJDwMAIAAA--",
                "impression": "http://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAAzVOO25DMQy7Si8QQ3/L2Qp06dz2AParPaXImkGHj56LiDJEEJRFAsIL8AXoDeGKfFUOKuiFBApqfH6/h2Dcb4ly3P+CyatSUHOpHtyaWQshEEMIBU/e0Cin14rCFJjuUAsI1+QQpy9+vj72wxM1GOBBKeO+iO4FTYsVFAk55Vx7nKsVcTHWNtrsjHboHFUXjC592OS6rePWs3de+EcB9/MUvYTITzKzvzgLa2RBbCVrR34BY/2uLofrmg3XRGudh1uVCXosPOgJ0ouJzUoBAAA=",
                "image": "http://example.com/library/328752/47de5c021bd0d00b59ff78456c69f601baac9925.gif",
                "optimum_image": "http://example.com/library/328752/c990e4df40cc46482927c08350b2c960a59679e5.mp4",
                "width": 300,
                "height": 250,
                "frequency_period": 1440,
                "v_pos": "top",
                "h_pos": "left",
                "media": "img_banner"
            }
        }
    ]
}

 

Popunder

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. popunder.

 

Data

ParameterDescription
urlThe URL that the ad directs to.

 

Popunder Response Example: JSON

{
  "zones": [
    {
      "idzone": 4031009,
      "type": "popunder",
      "data": {
      "url": "http://syndication.example.com/splash.php?cat=508&idzone=4031009&type=8&p=blabla.com&block=0&el=&tags=+&scr_info=&sub="
      }
    },
    {
      "idzone": 4031013,
      "type": "popunder",
      "data": {
      "url": "http://syndication.example.com/splash.php?cat=508&idzone=4031013&type=8&p=blabla.com&block=0&el=&tags=+&scr_info=&sub="
      }
    }
  ]
}

 

Instant Message

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. instant_message.

 

Data

ParameterDescription
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
imageThe URL of the image
optimum_imageIf the creative uploaded is an animated GIF, this is the optimized MP4 version of it that is created for use in the ad.
widthThe width of the ad in pixels.
heightThe height of the ad in pixels.
frequency_periodHow often the ad shows in minutes.
mediaThis shows which type of banner is used: Image, HTML, or video: This should be img_banner, html_banner, or video_banner respectively.

 

Instant Message Response Example: JSON

{
   "zones": [
       {
           "idzone": 4031007,
           "type": "instant_message",
           "data": {
               "url": "https://main.example.com/click.php?data=H4sIAAAAAAAAA01Oy2oDMQz8lVxyXSTLtuxjLrn00G_wQ0uhDQmbBEqZj6.6uZQZJJiRRjogUi2UBUz4eDxu96OcjuHs7JvNZVwvAAjgTBJKUE74se16a9vnboaFyxIiLW4gxixclT1UmEiRmF1lBHDwlJSBkOibE4EdaH3aWp4VJfmAMq_CWnu1JpxHsq5ppd5i69lEfYPQv5rz9Rg5Dtjl_3gZe_GLfy3i_Q0tyZrFyuxT2KKFMWqfJKIjTx3yC41GCKIMAQAA",
               "impression": "https://syndication.example.com/cimp.php?t=imp&data=H4sIAAAAAAAAA01OQWrEMAz8Sj8QM5Jly9lzf1AKucppcmnLloXCUubxdbIUqpFgJEbSKBSTYFJ5QrtIu+RCTdKSGpIULstCE/5st+tX3N7Tev1kVqlOy2rZWa3g6JAFcBaRweeGmmlWs8wuFKWyVIKtDA4iQejg68vzWUPCSi24S8Hgx1dBMk3DxNDbmOEORn/b9vY900X2LD73eYssdS1b97Kjh0Wv27B1bPWPGHlaxgNJ1c5b/zA92hHgHzu9gjNE1zC4eoS59xY1AmsvHq6mv8/Xp409AQAA",
               "image": "https://static.example.com/library/32167/30faa1b47960b066dbc594e9251fbedf2349192e.jpg",
               "optimum_image": "http://static.example.com/library/428515/d17db557c0761f48323156f47fd53dc3de393806.mp4",
               "width": 250,
               "height": 150,
               "frequency_period": 1440,
               "media": "img_banner"
           }
       }
   ]
}

 

Mobile Instant Message

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. mobile_instant_message.

 

Data

ParameterDescription
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
imageThe original image uploaded for the ad.
optimum_imageIf the creative uploaded is an animated GIF, this is the optimized MP4 version of it that is created for use in the ad.
widthThe width of the ad in pixels.
heightThe height of the ad in pixels.
frequency_periodThe period for frequency capping in minutes.
cappingHow many times the ad shows during the frequency_period.
mediaThis shows which type of banner is used: Image, HTML, or video: This should be img_banner, html_banner, or video_banner respectively.

 

Mobile Instant Message Response Example: JSON

{
    "zones": [
        {
            "idzone": 1655304,
            "type": "mobile_instant_message",
            "data": {
                "url": "http://main.example.com/click.php?data=H4sIAAAAAAAAAz1Qy27bMBD8lVx8FZZv.hggCNw6jY1Wso1cAkqkUwOWKJFSkwr8.C6tpFwC5M4OZ5bLiRCUQoJCpN_j2McVu1_RR9yjjUppXTS.xeydfmyb9xV7bHwcV.wBCshLrKhsphBc1_xFdIoWgdG84d17u98815t9.bR5rlSkdT_IYfhuThWdyxKO83S1P5.2gzkeSDWG4aUrp7azh6M8QAim71lVHisyHyffRt_7wW7lC4T.9Asf_sik_rSLbcuxPMHEZt8GMjCIA7_C3M8QmI92q0q1L9VuX.1Vt7uixoEc6izyoO5z98GZ8fLHvV4sNs01IZRpigVjXxvT9uby1n3WllFhKfopNC7_8YqxTEjGy.huPLZeS7lGZPbdghApBAOe3dArIwJ0zvzUjSEP7luZezn70Jo8XQbwQQBSgkQk4UpT0Cr9d0u0ILqgHAoi0lfL6dMloXZKnCREKAoImb7kCKYpaYG4IuTMiFrXa2cYkY1wtRJnqA03tXRM3bj11eC.OWIG6W4B7hC4SzdGDpThkujlxjgTKbM5LG_QPh8c6bttEjVlzFKiGSXOGaPAcApMSQrKNVb_Ax31zHSPAgAA",
                "impression": "http://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAAzVOOW4DMQz8Sj4QYXhJlLsAaVLHfsBqj8qBWxd8vKkNzCEhaUiOhsH0Ccn8QL+IXrQFF/LCikIWP9evUIrHPVHWx18ouyXP3bV5SO+19qBqJtAweE6bMSPUiVicgzg4rAYiNzkPFACWw3H7/T6LJjQEeBKQj/ktuZcULrWQamgqzt1nVjSiQ6j10fdFqK62j2YHxqLLqLu0VECM+5J5msY/Chyzx28iUkQr+fsuKhYZiJPJOH1PaNRpbLAfir3p2rnrNqTzIRXVNue2b/oC0O6/XVABAAA=",
                "image": "http://static.example.com/library/428515/e5aaf8a2ad46aee522c89d8583dc082f47fcb00d.gif",
                "optimum_image": "http://static.example.com/library/428515/d17db557c0761f48323156f47fd53dc3de393806.mp4",
                "width": 300,
                "height": 100,
                "frequency_period": 1440,
                "capping": 0,
                "media": "img_banner"
            }
        }
    ]
}

 

Native Ads

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. native_ad.

 

Data > Layout

ParameterDescription
widgetHeaderContentHtmlThe URL of the 'Powered by' branding that shows.
branding_logoThe URL for the branding logo that shows if enabled.
branding_logo_hoverThe URL for the branding logo that shows when the user hovers over it.
itemsPerRowThe number of ads that show in each row of the widget.
itemsPerColThe number of ads that show in each column of the widget.
font_familyThe family of font used in the ad.
header_font_sizeThe size of font used in the branding header.
header_font_colorThe colour of font used in the branding header.
widget_background_colorThe hex code of the background colour used for the widget.
widget_widthThe width of the entire widget.
minimum_width_for_full_sized_layoutThe minimum width for a full-sized layout in pixels.
item_heightThe height of each individual ad.
item_paddingThe padding between each of the ads.
image_heightThe height of the image in each ad.
image_widthThe width of the image in each ad.
text_margin_topThe size in pixels of the top text margin.
text_margin_bottomThe size in pixels of the bottom text margin.
text_margin_leftThe size in pixels of the left text margin.
text_margin_rightThe size in pixels of the right text margin.
title_font_sizeThe font size of the title for each ad.
title_font_colorThe font colour of the title for each ad.
title_font_weightThe font weight of the title for each ad.
title_decorationWhether the title is underlined or not.
title_hover_colorThe font colour when the title is hovered over.
title_hover_font_weightThe font weight when the title is hovered over.
title_hover_decorationWhether the title is underlined on hover or not.
description_font_sizeThe font size of the description for each ad.
description_font_colorThe font colour of the description for each ad.
description_font_weightThe font weight of the description for each ad.
description_decorationWhether the description is underlined or not.
description_hover_colorThe font colour when the description is hovered over.
description_hover_font_weightThe font weight when the description is hovered over.
description_hover_decorationWhether the description is underlined on hover or not.
open_in_new_windowWhether the ad should be opened in a new window when clicked. 1=yes, 0=no.
mobile_responsive_typeThe type of responsiveness when using a mobile device (i.e none or compact). 1=compact, 0=no.
header_is_on_topWhether the branding should be displayed above or below the ads. 1=yes, 0=no.
header_text_alignThe horizontal alignment of the branding header.
title_enabledWhether the title is enabled or not. 1=yes, 0=no.
description_enabledWhether the description is enabled or not. 1=yes, 0=no.
image_border_sizeThe size in pixels of the image border.
image_border_colorThe hex code colour of the image border.
text_alignThe alignment of the text: left, center, or right.
customcss_enabledWhether custom css is enabled or not. 1=yes, 0=no.
customcssIf enabled the custom css will display here.
header_enabledWhether header is enabled or not. 1=yes, 0=no.
mobile_breakpointThe breakpoint in pixels, between desktop and mobile views of the ad zone.
spacing_vThe vertical spacing in pixels between the ads, set in Advanced Options.
spacing_hThe horizontal spacing in pixels between the ads, set in Advanced Options.
zoomWhether the ad should zoom in/out on hover.
mobile_rowsThe number of rows of ads in the mobile widget.
mobile_colsThe number of columns of ads in the mobile widget.
use_v2_scriptWhether the ad zone was created with the newer V2 setup or the older v1.
text_enabledWhether the text title and description should be displayed. 1=yes, 0=no.
mobile_image_widthThe width of the image in each ad on mobile.
mobile_text_box_sizeThe text box size when on mobile. Valid range 50-500.
mobile_text_enabledWhether the title is enabled or not on mobile. 1=yes, 0=no.
mobile_text_positionThe position of the text on mobile: bottom or right.
item_spacing_on_each_sideThe padding on each side of the ads, if they were set up using the old v1 setup.
text_positionWhether the text is positioned on the left or right side.
text_box_sizeThe size of the text box in pixels. Range 50-500.
widget_heightThe height of the entire widget.
brand_enabledWhether the branding is enabled or not.
brand_font_sizeThe font size of the branding.
brand_font_colorThe font colour of the branding.
brand_font_weightThe font weight of the branding.
brand_decorationWhether the font is underlined or not.
mobile_image_heightThe height of the image in each ad on mobile.
publisherAdTypeWhat type of native ad this is, i.e recommendation, exit, or interstitial: native-recommendation, native-exit, native-interstitial.

 

Data

ParameterDescription
imageThe original image uploaded for the ad.
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
titleThe title text of the ad.
descriptionThe description text of the ad.
brandThe brand text of the ad.
original_urlThe original url of the landing page.
image_positionThe position of the ad image (how the image will be cropped).

 

Native Ads Response Example: JSON


{
    "zones": [
        {
            "idzone": 4058715,
            "type": "native_ad",
            "data": {
                "layout": {
                    "widgetHeaderContentHtml": "<a target=\"_blank\" href=\"https://www.exads.rocks\" rel=\"nofollow\">Powered By <span></span></a>",
                    "branding_logo": "//static.example.com/widget-branding-logo.png",
                    "branding_logo_hover": "//static.example.com/widget-branding-logo-hover.png",
                    "itemsPerRow": 4,
                    "itemsPerCol": 1,
                    "font_family": "Arial, Helvetica, Verdana, sans-serif",
                    "header_font_size": "12px",
                    "header_font_color": "#999999",
                    "widget_background_color": "transparent",
                    "widget_width": "1830px",
                    "minimum_width_for_full_sized_layout": "450px",
                    "item_height": "300px",
                    "item_padding": "10px",
                    "image_height": "450px",
                    "image_width": "450px",
                    "text_margin_top": "3px",
                    "text_margin_bottom": "3px",
                    "text_margin_left": "0px",
                    "text_margin_right": "0px",
                    "title_font_size": "16px",
                    "title_font_color": "#000000",
                    "title_font_weight": "normal",
                    "title_decoration": "none",
                    "title_hover_color": "#0000FF",
                    "title_hover_font_weight": "normal",
                    "title_hover_decoration": "none",
                    "description_font_size": "14px",
                    "description_font_color": "#555555",
                    "description_font_weight": "normal",
                    "description_decoration": "none",
                    "description_hover_color": "#0055FF",
                    "description_hover_font_weight": "normal",
                    "description_hover_decoration": "none",
                    "open_in_new_window": 1,
                    "mobile_responsive_type": 1,
                    "header_is_on_top": 1,
                    "header_text_align": "right",
                    "title_enabled": 1,
                    "description_enabled": 0,
                    "image_border_size": "",
                    "image_border_color": "",
                    "text_align": "left",
                    "customcss_enabled": 0,
                    "customcss": null,
                    "header_enabled": 1,
                    "mobile_breakpoint": "450",
                    "spacing_v": "10",
                    "spacing_h": "10",
                    "zoom": "1",
                    "mobile_rows": "2",
                    "mobile_cols": "1",
                    "use_v2_script": "1",
                    "text_enabled": "1",
                    "mobile_image_width": "450",
                    "mobile_text_box_size": "90",
                    "mobile_text_enabled": "1",
                    "mobile_text_position": "bottom",
                    "item_spacing_on_each_side": "5px",
                    "text_position": "bottom",
                    "text_box_size": "90px",
                    "widget_height": "570px",
                    "brand_enabled": "1",
                    "brand_font_size": "11px",
                    "brand_font_color": "#555555",
                    "brand_font_weight": "normal",
                    "brand_decoration": "none",
                    "mobile_image_height": "450",
                    "publisherAdType": "native-recommendation"
                },
                "data": [
                    {
                        "image": "https://static.example.com/library/432437/97567ec37c751bc909fc06c96920bb353efefe36.jpg",
                        "url": "https://main.example.com/click.php?data=H4sIAAAAAAAAAz2OO27EMAxEr7LNljE0okhJZZo0KfYMkj9IgPwAG3GKOfxybSDgAJTI0RtdmBBzhhCBb9v2s17l.RpfXPu.D_Nfm9Zh_P70.1fb3n_n9UlJBhIGQGoQ47.LyHVw3gDRIUYjkwIlR2UKWjKUGopPQQ80xziI8CKiJMrDpb7NwCIO63VuAht17lmX0Ftq3WbJ_iKwfzTXkXuQLjzGZ8kjWeQ8hWj1.HUNp7WkoyXeXqmW0acQp0mWKdaUUaqUcTQbkaqlOziYDlsjAQAA",
                        "impression": "https://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAA01OS04FMQy7CheYKs6nad8OxAlAHKDzW4FYsHmLHJ5M0ZOI00apLddMjIWwMD2R3cRvqAHvBewFYoW5xsvbcyjiuI/9p2zfX6HCKv4YzbU3CyVrDgujlmp2h4Qa0Jwt0lWCEnLJLN1yKYRwio/313mQYIq8rw9BRblQQXQKzUe6U4BFw4FTMuPajyGomx2r20nr0LHWIwNd5uvnyJ5paQLFpcrkHpArnkgs+FuIa48siklnNf0nH+JUR60bidjoKd+HbHLuO7bTvP0ChQRmKEsBAAA=",
                        "title": "title 5",
                        "description": "description 5",
                        "brand": "brand 5",
                        "original_url": "https://www.example.com/natives-5",
                        "image_position": "50% 50%"
                    },
                    {
                        "image": "https://static.example.com/library/432437/d51084a3da98f857bca6ba19037cfe90b9a93c0b.jpg",
                        "url": "https://main.example.com/click.php?data=H4sIAAAAAAAAAz2OOW7EMAxFrzLNlBG4iFrKNGlS5AySR0ICZANsxCn.4UN7gIAEuH0.8oLIkjNVMOF1277Xqz5e5cl93_cwftttDcvXh9efbXv7GeuDAiCAEzNrJU34V4FzDc4LrBZEEhCNuWQyRLKS2WBUvMtQBzjGQWA3sGiEHirzaWae6rBeR1NOi42ebVJvsfU0NPsGob839_PuSboAciaH6XFZ9Z6RpHp.XekuLfEMES_PsCEcS7ZOc6HU6pR0mxIlVuNcUvsDR8DGSCMBAAA-",
                        "impression": "https://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAA01OSU4EMQz8Ch/oqLzFydxAvADEA9I96ROIA5c5+PHj7gEJV+Ko7FKlGEwLaGE8wS7iF6pB3guxFxIrzDVe3p5DKeZtXH/K9v0VKqzif09z7c1CYc3JwtBSze7ooUbUHBbpKoGEHDJLtyQFFI74eH89LyUYkf34kFCUCwpFR2gOcUMQi4YT7ZIZ1z6HUN1srm471qFjrTMDHebr58hzpsUJKi6Vg3/pI0vGE4mFHgRce2QhznVW03/yMU3nbjW7wfu8trHtuk3kZBuT7xcrT8hLAQAA",
                        "title": "Native 3 title",
                        "description": "Native 3 description",
                        "brand": "Native 3 brand",
                        "original_url": "https://www.example.com/natives-3",
                        "image_position": "50% 50%"
                    },
                    {
                        "image": "https://static.example.com/library/432437/59bb52f508ef418172a4809481e24a5ec01d9cfb.png",
                        "url": "https://main.example.com/click.php?data=H4sIAAAAAAAAAz2QOW7EMAxFrzLNlBG4iJJZppkmRc4gjWUkQDbARpziHz4cTxCQALV8vk_whMxSK1Uw4WXbvtazPp7lErnvexo_bV7T9fM97h9te_0e64MAIIALM6uTFvyrwNVT8BKrJZECZGOeKjEy2VTZYDTFK0MDEJgAgSPAohl6U1n8VuZFA9Z9NOVytdGrLdRbbr0MjWmjs7.1yMP3IJ0QVPoLvTmr3k8kxY.pne7SKR8l4_kJ5CLmOhp5pnmm1od1iZUs7p06_QJgI9fDIwEAAA--",
                        "impression": "https://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAA02OTU7EMAyFr8IFGj3/xensQJwAxAGSTroCsWAzCx9+3DJI2Ikjx0/PH4NpAS2MJ9hF/EI1yNdC7IXECnONl7fnUIp569efsn1/hQqr+N/TXNdmobDmZGFoqWZ3pMKImoMiXSWQKYfM0i2bkgNHfLy/njdVwYisx0JCUS4oFCtC8xM3BLFoONEuyTjW2YXqZnO47Rhd+6gzgQ7z8dnznLQ4k4pLpQcFHiyJJxIL/TbgukYG4hxnNP0n364sUKu1XQeq7juSgm3qgK29zzv4Hxr/SwEAAA==",
                        "title": "Native 2 title",
                        "description": "Native 2 description",
                        "brand": "Native 12 bran",
                        "original_url": "https://www.example.com/natives-2",
                        "image_position": "50% 50%"
                    },
                    {
                        "image": "https://static.example.com/library/432437/d32054c6f9c66c2853bff50b00578b15e0739875.jpg",
                        "url": "https://main.example.com/click.php?data=H4sIAAAAAAAAAz2Ou27GIAyFX.Vf_rHIxgbC2KVLhz4DEFAr9SYlajqch69JpApL.HL8Hd.g7FNiBuN137.3uzze_ZPFcRyu_5Z1c.3rw.rPsr_99O1BARDAkZklk0T8q8ApO8M5luC8j4AG5mXSlYL9AYEW6zLEAIYxEKY12ItCpirY1DaGGKzmXoRjC72mMKgWLTV2SbZBqO_F4vQ9STcDn8l8Mp1Frox8zOfVmS7pcgkVL89IK8fcZHQdSyfxWe2MtjYRP1RT_gOkVnReIgEAAA--",
                        "impression": "https://syndication.example.com/cimp.php?t=api&data=H4sIAAAAAAAAA01PSU4EMQz8Ch/oqLy103MD8QIQD0i6MycQBy5z8ONxGs0IV+LETqlcYTAtoIXxBLuIX2gN8q0QeyGxwrzGy9tzKMW4teOn7N9focIqfj+q61YtFFadLAw12exOFGpEdV5SVQIJmTRLtSwKQOGIj/fXcyctGJF5TiQU5YJCsSE0m7ghiEUjBa+SJvs2mtC62+huV/Smra8jHU31/tlynXZxgorLuqUSHpDpTyQW+ivASchAnM8Z9T99wIh1b2PHcbhxFwEN4UbjmD/+BS14KDZMAQAA",
                        "title": "title 4",
                        "description": "description 4",
                        "brand": "brand 4",
                        "original_url": "https://www.example.com/natives-4",
                        "image_position": "50% 50%"
                    }
                ]
            }
        }
    ]
}

 


Outstream Video

Zones

ParameterDescription
idzoneThe ID of the ad zone.
typeThe ad format used, e.g. outstream_video.

 

Data

ParameterDescription
urlThe URL that the ad directs to.
impressionThe URL of the impression tracker.
trackingAn object with tracking info.
- offsetProgress marker to persist the video view.
- urlURL to call to persist the video view.
videoThe video ad file to load.
brandingEnabledFlag to enable the branding.
frequencyPeriodHow often in minutes the ad shows.
maximumWidthVideo width size.
impressionThe URL of the impression tracker.

 

Outstream Video Response Example: JSON

{
   "zones": [
      {
         "idzone": 4394449,
         "type": "outstream_video",
         "data": {
            "url": "https://static.example.com/click.php?...",
            "tracking": {
               "progress": [
                  {
                     "offset": "00:00:10.000",
                     "url": "https://static.example.com/vregister.php?..."
                  }
               ]
            },
            "video": "https://static.example.com/library/195600/629e84e4a8522e6cf9a5a8298f9922737696e535.mp4",
            "brandingEnabled": 1,
            "frequencyPeriod": 0,
            "maximumWidth": 0,
            "cookieconsent": 1,
            "impression": "https://static.example.com/vregister.php?..."
         }
      }
   ]
}

 

← RequestErrors →
  • Response Parameters
    • Type
    • Impression Tracking
  • Banner
    • Zones
    • Data
    • Banner Response Examples: JSON
  • Sticky Banner
    • Zones
    • Data
    • Sticky Banner Response Example: JSON
  • Popunder
    • Zones
    • Data
    • Popunder Response Example: JSON
  • Instant Message
    • Zones
    • Data
    • Instant Message Response Example: JSON
  • Mobile Instant Message
    • Zones
    • Data
    • Mobile Instant Message Response Example: JSON
  • Native Ads
    • Zones
    • Data > Layout
    • Data
    • Native Ads Response Example: JSON
  • Outstream Video
    • Zones
    • Data
    • Outstream Video Response Example: JSON
Documentation
Community
Github
Useful Links
EXADS
Copyright © 2025 EXADS