//
|
// GADPresentationError.h
|
// Google Mobile Ads SDK
|
//
|
// Copyright 2019 Google LLC. All rights reserved.
|
//
|
|
#import <Foundation/Foundation.h>
|
#import <GoogleMobileAds/GADRequestError.h>
|
|
/// Error codes in the Google Mobile Ads SDK domain that surface due to errors when attempting to
|
/// present an ad.
|
typedef NS_ERROR_ENUM(GADErrorDomain, GADPresentationErrorCode){
|
|
/// Ad isn't ready to be shown.
|
GADPresentationErrorCodeAdNotReady = 15,
|
|
/// Ad is too large for the scene.
|
GADPresentationErrorCodeAdTooLarge = 16,
|
|
/// Internal error.
|
GADPresentationErrorCodeInternal = 17,
|
|
/// Ad has already been used.
|
GADPresentationErrorCodeAdAlreadyUsed = 18,
|
|
/// Attempted to present ad from a non-main thread.
|
GADPresentationErrorNotMainThread = 21,
|
|
/// A mediation ad network adapter failed to present the ad. The adapter's
|
/// error is included as an underlyingError.
|
GADPresentationErrorMediation = 22,
|
} NS_SWIFT_NAME(PresentationError);
|