Google AdSense Legacy Old Generation Code Reference (Generate and Get) Google AdSense Legacy vyresnės kartos kodas Nuoroda (Generuoti ir gauti)

Google AdSense has implemented new Google AdSense ad code with the new AdSense As Management feature. "Google AdSense" įdiegė naują "Google AdSense" skelbimo kodą su nauja AdSense kaip vadybos funkcija. 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. Su nauju stiliumi skelbimo kodą ir valdymas skelbimai kortelėje konfigūracijos AdSense reklamos bloke kaip skelbimų dydžio, spalvų ir kanalų nustatymai saugomi "Google" serveriuose, todėl, kad ateityje bet kokius pakeitimus į Google AdSense vienetai gali būti viduje sąskaitą užuot keisti kodo skelbimų.

With the new Google AdSense Ad Management system, the new generation ad code is considerably shorten and simplified. Naudodami naują "Google AdSense" reklamos valdymo sistema, naujos kartos Skelbimo kodas yra gerokai sutrumpinti ir supaprastinti. 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. Nebėra Google_ad_format, google_ad_type, Google_ad_channel, Google_color_border ir tt, ir buvo pakeista google_ad_slot, kuris atkreipia dėmesį į atitinkamą ad vienetą saugomi leidėjo sąskaitą.

However, the new Google AdSense ad code is not necessary suit all. Tačiau nauja Google AdSense kodo nėra būtinas visiems tinkamos. 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. Tai labai sunku įgyvendinti, dienoraščių ir svetainių, kurios priima pajamų pasidalijimo verslo modelį, kai "Google AdSense" skelbimo kodą įvairių rašytojų ir autoriai yra naudojamos sėjomainoje. It's even harder if custom channel ID number is used to track the performance of the ad unit in AdSense revenue sharing program. Tai dar sunkiau, jei kliento kanalo ID numeris yra naudojamas sekti reklamos bloko efektyvumas AdSense programos dalintis pajamomis.

The legacy old classic Google AdSense ad code no longer able to be generated from Google AdSense Setup page. Palikimas senųjų Classic "Google AdSense" skelbimo kodą nebegali būti gaunama iš "Google AdSense" puslapyje. However, the legacy code is still been supported, and continue to can be used in web pages. Tačiau paveldas kodas vis dar rėmė ir toliau gali būti naudojami interneto puslapiuose. For webmasters who still want to use the legacy AdSense ad unit code, use the following guide to generate the ad code manually. For webmasters, kurie vis dar nori naudoti palikimas "AdSense" reklamos padalinio kodas, naudojant šių gidas kurti reklaminį kodą rankiniu būdu.

Format of Legacy Old Google AdSense Ad Code Formatas Legacy Senas Google AdSense reklamos kodas

Both text ads, image ads, video ads, and link units use the similar ad code format as below: Abi tekstiniai skelbimai, vaizdiniai skelbimai, vaizdo reklamos, ir nuorodą vienetai naudojami panašūs Skelbimo kodas formatu, kaip nurodyta toliau:

<script type=”text/javascript”><!– <script type="text/javascript"> <! --
google_ad_client = “pub-XXXXXXXXXXXXXXXX”; google_ad_client = "pub-xxxxxxxx";
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: Mano skaitmeninis gyvenimas
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 = "005.577";
//–> / / ->
</script> </ script>
<script type=”text/javascript” <script type = "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 Galimos parinktys JavaScript Kintamieji

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. Skelbimo kodas, nurodytas aukščiau, turėtų būti pritaikyti ir pasikeitusių naudojant įvairias vertės kintamieji JavaScript, kad atspindėtų AdSense vienetas pasirenka, čia trumpas kiekvieno skelbimo kodą kintamieji.

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 - Publisher ID, kuris yra privalomi ir turi būti teisinga užsidirbti ir gauti pajamų iš Google AdSense programą, kai gauti paspaudimus arba puslapių parodymus įvyko .. The publisher ID can be retrieved from Google AdSense account. Publisher ID gali būti gauti iš 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 - Nustatyti dydį ir formą AdSense vienetas kalbomis. 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. Visi ten vertės turėtų būti suderinti tarpusavyje, ty pirmas numeris iki "x'in Google_ad_format taip pat google_ad_wide, o antrasis skaičius po" x "prieš" _ "tai 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 ir Google_ad_width neturi jokio faktinio dydžio reklamos poveikis, nes jie tik valdymo objektas langelį, per kurį skelbimas vienetas yra. 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. Parametrai paprastai naudojamų išlaikyti nuoseklų išdėstymą pateikimą, kai puslapio išdėstymą nustato teritoriją, kuri yra platesnė nei reklamos bloko pati. Google provides 24 different ad formats (12 ad units and 12 link units) for web page placement. Google siūlo 24 skirtingų formatų (12 ir 12 vienetų skelbimų nuorodą vienetų) ir interneto puslapio rodymą.

Normal Ad Unit: Normalus Skelbimo Unit:
728×90_as (Leaderboard) 728 × 90_as (iškabos formatas)
468×60_as (Banner) 468 × 60_as (Banner)
234×60_as (Half Banner) 234 × 60_as (Half Banner)
125×125_as (Button) 125 × 125_as (mygtukas)
120×600_as (Skyscraper) 120 × 600_as (dangoraižis)
160×600_as (Wide Skyscraper) 160 × 600_as (Wide Skyscraper)
180×150_as (Small Rectangle) 180 × 150_as (Small stačiakampis)
120×240_as (Vertical Banner) 120 × 240_as (Vertical Banner)
200×200_as (Small Square) 200 × 200_as (mažas kvadratas)
250×250_as (Square) 250 × 250_as (kvadratas)
300×250_as (Rectangle) 300 × 250_as (stačiakampis)
336×280_as (Large Rectangle) 336 × 280_as (didelis stačiakampis)

