Asynchronous Infeed Banner
Asynchronous Infeed banner placements wrap the Infeed banner placement providing the same functionality but supporting Swift Concurrency.
Create Placement
To create an instance of AATAsyncInfeedBannerPlacement, use the following API:
let configuration = AATBannerConfiguration()
let placement = AATSDK.createAsyncInfeedBannerPlacement(name: "<PLACEMENT_NAME>", configuration: configuration)AATBannerConfiguration *configuration = [[AATBannerConfiguration alloc] init];
id <AATAsyncInfeedBannerPlacement> bannerPlacement = [AATSDK createAsyncInfeedBannerPlacement:@"<PLACEMENT_NAME>" configuration:configuration];AATBannerConfiguration
See the infeed banner configuration documentation.
Listen to Callbacks (Optional)
See the infeed callbacks documentation.
Request Ad
The async infeed banner placement uses swift concurrency. To request a banner, use the AATBannerRequest default initializer that takes an instance implementing AATBannerRequestDelegate as a parameter.
Configure AATBannerRequest
See the infeed banner request configuration.
Perform Request
Complete Code Example
Last updated