\doxysection{com.\+tritondigital.\+ads.\+Ad\+Request\+Builder Class Reference}
\hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}


Helps create on-\/demand ad request URLs.  


\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7e8cd870650c9e33f2659382b4a8766b}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7e8cd870650c9e33f2659382b4a8766b} 
String {\bfseries get\+Host} ()
\begin{DoxyCompactList}\small\item\em Returns the ad server host. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4636e99a479b2db7a43c1168e264a0c0}{set\+Host}} (String host)
\begin{DoxyCompactList}\small\item\em Sets ad server host. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adef247a255297292386bb70b38c5551f}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adef247a255297292386bb70b38c5551f} 
{\bfseries Ad\+Request\+Builder} (Context context)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5b5c2804c2c34f54988b79e535ddfbaf}{add\+Query\+Parameter}} (String key, String value)
\begin{DoxyCompactList}\small\item\em Adds a key/value pair to the URL query parameters. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab13b3316025dd4bd82e3508fbceedb9c}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab13b3316025dd4bd82e3508fbceedb9c} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, boolean value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aae6185f6b95167ea0a3a20974d4fe7c5}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aae6185f6b95167ea0a3a20974d4fe7c5} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, char value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5027cc4ec6b60091f0638d01875b3574}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5027cc4ec6b60091f0638d01875b3574} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, int value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3d3fe37301b831556025ab89aee00582}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3d3fe37301b831556025ab89aee00582} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, double value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aa2d6600b4a1bcba81074ee8d1df4232a}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aa2d6600b4a1bcba81074ee8d1df4232a} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, float value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a736ffcf386a603a0cf12a7f7e700feb0}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a736ffcf386a603a0cf12a7f7e700feb0} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Query\+Parameter} (String key, long value)
\begin{DoxyCompactList}\small\item\em /copydoc add\+Query\+Parameter(\+String, String) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae1a8d2540bd029d3b41e38f30159a682}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae1a8d2540bd029d3b41e38f30159a682} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries reset\+Query\+Parameters} ()
\begin{DoxyCompactList}\small\item\em Clears the the previously set query. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac89563f4effdc0822a1fa286d41a51fa}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac89563f4effdc0822a1fa286d41a51fa} 
Hash\+Map$<$ String, String $>$ {\bfseries get\+Query\+Parameters} ()
\begin{DoxyCompactList}\small\item\em Returns the query parameters. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aba2ccb100518095c4003d3f031b1f170}{enable\+Location\+Tracking}} (boolean enable)
\begin{DoxyCompactList}\small\item\em Enables the location tracking using the device\textquotesingle{}s location manager. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5732331752e3c71b8238fcf6db1d6c32}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5732331752e3c71b8238fcf6db1d6c32} 
\mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} {\bfseries add\+Ttags} (String\mbox{[}$\,$\mbox{]} ttags)
\begin{DoxyCompactList}\small\item\em Set the Ttags for the Requested URL. \end{DoxyCompactList}\item 
String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1c97bbda7463f38a2aa3913d67fec2c8}{build}} ()
\begin{DoxyCompactList}\small\item\em Returns an URL from the previously set data. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7d524f775ec12fb294b8fef64fd0b655}{STATION\+\_\+\+ID}} = "{}stid"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Station ID \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7dcc0a7ab4580d871392fbdc0732f321}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7dcc0a7ab4580d871392fbdc0732f321} 
static final String {\bfseries BUNDLE\+\_\+\+ID} = "{}bundle-\/id"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a2d5cecc71c17f5287cc237cfcbf8433e}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a2d5cecc71c17f5287cc237cfcbf8433e} 
static final String {\bfseries STORE\+\_\+\+ID} = "{}store-\/id"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adccadf644ba6eb5de218cc3f6a5eb449}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adccadf644ba6eb5de218cc3f6a5eb449} 
static final String {\bfseries STORE\+\_\+\+URL} = "{}store-\/url"{}
\begin{DoxyCompactList}\small\item\em URL encoded string. \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae5a9874b283cca08c63deea181e0d2cb}{STATION\+\_\+\+NAME}} = "{}stn"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Station Name \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab4ef83d4264b3afb9b6ec8b0be511b1c}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab4ef83d4264b3afb9b6ec8b0be511b1c} 
static final String {\bfseries TYPE} = "{}type"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Ad type (default\+: preroll) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a9d4fc644a9d4ffc83aeb47f2a152ad3f}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a9d4fc644a9d4ffc83aeb47f2a152ad3f} 
static final String {\bfseries TYPE\+\_\+\+VALUE\+\_\+\+PREROLL} = "{}preroll"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+TYPE value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a779bab51b9d11ec5b75ee4300c294e09}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a779bab51b9d11ec5b75ee4300c294e09} 
static final String {\bfseries TYPE\+\_\+\+VALUE\+\_\+\+MIDROLL} = "{}midroll"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aff5945e6608a13a2a44e09c7fc6ea89a}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aff5945e6608a13a2a44e09c7fc6ea89a} 
static final String {\bfseries RENDERING\+\_\+\+FORMAT} = "{}fmt"{}
\begin{DoxyCompactList}\small\item\em Supported render formats for the On-\/\+Demand Ad Service. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3c13c914ae8e4f10ffe5282594377a84}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3c13c914ae8e4f10ffe5282594377a84} 
static final String {\bfseries RENDERING\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+DAAST} = "{}daast"{}
\begin{DoxyCompactList}\small\item\em text/xml; charset=UTF-\/8 DAAST 1.\+0 \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a147c906b488bb8ce964617ca4765d700}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a147c906b488bb8ce964617ca4765d700} 
static final String {\bfseries RENDERING\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+VAST} = "{}vast"{}
\begin{DoxyCompactList}\small\item\em text/xml; charset=UTF-\/8 VAST 2.\+0 \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5892d8c3d3f213052f76be9eabb29cc4}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5892d8c3d3f213052f76be9eabb29cc4} 
static final String {\bfseries ASSET\+\_\+\+TYPE} = "{}at"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Asset Type \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7cd0e15b3af3e4251d04bbf056c4b713}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7cd0e15b3af3e4251d04bbf056c4b713} 
static final String {\bfseries ASSET\+\_\+\+TYPE\+\_\+\+VALUE\+\_\+\+AUDIO} = "{}audio"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+ASSET\+\_\+\+TYPE value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac201f740d0d971ced2589258ea3201ec}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac201f740d0d971ced2589258ea3201ec} 
static final String {\bfseries ASSET\+\_\+\+TYPE\+\_\+\+VALUE\+\_\+\+VIDEO} = "{}video"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a39926b22a3076ad0d0cee03fd7036530}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a39926b22a3076ad0d0cee03fd7036530} 
static final String {\bfseries MIN\+\_\+\+FILE\+\_\+\+SIZE} = "{}minsz"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Min file size in KB \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_acf723c2ecc0511f4387540de12593a26}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_acf723c2ecc0511f4387540de12593a26} 
static final String {\bfseries MAX\+\_\+\+FILE\+\_\+\+SIZE} = "{}maxsz"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Max file size in KB \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ad1b457dc6fd9caffb0ceb1ca0d7e6f27}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ad1b457dc6fd9caffb0ceb1ca0d7e6f27} 
static final String {\bfseries FILE\+\_\+\+FORMAT} = "{}cntnr"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ File Format \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a34baa8d139a9b1f47c35656ab9f07fd6}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a34baa8d139a9b1f47c35656ab9f07fd6} 
static final String {\bfseries FILE\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+MP3} = "{}mp3"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+FILE\+\_\+\+FORMAT value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a30fd5d31f39d0f384b758351cd635ce0}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a30fd5d31f39d0f384b758351cd635ce0} 
static final String {\bfseries FILE\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+ADTS} = "{}adts"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a0f12ede21889d20ec28c14ea04a9ac83}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a0f12ede21889d20ec28c14ea04a9ac83} 
static final String {\bfseries FILE\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+FLV} = "{}flv"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab979949146818b5946b519b7ad2b5bd0}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab979949146818b5946b519b7ad2b5bd0} 
static final String {\bfseries FILE\+\_\+\+FORMAT\+\_\+\+VALUE\+\_\+\+MP4} = "{}mp4"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a408b7ea4f671affa13fff134c33eb743}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a408b7ea4f671affa13fff134c33eb743} 
static final String {\bfseries MIN\+\_\+\+DURATION} = "{}mindur"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Min duration in seconds \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a006c6b9a97f771f039a2832801e5181d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a006c6b9a97f771f039a2832801e5181d} 
static final String {\bfseries MAX\+\_\+\+DURATION} = "{}maxdur"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Max duration in seconds \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a62cd6d40b8d0e1fb08abccf1359cd127}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a62cd6d40b8d0e1fb08abccf1359cd127} 
static final String {\bfseries MIN\+\_\+\+BITRATE} = "{}mindbr"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Min bitrate in kbps \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a35e6ec932cd8915ebaccd9e4de5b6622}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a35e6ec932cd8915ebaccd9e4de5b6622} 
static final String {\bfseries MAX\+\_\+\+BITRATE} = "{}maxbr"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Max bitrate in kbps \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6a7b8606357e4596e59bf7219d0f7b69}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6a7b8606357e4596e59bf7219d0f7b69} 
static final String {\bfseries VIDEO\+\_\+\+MIN\+\_\+\+WIDTH} = "{}minw"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Video min width in density-\/independent pixels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3f45e2824a40a0969ed5e5cc24af79d2}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a3f45e2824a40a0969ed5e5cc24af79d2} 
static final String {\bfseries VIDEO\+\_\+\+MAX\+\_\+\+WIDTH} = "{}maxw"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Video max width in density-\/independent pixels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adbbf232132d039b0e264499151c4f77d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_adbbf232132d039b0e264499151c4f77d} 
static final String {\bfseries VIDEO\+\_\+\+MIN\+\_\+\+HEIGHT} = "{}minh"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Video min height in density-\/independent pixels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a664d2a1bdb7b055a29acd0515b43d273}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a664d2a1bdb7b055a29acd0515b43d273} 
static final String {\bfseries VIDEO\+\_\+\+MAX\+\_\+\+HEIGHT} = "{}maxdh"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Video max height in density-\/independent pixels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a20f92379b221a94f719cc8f20fb91738}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a20f92379b221a94f719cc8f20fb91738} 
static final String {\bfseries AUDIO\+\_\+\+CODEC} = "{}acodec"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Audio codec \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a592fc74e41578df747d8ee409a20532b}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a592fc74e41578df747d8ee409a20532b} 
static final String {\bfseries AUDIO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+MP3} = "{}mp3"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+AUDIO\+\_\+\+CODEC value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a260f700e73ac38abfa112c02c36c29ec}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a260f700e73ac38abfa112c02c36c29ec} 
static final String {\bfseries AUDIO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+AAC\+\_\+\+HEV1} = "{}aac\+\_\+hev1"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1ca36b1bfe3eb8a2864b929010786e84}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1ca36b1bfe3eb8a2864b929010786e84} 
static final String {\bfseries AUDIO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+AAC\+\_\+\+HEV2} = "{}aac\+\_\+hev2"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab2c80331d9f60ba3736db76db09b8648}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ab2c80331d9f60ba3736db76db09b8648} 
static final String {\bfseries AUDIO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+AAC\+\_\+\+LC} = "{}aac\+\_\+lc"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a0ff51363bc05d731c79e6227116ddca7}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a0ff51363bc05d731c79e6227116ddca7} 
static final String {\bfseries AUDIO\+\_\+\+MIN\+\_\+\+CHANNELS} = "{}minach"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Audio min channels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a29025bc5c041a2c59580c28bf9a6ecda}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a29025bc5c041a2c59580c28bf9a6ecda} 
static final String {\bfseries AUDIO\+\_\+\+MAX\+\_\+\+CHANNELS} = "{}maxach"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Audio max channels \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6a91acd94fc3a20b4ccbea2e4e62ad36}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6a91acd94fc3a20b4ccbea2e4e62ad36} 
static final String {\bfseries AUDIO\+\_\+\+SAMPLE\+\_\+\+RATE} = "{}asr"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Audio Sample Rates in Hz \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4e30e1da584173495a45ec67af3a369b}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4e30e1da584173495a45ec67af3a369b} 
static final String {\bfseries VIDEO\+\_\+\+CODEC} = "{}vcodec"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Video codec \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aaa6d1919066fa76443741ead84b0dd6e}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aaa6d1919066fa76443741ead84b0dd6e} 
static final String {\bfseries VIDEO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+H264} = "{}h264"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+VIDEO\+\_\+\+CODEC value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a18e1d1828b754a3bde2964cd4744dc35}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a18e1d1828b754a3bde2964cd4744dc35} 
static final String {\bfseries VIDEO\+\_\+\+CODEC\+\_\+\+VALUE\+\_\+\+ON2\+\_\+\+VP6} = "{}on2\+\_\+vp6"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a20d6764be00831f1f2e7230b6d83a93b}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a20d6764be00831f1f2e7230b6d83a93b} 
static final String {\bfseries VIDEO\+\_\+\+ASPECT\+\_\+\+RATIO} = "{}vaspect"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Video Aspect Ratio \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a65fc115428a0b6ea1cb49a68d18aed4d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a65fc115428a0b6ea1cb49a68d18aed4d} 
static final String {\bfseries VIDEO\+\_\+\+ASPECT\+\_\+\+RATIO\+\_\+\+VALUE\+\_\+4\+\_\+3} = "{}4\+:3"{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+VIDEO\+\_\+\+ASPECT\+\_\+\+RATIO value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_abbc08e13e297812f54ec312a6966277f}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_abbc08e13e297812f54ec312a6966277f} 
static final String {\bfseries VIDEO\+\_\+\+ASPECT\+\_\+\+RATIO\+\_\+\+VALUE\+\_\+16\+\_\+9} = "{}16\+:9"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae8084c15adb10a9ca020f00d7cff2463}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae8084c15adb10a9ca020f00d7cff2463} 
static final String {\bfseries VIDEO\+\_\+\+ASPECT\+\_\+\+RATIO\+\_\+\+VALUE\+\_\+\+OTHER} = "{}other"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af8330bd5c1f5630612d38c95ffdd1f65}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af8330bd5c1f5630612d38c95ffdd1f65} 
static final String {\bfseries VIDEO\+\_\+\+MIN\+\_\+\+FRAME\+\_\+\+RATE} = "{}minfps"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Video min frame rate \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a9bc7904199e852a73367cbfd1e9d5a29}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a9bc7904199e852a73367cbfd1e9d5a29} 
static final String {\bfseries VIDEO\+\_\+\+MAX\+\_\+\+FRAME\+\_\+\+RATE} = "{}maxfps"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Video max frame rate \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af2aa20d6d8b430ecfb99d64479957019}{LATITUDE}} = "{}lat"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Latitude (-\/90.\+0f to 90.\+0f) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a97164baac8e1d5def99cdcf09c6773a9}{LONGITUDE}} = "{}long"{}
\begin{DoxyCompactList}\small\item\em {\itshape float} -\/ Longitude (-\/180.\+0f to 180.\+0f) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a64ebff3b7c5413803be4206dd6127519}{POSTAL\+\_\+\+CODE}} = "{}postalcode"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Postal/\+ZIP code \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4ea725c3723c47836bf79d52645f1e2d}{COUNTRY\+\_\+\+CODE}} = "{}country"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Country code (\href{http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\#Officially_assigned_code_elements}{\texttt{ ISO 3166-\/1 alpha-\/2}}) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a8dfc389666be24fe019d06a5b0743c06}{AGE}} = "{}age"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Age (1 to 125) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1252df4f5ce1cc5986aafeaa5b6a6e7d}{DATE\+\_\+\+OF\+\_\+\+BIRTH}} = "{}dob"{}
\begin{DoxyCompactList}\small\item\em {\itshape String} -\/ Date of birth formatted as "{}\+YYYY-\/\+MM-\/\+DD"{} \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5465673551feca329aeaa8391edc8e24}{YEAR\+\_\+\+OF\+\_\+\+BIRTH}} = "{}yob"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Year of birth (1900 to 2005) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6220fe4983914833080950c8f4121848}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a6220fe4983914833080950c8f4121848} 
static final String {\bfseries GENDER} = "{}gender"{}
\begin{DoxyCompactList}\small\item\em {\itshape char} -\/ Gender (\textquotesingle{}m\textquotesingle{} or \textquotesingle{}f\textquotesingle{}) \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7287065f2cc9067434a73b183bd56407}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7287065f2cc9067434a73b183bd56407} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+FEMALE} = \textquotesingle{}f\textquotesingle{}
\begin{DoxyCompactList}\small\item\em Possible Ad\+Request\+Builder.\+GENDER value. \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac589b6ca7f1c9663c6260aebcf6ead8d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ac589b6ca7f1c9663c6260aebcf6ead8d} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+MALE} = \textquotesingle{}m\textquotesingle{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1803b775f80abc34743b1df0ed42add9}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1803b775f80abc34743b1df0ed42add9} 
static final char {\bfseries GENDER\+\_\+\+VALUE\+\_\+\+OTHER} = \textquotesingle{}o\textquotesingle{}
\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af049a5db0a35511bb4e743e20f31cab9}{CUSTOM\+\_\+\+SEGMENT\+\_\+\+ID}} = "{}csegid"{}
\begin{DoxyCompactList}\small\item\em {\itshape int} -\/ Custom segment ID (1 to 1000000) \end{DoxyCompactList}\item 
static final String \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a2002828348570a6683fb74a60e34ea09}{BANNERS}} = "{}banners"{}
\begin{DoxyCompactList}\small\item\em {\itshape String (comma-\/separated list)} -\/ Banner capabilities \end{DoxyCompactList}\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5b8c819566d09671f7857e228c45914a}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5b8c819566d09671f7857e228c45914a} 
static final String {\bfseries ADS\+\_\+\+GUIDE\+\_\+\+VERSION\+\_\+\+KEY} = "{}version"{}
\item 
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aaa9800589143c8c6deb9b45bb382333c}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aaa9800589143c8c6deb9b45bb382333c} 
static final String {\bfseries ADS\+\_\+\+GUIDE\+\_\+\+VERSION\+\_\+\+VALUE} = "{}1.\+5.\+1"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Helps create on-\/demand ad request URLs. 

