SCAdConfiguration
@interface SCAdConfiguration
This class is used for configuring the advertisement behavior
-
The request url for you advertisement content
Declaration
Objective-C
@property (nonatomic, copy) NSString *adURL
-
Text to be displayed on the advertisement as header
Declaration
Objective-C
@property (nonatomic, copy) NSString* headerText
-
BundleId of the app
Declaration
Objective-C
@property (nonatomic, copy) NSString* bundleId
-
AdvertiserId
Declaration
Objective-C
@property (nonatomic, copy) NSString* advertisementId
-
Offset value, when the ad can be skipped (in seconds)
Declaration
Objective-C
@property (assign, readwrite, nonatomic) int skipOffset;
-
To use extended click thru, set this value to true
Declaration
Objective-C
@property (assign, readwrite, nonatomic) int useExtendedClickThrough;
-
Use this to enable bitrate calculation, or set desiredBitrate
Declaration
Objective-C
@property (readwrite, strong, nonatomic) SCAdEnvironment *environment;
-
Provide uri to custom cascade style sheet for styling the ad view
Declaration
Objective-C
@property (nonatomic, copy) NSString *customCSSUri
-
Choose between types inpage and default
Declaration
Objective-C
@property (assign, readwrite, nonatomic) BehaviorMatrixType behaviorMatrixType;
-
Use SCCustomCSSUri Info.plist property to globally change this value.
Declaration
Objective-C
- (id)customCSSUriString;
-
Use SCDisablePlayerScriptUpdate Info.plist property to globally change this value. Bundled javascript core will be used if updates are disabled.
Declaration
Objective-C
- (id)disableUpdateSDK;
-
Quoted version of adURL
Declaration
Objective-C
- (id)getAdURLQuoted;
-
The default configuration can be accessed through this static method
Declaration
Objective-C
+ (SCAdConfiguration *)defaultConfigurationWith:(id)requestURL;
-
Undocumented
Declaration
Objective-C
+ (SCAdConfiguration*)defaultConfigurationWith:(NSString*)requestURL environment:(SCAdEnvironment*)environment;
-
URL of the default SDK
Declaration
Objective-C
+ (id)defaultSDKURLString;
-
MobileSDK Version number as String
Declaration
Objective-C
+ (id)sdkVersionString;