Ad Revenue Callbacks
Appodeal SDK allows you to get impression-level revenue data with Ad Revenue Callbacks. This data includes information about network name, revenue, ad type, etc.
The impression-level ad revenue data can be used then to share with your mobile measurement partner of choice, such as Firebase, for all supported networks.
- Appodeal SDK 3.0.1+
- Subscribe to the Ad Revenue event using one of the options from this guide.
- You can use callbacks as shown below after:
Appodeal Ad Revenue Description
AppodealAdRevenue - represents revenue information from the ad network.
|The name of the ad network.|
|DemandSource||String||The demand source name and bidder name in case of impression from real-time bidding.|
|AdUnitName||String||Unique ad unit name.|
|Placement||String||Appodeal's placement name.|
|Revenue||Double||The ad's revenue amount or 0 if it doesn't exist.|
|AdType||String||Appodeal's ad type as string presentation.|
|Currency||String||Current currency supported by Appodeal (USD) as string presentation.|
the revenue precision, which can be:
If you have integrated analytics for example Firebase using this guide with Appodeal, then no additional steps are required.
In case you are using your own analytics in the project, please find the example below: