setBannerSizesForInFeedBannerPlacement

Overview

Sets banner sizes which will be loaded when requesting next in-feed banner ads.

Syntax

setBannerSizesForInFeedBannerPlacement(placementName, bannerSizesConfiguration)

placementName (REQUIRED)

string Unique name of placement.

bannerSizesConfiguration (REQUIRED)

string[] Array containing banner sizes. Only ads with defined sizes will be loaded. If this parameter isn't defined, AATKit will load all sizes.

    320x53
    768x90
    300x250
    468x60
    Multiple-Sizes
    320x75
    320x100
    320x150
    320x160
    320x480

Examples

RNAatkit.setBannerSizesForInFeedBannerPlacement("InFeed", ["320x53", "300x250"]);

Last updated