PPS で広告キャンペーンを改善する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
オーディエンスとコンテキスト データは、広告リクエストでパブリッシャー提供のシグナル(PPS)として送信できます。PPS を使用すると、ユーザー識別子を共有することなく、標準の分類を使用して、すべての取引タイプのビッダーにオーディエンスの特性を伝えることで、ユーザーデータを使用してプログラマティックな収益化を改善できます。オーディエンス特性には、行動およびインタレスト ベースのデータ(IAB オーディエンス分類 1.1)やコンテキスト データ(IAB コンテンツの分類 2.2)などがあります。Google が定義したパブリッシャー提供の構造化シグナルを送信し、追加のシグナルの送信を許可することもできます。
ユーザー シグナルの JSON を作成する
トップレベルで、Key-Value ペアを 1 つ含む JSON オブジェクトを作成します。キーは PublisherProvidedTaxonomySignals
で、その値はオブジェクトの配列である必要があります。配列内の各オブジェクトには、次の 2 つの Key-Value ペアが必要です。
構造化シグナル配列を作成する
構造化シグナルの場合は、オブジェクトの配列の値を持つ PublisherProvidedStructuredSignals
キーを追加します。次のシグナルの Key-Value リストに基づいてオブジェクトを作成します。
構造化シグナル テーブルの表示を切り替える
シグナル |
<code" dir="ltr" translate="no">"type" Value</code"> |
有効な "single_value" の値 |
"values" に指定可能な値 |
音声フィードタイプ |
"audio_feed" |
"af_1" : 音楽
"af_2" : ブロードキャスト
"af_3" : ポッドキャスト
|
なし |
コンテンツのレーティング |
"content_rating" |
"cr_1" : G
"cr_2" : PG
"cr_3" : T
"cr_4" : MA
|
なし |
コンテンツ配信 |
"delivery" |
なし |
"cd_1" : ストリーミング
"cd_2" : プログレッシブ
"cd_3" : ダウンロード
|
制作品質 |
"prodq" |
"pq_1" : プロが制作
"pq_2" : プロシューマー
"pq_3" : ユーザー作成(UGC)
|
なし |
分類シグナルに IAB_AUDIENCE_1_1
と IAB_CONTENT_2_2
を使用し、構造化シグナルを含める次の例をご覧ください。
const userSignals = {
"PublisherProvidedTaxonomySignals": [{
"taxonomy": "IAB_AUDIENCE_1_1",
"values": ["6", "284"]
// '6' = 'Demographic | Age Range | 30-34'
// '284' = 'Interest | Business and Finance | Mergers and Acquisitions'
},
{
"taxonomy": "IAB_CONTENT_2_2",
"values": ["49", "138"]
// '49' = 'Books and Literature | Poetry'
// '138' = 'Education | College Education | College Planning'
}],
"PublisherProvidedStructuredSignals": [{
"type": "audio_feed",
"single_value": "af_1",
},
{
"type": "delivery",
"values": ["cd_1", "cd_3"],
},
],
};
StreamRequest
を使用して PPS を送信する手順は次のとおりです。
- ユーザーの関心、行動、コンテキスト データを含む JSON オブジェクトを作成します。
- 上記の JSON オブジェクトから Base64 エンコードされた ASCII 文字列を作成します。
StreamRequest.adTagParameters
を使用して、エンコードされた文字列を追加します。
const userSignals = {
"PublisherProvidedTaxonomySignals": [{
"taxonomy": "IAB_AUDIENCE_1_1",
"values": ["1", "284"]
}]
};
const encodedSignals = encodeURIComponent(window.btoa(JSON.stringify(userSignals)));
streamRequest.adTagParameters = { "ppsj" : encodedSignals };
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-21 UTC。
[null,null,["最終更新日 2025-08-21 UTC。"],[[["\u003cp\u003ePublisher-provided signals (PPS) allow you to improve programmatic ad monetization by using your user data to share audience and contextual information with bidders in all transaction types, without sharing user identifiers.\u003c/p\u003e\n"],["\u003cp\u003ePPS uses standard taxonomies such as IAB Audience Taxonomy 1.1 and IAB Content Taxonomy 2.2 to categorize user interests, behavior, and content.\u003c/p\u003e\n"],["\u003cp\u003eYou construct a JSON object with taxonomy signals and structured signals containing user data and encode it in Base64 before adding it to your ad requests.\u003c/p\u003e\n"],["\u003cp\u003eThe encoded user signals are included in the \u003ccode\u003eadTagParameters\u003c/code\u003e of your stream request using the key "ppsj" for Google Ad Manager to utilize.\u003c/p\u003e\n"]]],[],null,["# Improve ad campaigns with PPS\n\nYou can send audience and contextual data as\n[publisher provided signals](//support.google.com/admanager/answer/12451124)\n(PPS) in ad requests. With PPS, you can use your user data to improve\nprogrammatic monetization by communicating your audience characteristics to\nbidders in all\n[transaction types](//support.google.com/admanager/answer/2805834), using\nstandard taxonomies, without the need to share user identifiers. Your audience\ncharacteristics can include behavioral and interest-based data (\n[IAB Audience Taxonomy 1.1](//iabtechlab.com/standards/audience-taxonomy/)), and\ncontextual data (\n[IAB Content Taxonomy 2.2](https://iabtechlab.com/standards/content-taxonomy/)).\nYou can also send publisher provided structured signals, which are defined by\nGoogle, and allow for additional signals to be sent.\n\nConstruct the user signals JSON\n-------------------------------\n\nAt the top level, create a JSON object with a single key-value pair. The key\nshould be `PublisherProvidedTaxonomySignals`, and its value should be an array\nof objects. Each object in the array should have 2 key-value pairs:\n\n- The `taxonomy` key, which accepts the following values that are mapped to\n following IAB public specifications:\n\n - `IAB_AUDIENCE_1_1` for Audience Taxonomy 1.1\n - `IAB_CONTENT_2_2` for Content Taxonomy 2.2\n- The `values` key with a corresponding array of string taxonomy values.\n\n### Construct the structured signals array\n\nFor structured signals, add the `PublisherProvidedStructuredSignals` key with a\nvalue of an array of objects. Construct the object based on the following list\nof signal key-values: \n\n#### Toggle view of structured signals table\n\n| Signal | \"type\" Value | Possible `\"single_value\"` Values | Possible `\"values\"` Values |\n|--------------------|--------------------|-------------------------------------------------------------------------------------------|--------------------------------------------------------------------|\n| Audio Feed Type | `\"audio_feed\"` | - `\"af_1\"`: Music - `\"af_2\"`: Broadcast - `\"af_3\"`: Podcast | n/a |\n| Content Rating | `\"content_rating\"` | - `\"cr_1\"`: G - `\"cr_2\"`: PG - `\"cr_3\"`: T - `\"cr_4\"`: MA | n/a |\n| Content Delivery | `\"delivery\"` | n/a | - `\"cd_1\"`: Streaming - `\"cd_2\"`: Progressive - `\"cd_3\"`: Download |\n| Production Quality | `\"prodq\"` | - `\"pq_1\"`: Professionally Produced - `\"pq_2\"`: Prosumer - `\"pq_3\"`: User Generated (UGC) | n/a |\n\nSee the following example that uses the `IAB_AUDIENCE_1_1` and `IAB_CONTENT_2_2`\nfor taxonomy signals and includes structured signals. \n\n const userSignals = {\n \"PublisherProvidedTaxonomySignals\": [{\n \"taxonomy\": \"IAB_AUDIENCE_1_1\",\n \"values\": [\"6\", \"284\"]\n // '6' = 'Demographic | Age Range | 30-34'\n // '284' = 'Interest | Business and Finance | Mergers and Acquisitions'\n },\n {\n \"taxonomy\": \"IAB_CONTENT_2_2\",\n \"values\": [\"49\", \"138\"]\n // '49' = 'Books and Literature | Poetry'\n // '138' = 'Education | College Education | College Planning'\n }],\n \"PublisherProvidedStructuredSignals\": [{\n \"type\": \"audio_feed\",\n \"single_value\": \"af_1\",\n },\n {\n \"type\": \"delivery\",\n \"values\": [\"cd_1\", \"cd_3\"],\n },\n ],\n };\n\nConfigure your stream request\n-----------------------------\n\nFollow these steps to send PPS with your\n[`StreamRequest`](/interactive-media-ads/docs/sdks/html5/dai/reference/js/StreamRequest):\n\n- Create a JSON object with the user's interest, behavior, or contextual data.\n- Create a Base64-encoded ASCII string from the JSON object above.\n- Add your encoded string using [`StreamRequest.adTagParameters`](/interactive-media-ads/docs/sdks/html5/dai/reference/js/StreamRequest#adTagParameters).\n\n const userSignals = {\n \"PublisherProvidedTaxonomySignals\": [{\n \"taxonomy\": \"IAB_AUDIENCE_1_1\",\n \"values\": [\"1\", \"284\"]\n }]\n };\n\n const encodedSignals = encodeURIComponent(window.btoa(JSON.stringify(userSignals)));\n\n streamRequest.adTagParameters = { \"ppsj\" : encodedSignals };"]]