commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADPresentError.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2019 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <Foundation/Foundation.h> |
|
9 |
|
|
10 |
/// Error codes in the Google Mobile Ads SDK domain that surface due to errors when attempting to |
|
11 |
/// present an ad. |
|
12 |
typedef NS_ENUM(NSInteger, GADPresentationErrorCode) { |
|
13 |
|
|
14 |
/// Ad isn't ready to be shown. |
|
15 |
GADPresentationErrorCodeAdNotReady = 15, |
|
16 |
|
|
17 |
/// Ad is too large for the scene. |
|
18 |
GADPresentationErrorCodeAdTooLarge = 16, |
|
19 |
|
|
20 |
/// Internal error. |
|
21 |
GADPresentationErrorCodeInternal = 17, |
|
22 |
|
|
23 |
/// Ad has already been used. |
|
24 |
GADPresentationErrorCodeAdAlreadyUsed = 18, |
|
25 |
|
|
26 |
/// Attempted to present ad from a non-main thread. |
|
27 |
GADPresentationErrorNotMainThread = 21, |
|
28 |
|
|
29 |
/// A mediation ad network adapter failed to present the ad. The adapter's error is included as an |
|
30 |
/// underlyingError. |
|
31 |
GADPresentationErrorMediation = 22, |
|
32 |
}; |