Classes
The following classes are available globally.
-
PAL settings reflecting settings configured in Google Ad Manager.
Declaration
Swift
class GoogleAdManagerSettings : NSObjectObjective-C
@interface PALGoogleAdManagerSettings : NSObject -
Allows publishers to create a
PALNonceManagerfor a single content stream.This instance’s methods and properties are not thread safe. Usage:
- Create a new
PALNonceLoader. - Create a new
PALNonceRequestand populate its properties. - Call
loadNonceManagerWithRequest: to get a newPALNonceManager, which will contain the nonce to use for ad requests for a single content stream. - For subsequent content streams, create a new
PALNonceRequestbut reuse the samePALNonceLoader.
Declaration
Swift
class NonceLoader : NSObjectObjective-C
@interface PALNonceLoader : NSObject - Create a new
-
Manages a nonce and its event reporting for a single content playback session.
The below content playback session lifecycle methods must be accurately called in order to enable programmatic monetization.
Declaration
Swift
class NonceManager : NSObjectObjective-C
@interface PALNonceManager : NSObject -
The
PALNonceRequestclass contains data needed to create a programmatic access nonce.A
PALNonceRequestinstance is passed into aPALNonceLoader‘sloadNonceManagerWithRequest: method to load a newPALNonceManager, containing the result nonce.Declaration
Swift
class NonceRequest : NSObjectObjective-C
@interface PALNonceRequest : NSObject -
The PALSettings class stores SDK wide settings.
Declaration
Swift
class Settings : NSObjectObjective-C
@interface PALSettings : NSObject