Link Unit: Link Unit:
120×90_0ads_al (4 links) 120 × 90_0ads_al (4 nuorodos)
120×90_0ads_al_s (5 links) 120 × 90_0ads_al_s (5 nuorodos)
160×90_0ads_al (4 links) 160 × 90_0ads_al (4 nuorodos)
160×90_0ads_al_s (5 links) 160 × 90_0ads_al_s (5 nuorodos)
180×90_0ads_al (4 links) 180 × 90_0ads_al (4 nuorodos)
180×90_0ads_al_s (5 links) 180 × 90_0ads_al_s (5 nuorodos)
200×90_0ads_al (4 links) 200 × 90_0ads_al (4 nuorodos)
200×90_0ads_al_s (5 links) 200 × 90_0ads_al_s (5 nuorodos)
468×15_0ads_al (4 links) 468 × 15_0ads_al (4 nuorodos)
468×15_0ads_al_s (5 links) 468 × 15_0ads_al_s (5 nuorodos)
728×15_0ads_al (4 links) 728 × 15_0ads_al (4 nuorodos)
728×15_0ads_al_s (5 links) 728 × 15_0ads_al_s (5 nuorodos)

google_ad_type – Definite if only text ads, images ads or both type of ads is allowed. google_ad_type - nuotykiai, jei tik tekstiniai skelbimai, vaizdo reklamos arba abu tipo skelbimus leidžiama. Note that for Flash based ads and video ads to appear, image ads must be enabled. Atkreipkite dėmesį, kad "Flash" skelbimai ir vaizdo skelbimus, vaizdiniai skelbimai turi būti įjungtas. Available options are: Galimi variantai:

text – for AdSense text ads only tekstas - AdSense tik tekstiniai skelbimai
image – for image ads only, including video ads and Flash ads. vaizdas - vaizdo reklamos tik, įskaitant vaizdo įrašus ir Flash skelbimus.
text_image – for text and image ads Text_image - teksto ir vaizdo reklamos

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 - Rodyti kitą reklamos ar interneto puslapius, kai Google AdSense neturi atitinkamos reklama skelbimus. By default, a public service ad is display. Numatyta, kad viešųjų paslaugų reklama kalbomis. Specifying the alternate ad URL will display the content specified in the URL. Nurodydami alternatyvių URL reklamos bus rodomi turinio nurodytą 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. Atkreipkite dėmesį, kad alternatyvios reklamos kodas turi būti nurodytas HTML byla, ir neturėtų būti taip, kad dydis didesnis nei "Google" reklamos padalinys arba kitas alternatyvus skelbimas bus atjungta arba sukapotos išjungti. It's also possible to put in an alternate URL which will collapse the ad space (no space been used for the ad). Taip pat galima įvesti pakaitinių URL kuris Suskleisti reklamos plotas (be tarpų buvo naudojamos reklamos).

google_ad_channel – To specify a custom channel (a 10 digits number) to track ad performance and statistics. Google_ad_channel - nustatyti kliento kanalas (10 skaitmenų numeris) stebėti skelbimo našumą ir statistika. Channel ID must be created at AdSense account before they can be used. Kanalo ID turi būti sukurta AdSense, kol jie galės būti naudojami.

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 - Nustato skelbimą sienos, reklamos fone, skelbimo antraštę kiekvieno skelbimo spalvą, teksto vidų reklaminis blokas, ir URL apačioje kiekvieno skelbimo. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. Iki 4 atskirų verčių (Diferencijuoti kableliais) gali būti pateikiama automatinio spalvų rotacijos, kai skelbimas įteiktas "Google" serveryje. The image ads does not affect by these values. Vaizdinių skelbimų neturi įtakos šių vertybių. Note that the color value should be Dėmesį, kad spalva turėtų būti vertė converted in hexadecimal format Konvertuojami šešioliktainis formatas . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


2 Responses to “Google AdSense Legacy Old Generation Code Reference (Generate and Get)” 2 Responses to "Google AdSense" Legacy vyresnės kartos kodas Nuoroda (Generuoti ir gauti) "

  1. JamesVG JamesVG
    July 22nd, 2009 22:00 22 liepa 2009 22:00
    2 2

    Thanks. Ačiū. Very helpful to a script I was writing to dynamically generate adsense script. Labai naudinga scenarijus buvau raštu dinamiškai generuoti adsense script.

  2. How to Hide and Collapse Google AdSense Ad Unit Instead of Showing Public Service Ad (PSA) » My Digital Life Kaip paslėpti ir Suskleisti Google AdSense reklamos padalinio Vietoj Rodoma viešųjų paslaugų skelbimų (PSA) »Mano skaitmeninis gyvenimas
    January 19th, 2009 01:50 19 sausis 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 [...] [...] Leidinys naudojate klasikinį palikimą "Google AdSense kodą, pridėkite naują kintamąjį pavadintą" JavaScript Google_alternate_ad_url į "Google AdSense" reklamos bloko Skelbimo kodas [...]

Leave a Reply 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> Galite naudoti šiuos žodžius: <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. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

adsense link unit code AdSense nuorodą vieneto kodas - -- manually control adsense color rankinio valdymo adsense spalva - -- old adsense ad code senas AdSense kodą - -- adsense old formats AdSense senus formatus - -- get url code generated Gauti URL kodą sukurta - -- google adsense legacy code Google AdSense palikimas kodas - -- how to generate ad codes Kaip sukurti reklamos kodai - -- generating ad code generuoti Skelbimo kodas - -- old generation in politics presentation file senosios kartos politikoje pristatymas failą - -- adsense old code AdSense senas kodas - --