Google AdSense Legacy Old Generation Code Reference (Generate and Get) गूगल ऐडसेंस लिगेसी पुरानी पीढ़ी संहिता संदर्भ उत्पन्न (और)
Google AdSense has implemented new Google AdSense ad code with the new AdSense As Management feature. गूगल ऐडसेंस प्रबंधन सुविधा के रूप में नया ऐडसेंस के साथ नए गूगल ऐडसेंस विज्ञापन कोड लागू किया गया है. With the new style of ad code and Manage Ads tab, the configuration settings for an AdSense ad unit such as ad size, colors, and channel settings are stored on Google servers, so that in future, any changes to Google AdSense units can be made from within the account instead of having to modify the ad code. विज्ञापन कोड और प्रबंधित विज्ञापन पट्टी के नए स्टाइल के साथ, विन्यास एक ऐडसेंस विज्ञापन इकाई के लिए ऐसे विज्ञापन आकार, रंग के रूप में सेटिंग्स, और चैनल रूपरेखा गूगल सर्वर पर संग्रहीत है, इसलिए कर रहे हैं कि भविष्य में किसी भी बदलाव के लिए गूगल ऐडसेंस इकाइयों बनाया जा सकता है से खाते के भीतर के बजाए को विज्ञापन कोड को संशोधित करने.
With the new Google AdSense Ad Management system, the new generation ad code is considerably shorten and simplified. नया गूगल ऐडसेंस विज्ञापन प्रबंधन प्रणाली के साथ, नई पीढ़ी के विज्ञापन कोड में काफी छोटा है और सरल. Gone are the google_ad_format, google_ad_type, google_ad_channel, google_color_border and etc, and been replaced with google_ad_slot, which points to corresponding ad unit as saved in publisher's account. गए हैं google_ad_format, google_ad_type, google_ad_channel, google_color_border और, आदि और google_ad_slot, जो प्रकाशक खाते में सहेज के रूप में इसी विज्ञापन इकाई के लिए अंकों के साथ बदल दिया गया है.
However, the new Google AdSense ad code is not necessary suit all. बहरहाल, नए गूगल ऐडसेंस विज्ञापन कोड आवश्यक सूट सब नहीं है. It's very hard to implement for blogs or websites that adopt the revenue sharing business model, where Google AdSense ad code of different writers and authors are used in rotation. यह बहुत ब्लॉग या वेबसाइटों को लागू करने के लिए कि व्यापार मॉडल है, जहाँ गूगल अलग लेखक और लेखक के ऐडसेंस विज्ञापन कोड रोटेशन में उपयोग किया जाता है साझा राजस्व अपनाने मुश्किल है. It's even harder if custom channel ID number is used to track the performance of the ad unit in AdSense revenue sharing program. यह और भी कठिन अगर पसंदीदा चैनल आईडी नंबर के लिए ऐडसेंस राजस्व में विज्ञापन इकाई के निष्पादन कार्यक्रम के बंटवारे को ट्रैक किया जाता है.
The legacy old classic Google AdSense ad code no longer able to be generated from Google AdSense Setup page. विरासत पुराने क्लासिक गूगल ऐडसेंस विज्ञापन कोड अब कोई गूगल ऐडसेंस स्थापना पृष्ठ से उत्पन्न हो कर. However, the legacy code is still been supported, and continue to can be used in web pages. हालांकि, अभी भी विरासत कोड का समर्थन किया गया है, और जारी रखने के वेब पन्नों में इस्तेमाल किया जा सकता हो. For webmasters who still want to use the legacy AdSense ad unit code, use the following guide to generate the ad code manually. वेबमास्टर्स के लिए जो अभी भी विरासत ऐडसेंस विज्ञापन इकाई कोड का प्रयोग करने के बाद गाइड का उपयोग विज्ञापन कोड को मैन्युअल रूप से उत्पन्न करना चाहता हूँ.
Format of Legacy Old Google AdSense Ad Code विरासत पुराने गूगल ऐडसेंस विज्ञापन कोड का प्रारूप
Both text ads, image ads, video ads, and link units use the similar ad code format as below: दोनों पाठ विज्ञापन, छवि विज्ञापन, वीडियो विज्ञापन और लिंक इकाइयों के नीचे के रूप में समान विज्ञापन कोड प्रारूप का उपयोग करें:
<script type=”text/javascript”><!– <script type="text/javascript"> <! --
google_ad_client = “pub-XXXXXXXXXXXXXXXX”; पब google_ad_client = "-XXXXXXXXXXXXXXXX";
google_ad_width = 300; google_ad_width = 300;
google_ad_height = 250; google_ad_height = 250;
google_ad_format = “300×250_as”; google_ad_format = "300 250_as ×";
google_ad_type = “text_image”; google_ad_type = "text_image";
google_alternate_ad_url = “http://www.mydigitallife.info/” google_alternate_ad_url = "http://www.mydigitallife.info/"
//2007-07-25: My Digital Life / / 2007/07/25: मेरे डिजिटल जीवन
google_ad_channel = “XXXXXXXXXX”; google_ad_channel = "XXXXXXXXXX";
google_color_border = “FFFFFF”; google_color_border = "FFFFFF";
google_color_bg = “FFFFFF”; google_color_bg = "FFFFFF";
google_color_link = “0000FF”; = "0000FF google_color_link";
google_color_text = “000000″; = "000000 google_color_text";
google_color_url = “005577″; = "005,577 google_color_url";
//–> / / ->
</script> <स्क्रिप्ट />
<script type=”text/javascript” <स्क्रिप्ट प्रकार = "पाठ / जावास्क्रिप्ट"
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”> http://pagead2.googlesyndication.com/pagead/show_ads.js src = "">
</script> <स्क्रिप्ट />
Available Customization Options Using JavaScript Variables अनुकूलन विकल्प उपलब्ध का प्रयोग जावास्क्रिप्ट चर
The ad code above should be customized and changed by using different value for JavaScript variables to reflect the AdSense ad unit prefer, here's the brief description of each variables in the ad code. इसके बाद के संस्करण विज्ञापन कोड और अनुकूलित किया जाना चाहिए बदल जावास्क्रिप्ट चर के लिए अलग मूल्य का उपयोग करने ऐडसेंस विज्ञापन इकाई को प्रतिबिंबित द्वारा पसंद करते हैं, यहाँ विज्ञापन कोड में एक चर का संक्षिप्त वर्णन है.
google_ad_client – The publisher ID that is required and must be correct to get paid and earn revenue from Google AdSense program when eligible clicks or page views occurred.. google_ad_client - प्रकाशक आईडी कि आवश्यकता होती है और सही होना चाहिए लिए भुगतान मिल रहा है और गूगल ऐडसेंस कार्यक्रम से राजस्व कमाने जब पात्र क्लिक या पृष्ठ विचार हुआ .. The publisher ID can be retrieved from Google AdSense account. प्रकाशक आईडी गूगल ऐडसेंस खाते से लिया जा सकता है.
google_ad_width , google_ad_height , google_ad_format – Define the size and format of AdSense ad unit to display. google_ad_width, google_ad_height, google_ad_format - परिभाषित आकार और ऐडसेंस विज्ञापन इकाई के स्वरूप प्रदर्शित करने के लिए. All there values should be matching each other, ie the first number before 'x'in google_ad_format is also google_ad_wide, and the second number after 'x' before '_' is the google_ad_height. सब वहाँ 'से पहले एक दूसरे को, यानी पहले नंबर चाहिए मिलान हो google_ad_format x'in भी google_ad_wide है मूल्यों, और दूसरे नंबर एक्स' के बाद '_ पहले' google_ad_height है. google_ad_height and google_ad_width have no effect on the actual ad size as they only control the object box within which the ad unit is contained. google_ad_height और google_ad_width वास्तविक विज्ञापन आकार पर कोई प्रभाव नहीं के रूप में वे केवल वस्तु जो बॉक्स के भीतर विज्ञापन इकाई निहित है नियंत्रण है. The parameters are used normally to maintain a consistent layout presentation when the page layout provides an area that is wider than the ad unit itself. मानकों का इस्तेमाल आम तौर पर एक सुसंगत लेआउट प्रस्तुति को बनाए रखने जब पेज लेआउट एक क्षेत्र है कि विज्ञापन इकाई खुद से व्यापक प्रदान करता है. Google provides 24 different ad formats (12 ad units and 12 link units) for web page placement. गूगल के 24 विभिन्न विज्ञापन (12 विज्ञापन इकाइयों स्वरूपों और यूनिट लिंक 12 वेब पेज वरीयता के लिए) प्रदान करता है.
Normal Ad Unit: सामान्य विज्ञापन इकाई:
728×90_as (Leaderboard) × 90_as 728 लीडरबोर्ड ()
468×60_as (Banner) 60_as × 468 बैनर ()
234×60_as (Half Banner) × 60_as 234 (आधा बैनर)
125×125_as (Button) × 125_as 125 बटन ()
120×600_as (Skyscraper) × 600_as 120 स्काईस्क्रेपर ()
160×600_as (Wide Skyscraper) × 600_as 160 (चौड़ी स्काइस्क्रेपर)
180×150_as (Small Rectangle) × 150_as 180 (छोटे आयत)
120×240_as (Vertical Banner) × 240_as 120 (ऊर्ध्वाधर बैनर)
200×200_as (Small Square) × 200_as 200 (छोटा वर्ग)
250×250_as (Square) × 250_as 250 स्क्वायर ()
300×250_as (Rectangle) × 250_as 300 आयत ()
336×280_as (Large Rectangle) × 280_as 336 बड़े (आयत)
Link Unit: लिंक यूनिट:
120×90_0ads_al (4 links) 120 × 90_0ads_al (4 लिंक)
120×90_0ads_al_s (5 links) 120 × 90_0ads_al_s (5 लिंक)
160×90_0ads_al (4 links) 160 × 90_0ads_al (4 लिंक)
160×90_0ads_al_s (5 links) 160 × 90_0ads_al_s (5 लिंक)
180×90_0ads_al (4 links) 180 × 90_0ads_al (4 लिंक)
180×90_0ads_al_s (5 links) 180 × 90_0ads_al_s (5 लिंक)
200×90_0ads_al (4 links) 200 × 90_0ads_al (4 लिंक)
200×90_0ads_al_s (5 links) 200 × 90_0ads_al_s (5 लिंक)
468×15_0ads_al (4 links) 468 × 15_0ads_al (4 लिंक)
468×15_0ads_al_s (5 links) 468 × 15_0ads_al_s (5 लिंक)
728×15_0ads_al (4 links) 728 × 15_0ads_al (4 लिंक)
728×15_0ads_al_s (5 links) 728 × 15_0ads_al_s (5 लिंक)
google_ad_type – Definite if only text ads, images ads or both type of ads is allowed. google_ad_type - निश्चित अगर केवल पाठ विज्ञापन, छवि विज्ञापन या विज्ञापनों के दोनों प्रकार की अनुमति दी है. Note that for Flash based ads and video ads to appear, image ads must be enabled. ध्यान दें कि फ्लैश आधारित विज्ञापनों और वीडियो विज्ञापनों के लिए प्रदर्शित होने के लिए, छवि विज्ञापनों को सक्षम किया जाना चाहिए. Available options are: उपलब्ध विकल्प हैं:
text – for AdSense text ads only ऐडसेंस पाठ विज्ञापन के लिए पाठ - ही
image – for image ads only, including video ads and Flash ads. छवि विज्ञापनों के लिए छवि - ही, वीडियो विज्ञापन और फ़्लैश विज्ञापन भी शामिल है.
text_image – for text and image ads पाठ और छवि के लिए text_image - विज्ञापन
google_alternate_ad_url – Display another ads or web pages when Google AdSense program does not have a relevant advertisement for the ad slot. google_alternate_ad_url - प्रदर्शन एक विज्ञापन या वेब पृष्ठों जब गूगल ऐडसेंस कार्यक्रम की विज्ञापन स्लॉट के लिए एक प्रासंगिक विज्ञापन नहीं है. By default, a public service ad is display. By default, एक सार्वजनिक सेवा विज्ञापन प्रदर्शित है. Specifying the alternate ad URL will display the content specified in the URL. वैकल्पिक विज्ञापन यूआरएल निर्दिष्ट URL में निर्दिष्ट सामग्री प्रदर्शित करेगा. Note that the alternative ad code should be specified in HTML file, and should not has size that bigger than the Google ad unit, or else the alternative ad will be cut off or trimmed off. ध्यान दें कि वैकल्पिक विज्ञापन कोड HTML फाइल में निर्दिष्ट किया जाना चाहिए, न कि गूगल विज्ञापन इकाई, या किसी और वैकल्पिक विज्ञापन से है कि बड़े आकार चाहिए है काट जाएगा या बंद छंटनी की. It's also possible to put in an alternate URL which will collapse the ad space (no space been used for the ad). यह भी एक वैकल्पिक URL जो विज्ञापन जगह टूट जाएगी में डाल सकता है (कोई जगह विज्ञापन के लिए इस्तेमाल किया) गया है.
google_ad_channel – To specify a custom channel (a 10 digits number) to track ad performance and statistics. google_ad_channel - एक पसंदीदा चैनल (एक 10 अंकों की संख्या) को निर्दिष्ट करने के लिए विज्ञापन प्रदर्शन आँकड़े और ट्रैक. Channel ID must be created at AdSense account before they can be used. चैनल आईडी ऐडसेंस खाते पर बनाया जाना चाहिए इससे पहले कि वे किया जा सकता है.
google_color_border , google_color_bg , google_color_link , google_color_text , google_color_url – Determines the color of the ad border, ad background, ad title of each ad, ad text inside the ad block, and URL at bottom of each ad. google_color_border, google_color_bg google_color_link, google_color_text, google_color_url - सीमा निर्धारित करता है विज्ञापन, विज्ञापन पृष्ठभूमि, प्रत्येक विज्ञापन के विज्ञापन के शीर्षक के रंग विज्ञापन खंड के अंदर, विज्ञापन पाठ, और यूआरएल प्रत्येक विज्ञापन के नीचे. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. 4 अलग मूल्यों के ऊपर (अल्पविराम द्वारा विभेदित) स्वत: रंग जब विज्ञापन गूगल सर्वर से सेवा की है रोटेशन के लिए आपूर्ति की जा सकती है. The image ads does not affect by these values. छवि विज्ञापनों को इन मूल्यों से प्रभावित नहीं करता है. Note that the color value should be ध्यान दें कि रंग मान होना चाहिए converted in hexadecimal format षोडश आधारी प्रारूप में परिवर्तित . .
IMPORTANT : The page is machine translated and provided "as is" without warranty. महत्वपूर्ण: पृष्ठ की मशीन है और अनुवाद प्रदान "के रूप में वारंटी के बिना है." Machine translation may be difficult to understand. मशीन अनुवाद मुश्किल से समझ सकते हो. Please refer to कृपया उल्लेख करने original English article मूल अंग्रेजी लेख whenever possible. जब भी संभव है.
Related Articles संबंधित लेख
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website जोड़ें और ऐडसेंस विज्ञापन डाल Google Page Creator वेबसाइट के लिए कोड और जावास्क्रिप्ट
- google_ad_host Host ID in Google AdSense Ad Unit Code and Revenue Sharing google_ad_host मेजबान गूगल ऐडसेंस विज्ञापन इकाई संहिता और साझा राजस्व में आईडी
- Trick to Add AdSense, AdBrite and Other JavaScript Ad Code Directly to Blogger HTML Template चाल ब्लॉगर टेम्पलेट HTML के लिए ऐडसेंस, AdBrite और अन्य जावास्क्रिप्ट विज्ञापन कोड को सीधे जोड़ें
- Monitor Google AdSense Account With Shock AdSense मॉनिटर गूगल ऐडसेंस शॉक ऐडसेंस के साथ खाता
- How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) इसके बजाय सार्वजनिक सेवा विज्ञापन पीएसए (दिखाने का छुपाएँ और संक्षिप्त गूगल ऐडसेंस विज्ञापन इकाई में कैसे)
- Implement Ad Revenue Sharing in Blogger (Supports Google AdSense And Any Code) लागू करने के विज्ञापन में ब्लॉगर (गूगल ऐडसेंस का समर्थन करता है और कोई कोड शेयरिंग राजस्व)
- AdSense Login to Update to Google Account ऐडसेंस लॉगिन गूगल खाते के लिए अद्यतन के लिए
- Sign Up for Google AdSense Referrals Beta CPA Network with Review साइन इन करें की समीक्षा के साथ गूगल ऐडसेंस रेफ़रल बीटा CPA नेटवर्क के लिए
- How to Reset AdSense Password Not Associated with Google Account Google खाते के साथ रीसेट ऐडसेंस नहीं एसोसिएटेड पासवर्ड कैसे
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com जोड़ें और डालने के लिए Google ब्लॉग के बीच ऐडसेंस विज्ञापन इकाइयों रख Blogger.com में डाक










































July 22nd, 2009 22:00 22 जुलाई 2009 22:00
Thanks. धन्यवाद. Very helpful to a script I was writing to dynamically generate adsense script. बहुत एक स्क्रिप्ट मैं गतिशील ऐडसेंस उत्पन्न स्क्रिप्ट लिख रहा था के लिए उपयोगी.
January 19th, 2009 01:50 19 जनवरी 2009 01:50
[...] publisher using classic legacy Google AdSense ad code, add a new JavaScript variable named google_alternate_ad_url to the Google AdSense ad unit ad code [...] [...] प्रकाशक क्लासिक विरासत गूगल ऐडसेंस विज्ञापन कोड का उपयोग कर, एक नया जावास्क्रिप्ट चर जोड़ने गूगल ऐडसेंस विज्ञापन इकाई विज्ञापन कोड को google_alternate_ad_url नाम [...]