Thanh toán trong trò chơi
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bạn nên đặt mã AdSense trong cùng một tài liệu với trò chơi (tài liệu có mã kết xuất trò chơi và phần tử canvas nếu có).
Do đó, người lưu trữ trò chơi sẽ kiểm soát thẻ này và chịu trách nhiệm định cấu hình mã nhận dạng nhà xuất bản cũng như mọi chế độ cài đặt kiếm tiền khác được truyền đến thẻ. Do đó, họ "sở hữu" chế độ cài đặt kiếm tiền và các khoản thanh toán, đồng thời chịu trách nhiệm chia sẻ doanh thu với các bên khác.
Thoả thuận phân phối trò chơi H5 có thể phức tạp. Hiện tại, chúng tôi hỗ trợ mô hình chia sẻ doanh thu đơn giản một chiều (tức là các khoản thanh toán AdSense thông thường). Đây là một khía cạnh đang trong quá trình phát triển.
Ví dụ về việc phân phối
Dưới đây là một số ví dụ về việc phân phối:
Nhà xuất bản nhúng trực tiếp trò chơi vào trang web của họ. Họ lưu trữ trò chơi và do đó sở hữu chế độ cài đặt kiếm tiền và các khoản thanh toán.
Nhà xuất bản có iFrame cho trò chơi của riêng họ mà họ lưu trữ tại một URL khác với trang web chính. Một lần nữa, họ sẽ lưu trữ trò chơi và kiểm soát các chế độ cài đặt kiếm tiền cũng như các khoản thanh toán.
Nhà xuất bản (A) liên kết đến một trò chơi do nhà phân phối (B) lưu trữ.
Trong trường hợp này, nhà phân phối sẽ lưu trữ trò chơi nên họ kiểm soát thẻ, định cấu hình chế độ cài đặt kiếm tiền và cách chia sẻ doanh thu:
Lưu ý
- Thẻ này phải luôn nằm trong cùng một tài liệu với trò chơi.
- Người tổ chức trò chơi sẽ kiểm soát việc kiếm tiền từ trò chơi.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]