BeOp Publisher Data - Configuration
#
You have the BeOp SDK on your pagesIf you correctly followed the installation process to have the SDK on your pages, you should have the following code in your HTML tree:
#
âž¡ Add a new param to the BeOp SDK configThe init
function allows you to set your account id. At the same place, you're now able to set the segments IDs you have about your users.
#
âž¡ Update the values laterNo worries if
- your BeOp SDK is loaded before you can access and deploy your segments on pages
- your segmentation changes during the user session
we provide a function to update the SDK bpsegs
state called __updateBeOpPublisherSegments
accepting in argument a string array.
info
The bpsegs
param can be ommited from the BeOpSDK.init
function with no impact using the __updateBeOpPublisherSegments
function.
caution
The execution of __updateBeOpPublisherSegments
function will cause a new call to our server to potentially update the creatives in the current page according to your campaigns setup. If you don't want to update your already filled slots, please see the config of the refreshExistingSlots param in your SDK.
#
You use BeOp through the Prebid adapterIf you correctly followed the installation process for the BeOp Prebid adapter, you should have the BeOp setup in your slot bids
array
#
âž¡ Update BeOp bidder request configIf you want to pass your first party data to BeOp, you can set BeOp bidder config.ortb2
object with one of the following options:
You can choose the location between:
site.ext
site.ext.data
user.ext
user.ext.data
and add a new key: bpsegs
which is waiting an array of something that will be convertible into a string. Our beOpBidAdapter
will be able to find them.