Asynchronous Infeed Banner

This placement requires iOS 13 and above.

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

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

You can request multiple AATBannerRequest in parallel (i.e. the next one, before the previous one was completed).

Complete Code Example

Last updated