Skip to main content

Using User Interest

User Interest Listener

When receiving GFPNativeAd, Delegate could be linked to learning when the user expressed interest (1-second exposure of 100% of advertising section by SDK definition) and when the interest disappeared (exposure of 0% of advertising section by SDK definition).

The usage method is as follows:

nativeAd.userInterestDelegate = self
func ad(_ ad: NSObject!, didChangeUserInterest userInterest: Bool) {
if userInterest == true {
// 1-second exposure of 100% of advertising section by SDK definition
} else {
// exposure of 0% of advertising section by SDK definition
}
}