メインコンテンツまでスキップ

UID2 GMA Plugin for iOS Integration Guide

UID2 Google Mobile Ads (GMA) Plugin for iOS は、Google Mobile Ads (GMA) SDK を使用しているパブリッシャーが、iOS アプリからの広告リクエストで UID2 tokensecure signals として送信できるようにします。これは自動的に行われるため、アプリ開発者が直接コーディングする必要はありません。

Functionality

このプラグインは、iOS デバイス上で動作するアプリで UID2 をサポートしたいパブリッシャー向けに、Google Mobile Ads (GMA) とのインテグレーションを簡素化します。

Version

このドキュメントは UID2 GMA Plugin for iOS バージョン 0.3.2 以降用です。

GitHub Repository

このプラグインは以下のオープンソースの GitHub リポジトリにあります:

Requirements

このプラグインを実行するには、以下をインストールします:

  1. Google Mobile Ads SDK v10.7.0 or later:
  2. UID2 SDK for iOS v0.3.2 or later:
  3. UID2 GMA Plugin for iOS v0.3.2

Installation

前提条件: Google Mobile Ads SDK と UID2 SDK for iOS をインストールします。

UID2 SDK for iOS と Google Mobile Ads SDK がインストールされた既存のアプリに、Swift Package Manager または CocoaPods を使用して UID2 iOS GMA Plugin をインストールします。

インストールオプションは 3 つあります:

Installing with Package.swift

Package.swift に次の依存関係を追加します:

dependencies: [
.package(url: "https://github.com/IABTechLab/uid2-ios-plugin-google-gma.git", exact: "0.3.2")
]

Installing with Xcode

XCode ユーザーインターフェースで、パッケージ依存関係の下に、次のエントリを追加します:

NameLocationDependency Rule
uid2-ios-plugin-google-gmagit@github.com:IABTechLab/uid2-ios-plugin-google-gma.gitExact Version: 0.3.2

Installing with CocoaPods

Podfile に次のエントリを追加します:

pod 'UID2GMAPlugin', '0.3.2'