This class is based on {\itshape On\+Demand\+\_\+\+Advertising\+\_\+\+Guide.\+pdf}. The user tracking ID is automatically added and there is an option to use the device location manager for location targeting.

A basic validation is done when adding a query parameter. 

\doxysubsection{Member Function Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5b5c2804c2c34f54988b79e535ddfbaf}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5b5c2804c2c34f54988b79e535ddfbaf} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!addQueryParameter@{addQueryParameter}}
\index{addQueryParameter@{addQueryParameter}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{addQueryParameter()}{addQueryParameter()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+add\+Query\+Parameter (\begin{DoxyParamCaption}\item[{String}]{key,  }\item[{String}]{value }\end{DoxyParamCaption})}



Adds a key/value pair to the URL query parameters. 

The key and value will be encoded. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1c97bbda7463f38a2aa3913d67fec2c8}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1c97bbda7463f38a2aa3913d67fec2c8} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!build@{build}}
\index{build@{build}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{build()}{build()}}
{\footnotesize\ttfamily String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+build (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns an URL from the previously set data. 

This method also refreshes the user tracking id and the location. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aba2ccb100518095c4003d3f031b1f170}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_aba2ccb100518095c4003d3f031b1f170} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!enableLocationTracking@{enableLocationTracking}}
\index{enableLocationTracking@{enableLocationTracking}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{enableLocationTracking()}{enableLocationTracking()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+enable\+Location\+Tracking (\begin{DoxyParamCaption}\item[{boolean}]{enable }\end{DoxyParamCaption})}



Enables the location tracking using the device\textquotesingle{}s location manager. 

Enabling this feature will overwrite the Ad\+Request\+Builder.\+LATITUDE and Ad\+Request\+Builder.\+LONGITUDE query parameters.

See \href{http://developer.android.com/reference/android/location/LocationManager.html}{\texttt{ Android location manager}}.

\begin{DoxyParagraph}{Android\+Manifest.xml Permissions}

\begin{DoxyCode}{0}
\DoxyCodeLine{<\textcolor{keywordtype}{uses-\/permission}\ \textcolor{keyword}{android:name}=\textcolor{stringliteral}{"{}android.permission.ACCESS\_COARSE\_LOCATION"{}}\ />}

\end{DoxyCode}
 
\end{DoxyParagraph}
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4636e99a479b2db7a43c1168e264a0c0}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4636e99a479b2db7a43c1168e264a0c0} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!setHost@{setHost}}
\index{setHost@{setHost}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{setHost()}{setHost()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder}{Ad\+Request\+Builder}} com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+set\+Host (\begin{DoxyParamCaption}\item[{String}]{host }\end{DoxyParamCaption})}



