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