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.
storageAllowed
in pbjs.bidderSettings
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.
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 ID: 73
Category: Publishers