GoogleMobileAds Framework Reference

DFPRequest

Specifies optional parameters for ad requests.

  • Publisher provided user ID.

    Declaration

    Swift

    varpublisherProvidedID:String?{getset}
  • Array of strings used to exclude specified categories in ad results.

    Declaration

    Swift

    varcategoryExclusions:[Any]?{getset}
  • Key-value pairs used for custom targeting.

    Declaration

    Swift

    varcustomTargeting:[AnyHashable:Any]?{getset}
  • This API is deprecated and has no effect. Use an instance of GADCorrelator with DFPInterstitialor DFPBannerView objects to correlate requests.

    Declaration

    Swift

    classfuncupdateCorrelator()

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.