Class: NonceLoader

Constructor

NonceLoader

new NonceLoader(consentSettings, googleAdManagerSettings)

Constructor.

Parameter

consentSettings

Optional

Settings related to regulations and consent.

googleAdManagerSettings

Optional

PAL settings that reflect the settings you configured in the Google Ad Manager UI.

Value must not be null.

Method

loadNonceManager

public

loadNonceManager(request) returns Promise containing non-null NonceManager

Parameter

request

NonceRequest

The request containing information about the nonce being requested.

Value must not be null.

Returns

non-null Promise containing non-null NonceManager The promise that will be resolved once the NonceManager with an encrypted nonce containing all pre-bid information is available.