Skip to main content

Classes

Adrop

The main SDK class. Works as a singleton.

Static Methods

Instance Methods

Instance Properties

AdropMetrics

User property management class.

Methods


Interfaces

AdropConfig

SDK initialization options.

AdropAdRequest

Ad request parameters.
adId is the advertising identifier used by the View on Device feature to preview a draft creative on a registered test device. See the Preview Creatives on Test Device guide for setup. Do not ship to production with adId hard-coded.

AdropAdResponse

Ad response object (single ad).

AdropAdsResponse

Ad response object (multiple ads).

AdData

Ad data object.

AdropEventFilter

Event filter options.

Constants

Adrop.Events

Event constants. Access via Adrop.Events.

Adrop.ErrorCode

Error codes. Access via Adrop.ErrorCode.

Types

AdFormat

Ad format type.

AdTheme

Theme type.

BackfillMode

Backfill ad rendering mode type. (SDK 1.2.3+)
See the Backfill Rendering Mode guide for behavior and selection criteria.

Event Callbacks

Callback signatures for each event.
All event callbacks receive unit as the first argument. Events AD_RECEIVED, AD_IMPRESSION, AD_CLICKED, AD_VIDEO_START, and AD_VIDEO_END also receive adData as the second argument.