Tencent YLH とメディエーションの統合
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このガイドは、Tencent YLH で Google モバイル広告メディエーションを使用することを検討しているパブリッシャー様を対象としています。現在のアプリでメディエーション アダプタを設定し、追加のリクエスト パラメータを設定する手順について説明します。
前提条件
役立つプリマー
以下に、調停に関する背景情報をまとめたヘルプセンター記事のリンクをご紹介します。
ネットワーク アダプターと SDK を含める
上記のリンクから Tencent YLH の SDK とアダプターをダウンロードします。一部の SDK には Google Mobile Ads アダプタがすでに含まれていますが、別のファイルとして提供されている SDK もあります。各アダプタに付属の統合手順または 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 SDK がメディエーション ネットワークのアダプタと連携して、サードパーティ広告を取得します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-04 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"]],["最終更新日 2025-02-04 UTC。"],[[["This guide explains how to integrate Tencent YLH with Google Mobile Ads mediation for publishers."],["It requires an app with Google Mobile Ads SDK, a Google Ad Manager account, and the Tencent YLH SDK and adapter."],["Publishers need to include the Tencent YLH SDK, adapter, and network configurations in their Unity project."],["The Google Mobile Ads SDK handles communication with the Tencent YLH adapter to request ads."]]],["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"]]