AdService
A key object for configuring your advertisements. It is responsible for initial configuration, managing the ad cache and creating tag requests.
Functions
Clears the cache
Get access to the cache.
Getter method for the AdService
Returns current version of the SDK
Initialization method for the AdService. This sets up the httpclient and loads the cookies. Sets the context for the URL handling and the cache path and size.
A method for removing global parameters for ad request. Removes global parameters from ad request that were added using the
A method for removing global parameters for tag and track request. Removes global parameters from tag and track request that were added using the
Will "ping" EventTracker url when certain event is registered
A method for setting global parameters for all ad requests.
Set the path for the ad cache. The ad cache stores files locally to improve the performance of ads.
Set the max size of the cache. If the cache size is exceeded, cache content is evicted following a FIFO policy.
A method for setting global parameters for all tag and track requests.
Executed a list of tag requests.
Execute tracking with specific track data
Can be used to manual trigger an event. All parameter besides eventType are optional. There optional parameters are used to observe the events later in the App. So if not set you can not check for specific for contentUnit or pass and get additional infos via adData and adMetaData.