Ad Request Connection
The AdRequestConnection represents a single connection to the ad server.
The ad request settings are encapsulated in a reusable object. The AdRequestConnection object encapsulates the states of a single communication, e.g. starting/canceling a connection.
adRequest: A request that holds all the necessary data to build the ad request.
Functions
Link copied to clipboard
Request ads from the ad server.
Link copied to clipboard
Set an AdswizzHttpConfig instance to the AdRequestConnection. This method can be used to set timeouts, headers and others to Ad Request sent to the Ad Server.