Content Mapping
When requesting an ad, you can provide the ad server with a web site URL whose content matches the app’s primary content.
If your content is represented by more than one URL, you can specify up to four URLs.
This web site content is used for targeting and brand safety purposes.
Android:
val params = FuseAdViewParams.Builder()
.setContentUrls(listOf("https://www.mywebsite.com/mypage"))
.build()
val adView = FuseAdView(context, code = "<zone_code>", params = params)
NOTE: You cannot set content mapping on FuseAdView
created in XML.
iOS:
let params = FuseAdViewParams(
contentUrls: ["https://www.mywebsite.com/mypage"]
)
let adView = FuseAdView(code: "<zone_code>", params: params)