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, так що в майбутньому будь-які зміни в Google AdSense одиниць може бути з рахунку, замість того, щоб змінити код.
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. Це дуже важко здійснити на блоги чи сайти, які приймають на доходи бізнес-моделі, де Google AdSense рекламний код різних письменників і авторів, які використовуються в ротації. 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 рекламний код не може бути з допомогою Google AdSense Настроювання сторінки. 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 = "паб-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” <скрипт типу = "текст / 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 Доступні варіанти настройок, за допомогою 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 - ідентифікаційний номер видавця, що потрібно і необхідно виправити для отримання оплачуваних і отримувати дохід від програми Google AdSense, коли право клаців або переглядів сторінок відбулося .. The publisher ID can be retrieved from Google AdSense account. Видавець ID може бути отриманий з облікового запису 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 (банер)
468×60_as (Banner) 468 × 60_as (банер)
234×60_as (Half Banner) 234 × 60_as (напівпансіон Banner)
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 - Певні якщо лише текстові об'яви, оголошення або зображення типу оголошень дозволяється. 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. зображення - для графічних об'яв, тільки, в тому числі відео-та флеш-об'яви оголошення.
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 альтернативного реклами буде відображати вміст зазначеного в 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 файл, а не в розмір, що більше, ніж Google рекламного блоку, або альтернативний оголошення будуть відрізані або подрезанной Викл. 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. Канал ID повинен бути створений на 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 - визначає колір кордону об'яви, оголошення фону, заголовка оголошення кожного оголошення, текст реклами всередині рекламного блоку, а також 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. коли це можливо.
Related Articles Статті по темі
- Add and Put AdSense Ads Code and JavaScript to Google Page Creator Website Додати і покласти AdSense Оголошення кодексу та JavaScript для Google Page Creator веб-сайту
- google_ad_host Host ID in Google AdSense Ad Unit Code and Revenue Sharing google_ad_host приймаючої ID в Google AdSense рекламний блок кодексу і доходів Обмін
- Trick to Add AdSense, AdBrite and Other JavaScript Ad Code Directly to Blogger HTML Template Trick Додати AdSense, AdBrite та інших оголошень JavaScript код безпосередньо в HTML шаблонів Blogger
- Monitor Google AdSense Account With Shock AdSense Монітор Google AdSense акаунта AdSense з ударними
- How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) Як приховати і згорнути Google AdSense рекламний блок Замість показ об'яв на державній службі (PSA)
- Sign Up for Google AdSense Referrals Beta CPA Network with Review Зареєструватися в Google AdSense Реферали Beta КПЕС мережі з розгляду
- AdSense Login to Update to Google Account Логін AdSense для оновлення для облікового запису Google
- How to Reset AdSense Password Not Associated with Google Account Як Скинути пароль AdSense не пов'язаний з акаунтом Google
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com Додати і Вставити поставити Google AdSense оголошення одиниць між блогу на Blogger.com
- Change to ads about Feature in Google Adsense Ads Зміни до оголошень про функцію в Google Adsense Оголошення










































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 AdSense рекламний код, додавати нову змінну JavaScript google_alternate_ad_url в Google AdSense рекламний блок рекламний код [...]