Sets ad server host. 

\begin{DoxyNote}{Note}
Please contact Triton Digital Customer Support to obtain the correct On-\/\+Demand Ad Service Host name to use for on-\/demand ad requests for pre-\/production and production uses. 
\end{DoxyNote}


\doxysubsection{Member Data Documentation}
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a8dfc389666be24fe019d06a5b0743c06}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a8dfc389666be24fe019d06a5b0743c06} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!AGE@{AGE}}
\index{AGE@{AGE}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{AGE}{AGE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+AGE = "{}age"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Age (1 to 125) 

Clients/players must specify only one of Ad\+Request\+Builder.\+AGE, Ad\+Request\+Builder.\+DATE\+\_\+\+OF\+\_\+\+BIRTH or Ad\+Request\+Builder.\+YEAR\+\_\+\+OF\+\_\+\+BIRTH. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a2002828348570a6683fb74a60e34ea09}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a2002828348570a6683fb74a60e34ea09} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!BANNERS@{BANNERS}}
\index{BANNERS@{BANNERS}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{BANNERS}{BANNERS}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+BANNERS = "{}banners"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String (comma-\/separated list)} -\/ Banner capabilities 

Players can provide details on their level of support for banners, such as banner sizes and formats.

The ordering of the capability formats is not important.

