Skip to content

Commit

Permalink
AdRevenue - fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
dori-af committed Sep 19, 2024
1 parent b2018d8 commit c080f5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/ad-revenue-unity.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ When an impression with revenue occurs, invoke the [`logAdRevenue`](doc:api#loga

```c#
Dictionary<string, string> additionalParams = new Dictionary<string, string>();
additionalParams.Add("value1", "5");
additionalParams.Add(AdRevenueScheme.COUNTRY, "USA");
additionalParams.Add(AFAdRevenueEvent.AD_UNIT, "89b8c0159a50ebd1");
additionalParams.Add(AFAdRevenueEvent.AD_TYPE, "Banner");
additionalParams.Add(AFAdRevenueEvent.PLACEMENT, "place");
var logRevenue = new AFAdRevenueData("monetizationNetworkEx", MediationNetwork.GoogleAdMob, "USD", 0.99);
AppsFlyer.logAdRevenue(logRevenue, parameters);
AppsFlyer.logAdRevenue(logRevenue, additionalParams);
```

> 📘 Note
Expand Down Expand Up @@ -130,7 +129,7 @@ Send ad revenue data from the impression payload to AppsFlyer regardless of the
| mediationNetwork | AppsFlyerAdRevenueMediationNetworkType | Enum for mediaton network type |
| eventRevenue | string | event revenue |
| revenueCurrency | string | revenue currency |
| additionalParameters | Dictionary\<string, string> | Any custom additional parameters |
| additionalParameters | Dictionary<string, string> | Any custom additional parameters |
| | | |

_Example:_
Expand Down

0 comments on commit c080f5c

Please sign in to comment.