AdMetadata
A class that contains the basic data about the advertisement and renderer.
An object of this class can be taken from Advertisement if the advertisement was successfully loaded. You can use this object to debug or configure your view. One example is setting the aspect ratio for the presentation of your ad using aspectRatio.
If you are developing a custom renderer, you will receive an object of this class in the AdRenderer.configure method. If you need to pass some information from the renderer, we recommend using rendererMetadata for this.
Constructors
Creates an AdMetadata instance. You can use this constructor for testing. Normally you do not need to use it.
Types
Properties
Extended configuration relevant for ads that are rendered natively.
The aspect ratio of an advertising banner. It can be used to determine the size of inline advertising.
The campaign identifier the advertisement has been served for.
Unique identifier of a content space in the ADITION ad-serving platform.
An object that has time intervals associated with the loading of ads.
Parameter for displaying the DSA button on the banner.
Extended configuration relevant for ads that are rendered natively.
Additional data transferred from the renderer.