Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
justinwegner
Level 7

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
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
Level 7

Re: Getting a Banner ad on my own channel

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

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