Space Ad Mobile 9.5.1
Space Ad Mobile makes ads easy to add into your mobile game: one unified workflow for LevelPlay, AdMob, Yandex.Ads across banners, interstitials and rewarded.
Loading...
Searching...
No Matches
SCG.SpaceAdMobile.CollapsibleBanner Class Reference

Defines the properties and behavior of a collapsible banner. More...

Public Member Functions

bool IsCollapsibleBannerTypeAvailable (AdPosition adPosition, out string position)
 Determines if a specific ad position supports being collapsible and returns the position as a string if available.

Public Attributes

bool Enabled = false
 Enables or disables the collapsible banner. When set to true, the banner can be expanded or collapsed based on user interaction or other conditions.
bool AdsRefreshingBehaviourEnabled = false
 Indicates whether the ads refreshing behavior is enabled for the collapsible banner. When set to true, the banner will handle refresh logic that may involve changing ad content at specified intervals.
Ads refreshing behavior documentation.

Static Public Attributes

const string CollapsibleExtraKey = "collapsible"
 Defines the key for specifying the alignment of an expanded ad relative to the collapsible banner. This key is used in ad request configurations to align either the top or the bottom of the expanded ad with the corresponding top or bottom of the collapsible banner view.
Example usage:
const string CollapsibleRefreshExtraKey = "collapsible_request_id"
 Represents the key used for identifying a unique request ID for refreshable collapsible banner ads. This key is used to differentiate the initial ad request from subsequent refresh requests.

Detailed Description

Defines the properties and behavior of a collapsible banner.

Definition at line 11 of file CollapsibleBanner.cs.


The documentation for this class was generated from the following file: