# Three In-Game Experiences Powered by Almedia Link Source: https://almedia-c3396e23.mintlify.app/overview/experiences Link, Rewarded Progression, and Offers — the three native in-game surfaces Almedia Link adds for players and publishers, without leaving the game. Almedia Link adds three native in-game surfaces. Each one is designed to feel like it belongs in the game — not like a third-party widget. The player never leaves the app: the linking flow runs in a secure native webview, and the reward hub and offers catalog open in the same way. A native popup invites the player to link their Freecash account. The offer is clear and concrete: a sign-up bonus on Freecash **plus** an in-game reward set by the publisher. Colors, copy, and CTA label are all configurable via **Almedia → Settings** in Unity — no code changes required, and no Prefab Variant needed for text and color adjustments. The linking flow itself runs in a secure native webview; the SDK manages the browser surface entirely. When the player completes linking, `OnLinkCompleted` fires on the Unity main thread — use it for celebration UX, a one-time analytics event, or unlocking a tutorial step. The `LinkButton` prefab handles the full flow automatically: it shows when the player is eligible, opens the popup on tap, and hides itself once the player has linked. Drop it into a Canvas and you're done. The Reward Hub is a native in-game screen that shows linked players what they've earned on Freecash and what's coming next — without ever leaving the game. It's a webview surface managed by the SDK, opened with a single call: ```csharp theme={null} AlmediaLinkSDK.ShowRewardHub(); ``` Alternatively, use the bundled `LinkButton` prefab — once a player is linked, the same button automatically routes to the Reward Hub instead of the linking popup. No branching logic in your code. The Reward Hub cuts churn by keeping engaged, linked players informed about their progress. Players who can see their earnings have a reason to return. The Offers screen is the paid-action catalog: linked players complete tasks — install other games, reach milestones, hit spending thresholds — to earn more rewards on Freecash. This is the main driver of ongoing CPA revenue for publishers. Open it with: ```csharp theme={null} AlmediaLinkSDK.ShowOffer(); ``` Offer availability is transient — an offer that exists now may be gone after the next sync, and new ones can appear. The call is always safe: when no offer is available, it no-ops and logs the reason. Don't cache availability state; let the SDK handle the routing. ## Lifecycle summary All three surfaces fire `OnScreenPresented` when they open and `OnScreenDismissed` when they close. Wire these two events to pause and resume your game — the SDK guarantees a matched pair for every screen that actually appears. A call that opens nothing (wrong state, no offer available, another screen already open) fires neither event. How CPA revenue flows from offers completions to your publisher account. Install the SDK, add your key, and drop a prefab — 15 minutes to first link. # Get Started with Almedia Link: First Link in 15 Minutes Source: https://almedia-c3396e23.mintlify.app/overview/get-started Fastest path from zero to a working Almedia Link integration — install the SDK, add your key, drop a prefab. Agent-friendly. Done in 15 minutes. This is the fastest path to a working Almedia Link integration. You need a Unity project (2022.3 LTS or later) and an integration key from your Almedia integration manager. A coding agent can complete this integration using the SDK repo and the key alone — no other context required. **Agent-friendly path:** hand this page plus the SDK repo URL (`https://github.com/almedia-tm/almedia-link-sdk`) and your integration key to a coding agent. It can complete the integration from those two inputs. Contact your Almedia integration manager. They issue a separate key for iOS and a separate key for Android — you need both if you're shipping on both platforms. Store keys securely. The `AlmediaLinkSettings.asset` file that holds them is committed to your project by default — treat it as semi-sensitive and do not push it to a public repo. In Unity: **Window → Package Manager → + → Add package from Git URL**. Paste: ``` https://github.com/almedia-tm/almedia-link-sdk.git ``` To pin a specific version, append `#vX.Y.Z`: ``` https://github.com/almedia-tm/almedia-link-sdk.git#v1.1.4 ``` After the package imports, open **Almedia → Settings** and enter your iOS and Android integration keys in the **SDK Configuration** section. The `AlmediaLinkSettings.asset` is created automatically on first import — you'll see it at `Assets/AlmediaLink/Resources/`. Create a MonoBehaviour that calls `AlmediaLinkSDK.Initialize` in `Awake`. Subscribe to events before calling `Initialize` so you don't miss the first `OnStatusChanged` transition. ```csharp AlmediaBootstrap.cs theme={null} using UnityEngine; using AlmediaLink; using AlmediaLink.Models; public class AlmediaBootstrap : MonoBehaviour { void Awake() { AlmediaLinkSDK.OnStatusChanged += status => Debug.Log($"Almedia status: {status}"); AlmediaLinkSDK.OnLinkCompleted += linkedAt => Debug.Log($"Linked at {linkedAt}"); AlmediaLinkSDK.OnErrorOccurred += err => Debug.LogError($"Almedia error: {err.Code}"); AlmediaLinkSDK.Initialize(new AlmediaLinkConfig { // Android requires at least one of: Gaid, Asid, Oaid, AdjustDeviceId, AppsFlyerId Gaid = "YOUR_GAID", Idfa = "YOUR_IDFA", }); } } ``` Integration keys are read from **Almedia → Settings** automatically — you don't need to pass them in code unless you want a runtime override. Supply the advertising identifiers (`Gaid`, `Idfa`, etc.) from wherever your project resolves them. On Android, at least one device/advertising ID is required for initialization to succeed. Drag one of the four `LinkButton` prefabs — `LinkButtonA`, `LinkButtonB`, `LinkButtonC`, or `LinkButtonD` — from `Packages/com.almedia.link/Runtime/Resources/Prefabs/` into a Canvas in your scene. The button manages itself: it appears automatically when the player is eligible to link, routes to the Reward Hub once they're linked, and hides in every other state. No code wiring required. Press **Play** to test it in the editor. The editor runs a mock bridge automatically — you'll see the full linking flow, status transitions, and reward notifications without a device build. To test non-happy paths (blocked users, network failures, empty notification batches), use `AlmediaLinkEditorMock` in play-mode tests. iOS ATT, Android Gradle deps, notification customization, error handling, and troubleshooting. Every public type, method, event, and settings field in the SDK. # How Almedia Link Revenue Works for Publishers — CPA Model Source: https://almedia-c3396e23.mintlify.app/overview/how-revenue-works Publishers earn a share of CPA revenue from linked, engaged players. A factual breakdown of the revenue flow, key metrics, and what drives your results. When a player links their Freecash account and completes paid actions in the Offers catalog, Almedia earns CPA revenue from the advertisers paying for those completions. Publishers receive a share of that revenue. The linking event is the qualifying gate, and everything downstream depends on it. ## The revenue flow ### The player links The player taps the Link button, connects their Freecash account, and claims their sign-up bonus. This is the one-time qualifying event. No link, no revenue, which is why link rate is the primary lever to optimize. ### The player completes offers The linked player works through the Offers catalog: installing other games, reaching progression milestones, hitting spend targets. Each completion triggers a CPA payment from the advertiser to Almedia. ### The publisher earns The publisher receives a share of the CPA revenue generated by their linked, engaged players. The exact revenue-share rate is agreed with your Almedia integration manager and is not published here. Contact them directly for your rate. ### The player gets a reward notification As earnings arrive, linked players receive in-game reward notifications via the SDK's notification system. Seeing rewards land keeps players engaged and coming back, which drives more offer completions. ## Key metrics Across the publisher network, roughly 1 in 7 players who see the link prompt connect their Freecash account. Linked players show measurably higher retention and engagement compared to unlinked players in the same cohort. These figures are averages across the publisher network. Your results will vary based on game genre, audience demographics, and integration quality: specifically how prominently the Link button is surfaced, and how early in the player lifecycle it appears. ## What affects revenue Three variables move the needle: **link rate** (how many eligible players actually connect their account), **offer engagement** (how actively linked players work through the catalog), and **player quality** (the audience's propensity to complete paid tasks). Integration decisions (where the Link button appears, when in the session it's shown, how the in-game reward is positioned) directly affect the first two. The third is a function of your game's genre and audience. Prerequisites, integration key setup, and what to expect from onboarding. Fastest path from zero to a working Almedia Link integration. # The Rewarded Link That Pays Off in 15 Minutes | Almedia Source: https://almedia-c3396e23.mintlify.app/overview/index Almedia Link turns players into earners — real cash, gift cards, and in-game rewards for one account link, with a measurable LTV lift for publishers. Almedia Link turns players into earners — real cash, gift cards, and in-game rewards for one account link. Publishers see an average 15% install-to-link rate and a 10%+ LTV lift for linked users. The SDK drops into any Unity game in about 15 minutes, without changing the game economy or existing UI. **15 minutes to first link.** The integration is designed to be fast. A coding agent can complete it using the SDK repo plus an integration key — no other context required. Across the publisher network, roughly 1 in 7 players who see the link prompt connect their Freecash account. Linked players show higher retention and spend more time in-game as they work through the offers catalog. Requirements, keys, approval, and what to expect before you go live. Browse the source, pin a release version, and read the changelog. ## What's in these docs The one-sentence version, the architecture, and what the SDK is not. Link, Rewarded Progression, and Offers — the three native in-game surfaces. The CPA revenue flow, key metrics, and what drives your share. ```text theme={null} ``` # What Is Almedia Link? Rewarded UA for Mobile Games Source: https://almedia-c3396e23.mintlify.app/overview/what-is-almedia-link Almedia Link adds one rewarded action — linking a Freecash account — to any Unity game, without touching the game economy or existing UI. Almedia Link is a lightweight Unity SDK that adds exactly one rewarded action to a mobile game: linking the player's Freecash account from inside the game. Players earn real rewards for linking and for completing offers afterward. Publishers earn a share of the CPA revenue those completions generate. The SDK doesn't require changing the game economy or UI — it drops in alongside whatever the game already does. ## One action, three outcomes A themable native popup invites the player to connect their Freecash account and claim a sign-up bonus. Linked players see what they've earned and what's next — an in-game earnings view that keeps them engaged. A post-link catalog of paid actions (install games, reach milestones) that drives ongoing CPA revenue. ## How it fits in The SDK is a Unity UPM package (iOS and Android) with zero third-party runtime dependencies on the Unity side. Installation takes a single Git URL in the Package Manager. After that: open **Almedia → Settings**, enter your iOS and Android integration keys, and drop one of the four bundled `LinkButton` prefabs into a Canvas. That's the entire mechanical surface — one settings window, one prefab, one `Initialize` call. ## What it is not Almedia Link is not a full offerwall, not an ad network, and not a replacement for the game's own monetization. It adds one rewarded action on top of what already exists — the link. Everything else (the offers catalog, reward notifications, the progression view) flows from that single linking event. Exactly what Link, Rewarded Progression, and Offers look and feel like for the player. How CPA revenue flows from linked players to publishers, step by step. # link-best-practices Source: https://almedia-c3396e23.mintlify.app/publisher/link-best-practices Pop-up placement, pop-up design, homescreen icon, post-link user flow and a checklist for a high install-to-link rate. Almedia Link is Freecash account linking for mobile games. This guide covers the patterns behind a high install-to-link rate and a clear lift in LTV for linked users: pop-up placement, pop-up design, homescreen icon, the post-link user flow, and a full checklist you can audit against.