Google AdSense Legacy Old Generation Code Reference (Generate and Get) Google AdSense מורשת העתיקה הפקת קוד הפניה (להפיק קבל)

Google AdSense has implemented new Google AdSense ad code with the new AdSense As Management feature. Google AdSense יישמה מודעות של Google AdSense חדש עם קוד AdSense החדש כתכונה ניהול. 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. עם הסגנון החדש של קוד המודעה נהל מודעות הכרטיסייה, את הגדרות התצורה עבור יחידת מודעה של AdSense כגון גודל מודעה, צבעים, והגדרות הערוץ מאוחסנים בשרתים של Google, כך בעתיד, שינויים ביחידות AdSense של Google ניתן מתוך החשבון, במקום לשנות את קוד המודעה.

With the new Google AdSense Ad Management system, the new generation ad code is considerably shorten and simplified. עם המערכת החדשה של Google AdSense מודעה ניהול, את הקוד החדש המודעה הדור משמעותית לקצר ופשוט יותר. 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. עם זאת, המודעות החדשה של Google AdSense קוד לא החליפה את כל הדרוש. 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. זה מאוד קשה ליישום עבור בלוגים או אתרי אינטרנט לאמץ את המודל העסקי של שיתוף הכנסות, שבו קוד ה-AdSense של Google מודעות של סופרים שונים מחברים משמשים ברוטציה. It's even harder if custom channel ID number is used to track the performance of the ad unit in AdSense revenue sharing program. זה אפילו יותר קשה אם מספר ערוץ מותאם אישית מזהה משמש כדי לעקוב אחר הביצועים של יחידת המודעה של AdSense שיתוף בהכנסות התוכנית.

The legacy old classic Google AdSense ad code no longer able to be generated from Google AdSense Setup page. מורשת בן מודעה הקלאסי של Google AdSense קוד כבר לא מסוגל להיות שנוצר בדף הגדרות AdSense של Google. 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. עבור מנהלי אתרים שעדיין רוצים להשתמש בקוד מודעה של AdSense מורשת יחידה, השתמש במדריך הבא כדי ליצור את קוד המודעה באופן ידני.

Format of Legacy Old Google AdSense Ad Code פורמט של מורשתו העתיקה של Google AdSense קוד מודעה

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 = "pub-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”; google_color_link = "0000ff";
google_color_text = “000000″; google_color_text = "000000";
google_color_url = “005577″; google_color_url = "005577";
//–> / / ->
</script> </ script>
<script type=”text/javascript” <סוג סקריפט = "text / javascript"
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”> src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </ script>

Available Customization Options Using JavaScript Variables זמין אפשרויות התאמה אישית Using Variables JavaScript

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. קוד המודעה מעל צריך להיות מותאם אישית שונה באמצעות ערך אחר עבור משתנים JavaScript כדי לשקף את יחידת מודעה של AdSense מעדיפים, הנה תיאור קצר של כל המשתנים בקוד המודעה.

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 המו"ל מזהה כי נדרש חייב להיות נכון לקבל תשלום וקבל רווחים מתוכנית AdSense של Google, כאשר קליקים זכאי או הצפיות עלה .. The publisher ID can be retrieved from Google AdSense account. המו"ל מזהה יכול להיות יצירת חשבון Google AdSense.

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 - הגדירו את הגודל ואת פורמט המודעה של יחידת AdSense להציג. 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. כל הערכים שם צריכים להיות תואמים זה לזה, כלומר המספר הראשון לפני 'x'in google_ad_format גם google_ad_wide, ואת המספר השני אחרי' X 'לפני' _ 'הוא 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. Google מספקת 24 פורמטים שונים (12 יחידות מודעה יחידות קישור 12) מיקום עבור דף האינטרנט.

Normal Ad Unit: יחידת מודעה רגילה:
728×90_as (Leaderboard) 728 × 90_as (עיצוב Leaderboard)
468×60_as (Banner) 468 × 60_as (באנר)
234×60_as (Half Banner) 234 × 60_as (חצי באנר)
125×125_as (Button) 125 × 125_as (לחצן)
120×600_as (Skyscraper) 120 × 600_as (גורד שחקים)
160×600_as (Wide Skyscraper) 160 × 600_as (גורד שחקים רחב)
180×150_as (Small Rectangle) 180 × 150_as (מלבן קטן)
120×240_as (Vertical Banner) 120 × 240_as (כרזה אנכית)
200×200_as (Small Square) 200 × 200_as (ריבוע קטן)
250×250_as (Square) 250 × 250_as (ריבוע)
300×250_as (Rectangle) 300 × 250_as (מלבן)
336×280_as (Large Rectangle) מלבן 336 × 280_as (גדולה)

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 - Definite אם רק מודעות טקסט, תמונות או המודעות הן סוג של מודעות מותר. Note that for Flash based ads and video ads to appear, image ads must be enabled. שים לב על מודעות Flash מבוססי יופיעו מודעות וידאו, מודעות תמונה חייב להיות מופעל. Available options are: האפשרויות הזמינות הן:

