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;