Pagos en el juego
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
El código de AdSense debe colocarse en el mismo documento que el juego (el documento con el código que renderiza el juego y el elemento canvas, si existe).
Por lo tanto, quien aloja el juego controla esta etiqueta y es responsable de configurar los IDs de publicador y cualquier otro parámetro de configuración de monetización que se pase a la etiqueta. Por lo tanto, son "propietarios" de la configuración de monetización y los pagos, y son responsables de cualquier otro reparto de ingresos con otras partes.
Los acuerdos de distribución de los juegos en H5 pueden ser complejos. Por el momento, admitimos el reparto de ingresos unidireccional simple (es decir, los pagos regulares de AdSense). Esta es un área de desarrollo continuo.
Ejemplos de distribución
Estos son algunos ejemplos de distribución:
El editor incorpora el juego directamente en su sitio. Son los anfitriones del juego y, por lo tanto, son propietarios de la configuración de monetización y los pagos.
El editor incorpora su propio juego en un iframe que aloja en una URL diferente a la de su sitio principal. Una vez más, alojan el juego y controlan la configuración de monetización y los pagos.
El publicador (A) vincula un juego alojado por un distribuidor (B).
En este caso, el distribuidor aloja el juego, por lo que él controla la etiqueta, configura los parámetros de monetización y la forma en que se comparten los ingresos:
Recuerda
- La etiqueta siempre debe estar ubicada dentro del mismo documento que el juego.
- Quien aloja el juego controla su monetización.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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."]]