Ad Requests

This document defines the process for receiving a VAST 2.0 compliant response from the AIM Ads server.

URL
http://ads.aimitv.com/api/2/apps/{station call sign}-news-{platform}/preroll/? format=xml&vast=2.0& duid={duid}&dpidsha1={sha1}&name= {app name} &os={os}&osv={os version}&make={manufacturer}&model={device model}&version={app version}

Macros

 * station call sign - The stations call sign (whbq, kiro, wsb, etc.).
 * platform - The platform that the request is coming from (samsung | yahoo | google-tv | roku | amazon).
 * duid - The device ID. If the device does not have an ID then one must be created that does not change for the life of the app on the device.
 * sha1 - A SHA1 representation of the duid above.
 * app name - The application name.
 * os - The operating system that the app runs on (Linux, etc.).
 * os version - The operating system version.
 * manufacturer - The manufacturer of the device (Samsung, Vizio, Sony, Roku, Google, Amazon).
 * device model - The model number of the device.
 * app version - The application version.