DFPRequest

@interface DFPRequest : GADRequest

Specifies optional parameters for ad requests.

  • Publisher provided user ID.

    Declaration

    Swift

    var publisherProvidedID: String! { get set }

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *publisherProvidedID;
  • Array of strings used to exclude specified categories in ad results.

    Declaration

    Swift

    var categoryExclusions: [Any]! { get set }

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSArray *categoryExclusions;
  • Key-value pairs used for custom targeting.

    Declaration

    Swift

    var customTargeting: [AnyHashable : Any]! { get set }

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSDictionary *customTargeting;
  • 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()

    Objective-C

    + (void)updateCorrelator;