Commit e9df79fd by Demid Merzlyakov

IOS-269: add logging of ad request targeting params (including Tercept).

parent 6a195b78
......@@ -290,12 +290,20 @@ public class AdView: UIView {
}
private func requestAd() {
adRequested = true
log.info("requestAd: gad banner request")
analytics(log: .ANALYTICS_AD_REQUESTED, params: self.analyticsParams)
bannerView?.loadRequest(customTargeting())
let targetingParams = customTargeting()
if let targetingParams = targetingParams {
log.info("requestAd: request ad with params: \(targetingParams)")
}
else {
log.info("requestAd: request ad (no params)")
}
bannerView?.loadRequest(targetingParams)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment