Quick Help

The knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.



 What is storageAllowed and how to enable it ?

Solution

storageAllowed in pbjs.bidderSettings

storageAllowed in pbjs.bidderSettings

What is it?

storageAllowed is a configuration flag used inside pbjs.bidderSettings to explicitly allow a bidder to access browser storage — such as localStorage or cookies.

This setting is important for bidders that rely on reading or writing data to the browser for purposes such as user ID syncing, audience targeting, or custom logic.

Not all bidders are granted storage access by default. This flag allows you to grant it manually to specific bidders.

How to enable it?

To allow a specific bidder to use browser storage, add allowedStorage: true to their settings block. Example:


pbjs.bidderSettings = {
  standard: {
    // default settings
  },
  rubicon: {
    // rubicon-specific settings
  },
  pixfuture: {
    allowedStorage: true // enables browser storage for this bidder
  }
};
  

Article details

Article ID: 73

Category: Publishers