Showing 0 out of 216 results for " "
Stuff breaks. Let’s fix it together. iOS, Android, Amazon, Unity SDK errors.
当 Chartboost SDK 设置不在首次会话显示广告时触发。您可能设置了 [Chartboost setShouldRequestInterstitialsInFirstSession:NO]。您可以在 iOS 集成指南的最佳实践页面阅读详情
多种可能原因。发送日志 (包括发生错误时的断点) 到客服以获取支持
在测试设备无互联网连接时触发。排除可能发生的设备网络连接问题。
设备网络不可用或设备无法连接到互联网时触发。请检查网络设置并确保您的设备已连接到互联网。如果问题仍然存在,请将 Charles 网页代理日志发送到客服。
广告服务器无法找到妥当的插页式广告发送到设备时触发。可能由于位置、广告活动筛选条件或其他因素导致。 疑难解答
当您在命名位置字符串输入 NULL 时触发。了解命名位置详情
无法检测到有效 Chartboost 会话。请检查您的应用 ID 和应用签名,以及确保您采用如下方法妥当初始化 Chartboost: [Chartboost startWithAppId:@"YOUR_CHARTBOOST_APP_ID" appSignature:@"YOUR_CHARTBOOST_APP_SIGNATURE" delegate:self];
在同一命名位置同时发送或接收过多请求时触发使用新的命名位置或减少该位置的请求。
在 Chartboost 发送方向有误的插页式广告到设备时触发。请到 Chartboost 后台验证此应用 ID 已选择正确方向。如可能,请发送 Charles 网页代理日志到客服。
从 Chartboost 服务器下载素材出错。排查您的互联网连接问题 (检查网关等) 然后重试。如可能,请发送 Charles 网页代理日志到客服。
展示 Chartboost 广告时出错。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。如可能,请发送 Charles 网页代理日志到客服。
展示视图时出错。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。如可能,请发送 Charles 网页代理日志到客服。
Chartboost SDK 开始视频内容时遇到问题。如可能,请发送 Charles 网页代理日志到客服。
当 Chartboost SDK 设置不在首次会话显示广告时触发。您可能设置了 setShouldRequestInterstitialsInFirstSession(boolean shouldRequest) 为 FALSE。了解 Android SDK 配置方法
在无 Chartboost 集成妥当的当前活动时触发。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。
已有展示可见或处于加载过程中。请检查您的集成代码是否有额外 showInterstitial 调用。如可能,请发送代码片段 (初始化 Chartbosst 并使用 Chartboost SDK 方法部分) 然后联系客服。
多种可能原因。发送日志 (包括发生错误时的断点) 到客服以获取支持。
在测试设备无互联网连接时触发。排除可能发生的设备网络连接问题。
当您在命名位置字符串输入 NULL 时触发。了解命名位置详情
Chartboost 服务器返回无效响应。如可能,请发送 Charles 网页代理日志到客服。
设备网络不可用或设备无法连接到互联网时触发。请检查网络设置并确保您的设备已连接到互联网。如果问题仍然存在,请将 Charles 网页代理日志发送到客服。
广告服务器无法找到妥当的插页式广告发送到设备时触发。可能由于位置、广告活动筛选条件或其他因素导致。 疑难解答
无法检测到有效 Chartboost 会话。请检查您的应用 ID 和应用签名,以及确保您采用如下方法妥当初始化 Chartboost: Chartboost.startWithAppId(this, appId, appSignature);
在同一命名位置同时发送或接收过多请求时触发。使用新的命名位置或减少该位置的请求。 了解命名位置详情
视频链接丢失。如可能,请发送 Charles 网页代理日志到客服。
视频未缓存。如可能,请发送 Charles 网页代理日志到客服。
在 Chartboost 发送方向有误的插页式广告到设备时触发。请到 Chartboost 后台验证此应用 ID 已选择正确方向。如可能,请发送 Charles 网页代理日志到客服。
可能存在类不一致 (例如,com.BustersBoost 和 com.bustersboost)。更改为 PlayerSettings.bundleIdentifier 以解决冲突问题。通常,由于 Unity 限制,您无法使用 com.Example 为您的捆绑 ID,如果项目内任何包含的类名为 Example。通过文件 > 生成设置 > 玩家设置 > Android 设置 > 其他设置 > 识别进行修改,然后重建。
在您的 Unity 版本过期时触发。升级到 Unity 4.0 或以上版本,或联系客服以请求旧版 SDK。
请确保您的项目的主要 <activity> 元素 (包含 <intent-filter> 及 android.intent.action.MAIN 操作) 包含如下代码:
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
Unity 近期版本将其值默认为 “FALSE”,但必须将其设为 “TRUE” 方可使 Chartboost 接收点击事件。Unity 通常会自动复制设置,但有时已更改设置并不会反映到最终产品上。
Unity 通常会自动合并多个 Unity 插件所使用的不同的 Android 清单更改。不过该过程并不总能成功。您可能需要手动合并 Android 清单文件。
找到您的 Unity 项目的已有 AndroidManifest.xml 文件然后进行更改,确保具备以下权限:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
在您的 AndroidManifest.xml 文件中添加如下条目,以显示平滑过渡和视频回放:
<android:name="com.chartboost.sdk.CBImpressionActivity"
android:excludeFromRecents="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:configChanges="keyboardHidden|orientation|screenSize" />
您必须确保主要 <activity> 元素 (包含 <intent-filter> 及 android.intent.action.MAIN 操作) 包含如下代码:
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
如需查看可行的 Android 清单文件并附所有设置,您可以在 /Assets/ChartboostExample 中查看 Chartboost 示例场景并检查 Unity 中和导出为 Google Android 项目的 Android 清单文件。
多种可能原因。发送日志 (包括发生错误时的断点) 到客服以获取支持。
在测试设备无互联网连接时触发。排除可能发生的设备网络连接问题。
在同一命名位置同时发送或接收过多请求时触发。使用新的命名位置或减少该位置的请求。了解命名位置详情
在 Chartboost 发送方向有误的插页式广告到设备时触发。请到 Chartboost 后台验证此应用 ID 已选择正确方向。如可能,请发送 Charles 网页代理日志到客服。
当 Chartboost SDK 设置不在首次会话显示广告时触发。您可能设置了 setShouldRequestInterstitialsInFirstSession(shouldRequest:Boolean) 为 FALSE。阅读 Adobe AIR 集成指南
设备网络不可用或设备无法连接到互联网时触发。请检查网络设置并确保您的设备已连接到互联网。如果问题仍然存在,请将 Charles 网页代理日志发送到客服。
广告服务器无法找到妥当的插页式广告发送到设备时触发。可能由于位置、广告活动筛选条件或其他因素导致。 疑难解答
无法检测到有效 Chartboost 会话。请检查您的应用 ID 和应用签名,以及确保您采用如下方法妥当初始化: chartboost.startWith("ANDROID_APP_ID", "ANDROID_APP_SIGNATURE"); 阅读 Adobe AIR 集成指南
已有展示可见或处于加载过程中。请检查您的集成代码是否有额外 showInterstitial 调用。如可能,请发送代码片段 (初始化 Chartbosst 并使用 Chartboost SDK 方法部分) 然后联系客服。
在无 Chartboost 集成妥当的当前活动时触发。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。
当您在命名位置字符串输入 NULL 时触发。了解命名位置详情
视频未缓存。如可能,请发送 Charles 网页代理日志到客服。
视频链接丢失。如可能,请发送 Charles 网页代理日志到客服。
Chartboost SDK 开始视频内容时遇到问题。如可能,请发送 Charles 网页代理日志到客服。
Chartboost 服务器返回无效响应。如可能,请发送 Charles 网页代理日志到客服。
从 Chartboost 服务器下载素材出错。排查您的互联网连接问题 (检查网关等) 然后重试。如可能,请发送 Charles 网页代理日志到客服。
展示 Chartboost 广告时出错。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。如可能,请发送 Charles 网页代理日志到客服。
展示视图时出错。请检查您的集成并确保 Chartboost 的 Android 生命周期方法已妥善初始化。如可能,请发送 Charles 网页代理日志到客服。
App lists are collections of Chartboost app IDs you can use to exclude (but not target) low-performing or unwanted games from your campaigns. (To brush up on how to identify low-performing games, visit our app filtering page). (Note: App lists are optional.)
应用列表是 Chartboost 应用 ID 的集合,您可以用来排除 (但不可定位) 表现不佳或不希望在您的广告活动中出现的游戏。(如需重温如何识别表现不佳的游戏,请访问应用筛选页面)。(注: 应用列表为可选内容。)
如需创建,请前往应用列表生成器,然后:
如需覆盖2,编辑名称或从帐户删除应用列表,只需点击列表操作一栏的 3 个图标之一:
生成应用列表后,您通过编辑广告活动页面的应用筛选栏将其应用到您的广告活动:
点击应用列表名称后,您可以在同一位置看到生成内容,之后您可以按需要添加或删除应用。
1. Excel 有 100 万行数限制,不过如果您需要添加更多设备到列表,您可以创建基于文本的 CSV (或使用 API)
2. 上传新文件到已有列表以替换原列表
3. 下载于 7 天后失效
4. 您无法删除处于活动状态的广告活动的列表
Advertise your new Awesome App in your existing Popular Apps with Chartboost Cross-Promotion Campaigns.
如需开始在您的游戏内部交叉推广 (例如向您的劲爆人气游戏玩家推荐您的酷炫新游戏),请遵循以下步骤:
注意: 如果您先前安装过您试图推广的游戏,插页式广告不会在您的设备上显示。系统不会向已安装的用户推荐应用。
iOS Supported ad types: Interstitial (Static and Video) and Rewarded Video.Android Supported ad types: Interstitial (Static and Video) and Rewarded Video.
iOS 支持的广告类型: 插屏广告(静态插屏、视频插屏)和激励视频广告。
Android 支持的广告类型: 插屏广告(静态插屏、视频插屏)和激励视频广告。
➊为你的应用设置Chartboost应用 ID 和应用签名
在MAX后台启用Chartboost网络,并输入相应的Chartboost应用ID和应用签名
你可以在Chartboost后台找到相应的应用ID和应用签名
➋输入广告位置信息以及 eCPM
在MAX后台的广告位置输入你想要发给Chartboost的广告位置名称(字符值)。如果你已经和你在Chartboost的客户经理讨论好了广告位置的名称,确保使用这些名称即可。注意保持一致性,包括大小写、空格等。
当手机端请求广告时,该广告位置名称(字符值)会直接发给Chartboost SDK。
在 Max 后台,请为每个广告位置设置明确的 eCPM 值,以便该广告位在瀑布流的合适位置出现。
➌添加更多的广告位置和 eCPM 设置
如果需要添加更多的广告位置,重复上述步骤进行广告位的添加以及设置 eCPM。如果你已经和Chartboost的客户经理讨论好了广告位置的名称,依然需要在MAX后台保持一致,包括大小写和空格等。
How to top-rank Chartboost in AdMobLog into your AdMob dashboard. Select Mediation on your left panel. Select the waterfall you wish to edit by clicking on it.
How to top-rank Chartboost inUnity LevelPlay. Log into your Unity LevelPlay dashboard. Select Monetize > Management > Mediation from the sidebar.
The Ad Unit in the Mediation Group(s) will now be able to request ads with multiple Instances from Chartboost (Top-ranked first).
Click here to follow DT FairBid’s SDK integration guide using Chartboost.
If you’re already using one our mediation partners, add Chartboost to your waterfall to increase your fill rate and eCPM.
Chartboost 提供以下几种广告类型。激励视频(包括可玩式广告)让玩家在观看视频后赢得游戏内道具或虚拟货币;视频插屏让您在玩家播放视频完毕后赢利;静态插屏广告让您在每次广告点击或安装游戏后赢利。
当您在 Chartboost 后台设置好广告变现活动后,请与下方的聚合合作伙伴确认,验证其是否支持您希望发布的广告类型。
每种广告类型要求至少有一个同类型的变现活动。
Android: 所有显示 Chartboost 广告的活动的 Android Manifest文件上必须具备 android:hardwareAccelerated="true" 值,否则视频无法正常显示。
Make sure that the Chartboost SDK initializes early ? ideally, when your app boots up ? so our SDK enough time to prepare for showing ads later. This can be achieved in different ways, depending on your mediation partner.
注意: 当您不满足于调用聚合平台提供的通用方法,需要调用其他 Chartboost SDK 的方法时,不同的聚合平台对此有不同的要求。您需要确保 Chartboost SDK 尽早被初始化,理想状态就是当 app 启动时马上初始化 Chartboost,以便 SDK 有足够的时间将广告准备好。具体实现方式视不同的聚合平台而定。
Release notes unity. Download & integrate the Chartboost SDK for Unity. Version 8.2.1 (July 7th, 2021) (current version)
Chartboost SDK需要API level 16 (Android OS 4.1)或以上版本.
Chartboost SDK需要API level 16 (Android OS 4.1)或以上版本
Chartboost SDK需要API level 16 (Android OS 4.1)或以上版本
closeImpression() functionality has been deprecated.
iOS 6 is no longer supported. The minimum supported version is iOS 7.0.
Android release notes. Integrate the Chartboost SDK for Android and Amazon.
This release and onwards are certified to work with 64-bit architectures.
closeImpression() functionality has been deprecated.
iOS Release notes. Download & integrate the Chartboost SDK for iOS and iOS Swift.
我们发现 Chartboost iOS SDK 8.2.0 有一处小错误会导致 app 崩溃。这个 bug 已经在 8.3.0 彻底修复, 或者您可以使用更直接的方案,即避免在初始化 Chartboost SDK 之前调用 Chartboost setLoggingLevel:CBLoggingLevelVerbose;,就能防止此问题。
如果您正在使用第三方广告聚合,譬如 AdMob 或 MoPub, 且不确定 Chartboost 各个方法的执行顺序, 为了确保进程安全,您可以在 app 初始化以后,在其他 SDK 执行任何操作之前调用 Chartboost 的方法。(譬如: Chartboost getCustomId 可以被调用并且忽略其返回值)。
This library is built using Xcode 8 with bitcode enabled. In order to use it with prior versions of Xcode (including 7.3.1), bitcode must be disabled.
iOS 6 is no longer supported. iOS 7.0 is the minimum supported iOS Version.
closeImpression() functionality has been deprecated.
iOS 6 is no longer supported. iOS 7.0 is the minimum supported iOS Version.
iOS 6 is no longer supported. iOS 7.0 is the minimum supported iOS Version.
iOS 6 is no longer supported. iOS 7.0 is the minimum supported iOS Version.
跳转到页面 Analytics > A/B Tests, 您可以看到每个 Mediation App 和广告位的 A/B 测试结果。
Chartboost takes the privacy of our developers and their end-users seriously. We know that user data is important to our developers values and operations. That is why we are taking measures to support our partners compliance with EU data protection requirements, including those set forth in the General Data Protection Regulation (GDPR), effective May 25, 2018.
Chartboost非常重视我们的开发者和他们的最终用户的隐私。我们知道用户数据对我们的开发者价值和运营至关重要。因此,我们正在采取措施,支持我们的合作伙伴遵守欧盟数据保护要求,包括《通用数据保护条例》(GDPR),自2018年5月25日起生效。
欲了解更多信息,我们鼓励我们的客户阅读下面提供的资源。
《通用数据保护条例》(GDPR)是一项新的欧洲隐私法,旨在取代现行的欧盟数据保护指令(指令95/46/EC)。 GDPR旨在加强欧盟个人数据的安全和保护。
GDPR适用于在欧盟境内运营并处理欧盟居民个人可识别数据的所有组织。个人数据是任何与已识别或可识别自然人相关的信息。
对于我们处理的欧洲数据主体的个人数据,Chartboost是“控制者”。 Chartboost依赖于其发布商具有适当的法律依据或同意,以便Chartboost处理此类数据。
我们有一个专门的团队致力于GDPR合规性,以在2018年5月25日之前实施适当的措施。
Chartboost收集数据(包括设备ID和IP地址),以优化我们的应用内广告网络并提高性能和定向。此外,Chartboost可能会收集与其客户用户相关的安装后事件。
Chartboost已获得EU-US和Switzerland-US Privacy Shield框架的认证。
我们重视我们的合作伙伴,并打算在他们履行GDPR下对其用户的义务方面帮助他们。此外,我们的隐私政策描述了用户管理其数据和选择退出的选项。
是的。 Chartboost保持一个内部处理活动记录,由一个专门的跨职能团队定期更新。
Chartboost已制定安全措施和协议。可以在特定情况下通过保密协议(NDA)获得Chartboost安全政策和措施的概览。
Chartboost鼓励发布商通过审查其隐私和数据安全流程和政策,以确保在2018年5月25日前符合规定,为GDPR执行做好准备。
发布商应从Chartboost SDK调用“setPIDataUseConsent” API,并传递是否存在同意、不存在同意或未知的适当值。作为服务条款的一部分,发布商必须在Chartboost处理任何个人数据并通过上述方法将其传递给Chartboost SDK之前,获得其用户的同意。
IMPORTANT NOTE:Developers are responsible for evaluating their app(s) to determine if they are directed to children under 13 (each a "Child-Directed App"). Apps included in Google's Designed for Families program
重要提示:开发人员有责任评估他们的应用程序,以确定它们是否面向13岁以下的儿童(每个“面向儿童的应用”)。在Google的Designed for Families计划、Google Play的家庭版或Apple App Store的Kids类别中包含的应用程序,除非开发人员已为这些应用程序实施了年龄门槛,否则应被视为面向儿童的应用。对于任何面向儿童的应用程序,开发人员应进行适当的设置,以仅启用上下文广告。
面向儿童的应用需要在应用创建过程中指定其为COPPA,以便退出行为定位。
是的,您可以在未来自由更改设置。
不,退出选项仅适用于网络发布商。
该点击或安装的发布应用是COPPA应用。
从2018年3月26日开始,COPPA定位不能启动交叉推广活动。
交叉推广活动仅限于推广具有等效退出选择设置的应用程序。例如:COPPA应用只能交叉推广其他COPPA应用。同样,未选择退出行为定向的应用只能推广未选择退出的应用。
How do I make my ad creatives better? Click here to learn about making awesome creatives. Can I publish or advertise with portrait video ads?
视频创意必须以横向方向上传。用户可以将设备保持纵向方向,并且可以显示应用商店评级,如下所示。了解更多有关广告素材的信息。
Starting April 2022, all developers must declare how they collect and handle user data for the apps they publish on Google Play, and provide details about how they protect this data through security practices like encryption.
从2022年4月开始,所有开发人员都必须声明他们如何收集和处理他们在Google Play上发布的应用程序中的用户数据,并提供有关他们如何通过加密等安全实践来保护这些数据的详细信息。这包括通过任何第三方库或SDK在其应用程序中收集和处理的数据,例如Chartboost。为了促进此过程,我们已披露Chartboost数据收集如下。
您可以在此处找到有关Google数据收集披露目的的更多信息。
以下披露仅包括我们的SDK收集的数据。您有责任为您的应用程序提供任何其他披露,包括在您的应用程序中使用的其他第三方SDK。本文件仅供您参考; Chartboost不对此类信息,包括但不限于其准确性或完整性,作出任何陈述。
Chartboost SDK加密了所有在传输中收集的数据。Chartboost还为客户提供了删除特定用户数据的功能。由于Chartboost广告服务的性质,Chartboost收集的数据不会被短暂处理。
Starting December 8, 2020, iOS publishers will need to define what data their apps collect, including the data collected by integrated third-party SDKs such as Chartboost. In order to facilitate this process, we've disclosed the Chartboost data collection below.
从2020年12月8日开始,iOS应用程序的发布者将需要定义其应用程序收集的数据,包括集成的第三方SDK(例如Chartboost)收集的数据。为了促进这个过程,我们披露了Chartboost数据收集如下。
您可以在此处找到有关苹果数据收集披露目的的更多信息。
以下披露仅包括我们的SDK收集的数据。您负责为您的应用程序提供任何其他披露,包括您的应用程序中使用的其他第三方SDK。本文档仅供您参考;Chartboost不对此类信息(包括但不限于其准确性或完整性)作任何陈述。
Have you set up your eCPM floor too high? High eCPM floor would result in a lower bid rate and eventually lower fill rate.
您是否设置了过高的eCPM底价?高的eCPM底价会导致较低的竞价率,最终会导致较低的填充率。
You need to follow through both the SDK integration and dashboard configuration, in order to make different demand sources bid in your ads inventory.
iOS: Mediation iOS SDK will add approximately 1MB to your final download size. Android: Helium Android SDK will add approximately 393KB to your final download size.
Yes. You can set up eCPM floor in your ad placement setting. You can either set up a global eCPM floor or different floors for specific countries.
Click "New Ad Group +" to create a new ad group. Fill in the name for your ad group, to make it more recognizable among all ad groups. Select the countries you want to be included in this ad group.
Basic Placement Settings. Advanced Settings. Creative Types. A/B Test. Bidding Settings. eCPM Floor. Bidding Networks. Waterfall
设置更高的 eCPM 底价将会大概率降低填充率。
请确保在 Helium Dashboard 填写的凭据与各自广告网络后台 Dashboard 的信息一致。
请确保所有头部竞价的广告网络是开启的状态。
Add Network Credentials for Add Bidding Networks, Chartboost, Meta Audience Networks, AdColony, Tapjoy, Add Mediation Networks, Admob, Applovin, Vungle, IronSource, Unity Ads
为了更快地获取 AdMob 的单独凭据, 您可以登录到下面链接的 Google API credentials portal。你依然需要输入 AdMob App ID, 以及输入该 App ID 相关联的 Google 账户进行验证,以此添加 AdMob 应用程序到 Helium. 除此以外您不需要填写其它字段。
Before you start. Make sure your app is already set up as a valid publishing app on the Chartboost dashboard. If not, you need to set up your app on the Chartboost dashboard first (instructions)
确保你的应用程序已经在 Chartboost 后台 Dashboard 上已经通过审核并处于开启状态。如果没有,请先在 Chartboost 后台 Dashboard 上设置您的应用程序(请参考以下说明)
目前仅支持在 Helium 后台上导入 iOS 和 Google Play 应用程序,不支持 Amazon 应用程序。
Can I use Flexbid for CPM campaigns? No, you can't use Flexbid for CPM campaigns as the multipliers are only applied to a CPI value.
不能。您不能在 CPM(按千次展示结算)方式的推广活动里使用 Flexbid,它只能以 CPI (按安装激活结算)方式运行。
可以。您可以照常保留 Campaign 的设定。如果您每个 Campaign 只有一个 Target 目标,Flexbid 会在当前可用的 Target 上生效。当 Campaign 中存在多个 Target 时,Flexbid 只会应用于您在 Flexbid 配置文件中指定的 Target 上。如果您希望 Flexbid 应用于所有 Target,您需要在 Flexbid 配置文件中针对每个 Target 进行设置。
取决于您的 LTV 模型,您可以在更多的维度进行弹性竞价。请确保您的竞价策略与您的 LTV 模型相匹配。通过分析您的用户数据,决定您希望使用 Flexbid 竞价的维度,从而达到价值最大化。您可以在一个 Flexbid 里选择使用下列四种维度中的一种或多种。在一个 Flexbid 推广活动中,我们对单个维度下使用的 Key-Value (分类标记以及具体的弹性系数)的数量没有任何限制。
弹性系数的取值在 0.01 到 25 之间。每个广告主会根据自己的推广目标和预算,设置不同的弹性系数。使用 Flexbid 竞价需要您时刻关注您的用户数据,每周定期进行优化,才能产生最佳效果。 下面的范例将展示 Flexbid 的工作方式以及您最终需要支付的价格: 您的弹性系数设置: Bid by publisher app: (基于开发者的 App 维度)
Bid by devices: (基于设备维度)
当广告主的在开发者 A 的 iPhone 5 设备上展示一次,同时带去一个安装,那么广告主需要为这次安装支付的价格为:Campaign Bid (CPI) 默认安装价格$1.00Bid dimension – Key values 竞价维度Multiplier ValuePublisher app – A2.00Device – iPhone 50.25Flexbid CPI Bid (最终价格)$0.50为了简单说明,我们在上述范例里仅使用两个弹性系数,实际应用中您可以使用任意多个,我们没有特殊限制。你设定的每个弹性系数都将与你在推广活动中的 CPI 基础竞价进行相乘,在上述案例里,最终的竞价价格为 1 x 2 x 0.25 = $0.50. 通过这个范例,您可以看到 Flexbid 可以将您的 CPI 推广活动变成弹性的竞价,或高于,或低于您设定的基准价格。从而帮助您实现效益最大化。
在 Chartboost 后台菜单的的 Campaigns > Advertising 下可进行设置。 注意: Flexbid 只能应用于 CPI 模式的推广活动。
修改现有的 Flexbid 推广活动跟新建 Flexbid 类似,所有新设定的数值直接覆盖原有部分,您的推广活动将重新按新数值运行。需要注意的是,您在 Flexbid Excel 模板文件里设定的数值,必须与您选定的维度相匹配,否则这些数值不会在 Flexbid 里生效。
您下载的 Flexbid 模板文件里包含 Flexbid 支持的各个平台的设备列表。如果里面没有您想要精准投放的设备,请 联系我们 ,我们会考虑您的需求提供技术支持。
您需要收集尽可能多的数据来进行分析,才能使投放越来越精准,我们建议您至少每隔一周修改一次 Flexbid 推广活动里的数值设定,以达到持续优化投放效果的目的。
您需要等待几周的时间来观测 Flexbid 推广活动的效果。您可以在推广活动的统计界面或者第三方归因的报表里进行查看。
What is the Chartboost Exchange? The Chartboost Exchange allows advertisers to reach our global audience through a real-time bidding platform. DSPs and their advertisers have access to in-app inventory in over 300,000 mobile games worldwide.
哪些定位选项可用来对Chartboost交易所的DSP?
哪些广告格式(创新型)都可以通过Chartboost交流?
我期待与Chartboost集成DSP。我从哪说起呢?我是广告客户,我想通过程序生成阿德·坎帕恩斯与Chartboost。我从哪说起呢?
该Chartboost Exchange允许广告客户通过实时竞价平台达到我们的全球观众。 DSP和他们的广告客户有机会获得应用内广告在全球拥有超过30万款移动游戏。 开始使用Chartboost交易所
在Chartboost交易所,DSP合作伙伴可以针对移动游戏类别,国家平台(iTunes或谷歌播放)和操作系统(IOS,Android的)阿德·坎帕恩斯。▲返回页首
该Chartboost Exchange支持最新颖的广告格式全能见度:
Chartboost与多家合作伙伴的需求。如果您想看到我们目前的合作伙伴,请访问: chartboost.com/ad-exchange.▲返回页首
Chartboost今天积极整合新的合作伙伴。交换是建立在2.3的OpenRTB标准。如果您有兴趣开始使用Chartboost交流,请发送电子邮件至 adexchange@chartboost.com或访问 chartboost.com/ad-exchange.▲返回页首
Chartboost目前与多个合作伙伴的需求。如果您是广告客户,并希望您的DSP合作伙伴或代理商与我们的网络中工作,请访问:chartboost.com/ad-exchange.
What is the Chartboost Exchange? The Chartboost Exchange allows advertisers to reach our global audience through a real-time bidding platform. DSPs and their advertisers have access to in-app inventory in over 300,000 mobile games worldwide. Get started with the Chartboost Exchange
该Chartboost Exchange允许广告客户通过实时竞价平台达到我们的全球观众。 DSP和他们的广告客户有机会获得应用内广告在全球拥有超过30万款移动游戏。 开始使用Chartboost交易所
对于变现方来时,Chartboost Exchange意味着接入更多的广告主需求,增加有效每千次,和更高的填充率造成提升收入。集成最新的Chartboost SDK,您会立刻受益。 下载最新的SDK
了解更多关于Chartboost交易所
What is Chartboost Video? The Chartboost SDK lets you enhance your players' in-game experience with engaging, high-quality video ads that support rich media. As a developer, you also have complete, transparent control over your video campaigns through your Chartboost dashboard. Integrate Chartboost video
Chartboost SDK 让您可以强化玩家的游戏体验,提供引人入胜的优质视频广告,支持富媒体。作为开发者,您对视频广告全权控制,一切透明,通过 Chartboost 后台实现。集成 Chartboost 视频
激励式视频是一种广告类型,玩家观看视频广告后得到奖励 (例如游戏内货币)。激励式视频可以为媒体提供额外收入来源,为广告主带来优质而且专注的用户。
视频必须使用 H.264 编码且最低分辨率为 1280 x 720,适宜绝大多数设备的最佳编码为 H.264, 30-60 FPS, M4V, 1280 x 720。了解广告图片素材详情
系统使用专利技术以实现最佳质量,极高反应速度,无论网络连接如何均能提供可靠的高清回放。
平均视频通常介于 15 到 30 秒 (建议保持在 15 秒以下)。Chartboost 视频广告可以持续 30 秒。用户有选项在播放 5 秒后跳过视频。
SDK 集成 Chartboost 视频是免费的!视频计费基于每观看完毕成本 (CPCV) 或每安装成本 (CPI)。了解 Chartboost 价格。
否,付费游戏仅可使用 CPCV。
How long does it take analytics data to be updated on the dashboard? Regular analytics are updated within 2 to 6 hours.
随时点击即可重置您的用户签名并吊销第三方服务的 API 访问权限。
在监控帐户方面,您有若干不同选项。广告概述和发布概述页面均提供一览图以便轻松了解趋势。更多信息
如果您需要查看更详尽的报告,请前往应用 > 数据分析或广告活动 > 数据分析,并下载 CSV 格式数据以供 Excel 或其他程序使用。更多信息
别紧张 — 启动数/安装数及其他数据可能需要 2-3 小时方可显示在后台 (尽管通常更快),请在延迟后重新查看您的应用数据分析或广告活动数据分析。
您还可以检查此状态页面以了解分析数据上次在后台更新是什么时候。
如果您仍然无法看到启动数/安装数,请检查您的代码是否正确进行以下调用:
系统需要在每次激活您的游戏时接收到这些调用方可准确跟踪启动数/安装数。
数据传输是服务器到服务器的事件通知,报告您的广告活动所带来的点击或转化安装的详情。如果您长期无法使用后台报告工具,建议您设置数据传输以接收大量数据。更多信息
大型数据分析报告会在系统处理数据后自动以 TSV 格式返回,但如果您长期无法下载文件,推荐您使用数据传输或 API 以汇报数据到第三方服务器或系统。
有若干个因素可能导致 iTunes Connect 安装计数和 Chartboost 计数存在差异:
以下为常见原因:
如需了解 iTunes Connect 报告详情,请点击此处。
When will I get paid? Why didn't I get paid? See our payment terms & dates for more information. Why wasn't I paid even though my dashboard publisher earnings are lower than before?
否 – 系统只向广告主发送发票。媒体会接收自动支付和电子邮件确认。
Chartboost 并不扣留金额用作纳税。不过您需要符合当地税则。
通常,差异是由于您所选择的支付方式造成的:
请发送请求到 payments@chartboost.com 我们会为您设置帐户!
Why am I being charged for installs even though my campaign is paused? Chartboost ads are cached for 24 hours. Cached ads can still be served to users for 24 hours after a campaign has been paused. Chartboost uses a 21-day attribution window. After clicking on your ad, a user has a 21-day window to download and install your app. You are charged for installs that are delivered during this period.
是的!可以使用服务器到服务器(S2S)追踪进行安装归因。
它需要24 至 48 小时是否批准广告活动,取决于广告活动本身。
CPM 广告活动不再提供 InPlay 广告.
Chartboost 有 21 天安装归因窗口期。如果某位用户在 21 天内首次点击了促销您 App 的广告,费用将从您的广告帐户中扣除,即使您的 CPI 广告活动已经停止展示。
Chartboost 有 7 天点击归因窗口期。如果用户点击了您的广告,您 CPC 广告活动停止展示之后最多 7 天的费用将从您的广告帐户中扣除。
eCPM 是我们的系统用来决定哪个广告活动投放到特定的广告活动发布的重要指标。由于 Chartboost 广告主对每次点击或安装(而不是每次展示)出价,Chartboost 的 eCPM 是广告活动的安装率(IR),点击率(CTR)和竞价的组合,反映了广告活动的整体竞争力。所以广告表现越好,您就能获得更高品质的流量。更多优化信息
因为我们的网络是动态的 – 每天都有新的开发者加入我们 – 因此很难预测。请记住,您获得的流量也取决于您的 eCPM(IR、CTR 和竞价的组合),所以很难通过简单的竞价估算出点击和安装数量。 我们可以和您一起优化您的广告活动,您也可以使用您帐户的报告工具识别和了解一段时间内的趋势。
在我们的系统检索符合发布广告的设定标准的广告活动时,它将把表现最好的广告活动展示在发布游戏中。 我们使用eCPM指标评估表现,通常定义为每千次有效展示服务费用(eCPM =费用或收益/展示次数 * 1000)。但由于 Chartboost 广告主竞价每次点击或安装(而不是每次展示),Chartboost的 eCPM 是安装率(IR)、点进率(CTR)和竞价的组合,反应了该广告活动的整体竞争力。 收益表:广告效果越好,您越能获得更多高品质流量。 有关用来提升您的绩效并最大化 ROI 的提示信息,请访问我们广告文档的优化部分这里。
在“要推广的 App”下拉列表中选择您的游戏之前,您需要执行一些操作:
另外请注意,如果您要保存网络广告活动,您的帐户余额必须大于或等于广告活动的每日预算。要增加资金或从您展示收益中转钱,请点击这里。 仅交叉推广活动:如果您要设置一个交叉推广,并尝试在有可选退出的 App 内宣传一个没有可选退出行为跟踪的 App,要推广的 App下拉列表中不会显示要发布的 App(拥有可选退出),反之亦然。只有有可选退出的 App 可以在其他有可选退出的 App 中推广。
若要将某个安装归属到您的广告活动,用户必须在点击您的广告后 21 天内启动您的游戏。每次我们系统收到您游戏的初始化调用时,我们将记录启动,所以请确保您 App 中每次调用时代码都可用。
对不起,我们不支持激励安装。
我们 强烈推荐让 Chartboost 决定您的广告活动中显示哪些 App。只有当您出于商业原因(如竞争或类似的 App)时才需要筛选 App,请按照以下说明操作。
以下是如何使用 Microsoft Excel 筛选 App:
我们建议您在单个广告活动中不要筛选超过 1500 个 App。
对后台控制面板的任何更改可能会花费最多 30 分钟生效。
如果您筛选掉某个 App 并且某个用户已经在他们的设备上缓存了那个广告,广告仍然会显示最多 24 小时。
请告诉我们!请包括您要删除的 App 的名称和 ID。
因为网络中的情况经常发生变化,我们建议每过几周清理筛选,重新评估贡献低 eCPM 的游戏,然后排除新列表。您可能会非常惊讶两个组的差异。
Why can't I see ads in my game? Problems seeing ads in publishing campaigns: Campaigns may take up to 30 minutes to appear on the Chartboost network. Please wait a bit longer before checking again.
发布广告变现活动时观看广告的问题:
在交叉推广活动中观看广告时出现的问题:
我们尽量在当月最后一天支付您上月的收入,请参阅 付款条款和日期以了解更多信息。▲返回页首
发布广告活动:通过在您的游戏中发布其他开发者的 App 获得收益。开始赚钱
广告活动:通过在 Chartboost 网络上宣传您的应用程序来获得用户获得更多用户
交叉推广:在您的现有 App 中宣传新 App,完全零成本。开始交叉推广
如果您已经通过 Chartboost 后台控制面板在游戏中设置广告发布,您应该能够通过模拟器从 IDE 或设备运行您的游戏,查看您的代码调用时显示的 Chartboost 广告。如果您有任何疑问…
请为您的 App 签名保密!我们用它来确认您是应用程序 的所有者。
广告投放:费用基于 CPI、CPC、CPM 和 CPCV 广告活动. 发布广告:您的收入基于动态的广告客户购买情况,具体取决于出价类型、广告格式和其他因素。 Chartboost团队利用机器算法和数据科学不断优化我们的网络,帮助发布商获得尽可能高的eCPMs(有效每千次展示费用)和总体收入。 了解更多关于投放广告的信息
Chartboost 的目标是确保您拥有相应工具,通过货币化和获取用户来构建最成功的业务。保持网络平衡和健康意味着游戏发行商获得高eCPM,广告客户则获享高ROI(投资回报率)。 以下是一些最佳实践,可帮助您跻身高品质媒体,维护好自己的游戏。 在游戏中明智地使用广告:想一想您的玩家何时何地看到广告,参与的玩家能给您带来收入并有助于维持 Chartboost 平台的总体健康。尝试最新的广告格式,如激励式视频广告和动画GIF,为您的玩家提供尽可能好的体验。 务必保护您的帐户:确保您的密码安全,并对访问您帐户的用户数量进行限制。 确保所有提交广告均内容恰当,并且有您的知识产权(IP):始终确保提交的广告素材远离淫秽内容(洁身自好!),合法使用自己的品牌、商标或知识产权(IP)。 确保您应用程序 的第三方服务也合法:您对任何授权访问您 Chartboost 帐户的第三方的行为负责。始终确保您与符合我们条件和条款的合法合作伙伴进行合作,并帮助您保持游戏健康。 上线之前应务必使用测试模式:这样,您便可查看可能出现在游戏中的任何广告,而无需跟踪使用中的任何不规范行为。 阅读更多请点击这里. 务必监控您广告投放和安装后的关键指标:可疑的高点击率和安装率可能是非人类流量的信号。此外,忽略 D7 留存和购买活动通常是欺诈信号。 务必在后台检查广告发布情况:Chartboost 使开发和运行变得非常简单。 虽然发布广告可能觉得无需监控,但最好检查一下游戏性能以及游戏为生态系统带来的广告资源质量。 请遵守所有应用商店和广告网络指南:请务必根据指南检查您的游戏、广告或用户,以确保您不会因为不适当的活动而被标记。这些指南可在任何网络服务条款中找到。请点击此处阅读 Chartboost 的条款和条件。 请联络 Chartboost 支持团队:如果您有任何问题,我们随时在您身边!从 Chartboost 如何运作到设置视频广告的最佳方式,我们的团队都会一路相伴。 不要激励用户点击或安装:短期来看,激励用户或许会增加收入,但实际上会带来低素质用户,这对于互动另一端的广告商而言很不公平。 不要使用机器人:Chartboost 不允许软件生成的流量。始终了解您流量的来源,并确保您正在使用值得信任的渠道来增长您的受众。 Chartboost 认真对待欺诈防范,请阅读更多内容,了解我们如何看待广告网络生态系统中的欺诈行为。 加入 Chartboost 网络时,您即同意我们的条款和条件。请在此阅读全文.▲返回页首
您的收入基于动态的广告客户购买,具体取决于出价类型、广告格式和其他因素。 Chartboost团队不断利用机器算法和数据科学优化我们的网络,帮助发布商获得尽可能高的eCPMs(有效每千次展示费用)和总体收入。▲返回页首
感谢您对 Chartboost 的兴趣!您应该先了解一些事项……
如果您有上面未能回答的任何问题,请联系我们。
静态广告已是昨日黄花!信息量大、吸引人的动画 GIF比视频广告更紧凑,可显著提升您的 eCPM。试一试
高品质的视频广告以类似个性化建议的终端卡吸引玩家。 玩家观看视频后,用游戏中的好东西或虚拟货币对其进行奖励。入门指南
全屏静态广告仍然是吸引玩家注意力的最简单、干扰最少的方式
不要光看 – 试一试吧!好玩的广告是吸引游戏玩家、提高 eCPM 的最佳途径。了解更多
Android:Chartboost SDK 比您最终下载的版本大约多出 700KB。
iOS 9.x +:Chartboost SDK 比您最终下载的版本大约多出不到 1.5MB。
iOS 8.x 及以下版本:Chartboost SDK 比您最终下载的通用版本大约多出不到 4MB。
实际的 SDK数据包下载文件可能大得多因为它包括示例代码和完整的 Chartboost 框架。这些文件大多可在编译后删除。
删除应用程序为永久性操作!
删除的 App 将从所有广告活动或计划报告中删除。
如果已删除应用程序是广告活动中的唯一应用程序,
则广告活动将自动归档。
已删除 App 的数据分析在您的后台仍然可用.
What is Flexbid Tool? Flexbid allows advertisers to create ad campaigns with more tailored targeting to get value of each of their audience segmentation. While the Chartboost network only allowed for one single bidding strategy, Flexbid allows them to have different bidding strategies for each of their audience segmentation.
Flexbid 允许广告主针对不同的细分目标用户创建最匹配的广告推广活动。传统的 Chartboost 广告网络只允许单一的竞价策略,而 Flexbid 则允许针对不同的细分用户群采用不同的竞价策略。
通过 Flexbid, 广告主可以在更细的颗粒度上进行竞价,细分维度包括 开发者, 国家, 操作系统, 以及设备型号。从而锁定高质量的流量展示,提升广告效果。
➊在新的广告推广活动上添加 Flexbid
➋设置 Flexbid 推广活动
➌调试 Flexbid 广告活动
➍保存 Flexbid 推广活动
A device list is a simple list of device identifiers that lets you organize players into groups you can then apply these lists to campaigns. (Note: Device lists are optional.)
设备列表为设备标识符的简单列表,让您组织玩家到不同组别 — 您可以将列表应用到广告活动中。(注: 设备列表为可选内容。)
您有两种方法可以创建设备列表:
您需要用来生成列表的标识符为:
如果您使用 TestFlight 来测试您的 Chartboost 集成,请务必阅读集成详情然后再生成设备列表。
首先,请前往帐户的设备列表一栏,您会看到已有列表和控制面板用来添加新列表:
添加列表方法:
(注意: 取决于文件大小,系统可能需要数小时来处理您的列表,处理完成方可显示有效和无效设备 (无效会以红色高亮),然后方可用于广告活动。)
如需覆盖2、从帐户下载3或删除4,请点击列表操作栏的 3 个图标之一:
生成设备列表后,您通过编辑广告活动页面的广告活动逻辑栏将其应用到您的设备:
1. Excel 有 100 万行数限制,不过如果您需要添加更多设备到列表,您可以创建基于文本的 CSV (或使用 API)
2. 上传新文件到已有列表以替换原列表
3. 下载于 7 天后失效
4. 您无法删除处于活动状态的广告活动的列表
Trouble seeing a cross-promotion campaign? This usually happens when you're trying to cross-promote apps that have already been installed on your device. Chartboost knows not to show ads for these apps.
无法看到交叉推广活动?这通常是由于您的设备上已经安装了您要进行交叉推广的应用。Chartboost 不会显示此类应用。
如需修复问题,请重置您的设备广告标识符。方法如下:
Android
依然无效?告诉我们!
Chartboost identifiers explained: expected formats, use, and support.
IFA 又称 IDFA。两者所指相同。
发送字段:
格式:
平台:
支持提供:
如何获取我的 IFA?(iOS 版本 6.0+)
// 导入内容#import <CommonCrypto/CommonDigest.h>#import <AdSupport/AdSupport.h>// 打印 IFA (广告标识符) 到输入端。添加到 applicationDidBecomeActive,仅 iOS 6+ 设备。 NSString* ifa = [[[NSClassFromString(@"ASIdentifierManager") sharedManager] advertisingIdentifier] UUIDString];ifa = [[ifa stringByReplacingOccurrencesOfString:@"-" withString:@""] lowercaseString];NSLog(@"IFA: %@",ifa);
或者您可以使用第三方应用 The Identifiers 来找到您的设备的 IFA。
使用 Chartboost SDK 是否符合 Apple 的 IDFA 政策?
Chartboost SDK 遵循限制广告跟踪设置和 Apple 在使用 IDFA 方面的限制:
请放心使用 Chartboost SDK,如有任何问题或顾虑,请联系我们。
发送字段:
格式:
平台:
支持提供:
如何获取 GAID?
发送字段:
格式:
平台:
支持提供:
Get Account Information. This endpoint returns the specific monetary values for the account. It does not require any parameters other than user ID and user signature validation.
Some of these endpoints require your campaign ID, which can be found at the end of your campaign's URL.
某些端点需要广告活动 ID。我的广告活动 ID 在哪里?
Get App Information. The app endpoint provides detailed information on your app(s) and reflects specific fields displayed on a given app's Basic Settings page. You can only retrieve information for one or all apps per individual request.
Campaign analytics. The campaign analytics endpoint provides detailed reports that can be grouped by either app or creative. Be advised that when specifying a groupBy field, a job ID will be returned by the Queued Analytics system, as detailed in the “Before you begin” section.
中介网络说明: 强烈建议您忽略广告活动类型字段,因为 API 会自动为 network 返回结果。
“更多应用”数据未包括在此 API 中。注意,应用和广告活动端点和您的后台数据分析可能有出入。使用广告活动端点并按照国家分组以获取应用, 国家, 和 ad_type 数据。
API 返回的数据一般会有几个小时的延迟。默认以 UTC 时区为基准。
所有 adLocation 为空 "" 的记录会被聚合到 Default 这个命名空间下.
adLocation 命名空间的值必须是最近活跃的(譬如被多次请求并展示)。否则它们可能被聚合到 Default 命名空间下。
With the Chartboost API, you can access campaign and app analytics, retrieve account and earnings information and more.
在您开始前
// 用于初始化查询请求的伪代码示例
query_url = "http://analytics.chartboost.com/v3/metrics/campaign?" + query_params
query_params = "... groupBy=app,creative ..."
response = get(query_url);
if (response.status = 202) {
jobId = response.parse('jobId');
// 捕获 jobId 用于 retrieve() 函数
file.write(jobId);
}
else {
// 处理失败
};
// 用于通过 jobId 取回结果的伪代码示例
query_url = "http://analytics.chartboost.com/v3/metrics/jobs/" + jobId
query_params = ""
created = get(query_url + "?status=true");
if (created.status == 201) {
response = get(query_url);
if (response.status == 200) {
// 一头扎进数据里
}
else {
// 处理失败
}
};'
以下准则帮助我们确保所有用户请求均得到快速回复。如果您不遵守限制,您的 API 访问会受到限制。请妥善使用我们的 API,为了您也为了其他 Chartboost 客户。
请分开发送请求。如果您每天需要 5 份不同报告,请不要同时发送 5 个请求。请间隔几分钟来喘口气。如果您的查询频率超过每分钟一次,您的 API 访问将会受限。
将您的多个应用归到一个请求中。请勿为每个应用发送单独 API 请求,去掉 appId 参数,让 API 返回所有数据。
The following applies to all types of callbacks: Your Server: You'll need a server that's ready to support real-time events. Downtime / Timeouts: We make three attempts to deliver callbacks to your server. If all attempts fail, your endpoint will be blacklisted for 15 minutes. During blacklistings, the callbacks will not be sent or attempted until the full time has elapsed.
以下内容适用于所有数据传输类型:
As your callbacks setup starts reporting data to your server or third-party service, you may notice discrepancies between the figures in our dashboard and those in your system.
当您的 Callback 回调设置开始向您的服务器或第三方 MMP 汇报数据后,您会发现我们后台和您系统中的数据存在差异。
我们很乐意协助调查差异,但是在调查之前,请考虑一些普遍因素:
You can specify your own key name and then choose one of the following values for that key.
您可以指定自己的 Key 参数名,然后选择以下其中一个值作为该参数的值。
您还可以通过点击“+”按钮添加自己的静态和动态参数。
时间戳
格式描述D工作日作为区域简略名称l工作日作为区域全称M月份作为区域简略名称F月份作为区域全称d月份日期用十进制数字表示 [01,31]H小时数用十进制数字表示 [00,23] (24 小时制)h小时数用十进制数字表示 [01,12] (12 小时制)z天数用十进制数字表示 [001,366],其 PHP 范围为 [000,365] 但仍将 364 天算作一年m月份用十进制数字表示 [01,12]i分钟用十进制数字表示 [00,59]aAM 或 PM 的区域对应表述;在 PHP 中为小写,在 Python 中为大写AAM 或 PM 的区域对应表述s秒钟用十进制数字表示 [00,61]w工作日用十进制数字表示 [0,6];0 = SundayW一年中的星期数,周一为周中第一天y年份用十进制数表示,不显示前两位数 [00,99]Y年份用十进制数表示 (例如 2016)OUTC 以 +HHMM 或 -HHMM 体现在形式上T时区名称,原生对象字符串为空e时区名称,原生对象字符串为空UUnix 时间
Get event notifications about clicks, completed video views, or converted installs.
Chartboost 的 POST 回调不包含请求正文中的数据。相反,它将数据作为附加到 URL 的查询字符串包含在内,类似于 GET 回调。
如果与此广告活动关联的应用已将此回调关联到相同的事件,则无需将此回调关联到广告活动。
如果您对此变更有任何疑问,请联系 我们的技术支持团队.
Chartboost's S2S tracking lets you leverage install attribution from third-party platforms to create CPI campaigns on the Chartboost network.
➊将点击回调添加至您的 App
➋添加已完成展示回调启用展示归因(VTA)
展示归因(VTA)允许您记录那些观看过视频广告后,即使未点击广告,但在较短时间段内安装您 App 的安装记录。了解更多
➌➌ 配置您的第三方平台以发送归因和启动数据
选择您的第三方服务获取更多说明:
为了确保您的 App 的最佳定向和表现,您的 App 启动后的 几秒内必须始终调用启动/安装通知,这与您的App 内任何其他操作或用户互动无关。
➍在您的 Chartboost 后台控制面板上请求 S2S 安装跟踪
如果您的 App 之前集成了 SDK,在您请求 S2S 跟踪之前正在由 Chartboost 广告活动推广,转换完成之前您可能会被收取最多 21 天的 SDK 驱动的安装。转换后,安装归因窗口将在至少 7 天后与第三方一致。
Activate Adjust install attribution & bootup postbacks, add your app’s Chartboost app ID and app signature to your Adjust dashboard under Partner Setup > Chartboost.
如需激活 Adjust 安装归因属和启动回传,只需添加您的应用的 Chartboost AppID 和 AppSignature 到 Adjust 后台,可以在合作伙伴设置 > Chartboost 下找到。
基本完成了!现在从 Chartboost 后台请求 S2S 跟踪。
To set up Tenjin install attribution and bootup postbacks
如需设置 Tenjin 安装归属因启动数回传:
Please work with your point of contact at Singular set up postbacks for your app, then request S2S tracking from the Chartboost dashboard.
To set up install attribution and bootup/session postbacks in the Kochava dashboard
如需在 Kochava 后台设置安装归属和启动/会话回发:
To set up attribution postbacks for AppsFlyer, add your Chartboost app ID and app signature to the AppsFlyer dashboard under Chartboost S2S.
如需为 AppsFlyer 设置归因回传,请在 Charboost S2S 下 AppsFlyer 后台添加您的 Chartboost AppID 和 AppSignature,然后从 Chartboost 后台请求 S2S 跟踪。
您可以在 AppsFlyer 后台开启应用内购数据回传,用于安装后数据分析,目前仅支持IAP 内购事件。请见 AppsFlyer 文档
Refill your balance to keep running your advertising campaigns.
在您开始前
➊登录到您的后台
前往后台的管理资金 > 添加资金或点击此处。
➋添加资金
有三种方式可以添加资金:
以某些方式添加资金可能会造成非 Chartboost 费用:
Chartboost 不收取转入电汇费用。不过,您的银行可能会收取电汇费用,约为 $20-$35。建议您添加 Charge Our 说明到您的电汇说明里,这样电汇费用可以全款到达您的广告余额。
Here are some tips and tricks to get more high-quality players!
作为广告主,您的目标就是以合适的价位获取稳定数量的高质量玩家。
当系统依照发布活动条件获取相应广告活动后,系统会为发布游戏提供最优的广告。
我们衡量业绩的方法是 eCPM 指标,通常定义为每千次广告展示次数的有效成本。,Chartboost eCPM 由广告活动的安装率 (IR)、点击率 (CTR)和反映活动的整体竞争力的投标组成。因此,您的广告表现越佳,您就能获得更优质的流量。
以下是改善表现和最大化投资回报率 (ROI) 的五条建议:
我们建议您一次运行 3-4 个不同的广告图片,最多每周刷新一次 (至少每月刷新一次)。新的插页式广告为您的游戏提供新视角,可以提高您的 CTR;用户往往对不曾见过的广告图片反应较好。
查阅我们博客上的优秀广告图片一览,我们会展示 Chartboost 网络上表现最优的广告图片。其他有用内容: 我们的广告图片文档页面有更多提示/技巧,还有您在启动广告活动前需要了解的要求。
您可以通过广告活动配置页面查看广告的 CTR 和 IR,并手动或通过我们的广告优化功能自动分配流量。
您需要跟您的潜在玩家所关注的媒体并与之合作,但同时应该为点击或安装做适当支出。为实现目标,您可以从您的广告活动中筛选出eCPM 较低的游戏。筛选后,您可以让您表现较佳的应用 (能产生更多点击/安装的应用) 来显示您的插页式广告。
首先,请查阅我们的应用筛选功能。当您建立好您的透视表格并计算出 eCPM 后,搜索高展示次数且低 eCPM 的应用: 推荐您删选出排名前 10-15 且 eCPMs 低于 $1.00 的应用。
以最低价投标看似是个削减成本的好主意,不过,低投标也意味着较低的 eCPM,即展示次数较少。我们建议您从网络平均价格 (或者以您认为合适的高价) 开始投标,然后根据流量调整投标。
您可以使用我们实用的洞见页面掌握信息,做出明智决策: 您会发现世界各地 Android 和 iOS 广告活动的平均 CPI 投标。
简而言之: 长期来看,将投标调低的成本效益更高,而非调高。
各国玩家有不同的消费习惯:一名美国玩家或许比一名马来西亚玩家更愿意在您的游戏中花钱,所以您有必要按需调整投标,才能让广告大获成功。
关键是如何为同一广告活动创建不同的目标,您可以在广告活动定位栏中实现。为了帮助您迅速创建多个目标,我们在这一栏中将各国分成了几组,每一层级都是历史上 eCPM 相似的国家集合。
要在目标上添加层级,只需在按国家定位栏中点击它的名字。更多分层信息
您的广告优化工具库还包括了洞见页面,您可以查看每个国家的平均 Android 或 iOS CPI 投标。
如果您想在多于一种的设备上推广游戏,请考虑为每个类型分别定位。如果每种设备类型都有自己的目标,它们也能同时设置自己的投标,这些投标可经调整以弥补目标的糟糕表现。(如需按目标监控广告活动表现,只需前往广告活动 > 数据分析,运行通过广告活动目标分组报告。)
请记住: 如果您的广告活动没有分开设置目标,如此调整要困难得多,因此请记得使用!
Optimize your advertising campaign to control your bid type and amount, which users or devices will see your ads in which countries, and more!
➊ 从您的后台选择广告活动。
➋ 点击
以展开高级设置并作更改。了解您下方的选项。
➌完成后点击保存。
选中屏蔽 17+ 复选框以阻止成人应用显示您的广告。
添加唯一 URL 将用户从广告活动转至特定网站或跟踪用户。
➊从您的后台选择广告活动。
➋前往广告活动定位并做更改。了解您下方的选项。
➌点击添加定位以添加更多定位。点击
以禁用定位。
➍完成后点击保存。
选择仅定位 Wi-Fi 网络设备以缩小定位范围到当前连接到 Wi-Fi 网络的设备。
To help advertisers prepare for Apple's release of iOS 14.5 and enforcement of ATT, we are currently supporting SKAdNetwork campaigns for testing. This will allow you to do a complete test of SKAdNetwork attribution using your MMP partner for primary attribution and billing.
为了帮助广告主应对iOS 14.5的发布以及ATT的实施, 我们现在推出了SKAdNetwork广告活动,以帮助广告主进行试验。 这样,您就可以使用MMP合作平台对主要归因及付费进行SKAdNetwork的测试。Chartboost后台的CPI付费也即将推出。
测试模式下的SKAdNetwork广告活动不会替换您现有的任何iOS广告活动和目标。 我们会尽快发布此功能,这样您就可以开始测试SKAdNetwork广告活动、查看初期表现,并将其与普通iOS广告活动进行比较。
请按照本指南创建目标为iOS 14+的SKAdNetwork广告活动
Acquire users by advertising your app on the Chartboost network.
在您开始之前,请确保您已经阅读了相关的条款。
➊开始新的广告活动
➋使用广告目标定向和高级设置优化您的广告活动
➌输入您的出价和预算
➍上传您的广告素材
➎提交您的广告活动供审批
➏分析数据保持增长
To ensure a transparent, safe and fraud-free in-app ecosystem, Chartboost supports app-ads.txt, a standard released by the IAB to fight inventory fraud for apps.
App-ads.txt 是一个文本文件,此文件列出授权销售移动 App 开发者(变现端)广告资源的广告来源。移动 App 开发者将此文件放到自己的网站上,让流量的买方(广告主)平台通过爬虫自动抓取并分析开发者网站上的 app-ads.txt 文件,以此验证所有的竞价请求来自正规的流量卖方。
App Privacy Settings. To disable tracking for a list of devices
开发者需要上传的内容格式包含单独一列的设备ID(不需要标题行),如示例所示。 其他格式将返回错误。
68753A44-4D6F-1226-9C60-0050E4C0006768753A44-4D6F-1226-9C60-0050E4C0006868753A44-4D6F-1226-9C60-0050E4C00069
Set up your payment details so we can send you your money.
➊登录到您的后台控制面板
转至您后台控制面板中的管理资金 > 付款详情或者点击这里。
➋填写您的付款详情
如果在地址部分中,您的国家不在付款方式选定国家或地区中,请发送邮件至 payments@chartboost.com 告诉我们。默认情况下,我们假设你的帐户与您的地址在同一个国家或地区。
请不要在电子邮件中将您的 W-9 或 W-8BEN 税表发送给我们!Chartboost 对您或发布者应支付给美国国税局或您的政府的税务不进行任何税务代扣。
更改可能需要 最长一个小时时间显示在您的后台控制面板上。
➌获得报酬
As a publisher, your goal is to maximize earnings by showing as many ads as possible from advertising campaigns with high eCPMs.
作为媒体,您的目标就是最大化收入,方法是在高 eCPM 的广告活动中展示尽可能多的广告。 当系统依照您设置的发布活动条件获取相应广告活动后,系统会为发布游戏提供最优的广告。 我们衡量业绩的方法是 eCPM 指标,通常定义为每千次广告展示次数的有效成本。不过,因为 Chartboost 的广告主基于每点击次数或每安装次数 (而非每广告展示次数) 参加投标,Chartboost eCPM 由广告活动的安装率 (IR)、点击率 (CTR)和反映活动的整体竞争力的投标组成。 (从展示广告的角度而言,eCPM 代表了当您的游戏为某一广告活动的展示广告次数达到 1000 时您所预计取得的收入。此为关键表现指标,但是我们系统并不使用媒体的 eCPM 将广告活动和广告应用相匹配。) 以下是您可以用来最大化收入的三大策略:1. 使用命名地点来调整您展示广告的位置众所皆知,并非所有的广告位置都一样。我们非常支持应用启动时的广告 (干扰游戏体验最少),但是也许您的游戏的另一位置最容易获取玩家的关注。关键就是要找到这些位置,命名位置让一切变得简单,不用将重复的代码更新推送至 iTunes 或 Google Play。 详细的 iOS 集成命名位置安装指南在此,但是最基本的想法就是在提交前尽可能多的在代码中添加位置。您可以通过后台按照命名位置管理广告活动,游戏上线后对其进行 A/B 测试也很容易。(如需进行,请前往应用 > 分析 然后运行按广告位置分组报告。)
Optimize your publishing campaign to control what genres of ads appear in your games, how often they appear, which users or devices will see them, and more!
以展开高级设置并作更改。了解您下方的选项。
选中屏蔽 17+ 复选框以阻止成人游戏显示您的广告。
➊ 从您的后台选择发布活动。
➋ 前往广告活动定位并做更改。了解您下方的选项。
➌ 点击添加定位以添加更多定位。点击
以禁用定位。
➍ 完成后点击保存。
设置用户在此广告活动中能看到广告的每周、每日或每小时最大次数
Earn revenue by publishing ads from other developers' apps in your game.
在您开始之前
➊开始新的广告活动
➋使用定位和高级设置优化您的广告活动
广告活动可能需要长达 20 分钟才能上线。
➌获得报酬
Chartboost is dedicated to ensuring the high quality of our supply. Publishers will need to request app review to start running publishing campaigns with Chartboost.
从 2019 年 10 月 23 日起,所有广告变现的 App应用,在启用广告变现活动之前需要经过 Chartboost 官方的审核。
Chartboost 建议开发者先在 App 里将 ChartboostSDK 集成完毕,并提交上线到应用商店以后,再申请应用审核。
如果您的 App 还未成功集成 ChartboostSDK 且上线,将无法通过 App 应用审核。在这种情况下,开发者可以遵循以下步骤:
在测试模式下,请不要在 App Settings 页面填写 Bundle ID (GooglePlay) 或者 Market URL (AppStore),否则关闭测试模式后这个输入框将变成不可修改。必要时请联系您的客户经理或者 Chartboost 技术团队获得支持。
➊在 Chartboost 后台添加一个新 App应用
如果您希望使用 Chartboost 做广告变现,您需要先在 Chartboost 后台添加一个新 App应用。
注意 Chartboost 的 App ID 与您的 App应用 必须保持唯一的对应关系。根据我们的条款规定,不能在多个 App 应用里使用同一个 Chartboost AppID。
对于您以前添加过的 App应用,如果从来没有为它们创建过广告发布活动的话,需要重新提交审核申请。
➋下载、集成 Chartboost SDK 并在移动设备上运行
请确保集成了最新版本的 Chartboost SDK,否则有可能因此被拒绝通过。
➌将应用设置成 “允许发布”
您需要将应用的状态设置成”允许发布“,步骤如下:
我们的工作人员会尽快审核您的 App并邮件通知您,请及时查收邮件。审核流程大概需要工作日时间 48 小时。如果您的请求在一周内没有得到回复, 您可以通过 此页面 的 Publishing -> I didn’t get a response to my Publisher App Review Request 来与我们联系。
注意:在已提交 App 应用审核之前,您需要将已集成 Chartboost SDK 的 App 放到移动设备上运行一遍,确保该 App 的 “SDK” 图标已经变成绿色。
➍查看 App应用的审核状态
注意, 在您的 App 应用通过审核之前,在广告发布活动的页面,该 App 应用会在选择窗口中呈灰色(不可选)状态。
有多种情况会导致应用审核不通过,常见的原因如下:
如果您的 App 应用因为以上原因被拒,您可以在 14 日内修复并 联系我们 再次审核。否则,请按照 此页面 的 Publishing -> My app has been rejected for publishing 条目下的步骤进行处理。
原因可能是我们的审核人员检测到您的 App 在启动时并未成功加载 Chartboost SDK。具体有三种情况:
对于您之前创建的 App,如果没有创建相应的广告发布活动(Publishing Campaign),则需要重新提交审核申请。具体请参考 “将应用设置成 ‘允许发布’” 一节。
With iOS 14 Apple introduced changes to how apps can track users for target advertisement and install attribution. Chartboost takes care of most of the details, but there are a few new steps that you'll need to handle to successfully integrate our SDK.
iOS 14 隐私新规改变了用户定向与安装归因的逻辑。Chartboost 已经为 iOS 新政做好了准备,开发者也需要立即对接我们最新的 SDK。
如果您没有进行以下操作,您的流量将不符合 SKAdNetwork 的规定,我们将无法为您的iOS 14.5+ 用户展示广告,这将严重影响您的变现收入。
您必须选择 iOS SDK 8.3 或以上版本来符合 SKAdNetwork 的规定。
将我们完整的 SKAdNetwork ID 添加到您应用的 info.plist 文件中很重要,因为每一个 SKAdNetwork ID 代表一家广告买量平台。如果没有添加某个平台的 SKAdNetwork ID,那么这家广告买量平台将无法对您的 iOS 14.5 流量竞价,也无法对其带来的下载做正确归因。
Chartboost 完整的 SKAdNetwork IDs 您可以在这里找到 XML 和 JSON 格式,您需要将此处所有的 SKAdNetwork IDs 添加到 info.plist 中。
举例:
将带有 Chartboost 的 SKAdNetwork ID 值 f38h382jlk.skadnetwork 和其他广告平台SKAdNetwork ID 值添加到 Info.plist 中的 SKAdNetworkItems 数组中。
<key>SKAdNetworkItems</key><array><dict><key>SKAdNetworkIdentifier</key><string>f38h382jlk.skadnetwork</string><dict/></array>
更多有关编辑 info.plist 的信息详见以下两个页面:如何添加 SKAdNetwork ID 和 编辑 property lists。
Show different ad campaigns at different points in your game and fine-tune your campaigns' behavior from your dashboard.
➊在您的代码中调用命名位置
// 显示带位置标记指示关卡结束的插页式广告
[Chartboost showInterstitial:CBLocationLevelComplete];
// 检查是否已缓存您希望从商店显示的激励式视频
[Chartboost hasRewardedVideo:CBLocationIAPStore];iOS SDK 的预定义位置请见 Chartboost.framework > Headers > Chartboost.h
Chartboost.showInterstitial(CBLocation.LOCATION_LEVEL_COMPLETE);
Chartboost.hasRewardedVideo(CBLocation.LOCATION_IAP_STORE);Android SDK 的预定义位置请见 docs 文件夹的 CBLocation 界面类。
Chartboost.showInterstitial(CBLocation.LevelComplete);
Chartboost.hasRewardedVideo(CBLocation.IAPStore)Unity SDK 的预定义位置请见 Chartboost > Scripts > Chartboost.cs▲ 返回顶部
➋设置您的后台以显示命名位置
➌使用命名位置以决定您的广告活动逻辑
➍添加自定义命名位置以进一步控制广告活动行为
使用用户指定字符串来生成您自己的命名位置。
[Chartboost showInterstitial:@"CustomLocation"];
Chartboost.showInterstitial("CustomLocation");
Chartboost.showInterstitial(CBLocation.locationFromName("CustomLocation"));
Chartboost.getInstance().showInterstitial("CustomLocation");▲ 返回顶部
These methods allow you to access Chartboost SDK functionality and settings. Choose a platform to view its methods.
对于 iOS SDK 8.2.0 and 8.2.1, 请您在初始化 Chartboost SDK 之后再调用 setLoggingLevel 方法,切勿提前调用。
// 设置 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
+ (void)setCustomId:(NSString *)customId;
// 获取当前 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
+ (NSString *)getCustomId;
// 控制 SDK 是否提前下载视频广告从而改善性能。默认启用。如禁用,会对 SDK 投放视频广告的能力造成严重影响!
+ (void)setShouldPrefetchVideoContent:(BOOL)shouldPrefetch;
// 设置输出的在控制台 Log 的详细等级.
+ (void)setLoggingLevel:(CBLoggingLevel)loggingLevel;
// 针对 Chartboost 广告 静音/消除静音
+ (void)setMuted:(BOOL);
了解缓存详情
// 在指定位置检查已缓存插页式广告。
public static boolean hasInterstitial(String location)
// 在指定位置检查已缓存“更多应用”页面。
public static boolean hasMoreApps(String location)
// 在指定位置检查已缓存激励式视频。
public static boolean hasRewardedVideo(String location)
// 检查是否有任何视图可见。
public static boolean isAnyViewVisible()
// 设置以启用或禁用自动缓存功能。默认启用。
public static void setAutoCacheAds(boolean autoCacheAds)
// 获取当前自动缓存行为。默认为“True”。
public static boolean getAutoCacheAds()
// 设置 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
public static void setCustomId(String customID)
// 获取当前 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
public static String getCustomID()
// 判断 Chartboost SDK 是否应该在首次会话展示插页式广告。
public static void setShouldRequestInterstitialsInFirstSession(boolean shouldRequest)
// 判断 Chartboost SDK 在准备显示“更多应用”界面时是否显示加载视图。
public static void setShouldDisplayLoadingViewForMoreApps(boolean shouldDisplay)
// 判断 Chartboost SDK 是否尝试从 Chartboost API 服务器抓取视频。
public static void setShouldPrefetchVideoContent(boolean shouldPrefetch)
// 设置在控制台输出的 log 详细等级
public static void setLoggingLevel(CBLogging.Level lvl)
了解缓存详情
// 在指定 CBLocation 检查已缓存插页式广告。
public static bool hasInterstitial(CBLocation location)
// 在指定 CBLocation 检查已缓存“更多应用”页面。
public static bool hasMoreApps(CBLocation location)
// 在指定 CBLocation 检查已缓存激励式视频。
public static bool hasRewardedVideo(CBLocation location)
// 检查是否有任何视图可见。
public static bool isAnyViewVisible()
// 设置以启用或禁用自动缓存功能。默认启用。
public static void setAutoCacheAds(bool autoCacheAds)
// 获取当前自动缓存行为。默认启用。
public static bool getAutoCacheAds()
// 设置 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
public static void setCustomId(String customId)
// 获取当前 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
public static String getCustomId()
// 判断 Chartboost SDK 是否应该在首次会话展示插页式广告。
public static void setShouldRequestInterstitialsInFirstSession(bool shouldRequest)
// 判断 Chartboost SDK 在准备显示“更多应用”界面时是否显示加载视图。
public static void setShouldDisplayLoadingViewForMoreApps(bool shouldDisplay)
// 判断 Chartboost SDK 是否尝试从 Chartboost API 服务器抓取视频。
public static void setShouldPrefetchVideoContent(bool shouldPrefetch)
// 用以控制全屏广告单元和状态栏的互动。默认 CBStatusBarBehaviorIgnore。
// 仅限 iOS
public static void setStatusBarBehavior(CBStatusBarBehavior statusBarBehavior)
了解缓存详情
// 在指定 CBLocation 检查已缓存插页式广告。
Bool hasInterstitial(location: String!)
// 在指定 CBLocation 检查已缓存“更多应用”页面。
Bool hasMoreApps(location: String!)
// 在指定 CBLocation 检查已缓存激励式视频。
Bool hasRewardedVideo(location: String!)
// 设置以启用或禁用自动缓存功能。默认启用。
Void setAutoCacheAds(shouldCache: Bool)
// 获取当前自动缓存行为。默认启用。
Bool getAutoCacheAds()
// 设置 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
Void setCustomId(customId: String!)
// 获取当前 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。
String! getCustomId()
// 判断 Chartboost SDK 是否应该在首次会话展示插页式广告。
Void setShouldRequestInterstitialsInFirstSession(shouldRequest: Bool)
// 判断 Chartboost SDK 在准备显示“更多应用”界面时是否显示加载视图。
Void setShouldDisplayLoadingViewForMoreApps(shouldDisplay: Bool)
// 判断 Chartboost SDK 是否尝试从 Chartboost API 服务器抓取视频。
Void setShouldPrefetchVideoContent(shouldPrefetch: Bool)
// 用以控制全屏广告单元和状态栏的互动。默认 CBStatusBarBehaviorIgnore。
Void setStatusBarBehavior(statusBarBehavior: CBStatusBarBehavior)
// 设置输出到控制台的 log 详细等级。
public static func setLoggingLevel(_ : CBLoggingLevel)
// 静音 / 消除静音
public static func setMuted(_ : Bool)
了解缓存详情
Verify your Chartboost integration with Test Mode before you set up your campaigns.
若您已在游戏中看到上线的广告,则已成功集成且无需运行测试模式。测试模式的目的仅在于使用我们的 Buster’s Boost 广告测试您的集成。
➊启用测试模式
启用或禁用测试模式后,请再等待30分钟以使更改生效。
➋使用测试模式
➌禁用测试模式
上线之前必须禁用测试模式,否则将无法看到广告系列中的广告!
启用或禁用测试模式后,请再等待30分钟以使更改生效。
Unity - Delegate Methods. The Chartboost SDK's delegate methods allow you to exercise a greater degree of control over your integration.
Chartboost SDK 的委托和配置方法让您可以对集成具备高度控制。例如,您可以:
您可以在 Chartboost.cs 文件中找到可供您使用的 Chartboost Unity SDK 方法 (可在已导入 Unity 插件文件中找到 (Chartboost > Scripts > Chartboost.cs)。实施方法示例请见 ChartboostExample.cs 文件 (Chartboost > Examples > ChartboostExample.cs),该文件在您的 SDK 下载所包括的示例场景中。
这些方法让您可以访问 Chartboost SDK 功能和设置:
* 您可以在此了解常规 AutoCacheAds 设置和广告缓存。)
Chartboost Unity SDK 使用 C# 样式委托和事件以实现委托功能。使用任何委托方法之前,您应先依照示范在 MonoBehaviour 中订阅相关 SDK 事件:
您还应确保在合适的情况下取消订阅相同事件:
您可以随意订阅上方所有事件,或只订阅您需要的事件。然后继续实施相关委托方法以处理每项事件的响应。
(有关 Chartboost 视频的更多信息,参见此页。)
Android - Delegate Methods. The Chartboost SDK's delegate methods allow you to exercise a greater degree of control over your integration.
Chartboost SDK 的委托方法让您可以对集成具备高度控制。例如,您可以:
您可以查看包括在您的 SDK 下载的 doc 文件夹中的文档以查看供您使用的 Chartboost Android SDK 方法。您可以在包括在文件包中的示例项目里看到这些方法的使用示例。
这些方法让您可以访问 Chartboost SDK 功能和设置:
(您可以在此了解常规 AutoCacheAds 设置和广告缓存。)
在使用委托函数前,在您的活动的 onCreate() 方法中设置 Chartboost 委托,例如:
然后,按照如下实例化委托对象和声明委托方法:
(有关 Chartboost 视频的更多信息,参见此页。)
Android 年龄限制已弃用。
iOS - Delegate Methods. The Chartboost SDK's delegate methods allow you to exercise a greater degree of control over your integration.
Chartboost SDK 的委托方法让您可以对集成具备高度控制 — 使用这些方法来量身定做您想要的广告体验。目录
Chartboost SDK 的委托方法让您可以对集成具备高度控制。例如,您可以:
您可以在 Chartboost 框架的 Chartboost.h 头文件中查看 Chartboost iOS SDK 方法。您可以在包括在您的 SDK 下载中的示例项目里看到这些方法的使用示例。
这些方法让您可以访问 Chartboost SDK 功能和设置:// 在指定 CBLocation 检查已缓存插页式广告。+ (BOOL)hasInterstitial:(CBLocation)location;// 在指定 CBLocation 检查已缓存“更多应用”页面。+ (BOOL)hasMoreApps:(CBLocation)location;// 在指定 CBLocation 检查已缓存激励式视频。+ (BOOL)hasRewardedVideo:(CBLocation)location;// 检查是否有任何视图可见+ (BOOL)isAnyViewVisible;// 设置以启用或禁用自动缓存功能 (默认启用)。*+ (void)setAutoCacheAds:(BOOL)shouldCache;// 获取当前自动缓存行为 (默认启用)。*+ (BOOL)getAutoCacheAds;// 设置 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。+ (void)setCustomId:(NSString *)customId;// 获取当前 POST 正文发送的自定义标识符,用于所有 Chartboost API 服务器请求。+ (NSString *)getCustomId;// 判断 Chartboost SDK 是否应该在首次会话展示插页式广告。+ (void)setShouldRequestInterstitialsInFirstSession:(BOOL)shouldRequest;// // 判断 Chartboost SDK 在准备显示“更多应用”界面时是否显示加载视图。+ (void)setShouldDisplayLoadingViewForMoreApps:(BOOL)shouldDisplay;// 控制 SDK 是否提前下载视频广告从而改善性能。默认启用。如禁用,会对 SDK 投放视频广告的能力造成严重影响!+ (void)setShouldPrefetchVideoContent:(BOOL)shouldPrefetch;// 用以控制全屏广告单元和状态栏的互动。(默认 CBStatusBarBehaviorIgnore)。+ (void)setStatusBarBehavior:(CBStatusBarBehavior)statusBarBehavior;(您可以在此了解常规 AutoCacheAds 设置和广告缓存。)
使用任何委托函数前,您应当在 Chartboost 初始化代码中使用 delegate:self 来设置 Chartboost 委托:#import <Chartboost/Chartboost.h>#import <Chartboost/CBNewsfeed.h>#import "AppDelegate.h"@interface AppDelegate () @end@implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [self initializeStoryBoardBasedOnScreenSize]; // 开始用户会话。 // 不可依赖任何用户操作或其他先前网络请求。 [Chartboost startWithAppId:@"YOUR_CHARTBOOST_APP_ID" appSignature:@"YOUR_CHARTBOOST_APP_SIGNATURE" delegate:self]; return YES;}
// 在通过 Chartboost API 服务器请求插页式广告前调用。- (BOOL)shouldRequestInterstitial:(CBLocation)location;// 插页式广告在屏上显示前调用。- (BOOL)shouldDisplayInterstitial:(CBLocation)location;// 插页式广告在屏上显示后调用。- (void)didDisplayInterstitial:(CBLocation)location;// 在插页式广告从 Chartboost API 服务器加载// 并且本地缓存后调用。- (void)didCacheInterstitial:(CBLocation)location;// 在插页式广告尝试从 Chartboost API 服务器加载// 但失败后调用。 - (void)didFailToLoadInterstitial:(CBLocation)location withError:(CBLoadError)error;// 插页式广告消除后调用。- (void)didDismissInterstitial:(CBLocation)location;// 插页式广告关闭后调用。- (void)didCloseInterstitial:(CBLocation)location;// 插页式广告点击后调用。- (void)didClickInterstitial:(CBLocation)location;
// “更多应用”页面在屏上显示前调用。- (BOOL)shouldDisplayMoreApps:(CBLocation)location;// “更多应用”页面在屏上显示后调用。- (void)didDisplayMoreApps:(CBLocation)location;// 在“更多应用”页面从 Chartboost API 服务器加载// 并且本地缓存后调用。- (void)didCacheMoreApps:(CBLocation)location;// “更多应用”页面消除后调用。- (void)didDismissMoreApps:(CBLocation)location;// “更多应用”页面关闭后调用。- (void)didCloseMoreApps:(CBLocation)location;// “更多应用”页面点击后调用。- (void)didClickMoreApps:(CBLocation)location;// 在“更多应用”页面尝试从 Chartboost API 服务器加载// 但失败后调用。- (void)didFailToLoadMoreApps:(CBLocation)location withError:(CBLoadError)error;
(有关 Chartboost 视频的更多信息,参见此页。)// 成功预先提取视频后调用。- (void)didPrefetchVideos;// 激励式视频在屏上显示前调用。- (BOOL)shouldDisplayRewardedVideo:(CBLocation)location;// 激励式视频在屏上显示后调用。- (void)didDisplayRewardedVideo:(CBLocation)location;// 在激励式视频从 Chartboost API 服务器加载// 并且本地缓存后调用。- (void)didCacheRewardedVideo:(CBLocation)location;// 在激励式视频尝试从 Chartboost API 服务器加载// 但失败后调用。- (void)didFailToLoadRewardedVideo:(CBLocation)location withError:(CBLoadError)error;// 激励式视频消除后调用。- (void)didDismissRewardedVideo:(CBLocation)location;// 激励式视频关闭后调用。- (void)didCloseRewardedVideo:(CBLocation)location;// 激励式视频点击后调用。- (void)didClickRewardedVideo:(CBLocation)location;// 在激励式视频观看完毕,用户可获得奖励时调用- (void)didCompleteRewardedVideo:(CBLocation)location withReward:(int)reward;// 实施后会进行通知,如果视频将于 // 指定 CBLocation 的屏幕上播放。您可以接着进行关闭音乐和音效等操作。- (void)willDisplayVideo:(CBLocation)location;
// 当执行完缓存命令时调用,无论缓存结果成功或者失败。
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error
// 当执行 showFromViewController: 命令时,在广告展示之前调用。
- (void)willShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
// 当执行 showFromViewController: 命令展示广告后调用, 无论广告是否已正常展示或者展示过程中出现错误都会调用。
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
// 当用户点击广告,需要执行自定义的验证逻辑时调用。自定义验证逻辑需要在 confirmationHandler 函数里实现。
- (BOOL)shouldConfirmClick:(CHBClickEvent *)event confirmationHandler:(void(^)(BOOL))confirmationHandler;
// 当用户点击 Banner 广告时调用。
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error;<
// 当执行完自定义验证逻辑时调用,无论点击事件是否确认通过或者被忽略都会调用此函数。
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error;详细的 Banner 广告代理函数请参考 此页。
// App Store 工作表消除后,显示内嵌应用工作表时调用。- (void)didCompleteAppStoreSheetFlow;// 在点击发生后而用户未转至 App Store 时调用- (void)didFailToRecordClick:(CBLocation)location withError:(CBClickError)error;//SDK 成功初始化,视频预提取完成后调用- (void)didInitialize:(BOOL)status;
// 在原生广告对象从 Chartboost API 服务器加载// 并且本地缓存后调用。- (void)didCacheInPlay:(CBLocation)location;// 在原生广告尝试从 Chartboost API 服务器加载// 但失败后调用。- (void)didFailToLoadInPlay:(CBLocation)location withError:(CBLoadError)error;
// 判断 Chartboost SDK 是否使用年龄限制进行阻拦。+ (void)setShouldPauseClickForConfirmation:(BOOL)shouldPause;// 在 Chartboost SDK 暂停点击操作,等待用户确认时调用。使用// 在您的游戏中实施年龄限制。- (void)didPauseClickForConfirmation;// 确认年龄显示是否通过。指定 Chartboost 在等待本调用多长时间 // 方可展示 iOS App Store 商店。+ (void)didPassAgeGate:(BOOL)pass;
Android - Banners. We do not serve banner ads to apps that are opted-out of behavioral targeting.
如果一个应用已经选择了“不接受行为定向广告”,那我们不会对其展示横幅广告。
横幅广告仅在 Chartboost Android SDKs 8.0.1 及以上版本支持。
Charboost Banner 横幅广告是在一个 View 视图的子类上展示的广告,跟其它广告类型不同, 开发需要自己手动控制在 App 里的某个 UI 视图上展示 Banner。
如果需要的话,多个横幅广告可以同时展示。
要创建一个 Banner 横幅广告,需要在 Android App 的 XML Layout 布局文件里添加下面内容:
<com.chartboost.sdk.ChartboostBanner xmlns:chartboost="h ttp://schemas.android.com/apk/res-auto" android:id="@+id/example_banner" android:layout_width="wrap_content" android:layout_height=" wrap_content" android:layout_centerInParent="true" chartboost:location="start" chartboost:size="STANDARD" />
开发者需要为 Banner 指定命名位置 (Location) 以及 Banner 的尺寸。
开发者需要创建一个 ChartboostBanner 对象然后指派到一个 view 视图里。 View 视图可以用 LayoutParams 参数进行自定义, BannerSize 对象根据 XML 配置文件里的 size 值来设定。ChartboostBannerListener 随后可以通过 setListener 函数来绑定。
//create new banner with: 创建一个 Banner 对象// - context - required// - location - required// - BannerSize - Required// - ChartboostBannerListener - OptionalChartboostBanner chartboostBanner = new ChartboostBanner(this, bannerLocation, bannerSize, null);//Attach object to layout 将 Banner 绑定到 Layout 对象中mBannerContainer.removeAllViews();LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT);params.gravity = CENTER_HORIZONTAL;mBannerContainer.addView(chartboostBanner, params);
开发者可以随时解除 Banner 和视图的绑定,然后删除 banner。方法如下:
chartboostBanner.detachBanner();
通过上面描述的方法创建 Banner 对象后,调用下面的方法:
缓存 Banner 广告
chartboostBanner.cache();
展示 Banner 广告
chartboostBanner.show();
STANDARD – 320 x 50
MEDIUM – 300 x 250
LEADERBOARD – 728 x 90
Banner 横幅广告默认会自动刷新其内容,刷新时间间隔为 30 秒。 你可以通过下面的方法来设置开启自动刷新,只需执行一次即可。Banner 在被点击后也会自动刷新其内容。
chartboostBanner.setAutomaticallyRefreshesContent(true);
可以通过下面的方法控制 Banner 手动刷新,首先将自动刷新关闭:
chartboostBanner.setAutomaticallyRefreshesContent(false);
然后您需要手动缓存和加载 Banner,然后设置相应的事件回调函数,确保 Banner 加载完毕后会自动展示: 范例:
void cacheBanner() { chartboostBanner.cache();}@Overridevoid onAdCached(ChartboostCacheEvent event, ChartboostCacheError error) { if(error != null) { chartboostBanner.show() ; }}@Overridevoid onAdShown(ChartboostShowEvent event, ChartboostShowError error) { if(error != null) { chartboostBanner.cache(); }}
可以为每个 Banner 设定特定的监听函数(可选),此方法可在 Banner 初始化或者后续进行。
自定义的监听函数可以用来处理 Banner 生命周期中相关的事件。
以下是 Banner 所有的事件监听函数:
Class name: ChartboostBannerListener
// Called after ad is cached and ready to be shown or indicated reason of failure // 在 Banner 缓存成功或者失败时被执行void onAdCached(ChartboostCacheEvent event, ChartboostCacheError error);// Called after ad is displayed and visible on the screen or indicated reason of failure// 在 Banner 展示成功或者失败时被执行void onAdShown(ChartboostShowEvent event, ChartboostShowError error);// Called after ad has been clicked or indicated reason of failure// 在 Banner 被点击或者发生点击错误时执行void onAdClicked(ChartboostClickEvent event, ChartboostClickError error);
委托方法调用中的所有非错误事件都包含adID属性。
这是一个对已加载广告的特殊标识字符串,可以帮助和Chartboost一起识别错误素材。
委托方法调用中的所有非错误事件都包含adID属性。
错误及具体信息可以通过以下公开代码进行检查:
ChartboostCacheError cacheError = new ChartboostCacheError(ChartboostCacheError.Code.INTERNAL);cacheError.code.getErrorCode()ChartboostShowError showError = new ChartboostCacheError(ChartboostShowError.Code.INTERNAL);showError.code.getErrorCode()ChartboostClickError clickError = new ChartboostClickError(ChartboostClickError.Code.INTERNAL);clickError.code.getErrorCode()
iOS - Banners - SDK integration. We do not serve banner ads to apps that are opted-out of behavioral targeting.
如果一个应用已经选择了“不接受行为定向广告”,那我们不会对其展示横幅广告。
你不需要在Chartboost后台创建横幅广告活动。横幅广告通过 Exchange 广告交易平台进行分发展示,直接通过SDK调用即可。 在Chartboost后台的 App 应用分析里,可以查看横幅广告的数据分析。 如果需要的话,多个横幅广告可以同时展示。
创建横幅广告,你需要通过初始化语句 initWithSize:location:delegate: 提供广告尺寸、Chartboost广告位置和可选的代理信息。 与展示 intrinsicContentSize 对应的是横幅广告的CHBBannerSize。目前有三种横幅尺寸,分别是CHBBannerSizeStandard、CHBBannerSizeMediumCHBBannerSizeLeaderboard。 如果你已经设定了自动布局,那么你只需要设定长宽限定值即可。如果你手动设置框架值,请将其设定成和 CHBBannerSize 一样的大小,例如 - (void)createBanner { CHBBanner *banner = [[CHBBanner alloc] initWithSize:CHBBannerSizeStandard location:CBLocationMainMenu delegate:self]; banner.translatesAutoresizingMaskIntoConstraints = NO; [self.view addSubview:banner]; [NSLayoutConstraint activateConstraints:@[[banner.bottomAnchor constraintEqualToAnchor:self.view.safeAreaLayoutGuide.bottomAnchor], [banner.centerXAnchor constraintEqualToAnchor:self.view.centerXAnchor]]]; }
为了展示横幅广告,首先使用:[banner showFromViewController:self];
默认横幅广告会每30秒更新一次内容。你只需要调用一次 showFromViewController:,横幅广告便会自动更新展示。如果出现点击,横幅广告也会在点击后自动更新。
如果你想取消自动刷新,将 automaticallyRefreshesContent 设为 NO 即可。这种情况下,你需要调用 cache: 进行广告加载,并使用相应的代理方法去接收广告准备好展示的事件通知。例如: (void)cacheBanner { [self.banner cache]; } // Delegate methods (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error { // Show banner after it has been cached if (event.ad.isCached) { [event.ad showFromViewController:self]; } else { // Handle error } } (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error { // Cache new ad so the next time you want to show a banner it is ready. [event.ad cache]; }
可以为每一个横幅广告设定代理,这可以在横幅广告初始化或后续的阶段进行。以下是代理方法:
- (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error说明:在缓存调用之后出现,从Chartboost服务器加载广告,不管是否成功缓存,都会出现 event 参数:包含与缓存广告事件的相关信息 error 参数:说明失败原因,若操作成功,则显示nil 讨论:当广告在缓存并成功展示后如何通知,如 (void)didCacheAd:(CHBCacheEvent *)event error:(nullable CHBCacheError *)error { if (error) { // Handle error } else { [event.ad showFromViewController:self]; // If auto-refresh is disabled. } }
- (void)willShowAd:(CHBShowEvent *)event;
说明:在showFromViewController后、展示广告前调用 event参数:包含即将被展示的广告的信息 error参数:说明失败原因,若操作成功,则显示nil 讨论:通知何时展示广告,如
- (void)willShowAd:(CHBShowEvent *)event { // Make any necessary UI updates}
在SDK版本低于8.1.0的iOS中,willShowAd 将显示如下
- (void)willShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;
说明:在showFromViewController后、展示广告前出现 event参数:包含即将被展示的广告的信息 error参数:说明失败原因,若操作成功,则显示nil 讨论:通知何时展示广告,如
(void)willShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error { if (error) { // Handle error } else { // Make any necessary UI updates } }
- (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error;说明:在showFromViewController后,不管是已经成功展示广告并记录了该展示,还是操作失败 event参数:包含被展示的广告的信息 error参数:说明失败原因,若操作成功,则显示nil 讨论:当广告展示完成的时候发出通知,如 (void)didShowAd:(CHBShowEvent *)event error:(nullable CHBShowError *)error { if (error) { // Handle error } else { [event.ad cache]; // If auto-refresh is disabled. } }
- (BOOL)shouldConfirmClick:(CHBClickEvent *)event confirmationHandler:(void(^)(BOOL))confirmationHandler;说明:当用户点击广告时,允许开发人员以此来处理此点击前的确认。 Event参数:包含广告点击的信息 confirmationHandler参数:仅当返回值为 YES 的时候执行,将出现 BOOL 进行确认 返回值:YES 表示用户点击广告时会弹出对话框暂停,让用户进行二次确认。NO 表示用户点击广告时无需进行二次确认。 警告:如果你让此代理函数返回值为 YES,请确保已经执行confirmationHandler,因为广告流会在此之前被暂停。如果使用弹出对话框来让用户进行二次确认确认,请确保执行 confirmationHandler 的时候将该对话框关闭。 讨论:返回值为 YES 的时候,需要具体实现一些代码来方法来触发 confirmationHandler,使得点击广告前二次确认。如果没有实现那些代码方法方法,则将直接跳过二次确认来处理广告点击。 如: (BOOL)shouldConfirmClick:(CHBClickEvent *)event confirmationHandler:(void(^)(BOOL))confirmationHandler if (self.needsClickConfirmation) { MyAwesomeAgeGate *ageGate = [[MyAwesomeAgeGate alloc] initWithCompletion:^(BOOL confirmed) { [ageGate dismissViewControllerAnimated:YES completion:^{ confirmationHandler(confirmed); }]; }]; [event.viewController presentViewController:ageGate animated:YES completion:nil]; return YES; } else { return NO; } }
- (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error;说明:广告被点击的时候出现 event参数:包含广告点击的信息 error参数:说明失败原因,若操作成功,则显示nil 讨论:当广告被点击的时候发出通知,如果点击未能成功打开跳转链接,将出现解释失败的原因的错误信息 如: (void)didClickAd:(CHBClickEvent *)event error:(nullable CHBClickError *)error { if (error) { // Handle error } else { // Maybe pause ongoing processes like video or gameplay. } }
- (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error;说明:当用户点击关闭的时候 event参数:包含广告点击的信息 error参数:说明失败原因,若操作成功,则显示nil 讨论:当点击已被处理的时候发出通知,可能是用户在应用程序内打开浏览器或关闭应用商店快捷页面,或是用户在该应用外的地方打开了链接并回到应用,如 (void)didFinishHandlingClick:(CHBClickEvent *)event error:(nullable CHBClickError *)error { // Resume processes previously paused on didClickAd:error: implementation. }
Preload ads on your users' devices to boost their experience! Ads will load faster when requested, and you can verify that an ad is available before displaying it.
使用以下方式缓存广告,以便稍后进行显示。我们以 CBLocationHomeScreen 为例命名位置。
ANDROID
UNITY
content_copybrightness_medium
Chartboost.cacheInterstitial(CBLocation.LOCATION_HOME_SCREEN);
Chartboost.cacheRewardedVideo(CBLocation.LOCATION_HOME_SCREEN);
专业提示:尝试显示广告之前可以使用这些方法来检查是否已经预先加载了广告。如果广告尚未缓存,您应该进行缓存!
ANDROID
UNITY
content_copybrightness_medium
if (Chartboost.hasInterstitial(CBLocation.LOCATION_HOME_SCREEN)) {
Chartboost.showInterstitial(CBLocation.LOCATION_HOME_SCREEN);
} else {
Chartboost.cacheInterstitial(CBLocation.LOCATION_HOME_SCREEN);
}
可选项:通过实施这些委托方法,广告成功缓存时您还能收到 SDK 的通知。
ANDROID
UNITY
content_copybrightness_medium
public void didCacheInterstitial(String location)
public void didCacheRewardedVideo(String location)
如果缓存调用失败, didFailToLoadInterstitial委托方法将被触发。如果您调用 showInterstitial方法但是未能显示广告也会触发这个委托方法。 不要在内部进行缓存或者显示调用 didFailToLoad 委托,否则程序将崩溃。
ANDROID
UNITY
content_copybrightness_medium
public void didFailToLoadInterstitial(String location, CBImpressionError error)
public void didFailToLoadRewardedVideo(String location, CBImpressionError error)
专业提示:在命名的位置成功显示广告后, Chartboost SDK 将自动缓存广告。然而,需显示广告之前,最佳做法仍是在应用程序的启动或其他相关节点对广告进行手动缓存。
自动缓存 不会发送不必要的网络请求。只有在特定位置没有缓存时缓存才会发送网络请求。
使用以下 SDK 方法切换自动缓存。
ANDROID
UNITY
content_copybrightness_medium
Chartboost.setAutoCacheAds(boolean);
Unity - SDK Integration
将 SDK 添加至您的游戏简便快捷,只需几样东西:
必须在您的应用程序硬启动或软启动的头几秒内 调用 Chartboost 初始化,与您应用程序内的任何其他操作或用户互动无关。
开发者可以调用 Chartboost SDK 里的 Chartboost.addDataUseConsent API 来设置用户的授权许可状态。作为服务条款的一部分,开发者需要向用户征求授权许可(同意、不同意、未知),然后用上述 API 传递给 Chartboost,此 API 的调用必须在执行 startWithAppId 之前。
GDPR / CCPA 的相关内容,开发者可以 参考这里。
若您正在构建 iOS 版,可跳过Plugins/Android子目录;如果您正在构建 Android 版,可跳过Plugins/iOS子目录。 这些文件将被整理为几个不同的目录:
想要立即动手吗?请查看ChartboostExample测试演示场景时请务必查看日志,因为某些按钮不会有明显的效果。
Android:对于替换插件中包含的Android Manifest的复杂集成,可显示Chartboost广告的任何活动 必须在 Android 清单的活动条目中有值 android:hardwareAccelerated="true",否则视频可能无法正确显示。
从不使用的存储字段删除内部内容,例如 CB_AMAZON_APP_ID和 CB_AMAZON_APP_SIGNATURE字段,否则 Unity 会提示以下错误:W/Unity: CHARTBOOST: 您正在使用 Chartboost Android 示例 App ID!
请前往 Chartboost 后台控制面板,并使用您帐户的 App ID 和 App 签名替换这些内容!
Chartboost 的 App ID 是我们系统中区分 App 的惟一辨识符, 所以每个 App 都需要使用 单独的 Chartboost App ID。.
UNITY
content_copybrightness_medium
//在位置HomeScreen上显示插页式广告。
//请参阅Chartboost.cs以获取可用的位置选项。
Chartboost.showInterstitial(CBLocation.HomeScreen);
我们 强烈建议您在显示广告之前,对插页式广告进行缓存。 了解更多关于缓存的信息
即使您正在使用聚合功能,预取的视频(总计)也只占用 30-50MB。
GDPR 相关:针对欧洲的用户,开发者可以调用 Chartboost SDK 里的 Chartboost.addDataUseConsent API 来设置用户的授权许可状态。作为服务条款的一部分,开发者需要向用户征求授权许可(同意、不同意、未知),然后用上述 API 传递给 Chartboost,此 API 的调用必须在执行 startWithAppId 之前。
请注意防止链接意外断开 StoreKit.framework(例如通过禁用应用程序内购买),这发生在 Unity 创建Xcode 项目之后。 Chartboost SDK 需要此框架以正常运行。
UNITY
content_copybrightness_medium
<activity android:name="com.chartboost.sdk.sample.SampleActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden|orientation|screenSize">
我们最新的 SDK 已经修复了与 Google Play Services Rev.30 的兼容问题。如果您已升级至 Rev.31,请确保您的 Google Repository 亦为最新版。
w00t!您刚把 Chartboost SDK 集成到应用程序中!
现在您可以开始广告活动
Android - SDK Integration
发布商应从 Chartboost SDK 调用 addDataUseConsent API,并传入适当的值来确定同意是否存在、不存在或未知。 作为服务条款的一部分,发布商需要在 Chartboost 处理任何个人数据并通过上述方法将其传递给 Chartboost SDK 之前获得其用户的同意。 此方法应在 startWithAppId 之前调用。
GDPR 相关:针对欧洲的用户,开发者可以调用 Chartboost SDK 里的 setPIDataUseConsent API 来设置用户的授权许可状态。作为服务条款的一部分,开发者需要向用户征求授权许可(同意、不同意、未知),然后用上述 API 传递给 Chartboost,此 API 的调用必须在执行 startWithAppId 之前。
ANDROID
content_copybrightness_medium
repositories {
mavenCentral()
}
dependencies {
implementation 'com.chartboost:chartboost-sdk:8.2.1'
}
ANDROID
content_copybrightness_medium
implementation "com.google.android.gms:play-services-base:$project.ext.googlePlayServicesVersion"
implementation "com.google.android.gms:play-services-ads-identifier:$project.ext.googlePlayServicesVersion"
ANDROID
content_copybrightness_medium
<activity android:name="com.chartboost.sdk.CBImpressionActivity"
android:excludeFromRecents="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:configChanges="keyboardHidden|orientation|screenSize" />
对于不包含 CBImpressionActivity的复杂集成,显示 Chartboost 广告的任何活动 必须在 Android 清单的活动条目中有值 android:hardwareAccelerated="true",否则视频可能无法正确显示。
ANDROID
content_copybrightness_medium
android:configChanges="keyboardHidden|orientation|screenSize"
这有助于在屏幕方向改变时平滑播放视频。
ANDROID
content_copybrightness_medium
import com.chartboost.sdk.Chartboost;
import com.chartboost.sdk.CBLocation;
import com.chartboost.sdk.ChartboostDelegate;
ANDROID
content_copybrightness_medium
import com.chartboost.sdk.Libraries.CBLogging.Level;
import com.chartboost.sdk.Model.CBError.CBClickError;
import com.chartboost.sdk.Model.CBError.CBImpressionError;
import com.chartboost.sdk.Tracking.CBAnalytics;
import com.chartboost.sdk.CBImpressionActivity;
ANDROID
content_copybrightness_medium
public static void startWithAppId(Context context, String appId, String appSignature)
专业提示:请留意 Exception: Initialization error信息。这表明 SDK 未正确初始化。
专业提示:如果你使用自己编写的 Unity 适配器来调用 Android SDK,需要在执行 startWithAppId之后马上调用 Chartboost.setFramework(CBFramework.CBFrameworkUnity, unityVersion);将 Unity 设定为框架。其中 unityVersion的值可以通过 此 Unity 功能返回的值进行替换。.
startWithAppId必须始终在您 App 启动的前几秒内 硬启动和软启动期间调用。与您应用程序内的任何其他操作或用户互动无关。
GDPR 相关:针对欧洲的用户,开发者可以调用 Chartboost SDK 里的 setPIDataUseConsent API 来设置用户的授权许可状态。作为服务条款的一部分,开发者需要向用户征求授权许可(同意、不同意、未知),然后用上述 API 传递给 Chartboost,此 API 的调用必须在执行 startWithAppId 之前。
Chartboost App ID 是系统的唯一标识符, 每个 App 必须使用单独的 Chartboost App ID .
ANDROID
content_copybrightness_medium
Chartboost.cacheInterstitial(CBLocation.LOCATION_DEFAULT);
Chartboost.showInterstitial(CBLocation.LOCATION_DEFAULT);
不要为同一位置直接调用 showInterstitial,在 cacheInterstitial之后,否则 SDK 将悄然失效。
我们 强烈建议您在显示插页式广告之前对其进行缓存。 了解更多关于缓存的信息
即使您正在使用聚合功能,预取的视频(总计)也只占用 30-50MB。
ANDROID
content_copybrightness_medium
Chartboost.cacheRewardedVideo(CBLocation.LOCATION_GAMEOVER);
Chartboost.showRewardedVideo(CBLocation.LOCATION_GAMEOVER);
我们强烈建议您在显示插页式广告之前对其进行缓存。 了解更多关于缓存的信息
即使您正在使用聚合功能,预取的视频(总计)也只占用 30-50MB。
ANDROID
content_copybrightness_medium
chartboostBanner.cache()
chartboostBanner.show()
横幅广告不支持亚马逊集成。
要显示 Banner 横幅广告,您需要先创建它。 (详情请参考 这里),然后调用相应的代理函数。
默认情况下,Banner 横幅广告会自动刷新。默认刷新间隔是 30 秒。
如果您想关闭自动刷新,可以通过调用 setAutomaticallyRefreshesContent 方法并传递参数值为 false 来实现。
ANDROID
content_copybrightness_medium
-keep class com.chartboost.** { *; }
专业提示:请遵照 Google Play Services 的说明正确设置 ProGuard。
w00t!您刚把 Chartboost SDK 集成到应用程序中!
现在您可以开始发布广告
ANDROID
content_copybrightness_medium
@Override
public void onBackPressed() {
// If an interstitial is on screen, close it.
if (Chartboost.onBackPressed())
return;
else
super.onBackPressed();
}
iOS - SDK integration - Monetize
Chartboost SDK 需要运行在 iOS 10.0 或更高版本系统中运行。支持 iPhone 5 或以上版本, iPod 6th 或更高版本, and iPad 4th 或更高版本.
startWithAppId必须始终在您 App 启动的前几秒内 硬启动和软启动期间调用。与您 App 内任何其他操作或用户互动无关。
发布商应从 Chartboost SDK 调用 addDataUseConsent API,并为 GDPR 和 CCPA 传递适当的同意值。 作为服务条款的一部分,发布商需要在 Chartboost 处理任何个人数据并通过上述方法将其传递给 Chartboost SDK 之前获得其用户的同意。 如果可能,应在 startWithAppId 之前调用此方法。
选项 1:CocoaPods
下载 Chartboost SDK 并将其链接到您的项目的最简单方法是使用 CocoaPods。 您只需要打开项目的 Podfile 并添加以下行:
然后从命令行运行它:
如果您是新手,请务必查看 CocoaPods 的文档。 如果您选择此选项,则应跳至第 4 步。
这一步是集成 iOS 14 的必要选项.
在您项目的 Info.plist 文件里添加名为 SKAdNetworkItems 的 Dictionary 数组,然后添加 Chartboost 的 SKAdNetworkIdentifier,取值: f38h382jlk.skadnetwork ,以及其他合作方的 SKAdNetworkIdentifier 列表。
完整的 Chartboost 相关 SKAdNetwork IDs 列表可以通过此处 XML 和 JSON 查看。您需要将这些 SKAdNetworkIdentifiers 放入您项目的 info.plist 文件里。
IOS
content_copybrightness_medium
<key>SKAdNetworkItems</key>
<array>
<dict>
<key>SKAdNetworkIdentifier</key>
<string>f38h382jlk.skadnetwork</string>
<dict>
.
.
.
</array>
专业提示:我们建议启用警告级别日志,以便获得我们最新的 SKAdNetwork ID 列表。
请参阅我们的 iOS 14 准备页面以了解更多信息。
startWithAppId 必须始终在应用程序启动的前几秒内的硬启动和软启动期间调用,无论应用程序中是否有任何其他操作或用户交互。
应用发布商应从 Chartboost SDK 调用 addDataUseConsent API,并传入适当的值来确定同意是否存在、不存在或未知。 作为服务条款的一部分,应用发布商需要在 Chartboost 处理任何个人数据并通过上述方法将其传递给 Chartboost SDK 之前获得其用户的同意。 如果可能,应在 startWithAppId 之前调用此方法。
Chartboost 应用程序 ID 是我们系统中的唯一应用程序标识符,因此需要为每个应用程序使用不同的 Chartboost 应用程序 ID。
插页式广告在显示之前需要缓存。 使用方法[interstitial cache]; 缓存插页式广告。
缓存插页式广告后,您可以使用方法 [interstitial showFromViewController:self]; 显示它。
要展示插页式广告,首先创建它(详见此处),然后调用广告方法。
在此处了解有关 iOS Chartboost 委托方法的更多信息。
激励广告在显示前需要缓存。 使用方法[rewarded cache]; 缓存激励广告。
激励广告缓存后,您可以使用方法 [rewarded showFromViewController:self]; 显示它。
如果尝试显示奖励广告但尚未缓存,则操作将失败并且委托方法 didShow:error: 将被调用并出现 CHBShowErrorCodeNoCachedAd 错误。
您可以在那里处理此错误或在显示广告之前预先检查 isCached 属性。 此属性指示广告是否已准备好显示。
例子:
要展示激励广告,首先创建它(详见此处),然后调用广告方法。
在此处了解有关 iOS Chartboost 委托方法的更多信息。
横幅广告在显示之前需要缓存。 使用方法[banner cache]; 缓存横幅广告。
要显示横幅广告,首先创建它(详见此处),然后调用广告方法。
太好了!您刚刚完成了在您的 App 中集成 Chartboost SDK!
现在您可以开始广告活动
关于Chartboost仪表板功能,您需要了解的所有信息。
您需要了解的有关 Chartboost 仪表板功能的所有信息。
顶部导航栏
概述选项卡
分析选项卡
广告投放标签
广告变现标签
应用程序设置
工具
快速添加按钮
单击控制面板左下方的 + APP 或 + CAMPAIGN 可快速添加应用或活动。
升级!在后台执行特定操作以解锁成就并提升您的 Chartboost 体验。
N00b: 添加您的应用到 Chartboost 后台并开始强化您的移动游戏事业。
Explorer:集成 Chartboost SDK 并运行测试,即使您的应用尚未在 App Store, Google Play 商店或亚马逊 Android 应用商店上市。
Collector:填妥支付详情以便我们向您支付媒体收入。
Creator: 在您的应用中发布其他开发者的广告从而赢利。
Grand Master: 您的广告活动被 Chartboost 管理员批准!
Moneymaker: 驱动更高 eCPM 并使用不同广告类型赚钱。
King of the Mountain: 通过在 Chartboost 网络为您的应用打广告从而吸纳用户。
更改您的名字。 设置权限和电子邮件警报。 管理用户。
如果您更改您的 Chartboost 帐户密码,您的用户签名也会随之重置。为避免重置密码后 API 请求失败,请前往 API 浏览器页面找到您的新用户签名。了解 Chartboost API 详情
更改电子邮件提醒
注意:
我们舍不得您走!不过如果您需要停用您的 Chartboost 帐户,请在此联系我们。
使用您的Chartboost仪表板查看广告系列性能和导出数据。
使用您的 Chartboost 控制面板查看广告活动表现和导出数据。
概述
· 您的 Chartboost 控制面板让您可以方便地浏览您的广告活动表现。
· 转到概览 > 广告变现 (Overview >Monetization) 以查看您的发布商收入、流量、已交付安装量、有效每千次展示费用等的细分类目。
· 转到概览 > 广告投放 (Overview >Advertising) 以查看您的广告支出、流量、收到的安装、有效每千次展示费用等的细分类目。
· 您还可以设置定期报告(scheduled reports),以便定期通过电子邮件将数据发送给您。
应用分析
· 转到分析 > 应用 (Analytics> App) 以按应用查看分析。
· 按特定应用程序、平台、时间范围或角色(广告商或发布商)过滤您的分析。
· 更改过滤选项后,单击 <刷新图标> 刷新页面。
· 按日期、应用、广告类型、广告位置等对您的分析进行分组。
· 单击编辑列以配置要在分析表中显示的列。
· 单击右上角的开关可在表视图和图形视图之间切换。
· 单击 <下载图标> 导出您的数据。 了解有关导出格式的详细信息
广告活动分析
· 转到分析 > 广告活动 (Analytics > Campaigns) 以按广告活动查看分析。
· 按特定应用程序、平台、时间范围或角色(广告商或发布商)过滤您的分析。
· 更改过滤选项后,单击 <刷新图标> 刷新页面。
· 按日期、活动、活动类型、活动目标等对您的分析进行分组。
· 单击编辑列以配置要在分析表中显示的列。
· 单击右上角的开关可在表视图和图形视图之间切换。
· 单击 <下载图标> 导出您的数据。了解有关导出格式的详细信息
· 单击 <手机图标> 将您的设备安装导出到单独的报告中。
· 设备安装报告仅包括在 Chartboost 网络上查看并点击广告后安装您的应用的设备。
定期报告
· 分析报告可以定期通过电子邮件发送给您。
· 转到控制面板中的分析 > 定期报告 (Analytics > Scheduled Reports) 并选择 Add New Report。
· 为您的报告命名,选择频率和开始日期,然后选择收件人。
· 计划报告的收件人必须是已添加到您的帐户并获得适当权限的用户。 了解有关管理用户的更多信息
· 选择角色(广告商或发布商)。
· 选择您要在报告中生成的分析。 您可以按活动、应用、创意等对数据进行分组。
· 您可以在报告中添加国家 (Country) 或设备类型 (Device Type) 作为附加参数。
· 单击应用程序和广告 (Apps and Campaigns) 系列下的自定义以在报告中仅包含特定的应用程序和广告系列。
· 单击保存开始您的报告。 确保将 Report is 开关设置为 ON。
· 随时转到您的报告历史记录 (Report History) 以查看过去的报告。
· 要暂停、恢复、删除或复制定期报告,请在列表中选择它,然后单击出现的操作下拉菜单。
向第三方报告
· 如果您经常处理大量数据,我们建议您使用我们的 API浏览器 (API Explorer)或 回调(callbacks) 来接收有关您的应用程序或活动的详细信息。 我们的 API Explorer 还允许您管理设备列表、广告活动出价等。
你可能还喜欢...
API浏览器 (API Explorer)
回调(callbacks)
如果您选择不使用广告系列配置页面上的简单设置部分来指定每日的开始和结束时间,则可以暂停或归档广告系列以防止其提供广告。
如果您不希望使用广告活动配置页面的简单设置来指定每日开始和结束时间,您可以将广告活动暂停或归档以阻止其投放广告。
如果您希望照常在后台访问该广告活动并将其数据保留在数据分析报告中,您应选择暂停广告活动。
如果您不希望该广告活动在后台列表中出现或不希望其数据反映到数据分析报告中,您应选择将其归档。
1. 如果您是媒体并且希望暂停广告活动,请前往本页面;如果您是广告主,则请前往本页面
2. 选中某条广告活动最末端复选框,然后从操作下拉菜单中选择暂停选定内容:
广告活动的状态列上会显示红色的已暂停标记。
如需继续广告活动,只需选中此复选框,然后从操作下拉菜单中选择恢复选定内容。
1. 如果您是媒体,请前往本页面;如果您是广告主,请前往本页面
2. 选中某条广告活动最末端复选框,然后从操作下拉菜单中选择将选定内容归档:
选定广告活动会从页面和数据分析报告中移除。如果您需要重新访问,请前往此处,选中广告活动所在行的复选框后选中恢复选定内容。
将您的第一个应用程序添加到您的控制面板,这样您就可以开始活动并加入 Chartboost 网络!
将您的首个应用添加至后台控制面板,开始发布广告并加入 Chartboost 网络!
根据平台输入应用程序的 Bundle ID:
如果您的应用未在官方应用商店上架,请不要在该字段中插入随机的 Bundle ID。 相反,请按照此处描述的步骤操作。 请注意,一旦您保存了 Bundle ID,必须先联系 Chartboost 技术支持团队才能更改。
将您的 App 添加到后台控制面板后,您需要将 Chartboost SDK 集成在您的 App 中以便激活我们强大的功能。
如果您想开始广告变现,请勾选基本设置中的请求发布权限复选框,以发送您的应用程序给我们审核。
广告变现:通过在您的游戏中展示其他开发者的 App的广告获得收益。开始赚钱
广告推广:在 Chartboost 网络上宣传您的 App 获得用户。获得更多的用户
交叉推广:在您现有的 App 中宣传您新的 App,完全没有成本。 开始交叉推广
交叉推广。 从 2018 年 3 月 26 日开始,您的一些交叉推广印象将进入我们的网络。 否则,你们可以自由地相互推广自己的游戏!
从 2018 年 3 月 26 日开始,您的一些交叉推广展示将展示我们网络的广告。否则,你们可以自由地相互推广自己的游戏!
了解有关交叉推广的更多信息
广告:支出基于 CPI 和 CPM 活动。发布:您的收入基于取决于出价类型、广告格式和其他因素的动态广告商购买。
了解有关广告投放的更多信息
了解有关广告变现的更多信息
下载并集成 Chartboost SDK。 将 Chartboost SDK 集成到您的应用程序中以启用我们出色的广告功能。
将 Chartboost SDK 集成到您的应用程序中以启用我们出色的广告功能。
在您的 Chartboost 控制面板中添加您的应用程序,并加入全球最大的以游戏为中心的网络。
在您的Chartboost 控制面板中设置您的付款信息,以便我们知道将您的钱汇到哪里。
通过在您的游戏中发布来自其他开发者的应用程序的广告来赚取收入。
我们会尽力在当月的最后一天向您支付您上个月收到的收入。
你可能还喜欢...
入门指南 – Chartboost Help
Have you set up your eCPM floor too high? High eCPM floor would result in a lower bid rate and eventually lower fill rate.
Have you set up your eCPM floor too high? A high eCPM floor would result in a lower bid rate and eventually lower fill rate.
What is Mediation? Chartboost Mediation is the most transparent in-app unified auction technology for mobile app developers to increase revenue through diverse unbiased demand and full control.
What is Mediation?
Chartboost Mediation is the most transparent in-app unified auction technology for mobile app developers to increase revenue through diverse unbiased demand and full control.
Use your Chartboost dashboard to view campaign performance and export data.
Use your Chartboost dashboard to view campaign performance and export data.
The device installs report includes only devices that installed your app after viewing and clicking an ad for it on the Chartboost network.
If you're regularly dealing with a lot of data, we recommend using our API Explorer or Callbacks to receive detailed information about your apps or campaigns. Our API Explorer also lets you manage device lists, campaign bids, and more.
How to top-rank Chartboost inUnity LevelPlay. Log into your Unity LevelPlay dashboard. Select Monetize > Management > Mediation from the sidebar.
The Unity LevelPlay SDK exposes the native Chartboost SDK so you can access all native Chartboost interstitial methods outside of the Unity LevelPlay SDK.
If you haven’t already setup Chartboost as an Ad Network, please follow this guide from Unity LevelPlay Chartboost Mediation Integration Guide to add Chartboost as an Ad Network
Note that by default, Unity LevelPlay puts you in the tab for Rewarded Video.
If you would like to configure for Interstitial, please Click on the Interstitial tab, the steps in the example below are the same.
The Named Location will automatically appear in your Chartboost Dashboard after this Named Location has been used in this Ad Unit for a few ad requests.
Login to your Chartboost dashboard. You will find the Named Location under your publishing campaign. If an Ad Unit ID is for rewarded placement, it will only appear in rewarded video campaigns. If it is for interstitial placement, it will only appear under interstitial campaigns.
Note: Named Locations can NOT be longer than 50 characters.
If you have more than one Mediation Group in Unity LevelPlay, please remember to include all the Chartboost Instances in each of the Mediation Groups where you would like to serve Chartboost Ads.
When you have multiple instances in a Unity LevelPlay Mediation Group, you can then manually rank each Instance.
To manually rank Instances in a Unity LevelPlay waterfall, login to the Unity LevelPlay dashboard, and navigate to Monetize > Management > Mediation.
Note that by default, Unity LevelPlay puts you in the tab for Rewarded Video,
The steps below are using Rewarded Video as an example but the process is the same for Interstitial.
Please make sure you have manually ranked all the Chartboost Instances properly. Any Instances in the Auto Optimized section will be served after Manual Section in a waterfall. Within the Auto Optimized section, Unity LevelPlay will pick the highest-ranking eCPM Instance at the moment to serve ads.
And that’s it!
The Ad Unit in the Mediation Group(s) will now be able to request ads with multiple Instances from Chartboost (Top-ranked first).
Everything you need to know about the Chartboost dashboard's features.
At the very top of your dashboard, you can access the following quick tools:
Review all your metrics at a glance, including Monetization revenue, requests, and impressions, as well as Advertising ad spend and impressions. These metrics will help you understand whether or not your campaigns are effective.
Both the Monetization and Advertising sections can be expanded and collapsed to show/hide additional metric fields.
Revenue
The Monetization Revenue card provides an overview of your ads earnings from your ad locations and publishing campaigns.
This card provides earning comparison and percentage increase/decrease for the time periods:
The graph displays the last 28 days in comparison to the previous 28 days’ revenue.
Requests
Monetization Requests refer to the number of times your ad receives a display request from another app. Requests are affected by the location of your ad and any campaigns you’re running.
This card provides an overview of requests and the percentage of increase/decrease for the time periods:
The graph displays the last 7 days in comparison to the previous 7 days’ requests.
Impressions
Monetization Impressions refer to the number of times your ad is successfully displayed to a user in an app.
Impressions are affected by a couple of factors:
This card provides an overview of impressions and the percentage of increase/decrease for the time periods:
The graph displays the last 7 days in comparison to the previous 7 days’ requests.
Ad Spend
The Advertising Ad Spend card will provide an overview of dollars spent and the percentage of increase/decrease for the time periods:
The graph displays the last 28 days in comparison to the previous 28 days’ spend.
Impressions
The Advertising Impressions card provides an overview of impressions and the percentage of increase/decrease for the time periods:
The graph displays the last 7 days in comparison to the previous 7 days’ requests.
Your total earnings, balances, and credits are displayed on the right column of your dashboard. Click on any of these fields to manage your billing information, payout, or add additional credits.
Unity - Monetize
Android: The Chartboost SDK will add approximately 700KB to your final download size.
iOS 9.x+: The Chartboost SDK will add less than 1.5MB to your final download size.
iOS 8.x & below: The Chartboost SDK will add less than 4MB to your final universal build download size.
The actual SDK package download file may be significantly larger because it includes sample code and the full Chartboost framework. Many of these files can be removed after compiling.
Your app's iOS bundle ID is in its iTunes Connect record under App Information > General Information.
Google Play bundle IDs are in your app's Google Play Store URL.
Amazon Standard Identification Numbers (ASINs) are available publicly on your app's Amazon Appstore page in the Product Details section.
NSLog(@"\n \n Chartboost Integration Warning: your account has been set to advertiser only. %s has been disabled.
Please contact support if you expect this call to function. \n \n \n", function);
Here's why you got this error:
It's possible that your browser isn't updating your cache or cookies.Try removing your browser cache and cookies. For instructions, click on the browser you're using:
Still not working? Let us know!
Linker errors are likely to appear when you've forgotten to link one or more frameworks to your project. Please review the frameworks required by the latest SDK in the iOS integration documentation and make sure your project is linking to all of them.If you still see linker errors, it may be that you are missing the -ObjC linker flag in your XCode project's build settings and need to add it back to the Other Linker Flags field.
Interstitials can appear large or "zoomed in" on an iPad 2 Simulator. This is because the Simulator is not passing back a real device model to Chartboost. If you use a different Simulator or an actual device, you will not experience this behavior.
Yes. The Chartboost SDK and all links are compatible with App Transport Security. If you'd like to run cross-promotion campaigns that link to your company website, or otherwise have ads that direct to locations outside the app store, make sure you use https, have a valid SSL certificate, and follow other methods to ensure your custom URLlinks remain ATS compliant.
To avoid this warning, you will need to make sure that when using the Chartboost method [Chartboost startWithAppId:@"..." appSignature:@"..." delegate:self] the class of the object you're passing in as the delegate conforms to the ChartboostDelegate protocol.Check your AppDelegate.h file and make sure the interface contains the proper delegate references:@interface AppDelegate : UIResponder <UIApplicationDelegate, ChartboostDelegate>You can refer to the "Conforming to Protocols" section of Apple's documentation for a more detailed explanation.
<activity android:name="com.chartboost.sdk.CBImpressionActivity"
android:excludeFromRecents="true"
android:hardwareAccelerated="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:configChanges="keyboardHidden|orientation|screenSize" />
Instead of enabling hardware acceleration for individual activities that show ads, you can apply hardware acceleration across your entire app by adding android:hardwareAccelerated='true' inside your top-level application entry in AndroidManifest.xml
Chartboost.setFramework(CBFramework.CBFrameworkUnity, unityVersion);
In some cases, it may be preferable for native Android or Unity Android developers to use an activity instead of a view to display Chartboost ads. While activities may work better in games built with certain game engines, we encourage you to experiment with both, as there can be both upsides and downsides to either method.
If you wish, you can also bypass the requirement to include the Google Play Services library in your Unity build. If you remove the following from the manifest:
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
then you will no longer be prompted to run the setup dialog, and your app should be able to proceed as usual.
Exception in thread "main" java.lang.Error: Unable to find named traits: com.chartboost.plugin.air::ChartboostIf you get an error similar to this while building your application, it usually indicates that the AIR native extension was not packaged properly. Make sure you've included this plugin's extension ID in your application descriptor XML file. Also verify that when you export a build, the Chartboost ANE is being packaged with your application.
The Chartboost initialization call must be made during hard and soft bootups within the first few seconds of your app launching, regardless of any other actions or user interaction within your app.
Please check the SDK integration guide for more specific requirements.
We support native Objective-C, Java, Unity, and Adobe AIR.
Yes, you can still integrate the Chartboost SDK and run tests if your app isn't yet live in the App Store, Google Play Store, or Amazon Appstore for Android.Just add your app to the dashboard and after your game is live, follow the steps on that page to add your market URL or ASIN.
If you've integrated the Chartboost SDK and finalized your build, you're ready to submit to the App Store! Before you do this however, here are a few tips and recommendations we have:
As of June 1, 2016, Apple requires that all submitted apps must support IPv6.
It’s the best way to ensure that we’re accurately tracking analytics and capturing conversions. Because a single network call can fail for any number of reasons, it’s smart to insure against that by initializing Chartboost every time your app becomes active.
Please read our Terms & Conditions to learn more.
We use the IFA (Identifier for Advertising) for iOS games; Android ID and Google Play Services Advertising ID for Google Play games.
Can I use TestFlight to test my integration?
Yes, but there a few things you should keep in mind while doing so:
Because Apple’s Game Center view can override Chartboost activity, you can use the rootView to show interstitials in a separate view. (SDK version 3.2+.) For example: Let’s say we have a two-view loading sequence with a loading view and a menu view of type MenuView. We can set the Chartboost rootView to an instance of MenuView. After that, the interstitial will prerender for the MenuView view only, regardless of when showInterstitial was called. No interstitials will appear until the MenuView view is displayed. It’s as simple as [Chartboost sharedChartboost].rootView = gameMenu; where gameMenu is an already initialized instance of MenuView. Be sure to set the rootView to ‘nil’ once you switch away from the view currently set as the rootView. If you miss this step, interstitials will NOT display anywhere else in your game! Setting the rootView to nil is as easy as [Chartboost sharedChartboost].rootView = nil; Notes:
If you do not want Moat enabled, then simply delete CHAMoatMobileAppKit.framework and don’t link it with your Xcode project. If you’re not using Moat, you don’t need the -ObjC entry in the Other Linker Flags property of your XCode project’s Build Settings section.
With iOS 14 Apple introduced changes to how apps can track users for target advertisement and install attribution. Chartboost takes care of most of the details, but there are a few new steps that you'll need to handle to successfully integrate our SDK.
With iOS 14 Apple introduced changes to how apps can track users for target advertisement and install attribution. Chartboost takes care of most of the details, but there are a few new steps that you'll need to handle to successfully integrate our SDK.
If you don't follow the below steps, your inventory will not be SKAdNetwork eligible, and we will not be able to serve the majority of the top ads to your iOS 14.5+ users, which will significantly impact your publisher earnings.
Download our latest iOS SDK here and follow the integration instructions here.
You must have an iOS SDK 8.3 and above in order for your traffic to be SKAdNetwork eligible.
It's critical to include our full list of SKAdNetwork IDs in your apps info.plist as each one represents a demand partner. If SKAdNetwork IDs are missing in your app, our demand partners will not be able to bid on your iOS 14.5 inventory and attribute the install correctly.
Add a new dictionary with Chartboost's SKAdNetworkIdentifier value f38h382jlk.skadnetwork and additional identifiers to the SKAdNetworkItems array in your Info.plist.
The full list of Chartboost required SKAdNetwork IDs can be found here in XML and JSON formats. You'll need to include all SKAdNetworkIdentifiers found there in your info.plist. Example:
PRO TIP: We recommend enabling warning level logs in order to have our most up-to-date SKAdNetwork ID list.
For more information about editing your info.plist please refer to Apple's documentation on configuring the info.plist properly and Editing your property lists pages.
Verify your Chartboost integration with Test Mode before you set up your campaigns.
If you already see live ads in your game, your integration is successful and you don't need to run Test Mode. Test Mode is only for testing your integration using our Buster's Boost ads.
Please allow an additional 30 minutes after enabling or disabling Test Mode for the change to take effect.
You must disable Test Mode before going live, or you won't be able to see ads from your campaigns!
Please allow an additional 30 minutes after enabling or disabling Test Mode for the change to take effect.
Tools: Table of contents. Adomain Reports Adomain Settings
TABLE OF CONTENTS
The adomain report currently only has Chartboost bidding advertising data. The default time range is for the last 30 day