GoogleMobileAds Framework Reference

DFPRequest

Specifies optional parameters for ad requests.

  • Publisher provided user ID.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Declaration

    Objective-C

    @property(readwrite,copy,nonatomic,nullable)NSDictionary*customTargeting;
  • This API is deprecated and has no effect. Use an instance of GADCorrelator with DFPInterstitialor DFPBannerView objects to correlate requests.

    Declaration

    Objective-C

    +(void)updateCorrelator;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-03-03 UTC.