Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.26 KB

anonymisedRtdProvider.md

File metadata and controls

54 lines (44 loc) · 2.26 KB

Overview

Anonymised is a data anonymization technology for privacy-preserving advertising. Publishers and advertisers are able to target and retarget custom audience segments covering 100% of consented audiences. Anonymised’s Real-time Data Provider automatically obtains segment IDs from the Anonymised on-domain script (via localStorage) and passes them to the bid-stream.

Integration

  • Build the anonymisedRtd module into the Prebid.js package with:
gulp build --modules=rtdModule,anonymisedRtdProvider,...
  • Use setConfig to instruct Prebid.js to initilaize the anonymisedRtdProvider module, as specified below.

Configuration

 pbjs.setConfig({
   realTimeData: {
     dataProviders: [
       {
         name: "anonymised",
         waitForIt: true,
         params: {
           cohortStorageKey: "cohort_ids",
           bidders: ["appnexus", "onetag", "pubmatic", "smartadserver", ...],
           segtax: 1000
         }
       }
     ]
   }
 });

Config Syntax details

Name Type Description Notes
name String Anonymised Rtd module name 'anonymised' always
waitForIt Boolean Required to ensure that the auction is delayed until prefetch is complete Optional. Defaults to false
params.cohortStorageKey String the localStorage key, under which Anonymised Marketing Tag stores the segment IDs 'cohort_ids' always
params.bidders Array Bidders with which to share segment information Optional
params.segtax Integer The taxonomy for Anonymised '1000' always

Please note that anonymisedRtdProvider should be integrated into the publisher website along with the Anonymised Marketing Tag. Please reach out to Anonymised representative if you have any questions or need further help to integrate Prebid, anonymisedRtdProvider, and Anonymised Marketing Tag

Testing

To view an example of available segments returned by Anonymised:

gulp serve --modules=rtdModule,anonymisedRtdProvider,pubmaticBidAdapter

And then point your browser at: "http://localhost:9999/integrationExamples/gpt/anonymised_segments_example.html"