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.

| Constructors ||
|---|---|
| `https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceLoader#goog.ctv.pal.NonceLoader.constructor` | Constructor. |

| Methods ||
|---|---|
| `https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceLoader#goog.ctv.pal.NonceLoader.loadNonceManager` |   |

## Constructors

*** ** * ** ***

### constructor

`new NonceLoader(consentSettings?: https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.ConsentSettings): https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceLoader` Constructor.

| Parameters ||
|---|---|
| `` `Optional` consentSettings: https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.ConsentSettings `` | Settings related to regulations and consent. |

| Returns ||
|---|---|
| `https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceLoader` |   |

## Methods

*** ** * ** ***

### loadNonceManager

`loadNonceManager(request: https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceRequest): Promise<https://developers.google.com/ad-manager/pal/ctv/reference/interface/goog.ctv.pal.NonceManager>`

| Parameters ||
|---|---|
| `request: https://developers.google.com/ad-manager/pal/ctv/reference/class/goog.ctv.pal.NonceRequest` | The request containing information about the nonce you request. |

| Returns ||
|---|---|
| `Promise<https://developers.google.com/ad-manager/pal/ctv/reference/interface/goog.ctv.pal.NonceManager>` | The promise that resolves when the `NonceManager` instance with an encrypted nonce that contains all pre-bid information is available. |