Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
SolveLLC
Level 8

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

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

Re: RAF macros

Are you verifying the calls in Charles (or some other http tool)?
0 Kudos