\begin{DoxyNote}{Note}
Before attempting to use player capability targeting, please contact the Triton Digital Support Team to enable Player Capability Targeting for your broadcaster. Currently, Player Capability Targeting only works with Tap advertising.
\end{DoxyNote}
\begin{DoxyParagraph}{Supported Formats}

\end{DoxyParagraph}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{2}{|X[-1]}|}
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Capability}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
\endfirsthead
\hline
\endfoot
\hline
\cellcolor{\tableheadbgcolor}\textbf{ Capability}&\cellcolor{\tableheadbgcolor}\textbf{ Description }\\\cline{1-2}
\endhead
970x250 &IAB Billboard (970x250) \\\cline{1-2}
120x60 &IAB Button 2 (120x60) \\\cline{1-2}
300x600 &IAB Half Page/\+Filmstrip (300x600) \\\cline{1-2}
728x90 &IAB Leaderboard (728x90) \\\cline{1-2}
970x100 &IAB Leaderboard (970x100) \\\cline{1-2}
300x250 &IAB Medium Rectangle (300x250) \\\cline{1-2}
88x31 &IAB Microbar (88x31) \\\cline{1-2}
300x1050 &IAB Portrait (300x1050) \\\cline{1-2}
970x90 &IAB Pushdown (970x90) \\\cline{1-2}
180x150 &IAB Rectangle (180x150) \\\cline{1-2}
320x480 &IAB Smartphone Portrait (320x480) \\\cline{1-2}
300x50 &IAB Smartphone Static Banner (300x50) \\\cline{1-2}
320x50 &IAB Smartphone Static Wide Banner (320x50) \\\cline{1-2}
300x300 &IAB Square (300x300) \\\cline{1-2}
970x66 &IAB Super Leaderboard (970x66) \\\cline{1-2}
160x600 &IAB Wide Skyscraper (160x600) \\\cline{1-2}
Client-\/defined (w x h)&Custom banner size \\\cline{1-2}
\end{longtabu}
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4ea725c3723c47836bf79d52645f1e2d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a4ea725c3723c47836bf79d52645f1e2d} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!COUNTRY\_CODE@{COUNTRY\_CODE}}
\index{COUNTRY\_CODE@{COUNTRY\_CODE}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{COUNTRY\_CODE}{COUNTRY\_CODE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+COUNTRY\+\_\+\+CODE = "{}country"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Country code (\href{http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\#Officially_assigned_code_elements}{\texttt{ ISO 3166-\/1 alpha-\/2}}) 

Not required individually. If using, however, we recommend that you specify Ad\+Request\+Builder.\+POSTAL\+\_\+\+CODE. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af049a5db0a35511bb4e743e20f31cab9}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af049a5db0a35511bb4e743e20f31cab9} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!CUSTOM\_SEGMENT\_ID@{CUSTOM\_SEGMENT\_ID}}
\index{CUSTOM\_SEGMENT\_ID@{CUSTOM\_SEGMENT\_ID}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{CUSTOM\_SEGMENT\_ID}{CUSTOM\_SEGMENT\_ID}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+CUSTOM\+\_\+\+SEGMENT\+\_\+\+ID = "{}csegid"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Custom segment ID (1 to 1000000) 

Broadcasters that want to differentiate their listeners into custom broadcaster-\/specific segments may use the Custom Segment Targeting capability of Tap.

\begin{DoxyNote}{Note}
Before use by players, please contact the Triton Digital Support Team to enable Custom Segment ID Targeting for your broadcaster. Currently, Custom Segment ID Targeting only works with Tap advertising. 
\end{DoxyNote}
\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1252df4f5ce1cc5986aafeaa5b6a6e7d}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a1252df4f5ce1cc5986aafeaa5b6a6e7d} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!DATE\_OF\_BIRTH@{DATE\_OF\_BIRTH}}
\index{DATE\_OF\_BIRTH@{DATE\_OF\_BIRTH}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{DATE\_OF\_BIRTH}{DATE\_OF\_BIRTH}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+DATE\+\_\+\+OF\+\_\+\+BIRTH = "{}dob"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Date of birth formatted as "{}\+YYYY-\/\+MM-\/\+DD"{} 

\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af2aa20d6d8b430ecfb99d64479957019}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_af2aa20d6d8b430ecfb99d64479957019} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!LATITUDE@{LATITUDE}}
\index{LATITUDE@{LATITUDE}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{LATITUDE}{LATITUDE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+LATITUDE = "{}lat"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape float} -\/ Latitude (-\/90.\+0f to 90.\+0f) 

Not required individually. If using, you must specify Ad\+Request\+Builder.\+LONGITUDE. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a97164baac8e1d5def99cdcf09c6773a9}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a97164baac8e1d5def99cdcf09c6773a9} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!LONGITUDE@{LONGITUDE}}
\index{LONGITUDE@{LONGITUDE}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{LONGITUDE}{LONGITUDE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+LONGITUDE = "{}long"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape float} -\/ Longitude (-\/180.\+0f to 180.\+0f) 

Not required individually. If using, you must specify Ad\+Request\+Builder.\+LATITUDE. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a64ebff3b7c5413803be4206dd6127519}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a64ebff3b7c5413803be4206dd6127519} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!POSTAL\_CODE@{POSTAL\_CODE}}
\index{POSTAL\_CODE@{POSTAL\_CODE}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{POSTAL\_CODE}{POSTAL\_CODE}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+POSTAL\+\_\+\+CODE = "{}postalcode"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Postal/\+ZIP code 

Valid postal or ZIP code, without spaces. E.\+g., 89040 or H3\+G1\+R8.

Not required individually. If using, however, we recommend that you specify Ad\+Request\+Builder.\+COUNTRY\+\_\+\+CODE. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7d524f775ec12fb294b8fef64fd0b655}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a7d524f775ec12fb294b8fef64fd0b655} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!STATION\_ID@{STATION\_ID}}
\index{STATION\_ID@{STATION\_ID}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{STATION\_ID}{STATION\_ID}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+STATION\+\_\+\+ID = "{}stid"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Station ID 

Either Ad\+Request\+Builder.\+STATION\+\_\+\+ID or Ad\+Request\+Builder.\+STATION\+\_\+\+NAME must be specified when calling the On-\/\+Demand Ad Request Service. While both are supported, it is strongly recommended that clients use Ad\+Request\+Builder.\+STATION\+\_\+\+NAME. If both are provided, Ad\+Request\+Builder.\+STATION\+\_\+\+NAME is used (there is no validation check that Ad\+Request\+Builder.\+STATION\+\_\+\+ID matches the name).

Triton Digital assigns station IDs and names when setting up a station. Station names are case-\/sensitive. \Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae5a9874b283cca08c63deea181e0d2cb}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_ae5a9874b283cca08c63deea181e0d2cb} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!STATION\_NAME@{STATION\_NAME}}
\index{STATION\_NAME@{STATION\_NAME}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{STATION\_NAME}{STATION\_NAME}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+STATION\+\_\+\+NAME = "{}stn"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape String} -\/ Station Name 

\Hypertarget{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5465673551feca329aeaa8391edc8e24}\label{classcom_1_1tritondigital_1_1ads_1_1AdRequestBuilder_a5465673551feca329aeaa8391edc8e24} 
\index{com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}!YEAR\_OF\_BIRTH@{YEAR\_OF\_BIRTH}}
\index{YEAR\_OF\_BIRTH@{YEAR\_OF\_BIRTH}!com.tritondigital.ads.AdRequestBuilder@{com.tritondigital.ads.AdRequestBuilder}}
\doxysubsubsection{\texorpdfstring{YEAR\_OF\_BIRTH}{YEAR\_OF\_BIRTH}}
{\footnotesize\ttfamily final String com.\+tritondigital.\+ads.\+Ad\+Request\+Builder.\+YEAR\+\_\+\+OF\+\_\+\+BIRTH = "{}yob"{}\hspace{0.3cm}{\ttfamily [static]}}



{\itshape int} -\/ Year of birth (1900 to 2005) 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
ads/src/main/java/com/tritondigital/ads/Ad\+Request\+Builder.\+java\end{DoxyCompactItemize}
