lpw
2 days ago 1e5242aa56dd1c52c537335ee56d7127d09b24de
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
//  GADRequestError.h
//  Google Mobile Ads SDK
//
//  Copyright 2011 Google LLC. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>
 
/// Google AdMob Ads error domain.
FOUNDATION_EXPORT NSErrorDomain _Nonnull const GADErrorDomain;
 
/// NSError codes for GAD error domain.
typedef NS_ERROR_ENUM(GADErrorDomain, GADErrorCode){
    /// The ad request is invalid. The localizedFailureReason error description will have more
    /// details. Typically this is because the ad did not have the ad unit ID or root view
    /// controller set.
    GADErrorInvalidRequest = 0,
 
    /// The ad request was successful, but no ad was returned.
    GADErrorNoFill = 1,
 
    /// There was an error loading data from the network.
    GADErrorNetworkError = 2,
 
    /// The ad server experienced a failure processing the request.
    GADErrorServerError = 3,
 
    /// The current device's OS is below the minimum required version.
    GADErrorOSVersionTooLow = 4,
 
    /// The request was unable to be loaded before being timed out.
    GADErrorTimeout = 5,
 
    /// The mediation response was invalid.
    GADErrorMediationDataError = 7,
 
    /// Error finding or creating a mediation ad network adapter.
    GADErrorMediationAdapterError = 8,
 
    /// Attempting to pass an invalid ad size to an adapter.
    GADErrorMediationInvalidAdSize = 10,
 
    /// Internal error.
    GADErrorInternalError = 11,
 
    /// Invalid argument error.
    GADErrorInvalidArgument = 12,
 
    /// Will not send request because the ad object has already been used.
    GADErrorAdAlreadyUsed = 19,
 
    /// Will not send request because the application identifier is missing.
    GADErrorApplicationIdentifierMissing = 20,
 
    /// Received invalid ad string.
    GADErrorReceivedInvalidAdString = 21,
} NS_SWIFT_NAME(RequestError);