Add your app to the Tapjoy dashboard by going to the apps
list on the top right and clicking the Add App button. You are then prompted
to enter details about your app.
Fill out the form and click the Create Now button to add your app to the
You can skip the integration steps presented by Tapjoy and move on to creating
placements to be used with AdMob mediation.
Placement, virtual currency, and content
Navigate to Monetization > Placements and click the Create Placement
button in the top right corner. Even if you have an existing placement, it's
best to create a new one for AdMob so it can be
tracked and reported on separately.
Enter a Name for your placement, check the Mediation checkbox, and
select AdMob from the drop down list. Click Create when done.
The Placement Name entered here is used to set up your
AdMob Ad Unit for mediation in the next section.
"AdMob Mediation" has been used in this
example, but you can call your placement whatever you like.
Navigate to Monetization > Virtual Currency and click the Create Virtual
Currency button in the top right corner.
Fill out the form and click Create now. Use NO_CALLBACK as the
Callback URL. This ensures that the Tapjoy SDK avoids an unnecessary call to
The currency value and name are not forwarded by the Tapjoy adapter, so any
generic values can be chosen for your currency name and amount.
Navigate to Monetization > Create Content to create content to be shown with
For additional instructions on creating content, select the tab corresponding to
your preferred ad format:
In addition to the Placement Name, you also need the SDK Key for setting up
your AdMob ad unit.
Navigate to Settings > App Settings. Your SDK Key can be obtained from
your App Info under the Application Platforms tab.
Locate reporting keys
This step isn't required for bidding integrations.
You need your Publisher OAuth Key and your Mediation Key to proceed.
Your Publisher OAuth Key can be obtained in the same page under the
API Keys tab.
Your Mediation Key can be obtained in the same page under the
Mediation Keys tab under the Reporting API Key column. The key is
Turn on test mode
Test ads can be enabled on the Tapjoy dashboard under Settings > App
Settings > Test Devices. Create a new test device using the device's
Your device's **Advertising ID** can be located by navigating to **Google >
Ads** in your device **Settings**.
Next, modify the content you created earlier.
To modify your content, first navigate to Monetization > Placements and
click the User Initiated tab. Next, select the drop down for the content you
want to edit, and choose Edit.
Under the content's Basic section, check the Only for Test Devices
checkbox. Then click Save at the bottom of the page. That's it! You now have
a working mediation integration with Tapjoy.
第 2 步：在界面中设置 Tapjoy 需求 AdMob
Configure mediation settings for your ad unit
You need to add Tapjoy to the mediation
configuration for your ad unit.
First, sign in to your AdMob account. Next, navigate to the
Mediation tab. If you have an existing mediation group you'd like to modify,
click the name of that mediation group to edit it, and skip ahead to
Add Tapjoy as an ad source.
To create a new mediation group, select Create Mediation Group.
Enter your ad format and platform, then click Continue.
Give your mediation group a name, and select locations to target. Next, set the
mediation group status to Enabled, and then click Add Ad Units.
Associate this mediation group with one or more of your existing
AdMob ad units. Then click Done.
You should now see the ad units card populated with the ad units you selected:
Add Tapjoy as an ad source
Under the Bidding card in the Ad Sources section, select Add
Ad Source. Then select Tapjoy.
规定，必须让用户有权选择不“出售”其“个人信息”（该法律对这些术语进行了定义）。“出售”方须在首页醒目位置提供“请勿出售我的个人信息”链接，以供用户选择。美国州级隐私保护法律合规性指南让您可以为 Google 广告投放启用受限的数据处理，但 Google 无法将此设置应用于中介链中的每个广告联盟。因此，您必须确定中介链中可能参与个人信息出售的每个广告网络，并遵循每个广告网络的指导以确保合规性。
在 Tapjoy SDK 12.6.0 版中，Tapjoy 添加了 User Consent API 来支持隐私设置。以下示例代码展示了如何将此用户意见征求信息传递给 Tapjoy SDK。如果您选择调用此方法，请在通过 Google 移动广告 SDK 请求广告之前执行此操作。