Created
June 10, 2015 20:31
-
-
Save ydn/712b72084108e4f5a71f to your computer and use it in GitHub Desktop.
Flurry Native Ad integration callbacks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController, FlurryAdNativeDelegate { | |
// For instance, the two most frequently used callbacks are: | |
func adNativeDidFetchAd(nativeAd: FlurryAdNative!){ | |
// The SDK returns this callback for every instance of the native ad fetched | |
// The FlurryAd object contains all of the ad assets | |
} | |
// Informational callback invoked when there is an ad error | |
func adNative(nativeAd: FlurryAdNative!, adError: FlurryAdError, errorDescription: NSError!){ | |
// The SFK returns this callback for every failed attempt to fetch a native ad | |
// The nativeAd object contains no assets | |
// The error provides further info on why the request failed | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment