पीपीएस की मदद से विज्ञापन कैंपेन को बेहतर बनाना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
विज्ञापन अनुरोधों में, ऑडियंस और कॉन्टेक्स्ट के हिसाब से डेटा को पब्लिशर से मिले सिग्नल (पीपीएस) के तौर पर भेजा जा सकता है. पीपीएस की मदद से, प्रोग्रामैटिक तरीके से कमाई करने की सुविधा को बेहतर बनाने के लिए, अपने उपयोगकर्ता डेटा का इस्तेमाल किया जा सकता है. इसके लिए, आपको स्टैंडर्ड टैक्सोनॉमी का इस्तेमाल करके, सभी ट्रांज़ैक्शन टाइप में बिड करने वालों को अपनी ऑडियंस की विशेषताओं के बारे में बताना होगा. इसके लिए, आपको उपयोगकर्ता आइडेंटिफ़ायर शेयर करने की ज़रूरत नहीं होगी. ऑडियंस की कैटगरी में, उपयोगकर्ता के व्यवहार और दिलचस्पी के आधार पर डेटा (IAB ऑडियंस टेक्सॉनमी 1.1) और कॉन्टेक्स्ट के हिसाब से डेटा (IAB कॉन्टेंट टेक्सॉनमी 2.2) शामिल हो सकता है.
पब्लिशर का भेजा गया स्ट्रक्चर्ड सिग्नल भी भेजा जा सकता है, जिन्हें Google तय करता है. इसकी मदद से, अन्य सिग्नल भेजे जा सकते हैं.
उपयोगकर्ता सिग्नल JSON बनाना
सबसे ऊपर, एक की-वैल्यू पेयर के साथ JSON ऑब्जेक्ट बनाएं. कुंजी
PublisherProvidedTaxonomySignals
होनी चाहिए और इसकी वैल्यू ऑब्जेक्ट का कलेक्शन होनी चाहिए. कलेक्शन में मौजूद हर ऑब्जेक्ट में दो की-वैल्यू पेयर होने चाहिए:
taxonomy
कुंजी, जो नीचे दी गई वैल्यू को स्वीकार करती है. इन्हें IAB की सार्वजनिक विशेषताओं के मुताबिक मैप किया जाता है:
- ऑडियंस टैक्सनॉमी 1.1 के लिए
IAB_AUDIENCE_1_1
IAB_CONTENT_2_2
कॉन्टेंट टैक्सनॉमी 2.2 के लिए
स्ट्रिंग टेक्सॉनमी की वैल्यू से जुड़े कलेक्शन के साथ values
कुंजी.
स्ट्रक्चर्ड सिग्नल अरे बनाना
स्ट्रक्चर्ड सिग्नल के लिए, ऑब्जेक्ट के कलेक्शन की वैल्यू के साथ PublisherProvidedStructuredSignals
कुंजी जोड़ें. सिग्नल की-वैल्यू की इस सूची के आधार पर ऑब्जेक्ट बनाएं:
स्ट्रक्चर्ड सिग्नल की टेबल को देखने के लिए टॉगल करें
सिग्नल |
<code" dr="ltr" translate="no">"type" वैल्यू</code"> |
"single_value" की संभावित वैल्यू |
"values" की संभावित वैल्यू |
ऑडियो फ़ीड टाइप |
"audio_feed" |
"af_1" : संगीत
"af_2" : ब्रॉडकास्ट करें
"af_3" : पॉडकास्ट
|
लागू नहीं |
सामग्री रेटिंग |
"content_rating" |
"cr_1" : ग्रा॰
"cr_2" : पीजी
"cr_3" : T
"cr_4" : एमए
|
लागू नहीं |
कॉन्टेंट डिलीवरी |
"delivery" |
लागू नहीं |
"cd_1" : स्ट्रीम हो रही है
"cd_2" : प्रोग्रेसिव
"cd_3" : डाउनलोड करें
|
वीडियो की क्वालिटी |
"prodq" |
"pq_1" : प्रोफ़ेशनल तरीके से तैयार किया गया
"pq_2" : प्रोसुमर
"pq_3" : यूज़र जनरेटेड कॉन्टेंट (यूजीसी)
|
लागू नहीं |
नीचे दिया गया उदाहरण देखें, जो टेक्सॉनमी सिग्नल के लिए 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
के साथ पीपीएस भेजने के लिए, यह तरीका अपनाएं:
- उपयोगकर्ता की दिलचस्पी, व्यवहार या संदर्भ के हिसाब से डेटा का इस्तेमाल करके JSON ऑब्जेक्ट बनाएं.
- ऊपर दिए गए JSON ऑब्जेक्ट से, Base64 कोड में बदली गई ASCII स्ट्रिंग बनाएं.
StreamRequest.adTagParameters
का इस्तेमाल करके, कोड में बदली गई स्ट्रिंग जोड़ें.
userSignalsJson = {
"PublisherProvidedTaxonomySignals": [{
"taxonomy": "IAB_AUDIENCE_1_1",
"values": ["1", "284"]
}]
}
userSignalsString = FormatJson(userSignalsJson)
byteArray = CreateObject("roByteArray")
byteArray.FromAsciiString(userSignalsString)
encodedSignals = byteArray.ToBase64String().EncodeUri()
' This shows adding a single parameter. More can be added with:
' streamRequest.adTagParameters = "ppsj=" + encodedSignals + "&..."
streamRequest.adTagParameters = "ppsj=" + encodedSignals
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003ePublisher provided signals (PPS) let you share audience and contextual data to improve programmatic ad revenue, using standard IAB taxonomies like Audience Taxonomy 1.1 and Content Taxonomy 2.2.\u003c/p\u003e\n"],["\u003cp\u003ePPS uses JSON to structure signals, encompassing taxonomy signals (e.g., user demographics, interests, content categories) and structured signals (e.g., audio feed type, content rating).\u003c/p\u003e\n"],["\u003cp\u003eYou need to Base64-encode the JSON object containing the signals before including it as the \u003ccode\u003eppsj\u003c/code\u003e parameter in your ad request.\u003c/p\u003e\n"],["\u003cp\u003eThis approach enables sharing valuable data with bidders to enhance ad targeting without exposing user identifiers, thereby increasing monetization potential.\u003c/p\u003e\n"]]],["Publishers can enhance programmatic monetization by sending audience and contextual data (Publisher Provided Signals - PPS) in ad requests. This data, structured using IAB taxonomies (Audience 1.1, Content 2.2), can include user behavior and interests. Structured signals, like audio feed type and content delivery, can also be added. Data is formatted into a JSON object containing `PublisherProvidedTaxonomySignals` and `PublisherProvidedStructuredSignals` as needed, converted to Base64, and added to the `StreamRequest.adTagParameters` as the parameter \"ppsj=\".\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/roku/dai/apis#ima.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/roku/dai/apis#ima.StreamRequest.adTagParameters).\n\n userSignalsJson = {\n \"PublisherProvidedTaxonomySignals\": [{\n \"taxonomy\": \"IAB_AUDIENCE_1_1\",\n \"values\": [\"1\", \"284\"]\n }]\n }\n\n userSignalsString = FormatJson(userSignalsJson)\n byteArray = CreateObject(\"roByteArray\")\n byteArray.FromAsciiString(userSignalsString)\n encodedSignals = byteArray.ToBase64String().EncodeUri()\n\n ' This shows adding a single parameter. More can be added with:\n ' streamRequest.adTagParameters = \"ppsj=\" + encodedSignals + \"&...\"\n streamRequest.adTagParameters = \"ppsj=\" + encodedSignals"]]