lpw
2 days ago 7c666378d77fc1746cb089c273a4bacfad995356
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
//  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);