DFPRequest

class DFPRequest : GADRequest

Specifies optional parameters for ad requests.

  • Publisher provided user ID.

    Declaration

    Swift

    var publisherProvidedID: String? { get set }
  • Array of strings used to exclude specified categories in ad results.

    Declaration

    Swift

    var categoryExclusions: [Any]? { get set }
  • Key-value pairs used for custom targeting.

    Declaration

    Swift

    var customTargeting: [AnyHashable : Any]? { get set }
  • This API is deprecated and a no-op, use an instance of GADCorrelator set on DFPInterstitial or DFPBannerView objects to correlate requests.

    Declaration

    Swift

    class func updateCorrelator()