Home / iOS / Swift / Additional infomration in the requests

Swift

Additional infomration in the requests

(Interstitials and Banners)

When you send a request (for a banner or an interstitial), we recommend to send additional information to get better results (earnings or downloads). It’s as easy as adding a parameter of the AdRequest type when you use the load method.

It’s not necessary to add all the information, but the more information you send, the better results you will get.

Example:

//For interstitials
let setting = TappxSettings()
setting.setAge(25)
setting.setGender(TappxGender.male)
setting.setMarital(TappxMarital.single)
setting.setYearOfBirth(1986)
self.tappxInterstitial?.load(setting)

//For banners
let setting = TappxSettings()
setting.setAge(40)
setting.setGender(TappxGender.female)
setting.setMarital(TappxMarital.single)
setting.setYearOfBirth(1986)
self.tappxBanner?.load(setting)