Skip to main content

Prebid.js

See Scope3 RTD module documentation for more details Once you have registered a sales agent in the staging environment, you are able to also use a staging version of the Scope3 RTD module. You can simply point your Prebid.js configuration to the staging endpoint:
pbjs.setConfig({
    realTimeData: {
      auctionDelay: 1000,
      dataProviders: [{
        name: 'scope3',
        params: {
          orgId: 'XXXXXX', // put your org ID here
          timeout: 1000, // max time to wait for response
          debugMode: false, // set to true for testing
          endpoint: 'https://rtdp.staging.scope3.com/prebidjs/prebid'
        }
      }]
    }
  });

Prebid Server

Scope3 also maintains a RTD module in Prebid server (go version). If you are looking to test this integration with your staging sales agent, you can use the following configuration snippet:
hooks:
  enabled: true
  modules:
    scope3:
      rtd:
        enabled: true
        auth_key: ${SCOPE3_API_KEY}  # the API key provided by the staging env
        endpoint: https://rtdp.staging.scope3.com/prebid/prebid
        timeout_ms: 1000
        cache_ttl_seconds: 60   # Cache segments for 60 seconds (default)
        add_to_targeting: true
[...]
The full configuration reference is available in the prebid-server module