Skip to content

Commit

Permalink
Merge pull request #310 from dori-af/dori/ad-revenue-example
Browse files Browse the repository at this point in the history
Ad revenue - changed code example to AFAdRevenueScheme
  • Loading branch information
af-vero authored Oct 27, 2024
2 parents 5df086f + d8b3034 commit 0b5f6ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ad-revenue-unity.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ When an impression with revenue occurs, invoke the [`logAdRevenue`](doc:api#loga
```c#
Dictionary<string, string> additionalParams = new Dictionary<string, string>();
additionalParams.Add(AdRevenueScheme.COUNTRY, "USA");
additionalParams.Add(AFAdRevenueEvent.AD_UNIT, "89b8c0159a50ebd1");
additionalParams.Add(AFAdRevenueEvent.AD_TYPE, "Banner");
additionalParams.Add(AFAdRevenueEvent.PLACEMENT, "place");
additionalParams.Add(AdRevenueScheme.AD_UNIT, "89b8c0159a50ebd1");
additionalParams.Add(AdRevenueScheme.AD_TYPE, "Banner");
additionalParams.Add(AdRevenueScheme.PLACEMENT, "place");
var logRevenue = new AFAdRevenueData("monetizationNetworkEx", MediationNetwork.GoogleAdMob, "USD", 0.99);
AppsFlyer.logAdRevenue(logRevenue, additionalParams);
```
Expand Down

0 comments on commit 0b5f6ef

Please sign in to comment.