Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

base64 xml preroll

10 replies [Last post]

Hello,
I'm new to longtailvideo. I use youtube videos on my website and I would like to know if it's possible to use longtailvideo in order to use this kind of preroll:

The advertiser gave me just this simple url, that is what I should use to load a preroll video to my videos: http://www.utarget.co.uk/utpod/chooseAd.aspx?cid=814&pick=true&geo=true

When you paste this url into a browser it will return a long line of
alpha-numerics. If you right click on the page and select "View Source" you should see the XML it returns, encoded in a base64 format.

I've been told that the video player should call the pick tag (as above) and decode the XML that it returns. The most important being the <LoadAdURL> which will return a url to the path of the pre-roll video.

Here is a breakdown of what the fields returned by XML are and how they
should be used :

<CampaignID> = This is simply a unique identifier of this particular
Pre-Roll campaign.
<LoadAdURL> = This returns a URL of the physical location of the video on
Utarget's streaming server
<impTag> = This is the tag(url) to call when the user clicks on the play
button of your player.
                    (which will allow us to track how many times the
pre-roll has been called)
<ClickTag> = This should be used when the user clicks on the video.
                    (It's the url which the user should be redirected to)

When I used your pick tag, here are the results I was returned:

At the moment my pick tag gives this information:

<utargetpreroll>
<campaignID>857</campaignID>

<loadAdURL>aHR0cDovL3V0YXJnZXQuaHR0cHN2Yy52aXRhbHN0cmVhbWNkbi5jb20vdXRhcmdld
F92aXRhbHN0cmVhbV9jb20vUHJlcm9sbF9WaWRlb3NfUFJPRy9Ob2tpYV8xNXNlY19vbl9haXJfR
kxWLTQ4MFgzNjAuZmx2</loadAdURL>
** This decodes to
:http://utarget.httpsvc.vitalstreamcdn.com/utarget_vitalstream_com/Preroll_V
ideos_PROG/Nokia_15sec_on_air_FLV-480X360.flv

<impTag>aHR0cDovL3d3dy51dGFyZ2V0LmNvLnVrL3V0cG9kL2Nob29zZWFkLmFzcHg/Y2lkPTg1
Nw==</impTag>
** This decodes to : http://www.utarget.co.uk/utpod/choosead.aspx?cid=857

<clickTag>aHR0cDovL3d3dy51dGFyZ2V0LmNvLnVrL3V0cG9kL2Nob29zZWFkLmFzcHg/Y2lkX2
NsaWNrPTg1Nw==</clickTag>
** This decodes to :
http://www.utarget.co.uk/utpod/choosead.aspx?cid_click=857

</utargetpreroll>

I have NO IDEA how to start with this thing. Any help would be VERY appreciated

I'm looking to figure out the same thing. We were given a URL as well and I'm not sure where to place it so it calls the XML.

Any help would be greatly appreciated.

Hi all. As an FYI, it's against the player license to implement any adertising in the mediaspace unless you use LongTail's AdSolution or the Adtonomy Plugin.

AdSolution: http://www.longtailvideo.com/adsolution

Adtonomy: http://www.longtailvideo.com/addons/plugins/80/Adtonomy-(Run-Your-Own-Video-Ads)?q=

As far as I know you would have to use adtonomy which I have working with your example except for a couple of issues one which I will contact longtail about..

The other issue is when I call the URL myself it doesn't return back a video URL but the url in the xml of http://www.utarget.co.uk/utpod/choosead.aspx?cid=0 which says error=AdsCapped so I cannot 100% test it as I get no videos back

If you can give me a working url I can show you the results of it working..

You can see an example of what you are trying to do at:

http://www.bcast.co.nz/examples/utarget/

which actually does an query for the info and decodes it

2 issues which may be a show stopper...

1) an issue with adtonomy which I've contacted LTV about
2) geo targeting won't work as getting the data is done from the server. You _could_ do it in javascript but geting data from an external system, crossdomain javascript doesn't work , but you can't do until you do a iframe "hack". but then its ugly...

I'm just waiting for LTV to get back to be on the 1st issue and I'll see if there is a better way for number 2 with geotargetting working..

but remember if you want to do this you have to use adtonomy

I have purchase adtonomy and I'm no clearer as to how I can serve utarget ads to my videos. Please advise.

I have it working apart from a little problem which is not a show stopper..

I have tried to contact utarget myself to set up an account but they don't seem to reply.

If you can contact me directly (lennon@orcon.net.nz) I can help you with getting it going

If you have any problems with a plugin (whether it's paid or free), please contact us directly at:

http://www.longtailvideo.com/support/contact-us

Typically you'll get a response within 48 hours.

not a technical questions but Is it ok to our own prerolls before youtube videos ? according to TOS of youtube ? please clarify its fine i can buy Adtonomy plugn

i mean to run our own advertiser prerolls

You can get UTarget to output their XML in a format that Adtonomy will understand. The URL format is as follows:

http://www.utarget.co.uk/utpod/chooseAd.aspx?cid=[your utarget id]&pick=true&of=adtonomy

Replace [your utarget id] in the URL with your ID.