Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions advertising/rsgupl/components/UplynkTask.brs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ end function

function runTask()
'
' 1. Load and instanciate Adopter
' 1. Load and instanciate Adapter
'
adapter = loadAdopter()
adapter = loadAdapter()
'
' 2. Request preplay
'
Expand All @@ -29,11 +29,11 @@ function runTask()
runLoop(adapter)
end function

function loadAdopter() as object
function loadAdapter() as object
' not calling RAF.stitchedAdHandledEvent(). App is responsible to call RAF.fireTrackingEvents()
if invalid <> m.top.testConfig["useStitched"] and false = m.top.testConfig.useStitched then m.useStitched = false
'
' 1. Load and instanciate Adopter
' 1. Load and instanciate Adapter
'
adapter = RAFX_SSAI({name:"uplynk"}) ' Required, "uplynk"
if adapter <> invalid
Expand Down Expand Up @@ -184,7 +184,7 @@ function podStartCallback(podInfo as Object)
end if
end function
function adEventCallback(adInfo as Object) as Void
print "At ";adInfo.position;" from Adopter -- " ; adInfo.event
print "At ";adInfo.position;" from Adapter -- " ; adInfo.event
if invalid <> m.adPod and m.adIndex < m.adPod.ads.count()
adIface = Roku_Ads()
' fire Ad pixel
Expand Down