{"id":15514,"date":"2026-02-20T07:06:14","date_gmt":"2026-02-20T07:06:14","guid":{"rendered":"http:\/\/anurag"},"modified":"2026-06-15T10:28:29","modified_gmt":"2026-06-15T10:28:29","password":"","slug":"unity-plugin-applovin-max","status":"publish","type":"docs","link":"https:\/\/tenjin.com\/vi\/docs\/unity-plugin-applovin-max\/","title":{"rendered":"Plugin Unity \u2013 AppLovin Max"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Tenjin SDK c\u00f3 th\u1ec3 thu th\u1eadp d\u1eef li\u1ec7u doanh thu \u1edf c\u1ea5p \u0111\u1ed9 hi\u1ec3n th\u1ecb qu\u1ea3ng c\u00e1o t\u1eeb AppLovin v\u00e0 g\u1eedi c\u00e1c s\u1ef1 ki\u1ec7n doanh thu \u0111\u1ebfn Tenjin. T\u00edch h\u1ee3p n\u00e0y s\u1ebd g\u1eedi c\u00e1c s\u1ef1 ki\u1ec7n li\u00ean quan \u0111\u1ebfn doanh thu cho m\u1ed7i l\u1ea7n hi\u1ec3n th\u1ecb qu\u1ea3ng c\u00e1o \u0111\u01b0\u1ee3c ph\u00e2n ph\u1ed1i t\u1eeb AppLovin. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e1c b\u01b0\u1edbc \u0111\u1ec3 th\u1ef1c hi\u1ec7n t\u00edch h\u1ee3p:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>C\u00e0i \u0111\u1eb7t SDK AppLovin cho Unity: https:\/\/developers.axon.ai\/en\/max\/unity\/overview\/integration<br><br>Vui l\u00f2ng \u0111\u1ea3m b\u1ea3o r\u1eb1ng b\u1ea1n \u0111\u00e3 c\u00e0i \u0111\u1eb7t phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t c\u1ee7a AppLovin Unity SDK (&gt;AppLovin-MAX-Unity-Plugin-5.1.2-Android-11.1.2-iOS-11.1.1)<br><\/li>\n\n\n\n<li>H\u00e3y chuy\u1ec3n d\u1eef li\u1ec7u doanh thu sang Tenjin b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng \u0111o\u1ea1n m\u00e3 m\u1eabu sau \u0111\u00e2y.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:1.125rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\" data-no-translation=\"\" data-no-auto-translation=\"\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#2e3440ff;font-style:italic;color:#d8dee9ff\"><span style=\"border-bottom:1px solid rgba(201, 218, 248, 0.2)\">C#<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#d8dee9ff;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\" data-no-translation=\"\" data-no-auto-translation=\"\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;System.Serializable&#93;\npublic class AppLovinImpressionData\n{\n    public string creative_id;\n    public string placement;\n    public string format;\n    public string country;\n    public string ad_revenue_currency;\n    public string network_placement;\n    public string revenue_precision;\n    public string ad_unit_id;\n    public double revenue;\n    public string network_name;\n}\n\n\/\/ Attach callbacks based on the ad format(s) you are using\nMaxSdkCallbacks.Interstitial.OnAdRevenuePaidEvent += OnAdRevenuePaidEvent;\nMaxSdkCallbacks.Rewarded.OnAdRevenuePaidEvent += OnAdRevenuePaidEvent;\nMaxSdkCallbacks.Banner.OnAdRevenuePaidEvent += OnAdRevenuePaidEvent;\nMaxSdkCallbacks.MRec.OnAdRevenuePaidEvent += OnAdRevenuePaidEvent;\n\nprivate void OnAdRevenuePaidEvent(string adUnitId, MaxSdk.AdInfo adInfo)\n{\n    \/\/ Create impression data object for serialization\n    var impressionData = new AppLovinImpressionData\n    {\n        creative_id = adInfo.CreativeIdentifier ?? \"\",\n        placement = adInfo.Placement ?? \"\",\n        format = adInfo.AdFormat ?? \"\",\n        country = MaxSdk.GetSdkConfiguration().CountryCode ?? \"\",\n        ad_revenue_currency = \"USD\",\n        network_placement = adInfo.NetworkPlacement ?? \"\",\n        revenue_precision = adInfo.RevenuePrecision ?? \"\",\n        ad_unit_id = adInfo.AdUnitIdentifier ?? \"\",\n        revenue = adInfo.Revenue,\n        network_name = adInfo.NetworkName ?? \"\"\n    };\n\n    \/\/ Convert to JSON string using JsonUtility\n    string jsonString = JsonUtility.ToJson(impressionData);\n\n    \/\/ Send to Tenjin\n    Tenjin.getInstance(\"&lt;SDK_KEY>\").AppLovinImpressionFromJSON(jsonString);\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki nord\" style=\"background-color: #2e3440ff\" tabindex=\"0\" data-no-translation=\"\" data-no-auto-translation=\"\"><code data-no-translation=\"\" data-no-auto-translation=\"\"><span class=\"line\"><span style=\"color: #ECEFF4\">&#91;<\/span><span style=\"color: #D8DEE9FF\">System<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9FF\">Serializable<\/span><span style=\"color: #ECEFF4\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">class<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #8FBCBB\">AppLovinImpressionData<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> creative_id<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> placement<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> format<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> country<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> ad_revenue_currency<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> network_placement<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> revenue_precision<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> ad_unit_id<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">double<\/span><span style=\"color: #D8DEE9FF\"> revenue<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">public<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> network_name<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #616E88\">\/\/ Attach callbacks based on the ad format(s) you are using<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">MaxSdkCallbacks<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">Interstitial<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">MaxSdkCallbacks<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">Rewarded<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">MaxSdkCallbacks<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">Banner<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9\">MaxSdkCallbacks<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">MRec<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">+=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">OnAdRevenuePaidEvent<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #81A1C1\">private<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">void<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #88C0D0\">OnAdRevenuePaidEvent<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> adUnitId<\/span><span style=\"color: #ECEFF4\">,<\/span><span style=\"color: #D8DEE9FF\"> MaxSdk<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9FF\">AdInfo adInfo<\/span><span style=\"color: #ECEFF4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">    <\/span><span style=\"color: #616E88\">\/\/ Create impression data object for serialization<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">var<\/span><span style=\"color: #D8DEE9FF\"> impressionData <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">new<\/span><span style=\"color: #D8DEE9FF\"> AppLovinImpressionData<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #ECEFF4\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">creative_id<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">CreativeIdentifier<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">placement<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">Placement<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">format<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">AdFormat<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">country<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">MaxSdk<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">GetSdkConfiguration<\/span><span style=\"color: #ECEFF4\">().<\/span><span style=\"color: #D8DEE9\">CountryCode<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">ad_revenue_currency<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">USD<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">network_placement<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">NetworkPlacement<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">revenue_precision<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">RevenuePrecision<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">ad_unit_id<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">AdUnitIdentifier<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">revenue<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">Revenue<\/span><span style=\"color: #ECEFF4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">        <\/span><span style=\"color: #D8DEE9\">network_name<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">adInfo<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #D8DEE9\">NetworkName<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #81A1C1\">??<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #ECEFF4\">&quot;&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #ECEFF4\">}<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">    <\/span><span style=\"color: #616E88\">\/\/ Convert to JSON string using JsonUtility<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #81A1C1\">string<\/span><span style=\"color: #D8DEE9FF\"> jsonString <\/span><span style=\"color: #81A1C1\">=<\/span><span style=\"color: #D8DEE9FF\"> <\/span><span style=\"color: #D8DEE9\">JsonUtility<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">ToJson<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #D8DEE9\">impressionData<\/span><span style=\"color: #ECEFF4\">)<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">    <\/span><span style=\"color: #616E88\">\/\/ Send to Tenjin<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D8DEE9FF\">    <\/span><span style=\"color: #D8DEE9\">Tenjin<\/span><span style=\"color: #ECEFF4\">.<\/span><span style=\"color: #88C0D0\">getInstance<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #A3BE8C\">&lt;SDK_KEY&gt;<\/span><span style=\"color: #ECEFF4\">&quot;<\/span><span style=\"color: #ECEFF4\">).<\/span><span style=\"color: #88C0D0\">AppLovinImpressionFromJSON<\/span><span style=\"color: #ECEFF4\">(<\/span><span style=\"color: #D8DEE9\">jsonString<\/span><span style=\"color: #ECEFF4\">)<\/span><span style=\"color: #81A1C1\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ECEFF4\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph translation-block\">D\u01b0\u1edbi \u0111\u00e2y l\u00e0 m\u1ed9t v\u00ed d\u1ee5 v\u1ec1 vi\u1ec7c nh\u1eadp d\u1eef li\u1ec7u doanh thu theo m\u1ee9c hi\u1ec3n th\u1ecb t\u1eeb AppLovin. <strong>\u0110\u1ed1i v\u1edbi tham s\u1ed1 doanh thu, h\u00e3y s\u1eed d\u1ee5ng ki\u1ec3u double, kh\u00f4ng ph\u1ea3i ki\u1ec3u string<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Tham s\u1ed1<\/th><th>C\u00f3 b\u1eaft bu\u1ed9c kh\u00f4ng?<\/th><th>V\u00ed d\u1ee5<\/th><\/tr><\/thead><tbody><tr><td>creative_id<\/td><td>Kh\u00f4ng<\/td><td>2813803997<\/td><\/tr><tr><td>v\u1ecb tr\u00ed<\/td><td>Kh\u00f4ng<\/td><td>banner qu\u1ea3ng c\u00e1o<\/td><\/tr><tr><td>\u0111\u1ecbnh d\u1ea1ng<\/td><td>Kh\u00f4ng<\/td><td>BANNER<\/td><\/tr><tr><td>qu\u1ed1c gia<\/td><td>Kh\u00f4ng<\/td><td>DE<\/td><\/tr><tr><td>\u0111\u01a1n v\u1ecb ti\u1ec1n t\u1ec7 doanh thu qu\u1ea3ng c\u00e1o<\/td><td>Kh\u00f4ng<\/td><td>USD<\/td><\/tr><tr><td>v\u1ecb tr\u00ed_m\u1ea1ng<\/td><td>Kh\u00f4ng<\/td><td>banner_th\u00f4ng th\u01b0\u1eddng<\/td><\/tr><tr><td>\u0111\u1ed9 ch\u00ednh x\u00e1c doanh thu<\/td><td>Kh\u00f4ng<\/td><td>ch\u00ednh x\u00e1c<\/td><\/tr><tr><td>ad_unit_id<\/td><td>Kh\u00f4ng<\/td><td>a7d1aa174c93c716<\/td><\/tr><tr><td>doanh thu<\/td><td>C\u00f3<\/td><td>4.7455200000000006E-5<\/td><\/tr><tr><td>t\u00ean_m\u1ea1ng<\/td><td>C\u00f3<\/td><td>APPLOVIN_EXCHANGE<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">reference: https:\/\/developers.axon.ai\/en\/max\/unity\/overview\/advanced-settings\/#impression-level-user-revenue-api<\/p>","protected":false},"excerpt":{"rendered":"<p>The Tenjin SDK can listen to AppLovin impression level revenue data and send revenue events to Tenjin. This integration will send revenue related for each ad impression served from AppLovin. Here are the steps to integrate: Here is an example impression level revenue data entry from AppLovin. For a revenue parameter, use double type, not&#8230;<\/p>","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[232],"glossaries":[],"doc_tag":[],"class_list":["post-15514","docs","type-docs","status-publish","hentry","doc_category-applovin-max"],"acf":[],"year_month":"2026-07","word_count":441,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Anurag","author_nicename":"anurag","author_url":"https:\/\/tenjin.com\/vi\/blog\/author\/anurag\/"},"doc_category_info":[{"term_name":"Applovin MAX","term_url":"https:\/\/tenjin.com\/vi\/docs\/category\/applovin-max\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Unity Plugin - AppLovin Max | Tenjin<\/title>\n<meta name=\"description\" content=\"Follow this guide to integrate AppLovin MAX with the Tenjin Unity SDK for attribution, ad revenue tracking, and analytics.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tenjin.com\/vi\/docs\/unity-plugin-applovin-max\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity Plugin - AppLovin Max | Tenjin\" \/>\n<meta property=\"og:description\" content=\"Follow this guide to integrate AppLovin MAX with the Tenjin Unity SDK for attribution, ad revenue tracking, and analytics.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tenjin.com\/vi\/docs\/unity-plugin-applovin-max\/\" \/>\n<meta property=\"og:site_name\" content=\"Tenjin\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T10:28:29+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@TenjinMMP\" \/>\n<meta name=\"twitter:label1\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/\"},\"author\":{\"name\":\"anurag\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/person\\\/e039df04bf002f4a0825fce9d6d5f13b\"},\"headline\":\"Unity Plugin &#8211; AppLovin Max\",\"datePublished\":\"2026-02-20T07:06:14+00:00\",\"dateModified\":\"2026-06-15T10:28:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/\"},\"wordCount\":158,\"publisher\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\"},\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/\",\"url\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/\",\"name\":\"Unity Plugin - AppLovin Max | Tenjin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#website\"},\"datePublished\":\"2026-02-20T07:06:14+00:00\",\"dateModified\":\"2026-06-15T10:28:29+00:00\",\"description\":\"Follow this guide to integrate AppLovin MAX with the Tenjin Unity SDK for attribution, ad revenue tracking, and analytics.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/unity-plugin-applovin-max\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tenjin.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/tenjin.com\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Unity Plugin &#8211; AppLovin Max\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#website\",\"url\":\"https:\\\/\\\/tenjin.com\\\/\",\"name\":\"Tenjin\",\"description\":\"Growth Made Simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\"},\"alternateName\":\"Tenjin - Mobile Measurement Partner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tenjin.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#organization\",\"name\":\"Tenjin\",\"url\":\"https:\\\/\\\/tenjin.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tenjin.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/images.webp\",\"contentUrl\":\"https:\\\/\\\/tenjin.com\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/images.webp\",\"width\":429,\"height\":117,\"caption\":\"Tenjin\"},\"image\":{\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/TenjinMMP\",\"https:\\\/\\\/www.youtube.com\\\/@TenjinMMP\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/tenjin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tenjin.com\\\/#\\\/schema\\\/person\\\/e039df04bf002f4a0825fce9d6d5f13b\",\"name\":\"anurag\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g\",\"caption\":\"anurag\"},\"url\":\"https:\\\/\\\/tenjin.com\\\/vi\\\/blog\\\/author\\\/anurag\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Plugin Unity - AppLovin Max | Tenjin","description":"H\u00e3y l\u00e0m theo h\u01b0\u1edbng d\u1eabn n\u00e0y \u0111\u1ec3 t\u00edch h\u1ee3p AppLovin MAX v\u1edbi Tenjin Unity SDK nh\u1eb1m ph\u1ee5c v\u1ee5 cho vi\u1ec7c x\u00e1c \u0111\u1ecbnh ngu\u1ed3n g\u1ed1c, theo d\u00f5i doanh thu qu\u1ea3ng c\u00e1o v\u00e0 ph\u00e2n t\u00edch d\u1eef li\u1ec7u.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tenjin.com\/vi\/docs\/unity-plugin-applovin-max\/","og_locale":"vi_VN","og_type":"article","og_title":"Unity Plugin - AppLovin Max | Tenjin","og_description":"Follow this guide to integrate AppLovin MAX with the Tenjin Unity SDK for attribution, ad revenue tracking, and analytics.","og_url":"https:\/\/tenjin.com\/vi\/docs\/unity-plugin-applovin-max\/","og_site_name":"Tenjin","article_modified_time":"2026-06-15T10:28:29+00:00","twitter_card":"summary_large_image","twitter_site":"@TenjinMMP","twitter_misc":{"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"1 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/#article","isPartOf":{"@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/"},"author":{"name":"anurag","@id":"https:\/\/tenjin.com\/#\/schema\/person\/e039df04bf002f4a0825fce9d6d5f13b"},"headline":"Unity Plugin &#8211; AppLovin Max","datePublished":"2026-02-20T07:06:14+00:00","dateModified":"2026-06-15T10:28:29+00:00","mainEntityOfPage":{"@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/"},"wordCount":158,"publisher":{"@id":"https:\/\/tenjin.com\/#organization"},"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/","url":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/","name":"Plugin Unity - AppLovin Max | Tenjin","isPartOf":{"@id":"https:\/\/tenjin.com\/#website"},"datePublished":"2026-02-20T07:06:14+00:00","dateModified":"2026-06-15T10:28:29+00:00","description":"H\u00e3y l\u00e0m theo h\u01b0\u1edbng d\u1eabn n\u00e0y \u0111\u1ec3 t\u00edch h\u1ee3p AppLovin MAX v\u1edbi Tenjin Unity SDK nh\u1eb1m ph\u1ee5c v\u1ee5 cho vi\u1ec7c x\u00e1c \u0111\u1ecbnh ngu\u1ed3n g\u1ed1c, theo d\u00f5i doanh thu qu\u1ea3ng c\u00e1o v\u00e0 ph\u00e2n t\u00edch d\u1eef li\u1ec7u.","breadcrumb":{"@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/tenjin.com\/docs\/unity-plugin-applovin-max\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tenjin.com\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/tenjin.com\/docs\/"},{"@type":"ListItem","position":3,"name":"Unity Plugin &#8211; AppLovin Max"}]},{"@type":"WebSite","@id":"https:\/\/tenjin.com\/#website","url":"https:\/\/tenjin.com\/","name":"Th\u1ea7n Tenjin","description":"Ph\u00e1t tri\u1ec3n \u0111\u01a1n gi\u1ea3n","publisher":{"@id":"https:\/\/tenjin.com\/#organization"},"alternateName":"Tenjin - Mobile Measurement Partner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tenjin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/tenjin.com\/#organization","name":"Th\u1ea7n Tenjin","url":"https:\/\/tenjin.com\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/tenjin.com\/#\/schema\/logo\/image\/","url":"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/04\/images.webp","contentUrl":"https:\/\/tenjin.com\/wp-content\/uploads\/2026\/04\/images.webp","width":429,"height":117,"caption":"Tenjin"},"image":{"@id":"https:\/\/tenjin.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/TenjinMMP","https:\/\/www.youtube.com\/@TenjinMMP","https:\/\/www.linkedin.com\/company\/tenjin"]},{"@type":"Person","@id":"https:\/\/tenjin.com\/#\/schema\/person\/e039df04bf002f4a0825fce9d6d5f13b","name":"Anurag","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dc89d050d7f8053be5b8856ebaaabf82adb98e0ea57d1579b8397fb09de189c8?s=96&d=mm&r=g","caption":"anurag"},"url":"https:\/\/tenjin.com\/vi\/blog\/author\/anurag\/"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/docs\/15514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/comments?post=15514"}],"version-history":[{"count":3,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/docs\/15514\/revisions"}],"predecessor-version":[{"id":16156,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/docs\/15514\/revisions\/16156"}],"wp:attachment":[{"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/media?parent=15514"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/doc_category?post=15514"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/glossaries?post=15514"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/tenjin.com\/vi\/wp-json\/wp\/v2\/doc_tag?post=15514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}