# ProgrammaticAccessLibrary Framework Reference

# Classes

The following classes are available globally.
- `


  ### [PALGoogleAdManagerSettings](https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALGoogleAdManagerSettings)


  ` PAL settings reflecting settings configured in Google Ad Manager.

  #### Declaration

  Swift

      class GoogleAdManagerSettings : NSObject

  Objective-C


      @interface PALGoogleAdManagerSettings : NSObject

- `


  ### [PALNonceLoader](https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceLoader)


  ` Allows publishers to create a `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceManager` for a single content stream.

  This instance's methods and properties are not thread safe. Usage:
  1. Create a new `PALNonceLoader`.
  2. Create a new `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceRequest` and populate its properties.
  3. Call `loadNonceManagerWithRequest`: to get a new `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceManager`, which will contain the nonce to use for ad requests for a single content stream.
  4. For subsequent content streams, create a new `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceRequest` but reuse the same `PALNonceLoader`.

  #### Declaration

  Swift

      class NonceLoader : NSObject

  Objective-C


      @interface PALNonceLoader : NSObject

- `


  ### [PALNonceManager](https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceManager)


  ` 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 : NSObject

  Objective-C


      @interface PALNonceManager : NSObject

- `


  ### [PALNonceRequest](https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceRequest)


  ` The `PALNonceRequest` class contains data needed to create a
  programmatic access nonce.

  A `PALNonceRequest` instance is passed into a `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceLoader`'s
  `loadNonceManagerWithRequest`: method to load a new `https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALNonceManager`,
  containing the result nonce.

  #### Declaration

  Swift

      class NonceRequest : NSObject

  Objective-C


      @interface PALNonceRequest : NSObject

- `


  ### [PALSettings](https://developers.google.com/ad-manager/pal/ios/reference/Classes/PALSettings)


  ` The PALSettings class stores SDK wide settings.

  #### Declaration

  Swift

      class Settings : NSObject

  Objective-C


      @interface PALSettings : NSObject