Namespace AppstockSDK.Api
Main namespace of the package.
The most useful classes
- Initialization
- Configuration and Targeting
- Basic Ads
Classes
Appstock
Facade for static methods and cross-platform getters.
BannerAd
Banner ad. Anchored to some part of the screen. Call Dispose() to remove when done. Or use Show() / Hide() to toggle visibility.
BannerAdPositionExtensions
Extensions for AnchoredAdPosition.
InterstitialAd
A full page ad experience at natural transition points, such as a page change or an app launch. Interstitials use a close button that removes the ad from the user's experience.
OptionalBoolExtensions
Extensions for OptionalBool.
RewardedAd
Rewarded ads reward users with in-app items for interacting with video ads, playable ads, or surveys.
SdkConfig
Data container for writeable properties of ISdkProxy.
SdkConfigSnapshot
Data container for readable properties of ISdkProxy.
SdkProxyExtensions
Extension methods for ISdkProxy.
TargetingData
TargetingProxyExtensions
Extension methods for ITargetingProxy.
Structs
AdError
Representation of an error.
AdInfo
The info about the ad.
AdReward
The reward for the ad.
AdSize
The size of a banner ad.
ExtSlot
Data container for exchange-specific extensions to OpenRTB.
ExternalUserID
External ID of the user that could be used for ad targeting. https://github.com/InteractiveAdvertisingBureau/openrtb/blob/main/extensions/2.x_official_extensions/eids.md
SerializableOptional<T>
Represents Nullable<T> for simple value types.
Interfaces
IAdEventSource
Events shared by all non-native ads.
IAdUnit
Properties required for any ad unit to function.
IAnchoredAd
Ad that is anchored to the screen.
IAutoRefreshableAd
Ad that can auto-refresh.
IBannerAd
Common properties for banner facade and platform-specific implementations.
ICloseableAd
Ad that can be closed.
IConcealableAd
Ad that can be loaded and shown.
IInterstitialAd
Common properties for interstitial ad facade and platform-specific implementations.
ILoadableAd
Ad that can be loaded.
IModalAd
Ad that can be loaded and shown.
IModalAdEventSource
Events shared by interstitial and rewarded ads.
IMonoformattedAd
Single format supported.
IMultiformattedAd
Multiple formats supported.
IMuteableAd
Ad that can be muted.
INativeAdLoader
A native object that can be used to load a native ad (once built).
IResizableAd
Shared by non-native ad units.
IRewardedAd
Common properties for rewarded ad facade and platform-specific implementations.
IRewardingAdEventSource
Events for rewarding ads.
ISdkProxy
Managed object that exposes global settings of native SDK.
ISkippableAd
Ad that can be skipped.
ITargetingProxy
Managed object that exposes targeting settings of native SDK.
Enums
AdElementPosition
Where the ad element (image/button) should be placed.
AdFormat
Which ad content format to display.
AdPosition
Where the ad itself is logically.
AnchoredAdPosition
Where the banner itself should be placed.
ExtSlot.Mode
What fields of slots should be used to build the value.
LogLevel
The desired verbosity of logs by native library.
OptionalBool
Represents bool?
-- i.e. Nullable<T> of bool --
that can be true
, false
or null
.