The content of an AdBannerAsset describes a companion banner.
AdobePSDK.PSDKEventType.AD_STARTED event returns an
Ad instance that contains a
companionAssets property (
AdBannerAsset provides information about displaying the asset.
|width||Width of the companion banner in pixels.|
|height||Height of the companion banner in pixels.|
|resource type||The resource type for this companion banner:
|The data of the type that is specified by resourceType for this companion banner.|
Sometimes the companion banner might also have a staticURL that is a direct URL to the image.
If you do not want to use html or iframe, you can use a direct URL to an image. In this case, you can use the staticURL to display the banner.
Important: You must check whether the static URL is a valid string, because this property might not always be available.