Płatności w grach
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Kod AdSense powinien znajdować się w tym samym dokumencie co gra (w dokumencie z kodem, który renderuje grę i element canvas, jeśli taki istnieje).
Osoba, która hostuje grę, kontroluje ten tag i jest odpowiedzialna za skonfigurowanie identyfikatorów wydawcy oraz innych ustawień zarabiania przekazywanych do tagu. Dlatego „posiadają” ustawienia zarabiania i płatności oraz odpowiadają za dalsze udostępnianie przychodów innym podmiotom.
Umowy dystrybucyjne dotyczące gier H5 mogą być skomplikowane. Obecnie obsługujemy proste 1-kierunkowe udziały w przychodach (czyli regularne płatności AdSense). Jest to obszar, który jest
stale rozwijany.
Przykłady dystrybucji
Oto kilka przykładów dystrybucji:
Wydawca umieszcza grę bezpośrednio w swojej witrynie. Są one hostem gry, a co za tym idzie, mają dostęp do ustawień zarabiania i płatności.
Wydawca umieszcza w ramce iframe własną grę, która jest hostowana pod innym adresem URL niż jego główna witryna. Ponownie hostują grę i kontrolują ustawienia zarabiania oraz płatności.
Wydawca (A) umieszcza link do gry hostowanej przez dystrybutora (B).
W tym przypadku dystrybutor hostuje grę, więc on kontroluje tag, konfiguruje ustawienia zarabiania i sposób dzielenia się przychodami:
Pamiętaj
- Tag powinien zawsze znajdować się w tym samym dokumencie co gra.
- Osoba, która hostuje grę, kontroluje zarabianie na niej.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe AdSense code needs to be placed within the same document as the HTML5 game for monetization.\u003c/p\u003e\n"],["\u003cp\u003eThe entity hosting the game controls the AdSense settings, receives payments, and is responsible for any revenue sharing.\u003c/p\u003e\n"],["\u003cp\u003eCurrently, only simple one-way revenue shares (regular AdSense payments) are supported for HTML5 games distribution.\u003c/p\u003e\n"],["\u003cp\u003ePublishers embedding or iFraming their own games retain control over monetization, while using a distributor means the distributor controls monetization and revenue sharing.\u003c/p\u003e\n"]]],["The AdSense code must be in the same document as the game, and the host of the game controls the tag and monetization settings, including publisher IDs and revenue sharing. The host is responsible for payments. Distribution can vary, including direct embedding, using iframes, or linking to a distributor. In each case, the host of the game is responsible for the AdSense tag and its configurations. Current revshares are one-way, with further development planned.\n"],null,["# Game payments\n\nThe [AdSense code](https://support.google.com/adsense/answer/9955214) should be\nplaced in the same document as the game (the document with the code that renders\nthe game and the canvas element if one exists).\n\nWhoever hosts the game, therefore controls this tag and is responsible for\nconfiguring the publisher IDs and any other monetization settings passed to the\ntag. They therefore \"own\" the monetization settings and payments, and are\nresponsible for any further revenue sharing with other parties.\n\nDistribution arrangements for H5 games can get complicated. Right now we support\nsimple 1-way revshares (i.e. regular AdSense payments). This is an area of\nongoing development.\n\nDistribution examples\n---------------------\n\nHere are some distribution examples:\n\n1. Publisher embeds the game into their site directly. They host the game, and\n therefore own the monetization settings and payments.\n\n2. Publisher iFrame's their own game which they host at a different URL to their\n main site. Once again they host the game and control the monetization\n settings and payments.\n\n\n3. Publisher (A) links to a game that is hosted by a distributor (B).\n In this case the distributor hosts the game so *they* control the tag,\n configure the monetization settings and how the revenue is shared:\n\n\n### Remember\n\n1. The tag should always be located within the same document as the game.\n2. Whoever hosts the game controls the monetization of the game."]]