Inherits from NSObject
Declared in AdtradeAPI.h
AdtradeAPI.m

Instance Methods

createImpressionWithSucess:failure:

Create impression API Documentation

- (void)createImpressionWithSucess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back dictionary object representing an impression. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

createInstallWithSucess:failure:

Create install API Documentation

- (void)createInstallWithSucess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))success

Parameters

success

Block passes back dictionary object representing an install. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

createSessionWithSuccess:failure:

Create session API Documentation

- (void)createSessionWithSuccess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back dictionary object representing a session. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

deleteImpressionWithID:uniqueToken:sucess:failure:

Delete impression API Documentation

- (void)deleteImpressionWithID:(nonnull NSString *)impressionID uniqueToken:(nonnull NSString *)uniqueToken sucess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back dictionary object representing deleted impression. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

getAppWithSucess:failure:

- (void)getAppWithSucess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back dictionary object representing an app. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

listInstallsWithSucess:failure:

List installs API Documentation

- (void)listInstallsWithSucess:(void ( ^ ) ( NSArray *items ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back an array of dictionary objects representing installs. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h

updateImpression:sucess:failure:

Update impression API Documentation

- (void)updateImpression:(nonnull NSDictionary *)impression sucess:(void ( ^ ) ( NSDictionary *item ))success failure:(void ( ^ ) ( NSError *error ))failure

Parameters

success

Block passes back dictionary object representing updated impression. See API docs for dictionary structure.

failure

Block passes back NSError object describing error that occurred. See userInfo[NSLocalizedDescriptionKey] for description of error.

Declared In

AdtradeAPI.h