There isn't an out-of-the-box solution for tracking Ad revenue, but you can record a standard adImpression event in your client code each time an Ad is shown. Some Ad providers and mediation SDKs can provide an estimate of impression value at run-time. If this is available you can use it to populate the adEcpmUsd parameter on the adImpression event.
For more information, see documentation on Unity Analytics.