Advertisement
A key object interface describing the advertisement.
An instance of this interface can be created using AdService.makeAdvertisement method. Responsible for loading and reloading ad, creating, storing and updating the AdRenderer.
Note: Since Advertisement is not a lifecycle-aware component, the application developer should control the lifecycle from within the application in order to avoid leaks. To clean up and cancel all internal tasks, dispose method should be called when the ad is no longer needed.
Properties
The AdRenderer which is used to render the advertisement.
State flow for the presentation control.
The type of placement is specified when creating the ad.
Functions
Cleans up resources when the ad is no longer needed.
Method for getting the AdMetadata, which contains the basic data about the ad and current renderer.
A method for processing tap on DSA button.
This method is responsible for firing the tap event manually.
A method for performing tracking events related to visibility.