Class NonceLoader
Stay organized with collections
Save and categorize content based on your preferences.
PAL lets you collect signals to unlock Ad Exchange demand. To reduce latency, create a
NonceLoader instance on page load. For each DAI stream or individual ad
request, set the
[NonceRequest](https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceRequest)
instance parameters relevant to your app, and call the loadNonceManager method.
To get the nonce string, call the NonceManager.getNonce() method. Add the nonce
to ad requests as the value for the "&paln" URL parameter.
Methods
loadNonceManager
loadNonceManager(request: NonceRequest): Promise<NonceManager>
| Parameters |
request:
NonceRequest
|
The request containing information about the nonce you request. |
| Returns |
Promise<NonceManager>
|
The promise that resolves when the NonceManager instance with an
encrypted nonce that contains all pre-bid information is available.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-31 UTC."],[],[]]