YMMMutableAdRevenueInfo class
The mutable version of the YMMAdRevenueInfo class with information about advertising revenue.
The YMMMutableAdRevenueInfo
instance should be passed to the AppMetrica server using the reportAdRevenue method of the YMMYandexMetrica class.
Properties
adType | Ad type. See possible values in YMMAAdType. |
adNetwork | Yandex Advertising Network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adUnitID | Ad block ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adUnitName | Ad block name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adPlacementID | Ad display location ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adPlacementName | Ad display location name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
precision | Accuracy. For example: “publisher_defined”, “estimated”. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
payload | Accuracy. For example: “publisher_defined”, “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. |
adType | Ad type. See possible values in YMMAAdType. |
adNetwork | Yandex Advertising Network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adUnitID | Ad block ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adUnitName | Ad block name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adPlacementID | Ad display location ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
adPlacementName | Ad display location name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
precision | Accuracy. For example: “publisher_defined”, “estimated”. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica. |
payload | Accuracy. For example: “publisher_defined”, “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. |
Property descriptions
adType
var adType: YMMAdType
Ad type. See possible values in YMMAAdType.
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 block ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adUnitName
var adUnitName: String
Ad block name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adPlacementID
var adPlacementID: String
Ad display location ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.
adPlacementName
var adPlacementName: String
Ad display location 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”, “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”, “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.