# Indie Ad Network > Rewarded and interstitial ads for indie games, shown inside other indie games: studios that know each other swap ads. The SDK is open source (MIT), for Unity and for Capacitor or web games, and plays videos and playable ads from the device. It reads no advertising id and keeps no profile of a player. You are putting the Indie Ads SDK (v0.6.18) into a game. Do these in order. ## 1. Ask the developer, before writing code - **The game's id on the network** (the `host`): a short name such as `mygame`, shown in their dashboard (https://indieadnetwork.com/dashboard) under the game's name. Don't invent one. With no id yet, they sign up at https://indieadnetwork.com/#signup and are emailed a sign-in; say so, and stop there or carry on with a placeholder they agree to. - **The placements**: each place in the game an ad may appear. For each: a name (`FreeCoins`), whether it is rewarded (the player chooses to watch, and gets something) or an interstitial (between levels, no reward), and for a rewarded one what the player gets. - **The game's age rating** on the stores (`4+`, `9+`, `12+`, `17+`): nothing rated above it is shown. - **Whether the game shows another ad network's ads.** If so the two share the game's ad slots, and the engine's page says how. If not, every slot is this network's. - **Whether players who paid to remove ads, or subscribe, should see none.** That is the game's to decide and to check before showing. - **Whether the game has players in the UK or the EEA, and a consent dialog or platform already.** The SDK must be told the player's answer. ## 2. Follow the page for the engine - Unity: https://indieadnetwork.com/docs/unity.md - Capacitor, or a web game: https://indieadnetwork.com/docs/capacitor.md Each is the whole integration: install, start, show an ad, then what applies to this game, then a checklist. ## 3. What catches agents out - **The three server addresses are the network's, the same for every game**: `https://indieadnetwork.com/catalogue.json`, `https://indieadnetwork.com/e` and `https://indieadnetwork.com/mix`. Nothing is hosted by the game. - **`Show` can answer false** (before `Init`, or while another ad is up), and its callback is then never called. Check what it returns, and never wait on the callback alone. - **Unity: in the Editor a stand-in plays the ad.** In Play mode one of the network's real videos is played by Unity, with the same callbacks and events as on a phone, so the game's code can be tried there. Playables and the real player need a device, so the final check is still on one. - **Don't build a close or skip button.** The player draws its own: a rewarded ad's countdown and ✓, an interstitial video's Skip and then ✕ on its end card. How long a placement holds the player is `minSecs` on the placement, or the studio's to set in the dashboard. - **Reward watching only.** Give the reward when `granted` is true. Never reward a tap on the store button or an install: both stores forbid it. - **An interstitial may show nothing** (`shown` false): the game carries on at once. How many ads a player sees is limited: each ad a few times a day, and a game whose ads are never tapped is rested for days. Don't design for an ad at every break. - **Test mode is for development builds only.** It shows the game's own ads and counts nothing. It must be off in a released build. - **Don't guess names.** If something isn't on the engine's page, read the SDK's README (linked at the top of that page) or its source: https://github.com/Indie-Ad-Network/sdk ## 4. Done when - The game compiles, and a development build on a device shows an ad in each placement with test mode on. - A rewarded ad watched to its end gives the reward once; one left early gives nothing. - The game carries on when nothing is shown, and when the device is offline. - The engine page's "Before you ship" list is ticked, and the developer has been told what is theirs to do: store listings, their privacy policy, consent. ## More - What the SDK keeps and sends, to link from the game's privacy policy: https://indieadnetwork.com/privacy - Making an ad for the developer's own game: https://indieadnetwork.com/docs/creatives and https://indieadnetwork.com/docs/playables - Every release, and what a game taking it must do: https://indieadnetwork.com/docs/changelog - The source: https://github.com/Indie-Ad-Network/sdk