text – for AdSense text ads only טקסט - עבור מודעות טקסט בלבד של AdSense
image – for image ads only, including video ads and Flash ads. תמונה - עבור מודעות תמונה בלבד, כולל מודעות וידאו מודעות Flash.
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 - הצגת מודעות אחר או דפי אינטרנט כאשר תוכנית Google AdSense אין פרסומת רלוונטיות עבור משבצת המודעה. By default, a public service ad is display. כברירת מחדל, מודעות לשירות הציבור היא להציג. 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). אפשר גם לשים כתובת חלופית אשר תתמוטט את כל שטח המודעה (אין מקום שימש למודעה).

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. הערוץ חייב להיות מזהה נוצר על חשבון AdSense לפני שניתן יהיה להשתמש בהם.

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 ערכים נפרדים (בידול באמצעות פסיקים) יכול להיות מסופק על רוטציה צבע אוטומטי בעת הצגת מודעה על ידי השרת של Google. 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. בכל הזדמנות אפשרית.


2 Responses to “Google AdSense Legacy Old Generation Code Reference (Generate and Get)” 2 תגובות ל "Google AdSense מורשת העתיקה הפקת קוד הפניה (להפיק קבל)"

  1. JamesVG JamesVG
    July 22nd, 2009 22:00 22 יולי 2009 22:00
    2 2

    Thanks. תודה. Very helpful to a script I was writing to dynamically generate adsense script. מאוד מועיל תסריט הייתי כותב באופן דינמי סקריפט AdSense.

  2. How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) » My Digital Life כיצד הסתר כווץ של Google AdSense במקום יחידת מודעה של עמוד שירות לציבור מודעות (PSA) »Digital My Life
    January 19th, 2009 01:50 19 ינואר 2009 01:50
    1 1

    [...] 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 AdSense, להוסיף משתנה JavaScript חדש בשם google_alternate_ad_url את קוד מודעת Google AdSense יחידת מודעה [...]

Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> באפשרותך להשתמש בתגים אלה: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם My Digital Life Comments RSS feed החיים שלי דיגיטליות תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

New Articles מאמרים חדשים

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

adsense link unit code קוד יחידת קישור AdSense - -- adsense old code קוד ישן AdSense - -- adsense link units code קוד יחידות קישור AdSense - -- manually control adsense color שליטה ידנית צבע AdSense - -- old adsense ad code קוד המודעה של AdSense הישן - -- adsense old formats פורמטים ישנים AdSense - -- get url code generated לקבל קוד שנוצר url - -- google adsense legacy code קוד מורשת Google AdSense - -- how to generate ad codes איך ליצור קודי המודעה - -- generating ad code הפקת קוד המודעה - -- old generation in politics presentation file הדור הישן בפוליטיקה קובץ המצגת - -- adsense link unit ad code יחידת קוד AdSense קישור למודעה - -- google adsense ad size code Google קוד AdSense גודל המודעה - -- how to generate google addsense account איך ליצור חשבון Google addsense - -- google adsense variables המשתנים של Google AdSense - -- how are ads in adsense generated איך הם מודעות AdSense שנוצר - -- how to get google adsense איך להשיג את Google AdSense - -- how to format ad code איך קוד המודעה בפורמט - -- Wide Skyscraper google code קוד גורד שחקים גוגל - -- collapsing ad units, google ad manager מתמוטט יחידות מודעה, מנהל המודעה Google - -- how google generates ad script איך Google מייצר סקריפט המודעה - -- old generation in life הדור הישן בחיים - -- adsense title color code צבע הכותרת קוד AdSense - -- get the script for my images adds לקבל את התסריט תמונות שלי מוסיף - -- google ad slot only show image חריץ מודעות Google רק להראות תמונה - -- google_ad_format reference התייחסות google_ad_format - -- google adsense size reference הפניה גודל Google AdSense - -- google ads half banner gets cut off מודעות באנר חצי Google מקבלת לחתוך - -- how to get adsense image ads in adsense format איך להגיע AdSense מודעות תמונה בפורמט AdSense - -- old google adsense Google AdSense, זקן - -- rotating google adsense colors in old adsense code סיבוב הצבעים ב-Google AdSense קוד AdSense הישן - -- adsense legacy code קוד מורשת AdSense - -- google text ads code Google מודעות טקסט קוד - -- legacy adsense AdSense מורשת - -- script generate adsense url סקריפט ליצור כתובת AdSense - -- google adsense reference הפניה של Google AdSense - -- legacy protexislicensing protexislicensing מורשת - --