AssetRequestService

The service interface for downloading advertising resources.

You can get an object of this interface via AdRenderer.ServiceLocator when creating a custom renderer. It can be used to conveniently download advertising resources.

Note: In most cases, you will only need to use AssetRepository for your custom renderer.

An example of how to work with the AssetRequestService can be found in our tutorials.

See also

Functions

Link copied to clipboard
abstract suspend fun request(url: String): AdResult<ByteArray>

Method for downloading advertising resources.