DFPRequest.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // DFPRequest.h
  3. // Google Mobile Ads SDK
  4. //
  5. // Copyright 2014 Google Inc. All rights reserved.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import "GADRequest.h"
  9. #import "GoogleMobileAdsDefines.h"
  10. /// Add this constant to the testDevices property's array to receive test ads on the simulator.
  11. GAD_EXTERN const id kDFPSimulatorID;
  12. /// Specifies optional parameters for ad requests.
  13. @interface DFPRequest : GADRequest
  14. /// Publisher provided user ID.
  15. @property(nonatomic, copy) NSString *publisherProvidedID;
  16. /// Array of strings used to exclude specified categories in ad results.
  17. @property(nonatomic, copy) NSArray *categoryExclusions;
  18. /// Key-value pairs used for custom targeting.
  19. @property(nonatomic, copy) NSDictionary *customTargeting;
  20. /// This API is deprecated and a no-op, use an instance of GADCorrelator set on DFPInterstitial or
  21. /// DFPBannerView objects to correlate requests.
  22. + (void)updateCorrelator GAD_DEPRECATED_MSG_ATTRIBUTE(
  23. "Set GADCorrelator objects on your ads instead. This method longer affects ad correlation.");
  24. @end