हमारे प्रॉडक्ट के बारे में चर्चा करने और सुझाव/राय देने के लिए, Google विज्ञापन और मेज़रमेंट कम्यूनिटी सर्वर में Ad Manager के आधिकारिक Discord चैनल से जुड़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
AdPodInfo
classpublic
डाइनैमिक विज्ञापन इंसर्शन के दौरान, विज्ञापन पॉड की जानकारी वाले ऑब्जेक्ट को दिखाने वाली क्लास.
तरीके
getAdPosition
getAdPosition() एक नंबर दिखाता है
रिटर्न
number
getMaxDuration
getMaxDuration() एक संख्या दिखाता है
रिटर्न
number
getPodIndex
getPodIndex() को नंबर देता है
विज्ञापन पॉड का इंडेक्स दिखाता है.
डीएआई वीओडी: प्रीरोल पॉड के लिए, 0 दिखाता है. बीच में दिखने वाले विज्ञापनों के लिए, 1, 2,...,N दिखाता है.
पोस्टरोल पॉड के लिए, -1 दिखाता है. अगर यह विज्ञापन किसी प्लेलिस्ट के तौर पर सेट नहीं है या यह पॉड किसी प्लेलिस्ट का हिस्सा नहीं है, तो यह वैल्यू डिफ़ॉल्ट रूप से 0 पर सेट हो जाती है.
डीआई (डायरेक्ट इन्वेंट्री) लाइव स्ट्रीम: प्री-रोल पॉड के लिए, 0 दिखाता है. बीच में दिखने वाले विज्ञापनों के लिए, ब्रेक का आईडी दिखाता है. अगर पॉड इंडेक्स का पता नहीं चलता है, तो -2 दिखाता है (अंदरूनी गड़बड़ी).
[[["समझने में आसान है","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-08-21 (UTC) को अपडेट किया गया."],[],["The `AdPodInfo` class provides information about ad pods in dynamic ad insertion. Key actions include retrieving: the ad's position within the pod (`getAdPosition`), the maximum duration of the pod (`getMaxDuration`), and the ad pod's index (`getPodIndex`). `getPodIndex` returns different values for VOD and live streams, indicating preroll, midroll, and postroll status. Additionally, the class allows access to the time offset (`getTimeOffset`) and the total number of ads in the pod (`getTotalAds`).\n"]]