AI-generated Key Takeaways
-
GADAdValuePrecision
is an enum defining the level of accuracy for an ad's value. -
It includes four precision levels:
Unknown
,Estimated
,PublisherProvided
, andPrecise
. -
These levels indicate whether the value is unknown, estimated, provided by the publisher, or the exact price paid.
-
Developers can use this enum to understand the reliability of the ad value they receive.
GADAdValuePrecision
NS_ENUM(NSInteger, GADAdValuePrecision) {
/// An ad value with unknown precision.
GADAdValuePrecisionUnknown = 0,
/// An ad value estimated from aggregated data.
GADAdValuePrecisionEstimated = 1,
/// A publisher-provided ad value, such as manual CPMs in a mediation group.
GADAdValuePrecisionPublisherProvided = 2,
/// The precise value paid for this ad.
GADAdValuePrecisionPrecise = 3
}
Undocumented
-
An ad value with unknown precision.
Declaration
Swift
case unknown = 0
Objective-C
GADAdValuePrecisionUnknown = 0
-
An ad value estimated from aggregated data.
Declaration
Swift
case estimated = 1
Objective-C
GADAdValuePrecisionEstimated = 1
-
A publisher-provided ad value, such as manual CPMs in a mediation group.
Declaration
Swift
case publisherProvided = 2
Objective-C
GADAdValuePrecisionPublisherProvided = 2
-
The precise value paid for this ad.
Declaration
Swift
case precise = 3
Objective-C
GADAdValuePrecisionPrecise = 3