MutableAdRevenueInfo class
The mutable version of the AdRevenueInfo class with information about advertising revenue.
The instance of the MutableAdRevenueInfo
class should be passed to the AppMetrica server using the reportAdRevenue method of the AppMetrica class.
Properties
Ad type. See possible values in AdType. |
|
Advertising network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
|
Ad unit ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
|
Ad unit name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
|
Ad placement ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
|
Ad placement name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
|
Accuracy. For example, |
|
Accuracy. For example, |
Property descriptions
adType
var adType: AdType
Ad type. See possible values in AdType.
adNetwork
var adNetwork: String?
Yandex Advertising Network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adUnitID
var adUnitID: String?
Ad unit ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adUnitName
var adUnitName: String?
Ad unit name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adPlacementID
var adPlacementID: String?
Ad placement ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adPlacementName
var adPlacementName: String?
Ad placement name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
precision
var precision: String?
Accuracy. For example, publisher_defined
or estimated
. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
payload
var payload: [String: String]?
Accuracy. For example, publisher_defined
or estimated
. Arbitrary payload: Additional information presented as key-value pairs. The maximum size is 30 KB. If the value exceeds this limit, it will be truncated by AppMetrica.