Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
What does this macro actually return? I assumed it would be the content id that we've set for the currently playing video, but it's actually returning the channel name.
ROKU_ADS_CONTENT_LENGTH doesn't get replaced as a macro at all.
"SolveLLC" wrote: What does this macro actually return? I assumed it would be the content id that we've set for the currently playing video, but it's actually returning the channel name.
That's a fallback, since you haven't called raf.setContentId(). Do that and it will return whatever you set. You said you set content id already but apparently by some other means... how?
ROKU_ADS_CONTENT_LENGTH doesn't get replaced as a macro at all.