AMAMutableAdRevenueInfo class

The mutable version of the AMAAdRevenueInfo class with information about advertising revenue.

The AMAMutableAdRevenueInfo instance should be passed to the AppMetrica server using the reportAdRevenue method of the AMAAppMetrica class.

Properties

adType

Ad type. See possible values in AMAAdType.

adNetwork

Advertising network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adUnitID

Ad unit ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adUnitName

Ad unit name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adPlacementID

Ad placement ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adPlacementName

Ad placement 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 or 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 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.

Property descriptions

adType

(nonatomic, assign) AMAAdType adType

Ad type. See possible values in AMAAdType.

adNetwork

(nonatomic, copy, nullable) NSString *adNetwork

Yandex Advertising Network. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adUnitID

(nonatomic, copy, nullable) NSString *adUnitID

Ad unit ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adUnitName

(nonatomic, copy, nullable) NSString *adUnitName

Ad unit name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adPlacementID

(nonatomic, copy, nullable) NSString *adPlacementID

Ad placement ID. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

adPlacementName

(nonatomic, copy, nullable) NSString *adPlacementName

Ad placement name. The maximum length is 100 characters. If the value exceeds this limit, it will be truncated by AppMetrica.

precision

(nonatomic, copy, nullable) NSString *precision

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

(nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *payload

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.