DP2SceneGraphWizard icon indicating copy to clipboard operation
DP2SceneGraphWizard copied to clipboard

Channel crashes when implementing mid roll ad-breaks

Open wajidbux opened this issue 1 year ago • 9 comments

All features in the latest update especially the intra-channel search work flawlessly but the issue of running midroll ads remains. The channel crashes when running the feed with ad breaks. The bright script errors captured on the console are given below-

Screenshot 2024-10-06 123224

Screenshot 2024-10-06 123301

wajidbux avatar Oct 06 '24 17:10 wajidbux

Please validate your feed file with the channel feed manager. If it finds no errors, please attach the feed to this issue.

Note: testing was successful with ads. Perhaps you've found an unknown condition.

rrirower avatar Oct 06 '24 18:10 rrirower

the feed file has been generated by CFM, the link is below

https://hookup.dreamhosters.com/roku.json

wajidbux avatar Oct 06 '24 18:10 wajidbux

I use the Roku test ad server when testing. I tested your channel with it and it displayed midroll ads successfully. I'll need the URL of your ad server to test with it to see if these is an unknow condition causing the error.

rrirower avatar Oct 07 '24 13:10 rrirower

vast tag- https://tag.targeting.unrulymedia.com/rmp/215213/0/vast3?devId=ROKU_ADS_TRACKING_ID&w=ROKU_ADS_DISPLAY_WIDTH&h=ROKU_ADS_DISPLAY_HEIGHT&appbundle=ROKU_ADS_APP_ID&appname=Movieland&appstoreurl=https://channelstore.roku.com/details/2baedbba13b6d7a51e607e66298bd8a8/movieland&cntlen=ROKU_ADS_CONTENT_LENGTH&dnt=ROKU_ADS_LIMIT_TRACKING

wajidbux avatar Oct 07 '24 14:10 wajidbux

This does not appear to be a new problem for you: "RAF integration throws and error" #45

rrirower avatar Oct 07 '24 15:10 rrirower

Yes, ive reported the same problem last month as well

Yahoo Mail: Search, organise, conquer

On Mon, 7 Oct 2024 at 22:21, @.***> wrote:

This does not appear to be a new problem for you: "RAF integration throws and error" #45

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

wajidbux avatar Oct 07 '24 15:10 wajidbux

As I stated in the original issue:

https://github.com/rrirower/DP2SceneGraphWizard/issues/45#issuecomment-1765278517

Your ad server url does not return any ad pods that's why the code crashes. Your initial response was that you were going to check with the ad server company. Did you get any feedback from them?

I've tested your ad server URL and others with the Roku Stream Tester tool and it fails. The other ad server urls work.

rrirower avatar Oct 07 '24 15:10 rrirower

Yes, I contacted the ad server company; their engineers checked the tags and said it works fine. It's very strange because the same tags I used with Direct Publisher and it worked perfectly. If ad pods are not returned how is it that preroll work? I'm really confused, I've been trying to fix this problem for the last 1 year now.

wajidbux avatar Oct 10 '24 06:10 wajidbux

The wizard code stitches the ads together on the "client side", meaning on the Roku. Direct publisher probably cast those ads from a server. You should ask your ad server if the URL they provided you can be used on the "client side" and stitched into the playback. My guess is that those ads are set up to run from a server.

rrirower avatar Oct 10 '24 08:10 rrirower

I emailed the ad server company again and the response is below

Screenshot 2024-10-15 221204 When will this problem be solved I fail to understand

wajidbux avatar Oct 15 '24 16:10 wajidbux

Have you verified that the URL they provided contains ad pods? When I enter the URL in a browser, I get

Screenshot 2024-10-15 144929

I've posted on a developer forum to see if someone can shed some light on this.

rrirower avatar Oct 15 '24 18:10 rrirower

Question: Do you always see ads when you test your channel?

rrirower avatar Oct 16 '24 15:10 rrirower

Everyone I've talked to says that ads should be returned. They suggested that you explain the problem to your ad server so that they know ads are not being returned to the channel.

rrirower avatar Oct 16 '24 16:10 rrirower

I have never seen any ads in the last four years. Maybe my ISP installed an ad blocker, or the ads are geo-restricted since I'm in India. I get my feedback from viewers and my ad server company dashboard.

wajidbux avatar Oct 16 '24 16:10 wajidbux

I got a sample ad URL from some developers. It works with the code. Here's what works:

https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=

You should have a serious talk with that ad server company, or, get a new company if you want to run ads.

rrirower avatar Oct 16 '24 16:10 rrirower

thanks, a lot, I will speak to them again but they will give me the same bullshit story the tags have been tested and are working fine, but they will not troubleshoot the code. A company like Nexxen and this is the response I get from them. Maybe I need to take up the matter directly with The CEO or the last option would be to change the ad server.

wajidbux avatar Oct 16 '24 16:10 wajidbux

I got a sample ad URL from some developers. It works with the code. Here's what works:

https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=

You should have a serious talk with that ad server company, or, get a new company if you want to run ads.

there is something called a RAFX SSAI adapted to convert SSAI to CSAI stitching Google is one of them in the list I will send u the link to it https://developer.roku.com/docs/developer-program/advertising/ssai-adapters.md

wajidbux avatar Oct 16 '24 16:10 wajidbux

If I were you, I would simply tell them that their URL is not returning any ad pods for use in client side ad stitching.

rrirower avatar Oct 16 '24 16:10 rrirower

If I were you, I would simply tell them that their URL is not returning any ad pods for use in client side ad stitching.

I guess I will do that or tie up with some other ad company

wajidbux avatar Oct 16 '24 16:10 wajidbux

Closed. No user feedback.

rrirower avatar Jan 09 '25 19:01 rrirower