8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा हटाए गए टैग और एट्रिब्यूट का पेज देखें.
ज़रूरी है. उस लाइन आइटम का आईडी जिसके लिए टारगेट करने के विकल्पों को सूची में शामिल करना है.
क्वेरी पैरामीटर
पैरामीटर
pageSize
integer
अनुरोध किया गया पेज साइज़. साइज़, 1 और 5000 के बीच का कोई पूर्णांक होना चाहिए. अगर कोई वैल्यू सेट नहीं की गई है, तो डिफ़ॉल्ट वैल्यू 5000 होती है. अगर कोई अमान्य वैल्यू दी गई है, तो गड़बड़ी का कोड INVALID_ARGUMENT दिखाता है.
pageToken
string
एक टोकन, जो क्लाइंट को नतीजों के अगले पेज को फ़ेच करने की सुविधा देता है. आम तौर पर, यह nextPageToken की वैल्यू होती है. इसे पिछले कॉल के दौरान lineItems.bulkListLineItemAssignedTargetingOptions तरीके से लौटाया जाता है. अगर इसके बारे में नहीं बताया गया है, तो नतीजों का पहला पेज दिखाया जाएगा.
orderBy
string
वह फ़ील्ड जिसके हिसाब से सूची को क्रम से लगाना है. ये वैल्यू स्वीकार की जाती हैं:
targetingType (डिफ़ॉल्ट)
क्रम से लगाने का डिफ़ॉल्ट क्रम बढ़ते क्रम में है. फ़ील्ड के घटते क्रम में लगाने के लिए, प्रत्यय "desc" फ़ील्ड के नाम में जोड़ा जाना चाहिए. उदाहरण: targetingType desc.
filter
string
असाइन किए गए टारगेटिंग विकल्प फ़ील्ड के अनुसार फ़िल्टर करने की अनुमति देता है.
इस्तेमाल किया जा सकने वाला सिंटैक्स:
फ़िल्टर एक्सप्रेशन में एक या ज़्यादा पाबंदियां होती हैं.
लॉजिकल ऑपरेटर OR की मदद से पाबंदियों को जोड़ा जा सकता है.
पाबंदी {field} {operator} {value} में होती है.
सभी फ़ील्ड में, EQUALS (=) ऑपरेटर का इस्तेमाल करना ज़रूरी है.
इस्तेमाल किए जा सकने वाले फ़ील्ड:
targetingType
inheritance
उदाहरण:
TARGETING_TYPE_PROXIMITY_LOCATION_LIST या TARGETING_TYPE_CHANNEL टारगेटिंग टाइप के AssignedTargetingOption संसाधन: targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
targetingType="TARGETING_TYPE_CHANNEL"
AssignedTargetingOption संसाधन, जिनकी इनहेरिटेंस स्थिति NOT_INHERITED या INHERITED_FROM_PARTNER है: inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"
इस फ़ील्ड में 500 से ज़्यादा वर्ण नहीं होने चाहिए.
नतीजों के अगले पेज की पहचान करने वाला टोकन. नतीजों के अगले पेज को फ़ेच करने के लिए, इस वैल्यू को अगले BulkListLineItemAssignedTargetingOptionsRequest में pageToken के तौर पर बताया जाना चाहिए. अगर लौटने के लिए कोई और assignedTargetingOptions नहीं है, तो यह टोकन मौजूद नहीं होगा.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLists assigned targeting options for a given line item, including details like targeting type and inheritance status.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination to retrieve large result sets using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering results based on \u003ccode\u003etargetingType\u003c/code\u003e and \u003ccode\u003einheritance\u003c/code\u003e using the \u003ccode\u003efilter\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eEmploys a \u003ccode\u003eGET\u003c/code\u003e request to the specified endpoint with advertiser and line item IDs as path parameters.\u003c/p\u003e\n"]]],["This API endpoint retrieves a list of assigned targeting options for a specific line item within an advertiser's account. Key actions include sending a `GET` request to the specified URL, using `advertiserId` and `lineItemId` as path parameters. Optional query parameters like `pageSize`, `pageToken`, `orderBy`, and `filter` can be used to customize the results. The API returns a list of `assignedTargetingOptions` and a `nextPageToken` for paginating through results, requiring the `display-video` authorization scope.\n"],null,[]]