Google इंटरैक्टिव मीडिया विज्ञापन SDK टूल के बारे में अक्सर पूछे जाने वाले सवाल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
- मुझे सभी फ़ॉर्मैट के विज्ञापन वापस क्यों नहीं मिल रहे हैं?
- अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है
टेस्ट विज्ञापन टैग इस तरह सेट अप किए गए हैं कि मान्य अनुरोधों के आधार पर विज्ञापन हमेशा दिखाए जा सकें. यह है
जो इंटिग्रेशन को आसान बनाता है. साथ ही, यह टेस्ट करना आसान बनाता है कि आपका खिलाड़ी
विज्ञापनों का अनुरोध करता है और उन्हें रेंडर करता है. हालांकि, विज्ञापन हमेशा
फ़ॉर्मैट का इस्तेमाल करें. अगर आपका इंटिग्रेशन, जांच टैग के लिए ठीक से काम कर रहा है, लेकिन आपके टैग के लिए नहीं, तो इसकी वजह इनमें से कोई एक हो सकती है:
- आपके एनवायरमेंट में, ऐसे फ़ॉर्मैट के वीडियो दिखाए जा रहे हैं जो काम नहीं करते. उदाहरण के लिए,
की ओर से iOS या Android पर सिर्फ़ HTML5 विज्ञापन दिखाए जा रहे हैं.
- अगर Ad Manager का इस्तेमाल किया जा रहा है, तो हो सकता है कि आपके पब्लिशर आईडी पर, इस समय टारगेट किए गए कोई विज्ञापन न हों. यह भी पक्का करें कि आपने Ad Manager में काम के विज्ञापनों और
क्रिएटिव को मंज़ूरी दी हो.
- अगर आपने AdSense का इस्तेमाल किया है, तो आपकी साइट या टेस्ट पेज को टारगेट करने के लिए, आपकी साइट या पेज पर
पर कोई विज्ञापन चालू न हो. सबसे सामान्य वजह है
जो निजी और क्रॉल न की गई हों.
- अगर Ad Exchange नेटवर्क पार्टनर मैनेजमेंट का इस्तेमाल किया जा रहा है और
descriptionURL
सेट नहीं है या कंपनी के मालिकाना हक या उसे चलाने के लिए इस्तेमाल नहीं किया जा रहा है
नहीं डाला है, तो इसमें विज्ञापन नहीं दिखाए जाते हैं.
- Ad Exchange वीडियो में तय किए गए minCPM थ्रेशोल्ड देखें. ऐप्लिकेशन
सीपीएम ज़्यादा होने पर फ़िल रेट बहुत कम हो सकता है. इसे ठीक करने के लिए, इनमें से कोई एक आज़माएं
minCPM या विज्ञापन अनुरोध से विज्ञापन यूनिट पैरामीटर को हटाना
(यानी, स्लॉट का नाम). इससे यह पुष्टि की जा सकेगी कि इससे फ़िल रेट पर असर पड़ रहा है या नहीं.
- एक अच्छा
descriptionUrl
कैसा दिखता है?
-
सबसे असरदार होने के लिए,
descriptionUrl
जिस पेज पर लिंक किया गया है उसका कॉन्टेंट, शब्दों या वाक्यांशों का कलेक्शन नहीं होना चाहिए. इसके बजाय, उसमें एक से तीन पैराग्राफ़ होने चाहिए, जिनमें कॉन्टेंट और उसे उपलब्ध कराने में आपकी भूमिका के बारे में बताया गया हो.
पहले से तय किए गए ब्लॉक से, descriptionUrl
पेज के कॉन्टेंट को डाइनैमिक तौर पर जोड़ने का तरीका, पहले भी कारगर साबित हुआ है.
उदाहरण के लिए, कॉन्टेंट के बारे में कुछ वाक्य और आपके
ऑफ़र किया जा सकता है और फिर कुछ स्निपेट से जुड़े
AdSense चैनल, जैसे कि "मनोरंजन" या "खेल-कूद". इस वजह से,
कॉन्टेंट में काफ़ी अलग descriptionUrl
है
यह दोनों सामान्य जानकारी (जैसे कि शैली के ब्यौरे देने वाले) देता है
ख़ास जानकारी के तौर पर शामिल करें (सीधे कॉन्टेंट के बारे में कॉन्टेंट).
मेटाडेटा का एचटीएमएल कोड आसान होना चाहिए, उदाहरण के लिए:
<html>
<head>
<title>Domain.com - Your tag line here!</title>
</head>
<body>
<h1>Descriptions</h1>
<h2>About this Content</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. ...</p>
<h2>About Domain.com</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. ...</p>
</body>
</html>
- मुझे "विज्ञापन रिस्पॉन्स में मान्य विज्ञापन टाइप नहीं है" गड़बड़ी का मैसेज क्यों मिल रहा है?
- यह गड़बड़ी आम तौर पर इसलिए दिखती है, क्योंकि किसी खास
publisherId
(तय समयावधि के लिए) को टारगेट करने के लिए कोई विज्ञापन नहीं चुना गया है. यह स्थिति
कैंपेन के शुरू और खत्म होने पर, दिन भर या कई दिनों में अलग-अलग हो सकता है.
जांच लें कि आपको जिस विज्ञापन को टारगेट करना है उसकी समयसीमा खत्म न हुई हो और
विज्ञापन लक्ष्यीकरण मानदंड सही हैं.
जब तक विज्ञापनों का अनुरोध सही तरीके से किया जाता है, उन्हें सही तरीके से पाया जाता है, और उन्हें टेस्ट publisherId
का इस्तेमाल करके रेंडर किया जाता है, तब तक यह पक्का किया जा सकता है कि विज्ञापन उपलब्ध होने पर, उन्हें लाइव publisherId
का इस्तेमाल करके सही तरीके से मैनेज किया जाता है.
- क्या आपके पास Ad Manager वीडियो विज्ञापन टैग है, जिसे मैं टेस्ट करने के लिए इस्तेमाल कर सकता हूं?
- सैंपल टैग, सैंपल टैग पेज पर उपलब्ध हैं.
- क्या मैं
adSlotWidth
और adSlotHeight
को एक ही पर सेट कर दूं
मेरे Ad Manager विज्ञापन टैग में sz
रूप में मान हैं?
- ज़रूरी नहीं है.
adSlotWidth
और adSlotHeight
यह प्लेयर या उसके क्षेत्र की चौड़ाई/ऊंचाई पर सेट होना चाहिए, जहां आपको अपने विज्ञापन दिखाने हैं
भरें. AdSense इनका इस्तेमाल करके यह तय करता है कि उस स्पेस में कौनसे विज्ञापन दिखाए जा सकते हैं. आपके Ad Manager विज्ञापन टैग में मौजूद sz
की-वैल्यू पेयर, एक टारगेटिंग पैरामीटर है. हालांकि, यह ज़रूरी नहीं है कि इससे दिखाए जाने वाले क्रिएटिव पर असर पड़े. ज़्यादा जानकारी यहां दी गई है.
- डेमो विज्ञापन टैग शानदार दिखता है, लेकिन जब इसे अपने विज्ञापन टैग से स्विच किया जाता है, तो कोई विज्ञापन नहीं दिखता.
-
पक्का करें कि आपके अनुरोध किए गए विज्ञापन टैग पर ट्रैफ़िक आ रहा हो. इसका सबसे आसान तरीका है एचटीटीपी ट्रैफ़िक पर नज़र रखना. अगर कोई
1x1 pixel grey.gif इमेज एक एचटीएमएल ऐंकर ब्लॉक में दिखाई गई है,
तो आपको Ad Manager में अपनी टारगेटिंग की जांच करनी होगी.
- मुझे एक ही टैग का इस्तेमाल करके, एक से ज़्यादा बार विज्ञापनों का अनुरोध करना है. हालांकि, मुझे सिर्फ़ अपने पहले अनुरोध के लिए विज्ञापन मिलते हैं. मैं इस समस्या को कैसे ठीक करूं?
-
जब विज्ञापनों का अनुरोध एक से ज़्यादा बार किया जाता है, तो आपको विज्ञापन सर्वर को यह बताना होगा कि ये अनुरोध सही हैं और अनजाने में डुप्लीकेट नहीं हैं. SDK टूल
यह आपके लिए दो क्विक एपीआई कॉल की मदद से किया जाता है:
- अपने
AdsManager
इंस्टेंस पर destroy()
पर कॉल करें.
इससे नीचे दिया गया कॉल करने पर, वीडियो खत्म होने के बाद विज्ञापन नहीं चलेंगे
contentComplete()
. अगला अनुरोध करने पर, आपको एक नया AdsManager
दिखेगा.
- अपने
AdsLoader
इंस्टेंस पर contentComplete()
को कॉल करें. इससे SDK टूल रीसेट हो जाता है, ताकि नया विज्ञापन अनुरोध, पिछले अनुरोध का डुप्लीकेट न लगे.
ऊपर दो कॉल करने के बाद, आप requestAds()
को इस पर कॉल कर सकते हैं:
यह आपका AdsLoader
इंस्टेंस है, ताकि आप अपने लिए चलाने के लिए विज्ञापनों का एक और सेट पा सकें
नया वीडियो.
- IMA SDK टूल का इस्तेमाल करके, ओवरले और पूरे स्लॉट वाले AdSense विज्ञापनों का अनुरोध कैसे किया जा सकता है?
-
SDK टूल का इस्तेमाल करके AdSense के विज्ञापनों का अनुरोध करने के लिए, पहले आपको
विज्ञापन टैग. इस बारे में ज़्यादा जानने के लिए, AdSense पर
वीडियो पेज के लिए. टैग मिलने के बाद, ओवरले या पूरे स्लॉट के लिए विज्ञापन अनुरोध करने के लिए, आपको यह तरीका अपनाना होगा:
ओवरले विज्ञापन
- अपने
AdsRequest
में, व्यू मोड को
NORMAL
पर सेट करें.
- अपने विज्ञापन टैग में,
overlay=1
पैरामीटर जोड़ें.
फ़ुल स्लॉट विज्ञापन
- अपने
AdsRequest
में, अपने ViewModes को इस पर सेट करें
FULLSCREEN
.
- अपने विज्ञापन टैग में, पैरामीटर
overlay=0
जोड़ें.
- मुझे "अमान्य क्लिकथ्रू URL" मिल रहा है मेरे विज्ञापन पर क्लिक करते समय गड़बड़ी हुई. इसकी क्या वजह हो सकती है?
- अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है
इस गड़बड़ी की सबसे आम वजह है, क्लिक-थ्रू को गलत तरीके से एस्केप करना
यूआरएल. अगर आपको यह गड़बड़ी दिख रही है, तो पक्का करें कि आपके क्लिकथ्रू यूआरएल को VAST रिस्पॉन्स में सही तरीके से एस्केप किया गया हो.
- क्या Android और iOS SDK टूल में, पूरे वीडियो विज्ञापन को क्लिक करने लायक बनाने का कोई तरीका है?
- पूरे वीडियो पर क्लिक ट्रैकिंग के लिए, मोबाइल वीडियो पर दर्शकों को आम तौर पर यह अनुभव मिलता है कि वीडियो पर टैप करने से, वह या तो रुक जाता है या प्लेयर कंट्रोल दिखने लगते हैं. IMA, ज़्यादा जानें बटन का इस्तेमाल करता है, ताकि उपयोगकर्ता प्लेअर के कंट्रोल ऐक्सेस करने के दौरान, अनजाने में विज्ञापनों पर क्लिक न कर सकें. इस बटन की मदद से, उपयोगकर्ता किसी विज्ञापन पर क्लिक करके, विज्ञापन में दिखाए जा रहे प्रॉडक्ट के बारे में ज़्यादा जान सकते हैं.
- मुझे "VAST दस्तावेज़ खाली है" गड़बड़ी का मैसेज क्यों दिख रहा है?
- यह गड़बड़ी तब होती है, जब विज्ञापन टैग एक खाली वीएएसटी दस्तावेज़ लौटाता है, जो दिखाता है कि
कि विज्ञापन ठीक से नहीं दिखाया गया था. अपने विज्ञापन टैग के काम न करने की वजह जानने के लिए, अपने खाता मैनेजर या विज्ञापन सर्वर प्रतिनिधि से बात करें.
- क्या विज्ञापन छोड़ें बॉक्स या दूसरे यूज़र इंटरफ़ेस (यूआई) एलिमेंट का साइज़/टेक्स्ट बदला जा सकता है?
- IMA SDK में, यूज़र इंटरफ़ेस (यूआई) एलिमेंट के लेआउट, साइज़ या कॉन्टेंट में बदलाव नहीं किया जा सकता.
यूज़र इंटरफ़ेस (यूआई) एलिमेंट के बारे में ज़्यादा जानकारी के लिए,
AdsManager.uiElements
पर जाएं.
- iOS पर, विज्ञापन की आवाज़ क्यों नहीं बदली जा सकती?
- अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है
iOS आपको प्रोग्राम के हिसाब से वॉल्यूम को सेट करने की अनुमति नहीं देता है. अगर आपको
HTML5 SDK,
adsManager.setVolume()
का कोई असर नहीं पड़ता. इस वजह से, iOS SDK टूल, IMAAdsManager पर वॉल्यूम सेटर की सुविधा नहीं देता.
- क्या यूज़र इंटरफ़ेस (यूआई) को शुरू करने और उसमें बदलाव करने के लिए, एक से ज़्यादा थ्रेड का इस्तेमाल किया जा सकता है?
-
यूज़र इंटरफ़ेस को मुख्य थ्रेड पर शुरू किया जाना चाहिए. शुरू करने के बाद, बैकग्राउंड में विज्ञापन चलाने की सुविधा को लागू किया जा सकता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe test ad tags always return ads for valid requests to make integration and testing easier, however, live ads may not always be available for all ad formats, placements or targeting criteria.\u003c/p\u003e\n"],["\u003cp\u003eEnsure your \u003ccode\u003edescriptionUrl\u003c/code\u003e is set to a page on your site with 1-3 paragraphs accurately describing the content for better ad targeting.\u003c/p\u003e\n"],["\u003cp\u003eWhen requesting ads more than once using the same tag, ensure you reset the SDK by calling \u003ccode\u003edestroy()\u003c/code\u003e on \u003ccode\u003eAdsManager\u003c/code\u003e and \u003ccode\u003econtentComplete()\u003c/code\u003e on \u003ccode\u003eAdsLoader\u003c/code\u003e to avoid duplicate requests.\u003c/p\u003e\n"],["\u003cp\u003eThe "Ad response does not contain a valid ad type" error generally indicates that no ads are currently targeted to your publisher ID, time period or ad unit, ensure your ads and creatives are approved, targeted correctly and have not expired.\u003c/p\u003e\n"],["\u003cp\u003eThe IMA SDK does not allow for customization of UI elements like the "Skip Ad" button, and on iOS, programmatic volume control for ads is restricted by the operating system.\u003c/p\u003e\n"]]],[],null,["# Google Interactive Media Ads SDK FAQs\n\n- [Why am I not getting ads back for all formats?](#1)\n- [What does a good descriptionUrl look like?](#2)\n- [Why am I receiving the error \"Ad response does not contain a valid ad type\"?](#3)\n- [Do you have an Ad Manager video ad tag that I can use for testing?](#4)\n- [Should I set the adSlotWidth and adSlotHeight to the same values\n as the sz in my Ad Manager ad tag?](#5)\n- [The demo ad tag looks great, but when I switch it with my ad tag,\n no ad appears.](#7)\n- [I want to request ads using the same tag more than once, but I\n only get ads for my first request. How do I fix this?](#8)\n- [How do I request overlay and full slot AdSense ads using the IMA\n SDK?](#9)\n- [I'm getting an \"Invalid clickthrough URL\" error when I click on my\n ad. What could be the cause?](#10)\n- [In the Android and iOS SDKs, is there a way to make the entire video\n ad clickable?](#11)\n- [Why do I see a \"VAST Document Empty\" error?](#12)\n- [Can I change the size/text of the \"Skip Ad\" box or other UI elements?](#13)\n- [Why can't I change an ad's volume on iOS?](#16)\n- [Can I use multiple threads to initialize and manipulate the UI?](#18)\n\n*** ** * ** ***\n\nWhy am I not getting ads back for all formats?\n:\n The test ad tags are set up to always return ads for valid requests. This is\n meant to facilitate integration and make it easier to test how your player\n requests and renders ads. However, ads are not always available in every\n format for your site, account, or ad unit. If your integration is working\n properly for the test tag but not for your own tag, the cause may be one of\n the following:\n\n - You're serving videos of an unsupported format to your environment. For example, you're serving only HTML5 ads to iOS or Android.\n - If you're using Ad Manager, your publisher ID may not have any ads targeted to it at this time. Also, ensure that you have approved the relevant ads and creatives in Ad Manager.\n - If you're using AdSense, the targeting criteria for your site or test page may not have any active advertisements. The most common cause is the use of private, uncrawled websites.\n - If you're using Ad Exchange Network Partner Management and `descriptionURL` is not set or is not on the owned or operated domains management list, ads do not serve to this.\n - Check the *minCPM* thresholds defined in Ad Exchange Video. A fairly high CPM may result in very low fill rates. To correct this, try either removing the minCPM or removing the ad unit parameter from the ad request (i.e., slotname) to verify whether this is affecting the fill rate.\n\nWhat does a good `descriptionUrl` look like?\n:\n To be most effective, the content of the page that `descriptionUrl`\n points to shouldn't be a collection of words or phrases but rather\n 1-3 paragraphs actually describing the content and your role in providing it.\n One method that has been successful in the past is to stitch together\n `descriptionUrl` page content dynamically from predefined blocks.\n For example, a few sentences about the content, a few sentences about your\n site's offering, and then a few predefined snippets associated with each\n AdSense channel (like \"Entertainment\" or \"Sports\"). As a result, each piece of\n content has a reasonably distinct `descriptionUrl` associated with\n it that provides both general information (such as genre descriptors) as well\n as specific information (content about the content directly).\n\n This metadata HTML should be simple, for example:\n\n ```text\n \u003chtml\u003e\n \u003chead\u003e\n \u003ctitle\u003eDomain.com - Your tag line here!\u003c/title\u003e\n \u003c/head\u003e\n \u003cbody\u003e\n \u003ch1\u003eDescriptions\u003c/h1\u003e\n \u003ch2\u003eAbout this Content\u003c/h2\u003e\n \u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit. ...\u003c/p\u003e\n \u003ch2\u003eAbout Domain.com\u003c/h2\u003e\n \u003cp\u003eLorem ipsum dolor sit amet, consectetur adipiscing elit. ...\u003c/p\u003e\n \u003c/body\u003e\n \u003c/html\u003e\n \n ```\n\nWhy am I receiving the error \"Ad response does not contain a valid ad type\"?\n: This error generally appears because no ads have been targeted to the\n specific `publisherId` (for the given time period). This condition\n may vary throughout the day, or over several days as campaigns begin and end.\n You should check that the ad you wish to target has not expired and that the\n ad targeting criteria are correct.\n As long as ads are properly requested, received, and rendered using\n the test `publisherId`, you can be sure that these ads are\n properly handled using your live `publisherId` when the ads are\n available.\n\nDo you have an Ad Manager video ad tag that I can use for testing?\n: Sample tags are available on the [sample tags](/interactive-media-ads/docs/sdks/ios/client-side/tags) page.\n\nShould I set the `adSlotWidth` and `adSlotHeight` to the same\nvalues as the `sz` in my Ad Manager ad tag?\n: Not necessarily. The `adSlotWidth` and `adSlotHeight`\n must be set to the width/height of the player or area you want your ads to\n fill. They are used by AdSense to determine which ads are available to fit\n into that space. The `sz` key/value pair in your Ad Manager ad tag is\n a targeting parameter and does not necessarily affect the creative served\n (more information below).\n\nThe demo ad tag looks great, but when I switch it with my ad tag, no ad appears.\n:\n Check to ensure that something is trafficked to the ad tag you are\n requesting. The easiest way to find out is to watch the HTTP traffic. If a\n **1x1 pixel grey.gif** image is returned within an HTML anchor block,\n then you need to check your targeting in Ad Manager.\n\nI want to request ads using the same tag more than once, but I only get ads for my first\nrequest. How do I fix this?\n:\n When you request ads more than once, you need to let the ad server know\n that these are legitimate requests, and not accidental duplicates. The SDK\n does this for you with two quick API calls:\n\n 1. Call `destroy()` on your `AdsManager` instance. This prevents any post-rolls from playing when you make the below call to `contentComplete()`. You get a new `AdsManager` when you make your next request.\n 2. Call `contentComplete()` on your `AdsLoader` instance. This resets the SDK so the new ad request doesn't look like a duplicate of the previous one.\n\n\n After making the two calls above, you can call `requestAds()` on\n your `AdsLoader` instance to get another set of ads to play for your\n new video.\n\nHow do I request overlay and full slot AdSense ads using the IMA SDK?\n\n: To request AdSense ads using the SDK, you need to first obtain an AdSense\n ad tag. You can learn more about that on the [AdSense\n for Video page](//support.google.com/adsense/answer/1705822). Once you have your tag, you need to take the following\n steps to make either an overlay or a full slot ad request:\n\n **Overlay ads**\n\n 1. In your `AdsRequest`, set your ViewModes to `NORMAL`.\n 2. In your ad tag, add the parameter `overlay=1`.\n\n **Full slot ads**\n\n 1. In your `AdsRequest`, set your ViewModes to `FULLSCREEN`.\n 2. In your ad tag, add the parameter `overlay=0`.\n\nI'm getting an \"Invalid clickthrough URL\" error when I click on my ad. What could be the cause?\n:\n The most common cause for this error is an improperly escaped clickthrough\n URL. If you're seeing this error, check to make sure that your clickthrough\n URL is properly escaped in your VAST response.\n\nIn the Android and iOS SDKs, is there a way to make the entire video ad clickable?\n: As far as whole-video click tracking goes, the standard viewer experience\n for mobile video that has emerged is that tapping on a video either\n pauses it or brings up the player controls. To avoid users\n unintentionally clicking on ads when they really just want access to the\n player controls IMA uses the **Learn more** button to let\n users click on an ad and learn more about the product being advertised.\n\nWhy do I see a \"VAST Document Empty\" error?\n: This error occurs when the ad tag returns an empty VAST document, indicating\n that the ad was not served properly. Talk to your account manager\n or ad server representative to see why your ad tag is not working.\n\nCan I change the size/text of the **Skip Ad** box or other UI elements?\n: The IMA SDKs do not support changing the layout, size, or content of UI elements.\n For more details on UI elements, see `AdsManager.uiElements`.\n\nWhy can't I change an ad's volume on iOS?\n:\n iOS does not allow you to set volume programmatically. If you're using the\n HTML5 SDK, `adsManager.setVolume()` has no effect. The iOS SDK does not\n provide a volume setter on the IMAAdsManager for this reason.\n\nCan I use multiple threads to initialize and manipulate the UI?\n:\n\n All initialization of the UI must be done on the main thread. After\n initialization, you can choose to implement\n [Background Ad Playback](/interactive-media-ads/docs/sdks/ios/background_ad_playback)."]]