Forum Discussion

SolveLLC's avatar
SolveLLC
Visitor
8 years ago

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)"
  • 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")
  • Are you verifying the calls in Charles (or some other http tool)?