renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2010
01:05 AM
Can't get ad banner to display
I thought this would be an easy one...
I set the list style to "flat-category". (By the way, anyone notice that under SetAdURL it says, "This is currently only valid for the “flat-category” style of poster screen." and under SetAdDisplayMode it says, "The ad display is only available on “arced-landscape” and “flat-category” list styles."? I can't get it to work under either.) I created two sample ad banners of the proper dimensions and put them in my package. I used SetAdURL to set the urls of the two banners. I tried all combinations of SetAdSelectable and SetAdDisplayMode, and nothing. No banner displays. It looks like it's trying to display something because if I use SetAdURL after the initial screen is displayed I can see the posters shift upwards as if to make room for the banner, but nothing appears. I can display the banners in a poster, so I know they're in the package.
I'm at a loss as to what to try next. Anyone have any ideas?
-JT
I set the list style to "flat-category". (By the way, anyone notice that under SetAdURL it says, "This is currently only valid for the “flat-category” style of poster screen." and under SetAdDisplayMode it says, "The ad display is only available on “arced-landscape” and “flat-category” list styles."? I can't get it to work under either.) I created two sample ad banners of the proper dimensions and put them in my package. I used SetAdURL to set the urls of the two banners. I tried all combinations of SetAdSelectable and SetAdDisplayMode, and nothing. No banner displays. It looks like it's trying to display something because if I use SetAdURL after the initial screen is displayed I can see the posters shift upwards as if to make room for the banner, but nothing appears. I can display the banners in a poster, so I know they're in the package.
I'm at a loss as to what to try next. Anyone have any ideas?
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
5 REPLIES 5
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2010
01:47 AM
Re: Can't get ad banner to display
Hi Jim, just tried this from the Brightscript console:
BrightScript Debugger> z=createObject("roposterscreen")
BrightScript Debugger> z.setliststyle("flat-category")
BrightScript Debugger> z.setadurl("http://myhomestudio.ca/portfolio/wp-content/uploads/2010/08/728x90.gif","http://myhomestudio.ca/portfolio/wp-content/uploads/2010/08/728x90.gif")
BrightScript Debugger> z.show()
BrightScript Debugger>
and it worked.
oops, edit.
- Joel
BrightScript Debugger> z=createObject("roposterscreen")
BrightScript Debugger> z.setliststyle("flat-category")
BrightScript Debugger> z.setadurl("http://myhomestudio.ca/portfolio/wp-content/uploads/2010/08/728x90.gif","http://myhomestudio.ca/portfolio/wp-content/uploads/2010/08/728x90.gif")
BrightScript Debugger> z.show()
BrightScript Debugger>
and it worked.
oops, edit.
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2010
03:57 AM
Re: Can't get ad banner to display
Joel, thanks! I tried your URL and it worked as well. It looks like the ad can't be part of the package. That's the first component URL I've found that looks like it has to be external. It's not a big deal since I was just testing it to see how it would look, but it's very strange.
By the way, the ad does show up with an "arced-landscape" list style, so it looks like the documentation under SetAdURL is incorrect.
Thanks again,
-JT
By the way, the ad does show up with an "arced-landscape" list style, so it looks like the documentation under SetAdURL is incorrect.
Thanks again,
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
jbrave
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2010
04:48 AM
Re: Can't get ad banner to display
cool!
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
evilmax17
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2010
06:21 PM
Re: Can't get ad banner to display
Just encountered the same exact problem.
It would be really nice to be able to use an image that's stored in the pkg.
It would be really nice to be able to use an image that's stored in the pkg.
My Roku Channels:
Viddler - viddler.com
Tested Fan - tested.com | Jamie & Adam
This is my next - theverge.com
1080p Showcase - RIP
Whiskey Media - RIP
======================
http://www.binarymoustache.com
Viddler - viddler.com
Tested Fan - tested.com | Jamie & Adam
This is my next - theverge.com
1080p Showcase - RIP
Whiskey Media - RIP
======================
http://www.binarymoustache.com

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2011
03:18 PM
Re: Can't get ad banner to display
SetAdUrl currently requires external urls. We don't want to encourage storing ad images in packages....
--Kevin
--Kevin