Tencent YLH をメディエーションと統合する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このガイドは、
Google Mobile Ads Unity Plugin メディエーションと Tencent YLH の併用に関心をお持ちのパブリッシャー様を対象としています。現在のアプリでメディエーション アダプターを設定し、追加のリクエスト パラメータを設定する手順について説明します。
前提条件
参考資料
メディエーションの背景情報については、ヘルプセンターの以下の記事をご覧ください。
ネットワーク アダプターと SDK を組み込む
提供されているリンクから、Tencent YLH の SDK とアダプターをダウンロードします。
一部の SDK には Google Mobile Ads アダプターがすでに含まれていますが、別ファイルとして提供されているものもあります。各アダプターに付属している統合手順または README をご覧ください。
メディエーション ネットワークの SDK とアダプター ファイルを、Unity プロジェクトの適切なディレクトリに組み込みます。
- Android:
Assets/Plugins/Android
- iOS:
Assets/Plugins/iOS
ネットワーク構成を組み込む
- Android
- 広告ネットワークによっては、
AndroidManifest.xml ファイルに追加の設定が必要になる場合があります。これらの変更は、Assets/Plugins/Android/GoogleMobileAds ディレクトリ内の AndroidManifest.xml で行うことができます。
- iOS
- Unity から Xcode を生成したら、選択したネットワークに必要なフレームワーク、コンパイラ フラグ、リンカー フラグを組み込みます。
アプリで第三者広告ネットワークのコードを直接呼び出す必要はありません。
Google Mobile Ads Unity Plugin がメディエーション ネットワークのアダプターと連携して、
第三者広告の取得を代行します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2026-03-28 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2026-03-28 UTC。"],[],["Publishers integrate Tencent YLH with Google Mobile Ads mediation by downloading the Tencent YLH SDK and adapter. They place the SDK and adapter files in their Unity project's Android or iOS plugin directories. Android requires potential modifications to `AndroidManifest.xml`. iOS needs network-specific frameworks and flags added to Xcode. The Google Mobile Ads SDK handles all interactions, fetching third-party ads through the network's adapter without the app calling third-party code directly.\n"]]