创造你的世界
经济
通过在世界范围内添加广告赚取金钱
11 分
您可以在zepeto世界中添加广告。 您可以在zepeto世界中放置两种类型的广告:插页广告和沉浸式广告。沉浸式广告出现在世界中的数字广告牌上。 广告仅在移动环境中显示。请使用qr移动测试,而不是unity编辑器场景播放,以获得准确的预览。 此功能需要zepeto app版本3 37 000或更高版本。 有关广告密钥发行和收入查询,请联系zepeto工作人员。 zepeto广告包的安装 1\) 通过点击窗口 → 包管理器按钮打开包管理器。 2\) 点击包管理器窗口右上角的高级按钮,然后选择高级项目设置。 3\) 在项目设置的包管理器部分,点击范围右下角的(+)按钮。 4\) 在新的输入字段中,输入'media'并点击应用。 5\) 在你的 unity 项目文件夹 > packages,打开 manifest json 并添加以下内容。 "dependencies" { "media advertisement" "0 1 1" } 6\) 然后从包管理器安装 zepeto advertisement 包。 应用插页广告 编写脚本 import { button } from 'unityengine ui'; import { adshowresult, worldadvertisement } from 'zepeto advertisement general'; import { zepetoscriptbehaviour } from 'zepeto script' const ad key string = "monetize template"; export default class advertisementsample extends zepetoscriptbehaviour { public button button; start() { this button onclick addlistener(() => { this showad(); }); } showad() { worldadvertisement show( ad key, result => this onadshowresult(result) ); } onadshowresult(result adshowresult) { if (result == adshowresult finished) { console log("广告展示成功;已完成。"); return; } let failmessage string; switch (result) { case adshowresult failed failmessage = "失败"; break; case adshowresult skipped failmessage = "跳过"; break; case adshowresult notready failmessage = "未准备好"; break; default failmessage = "未知结果"; break; } console log(`广告展示失败; ${failmessage} `); } } true 207,207,207left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type 👍 广告密钥 默认广告密钥 变现模板 ❗️ 注意 在调用 worldadvertisement show 函数时,将回调作为闭包传递给第二个参数,以防止在 ios 上崩溃。 而不是这样写: showad() { worldadvertisement show( ad key, this onadshowresult ); } 这样写: showad() { worldadvertisement show( ad key, result => this onadshowresult(result) ); } 运行 qr 移动测试以确保广告正确显示。 利用游戏内广告盈利 我想知道如何在 zepeto 中赚取广告收入! 在zepeto中,你可以在自己的世界中插入广告来产生收入。 广告收入是根据用户观看广告的次数支付的。 收入将在支付日以 zem 形式记入账户,并可通过 zepeto studio 的提现菜单提取现金。(不可用作应用内货币。) 广告收入支付时间表 广告收入按季度支付。 true 310,311 unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type unhandled content type 参考 如果付款日期是节假日,将在下一个工作日支付。 想要赚取广告收入吗? 步骤 1:满足以下资格条件之一: 您已发布一个拥有超过 20,000 个 uv 的世界 你在世界竞赛或活动中赢得了奖品 您在一个月内发布了 2 个或更多高质量的 build it plug in 世界 第 2 步:提交以下申请表以请求内部审核。 步骤 3:如果您通过内部审核,我们将发放您的个人广告密钥,并且您将开始收到每季度的广告收入付款。 我想提取我的广告收入。 按照以下视频中的步骤提取您的 zem 收益!

