การชำระเงินในเกม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โค้ด AdSense ควรวางในเอกสารเดียวกับเกม (เอกสารที่มีโค้ดที่แสดงผล
เกมและองค์ประกอบ Canvas หากมี)
ดังนั้นผู้ที่โฮสต์เกมจึงควบคุมแท็กนี้และมีหน้าที่รับผิดชอบในการ
กำหนดค่ารหัสผู้เผยแพร่โฆษณาและการตั้งค่าการสร้างรายได้อื่นๆ ที่ส่งไปยัง
แท็ก ดังนั้น MCN จึง "เป็นเจ้าของ" การตั้งค่าการสร้างรายได้และการชำระเงิน และมีหน้าที่รับผิดชอบในการแบ่งรายได้เพิ่มเติมกับบุคคลอื่นๆ
การจัดการการเผยแพร่เกม H5 อาจมีความซับซ้อน ปัจจุบันเราสนับสนุน
การแบ่งรายได้ทางเดียวแบบง่าย (เช่น การชำระเงินของ AdSense ปกติ) ฟีเจอร์นี้ยังอยู่ระหว่างการพัฒนา
ตัวอย่างการเผยแพร่
ตัวอย่างการจัดจำหน่ายมีดังนี้
ผู้เผยแพร่โฆษณาฝังเกมลงในเว็บไซต์โดยตรง โดยจะเป็นผู้โฮสต์เกม และ
ดังนั้นจึงเป็นเจ้าของการตั้งค่าการสร้างรายได้และการชำระเงิน
ผู้เผยแพร่โฆษณาใช้ iframe สำหรับเกมของตนเองซึ่งโฮสต์อยู่ที่ URL อื่นที่ไม่ใช่เว็บไซต์หลัก โดยจะโฮสต์เกมและควบคุมการตั้งค่าการสร้างรายได้และการชำระเงินอีกครั้ง
ผู้เผยแพร่โฆษณา (ก) ลิงก์ไปยังเกมที่ผู้จัดจำหน่าย (ข) โฮสต์
ในกรณีนี้ ผู้จัดจำหน่ายจะเป็นผู้โฮสต์เกม ดังนั้นผู้จัดจำหน่ายจึงควบคุมแท็ก
กำหนดค่าการตั้งค่าการสร้างรายได้และวิธีแบ่งรายได้
โปรดทราบ
- แท็กควรอยู่ในเอกสารเดียวกันกับเกมเสมอ
- ผู้ที่โฮสต์เกมจะเป็นผู้ควบคุมการสร้างรายได้ของเกม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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."]]