|
6 | 6 |
|
7 | 7 | NS_ASSUME_NONNULL_BEGIN |
8 | 8 |
|
| 9 | +/** |
| 10 | + * Use the following pre-defined constants to configure mediation network names. |
| 11 | + */ |
| 12 | + |
| 13 | +/** AdMob */ |
| 14 | +FOUNDATION_EXPORT NSString *const ADCAdMob; |
| 15 | + |
| 16 | +/** MoPub */ |
| 17 | +FOUNDATION_EXPORT NSString *const ADCMoPub; |
| 18 | + |
| 19 | +/** ironSource */ |
| 20 | +FOUNDATION_EXPORT NSString *const ADCIronSource; |
| 21 | + |
| 22 | +/** Appodeal */ |
| 23 | +FOUNDATION_EXPORT NSString *const ADCAppodeal; |
| 24 | + |
| 25 | +/** Fuse Powered */ |
| 26 | +FOUNDATION_EXPORT NSString *const ADCFusePowered; |
| 27 | + |
| 28 | +/** AerServe */ |
| 29 | +FOUNDATION_EXPORT NSString *const ADCAerServe; |
| 30 | + |
| 31 | +/** AdMarvel */ |
| 32 | +FOUNDATION_EXPORT NSString *const ADCAdMarvel; |
| 33 | + |
| 34 | +/** Fyber */ |
| 35 | +FOUNDATION_EXPORT NSString *const ADCFyber; |
| 36 | + |
| 37 | +/** Corona */ |
| 38 | +FOUNDATION_EXPORT NSString *const ADCCorona; |
| 39 | + |
| 40 | + |
| 41 | +/** |
| 42 | + * Use the following pre-defined constants to configure plugin names. |
| 43 | + */ |
| 44 | + |
| 45 | +/** Unity */ |
| 46 | +FOUNDATION_EXPORT NSString *const ADCUnity; |
| 47 | + |
| 48 | +/** AdobeAir */ |
| 49 | +FOUNDATION_EXPORT NSString *const ADCAdobeAir; |
| 50 | + |
| 51 | +/** Cocos2d-x */ |
| 52 | +FOUNDATION_EXPORT NSString *const ADCCocos2dx; |
| 53 | + |
| 54 | + |
9 | 55 | /** |
10 | 56 | AdColonyAppOptions objects are used to set configurable aspects of SDK state and behavior, such as a custom user identifier. |
11 | 57 | The common usage scenario is to instantiate and configure one of these objects and then pass it to `configureWithAppID:zoneIDs:options:completion:`. |
@@ -35,9 +81,58 @@ NS_ASSUME_NONNULL_BEGIN |
35 | 81 | /** |
36 | 82 | @abstract Sets the desired ad orientation. |
37 | 83 | @discussion Set this property to configure the desired orientation for your ads. |
38 | | - @see ADCOrientation |
| 84 | + @see AdColonyOrientation |
39 | 85 | */ |
40 | 86 | @property (nonatomic) AdColonyOrientation adOrientation; |
| 87 | + |
| 88 | +/** |
| 89 | + @abstract Enables test ads for your application without changing dashboard settings. |
| 90 | + @discussion Set this property to `YES` to enable test ads for your application without changing dashboard settings. |
| 91 | + */ |
| 92 | +@property (nonatomic) BOOL testMode; |
| 93 | + |
| 94 | +/** |
| 95 | + @abstract Sets the name of the mediation network you are using AdColony with. |
| 96 | + @discussion Set this property to configure the name of the mediation network you are using AdColony with. |
| 97 | + Corresponding value must be 128 characters or less. |
| 98 | + Note that you should use one of the pre-defined values above if applicable. |
| 99 | + */ |
| 100 | +@property (nonatomic, strong, nullable) NSString *mediationNetwork; |
| 101 | + |
| 102 | +/** |
| 103 | + @abstract Sets the version of the mediation network you are using AdColony with. |
| 104 | + @discussion Set this property to configure the version of the mediation network you are using AdColony with. |
| 105 | + Corresponding value must be 128 characters or less. |
| 106 | + */ |
| 107 | +@property (nonatomic, strong, nullable) NSString *mediationNetworkVersion; |
| 108 | + |
| 109 | +/** |
| 110 | + @abstract Sets the name of the plugin you are using AdColony with. |
| 111 | + @discussion Set this property to configure the name of the plugin you are using AdColony with. |
| 112 | + Corresponding value must be 128 characters or less. |
| 113 | + Note that you should use one of the pre-defined values above if applicable. |
| 114 | + */ |
| 115 | +@property (nonatomic, strong, nullable) NSString *plugin; |
| 116 | + |
| 117 | +/** |
| 118 | + @abstract Sets the version of the plugin version you are using AdColony with. |
| 119 | + @discussion Set this property to configure the version of the plugin you are using AdColony with. |
| 120 | + Corresponding value must be 128 characters or less. |
| 121 | + */ |
| 122 | +@property (nonatomic, strong, nullable) NSString *pluginVersion; |
| 123 | + |
| 124 | +/** |
| 125 | + @abstract This is to inform the AdColony service if GDPR should be considered for the user based on if they are they EU citizens or from EU territories. Default is FALSE. |
| 126 | + @discussion This is for GDPR compliance, see https://www.adcolony.com/gdpr/ |
| 127 | + */ |
| 128 | +@property (nonatomic) BOOL gdprRequired; |
| 129 | + |
| 130 | +/** |
| 131 | + @abstract Defines end user's consent for information collected from the user. |
| 132 | + @discussion The IAB Europe Transparency and Consent framework defines standard APIs and formats for communicating between Consent Management Platforms (CMPs) collecting consents from end users and vendors embedded on a website or in a mobile application. It provides a unified interface for a seamless integration where CMPs and vendors do not have to integrate manually with hundreds of partners. This is for GDPR compliance through IAB, see https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/v1.1%20Implementation%20Guidelines.md#vendors |
| 133 | + */ |
| 134 | +@property (nonatomic) NSString *gdprConsentString; |
| 135 | + |
41 | 136 | @end |
42 | 137 |
|
43 | 138 | NS_ASSUME_NONNULL_END |
0 commit comments