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: 
SolveLLC
Visitor

RAF macros

Not sure what I'm doing wrong here, but when I replace with RAF client side macros, the values are not being changed

VAST tag: (
vast.xml?playerWidth=ROKU_ADS_DISPLAY_WIDTH&playerHeight=ROKU_ADS_DISPLAY_HEIGHT&videoId=ROKU_ADS_CONTENT_ID&deviceOS=ROKU_ADS_USER_AGENT&deviceModel=ROKU_ADS_DEVICE_MODEL&deviceOSVersion=ROKU_ADS_USER_AGENT&appCategory=ROKU_ADS_CONTENT_ID&deviceUA=ROKU_ADS_USER_AGENT&appVersion=ROKU_ADS_APP_VERSION

VAST response:

"GET vast.xml?playerWidth=ROKU_ADS_DISPLAY_WIDTH&playerHeight=ROKU_ADS_DISPLAY_HEIGHT&videoId=ROKU_ADS_CONTENT_ID&deviceOS=ROKU_ADS_USER_AGENT&deviceModel=ROKU_ADS_DEVICE_MODEL&deviceOSVersion=ROKU_ADS_USER_AGENT&appCategory=ROKU_ADS_CONTENT_ID&deviceUA=ROKU_ADS_USER_AGENT&appVersion=ROKU_ADS_APP_VERSION HTTP/1.1" 200 3479 "http://someserver.com/vast.xml" "Roku/DVP-8.1 (468.01E04047A)"
0 Kudos
2 REPLIES 2
SolveLLC
Visitor

Re: RAF macros

After digging some more.  The above is NOT what I'm seeing in the Roku debugging console when setDebugOutput(true).  I'm seeing all the macro replacements in debugging, but what is actually sent to the tag is the macros (ie ROKU_ADS_DISPLAY_WIDTH, not "playerWidth=1280")
0 Kudos
tim_beynart
Channel Surfer

Re: RAF macros

Are you verifying the calls in Charles (or some other http tool)?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.