Wiki

Clone wiki

AATKit iOS / AATKit2 / AATKit header documentation

Header Documentation

Index:

  1. Project Setup
  2. AATKit Initialisation
  3. Banner Integration
  4. Fullscreen Integration
  5. APP Open Integration
  6. Native Ads Integration
  7. Native Ads Integration - special ad network characteristics
  8. Promo Screen
  9. Sample
  10. Disable App Transport Security (ATS)
  11. Advanced Features
  12. Targeting
  13. Rewarded Video
  14. Frequency Capping
  15. Header documentation
  16. Important Remarks
  17. AATKit's Size within your app
  18. What is an AdSpace?
  19. Network-specific Information
  20. Statistics Delegate
  21. Reports Delegate
  22. Listen to impression level information
  23. AATKit AdMob custom events adapter (>= 2.77.x)

AATKit Changelogs


Basic

+ (void) initWithViewController:(UIViewController*)viewcon andDelegate:(id< AATKitDelegate>)delegate;
+ (void) setViewController:(UIViewController*)con;
+ (NSString*) getVersion;
+ (void) debug:(bool) flag;
+ (void) extendedDebug: (bool) yesOrNo;
+ (void) debugShake:(bool) flag;
+ (void) enableTestModeWithID:(int) myID;
+ (void) setInitialRules: (NSString*) rules;
+ (void) enableRulesCaching;

Placements Interface

All Placements

+ (id) createPlacementWithName:(NSString*) placementName andType:( AATKitAdType) type;
+ (id) getPlacementWithName:(NSString*) placementName;
+ (void) startPlacementAutoReload:(id) placement;
+ (void) stopPlacementAutoReload:(id) placement;
+ (void) setPlacementViewController:(UIViewController*)con forPlacement:(id) placement;
+ (void) reloadPlacement:(id) placement;

Banner Placements

+ (void) reloadPlacement:(id) placement forceLoad]:(bool) yesOrNo;

+ (void) startPlacementAutoReloadWithSeconds:(int) seconds forPlacement:(id) placement;
+ (UIView*) getPlacementView:(id) placement;
+ (CGSize) getPlacementContentSize:(id) placement;
+ (void) setPlacementAlign:( AATKitBannerAlign) align forPlacement:(id) placement;
+ (void) setPlacementPos:(CGPoint) pos forPlacement:(id) placement;
+ (void) setPlacementDefaultImage:(UIImage*) image forPlacement:(id) placement;

Fullscreen Placements

+ (bool) showPlacement:(id) placement;

AATKitDelegate Protocol

- (void) AATKitHaveAd:(id) placement;
- (void) AATKitNoAds:(id) placement;
- (void) AATKitShowingEmpty:(id) placement;
- (void) AATKitPauseForAd;
- (void) AATKitObtainedAdRules: (bool) fromTheServer;
- (void) AATKitResumeAfterAd;
- (bool) AATKitAppWillHandleURL:(NSURLRequest*) url;
- (void) AATKitUserEarnedIncentive;

Promos

+ (void) enablePromo;
+ (void) disablePromo;
+ (void) preparePromo;
+ (void) showPromo;
+ (void) setPromoViewController:(UIViewController*)viewcon;

back (Frequency Capping)

next (AATKit's known issues)

Updated