Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
justinwegner
Visitor

Getting a Banner ad on my own channel

I have made my own channel with the help of openrokn and was wanting to get a banner ad to appear in the bottom part.

Is there anyone who can help with this? Anything would be grateful.
0 Kudos
3 REPLIES 3
RokuChris
Roku Employee
Roku Employee

Re: Getting a Banner ad on my own channel

Banners only work on certain styles of poster screen. You'll want to make a call to the SetAdURL() function to specify a banner: http://sdkdocs.roku.com/display/RokuSDK ... inghdAdURL
0 Kudos
justinwegner
Visitor

Re: Getting a Banner ad on my own channel

I have flat-category currently. Where do I put the call setADurl()?
0 Kudos
justinwegner
Visitor

Re: Getting a Banner ad on my own channel

"justinwegner" wrote:
I have flat-category currently. Where do I put the call setADurl()?


I actually got it. I used this line of code, if it will help anyone in the future.

poster.setadurl("http://www.yourdomain.com/path/toyourimage.jpg","http://www.yourdomain.com/path/toyourimage.jpg")
0 Kudos