reportRevenueData static method

Future<bool> reportRevenueData(
  1. CloudXRevenueData data
)

Reports impression-level revenue the app observed from another mediation platform, so CloudX learns what that demand actually paid.

Forwarding Google paid events is a required part of the AdMob / Ad Manager Trusted Arbiter integration: it is how CloudX prices the next CloudXArbiterBid.adMob for that ad unit. Returns true when the SDK accepted the data and false when it was dropped (SDK not initialized, blank platform, non-finite revenue).

Implementation

static Future<bool> reportRevenueData(CloudXRevenueData data) async {
  return await _invokeMethod<bool>('reportRevenueData', data.toMap()) ??
      false;
}