HTML5 kreatifHTML5 creative

Bu sayfa neyi test eder: zip HTML5 kreatiflerin animasyonu, clickTag tıklaması ve GAM'den gelişi. GAM'e yüklenen iki ReklamUp kreatifi (728x90 ve 300x250) aynı ad unit üzerinden sayfadaki iki yerde, her biri kendi boyutunda gelir: masaüstünde başlık bandında 728x90, makale içinde 300x250; mobilde 728x90 sığmadığı için yalnızca 300x250.

What this page tests: the animation of zipped HTML5 creatives, the clickTag click and their delivery from GAM. Two ReklamUp creatives uploaded to GAM (728x90 and 300x250) arrive through the same ad unit in two places on the page, each in its own size: 728x90 in the header band and 300x250 in the article on desktop; on a phone 728x90 does not fit, so only 300x250.

Test adımlarıTest steps

  1. Güvenli modda iki alan Google'ın örnek reklamlarını gösterir; ReklamUp kreatifleri ancak GAM'e yüklenince gelir. Durum satırlarında aynı ad unit yolu ve iki farklı boyut görünmeli.In safe mode both slots show Google's sample ads; the ReklamUp creatives only arrive once they are uploaded to GAM. The status lines should show the same ad unit path and two different sizes.
  2. GAM'de satır öğesi kurulunca sayfayı gerçek ağla açın: html5.html?net=<ağ kodu>&au=<ad unit kodu>. 728x90 alanına 728x90, 300x250 alanına 300x250 kreatif gelmeli; durum satırında satır öğesi ve kreatif kimliği (lineItemId, creativeId) yazar.Once the line item is set up in GAM, open the page with the real network: html5.html?net=<network code>&au=<ad unit code>. The 728x90 slot should get the 728x90 creative and the 300x250 slot the 300x250 one; the status line shows the line item and creative ids (lineItemId, creativeId).
  3. Ekran 768 px'den darsa başlık bandı sayfa açılırken oluşturulmaz ve istenmez; yalnızca 300x250 istenir. Bölümün altındaki satır hangisinin seçildiğini yazar.On a screen narrower than 768 px the header band is not created when the page opens and is not requested; only 300x250 is. The line under the section says which was chosen.
  4. Aşağıdaki GAM'siz önizlemede kreatiflere tıklayın: clickTag'deki adres yeni sekmede açılmalı, kreatifin altındaki satırda “tıklama görüldü” yazmalı. GAM'den gelen kreatifte clickTag, satır öğesinin hedef URL'sidir.Click the creatives in the preview without GAM below: the clickTag address should open in a new tab, and the line under the creative should say “click seen”. In a creative served by GAM, clickTag is the line item's landing page.

Örnek yayıncı sayfasıSample publisher page

Reklam · başlık bandı 728x90 (masaüstü)Ad · header band 728x90 (desktop)…

Bekleniyor…Waiting…

TeknolojiTechnology

Akıllı ev cihazlarında güvenlik için 5 basit ayar5 simple settings for smart home security

Örnek Haber · 5 dk okumaSample News · 5 min read

Reklam · makale içi 300x250Ad · in-article 300x250…

Bekleniyor…Waiting…

Kreatifler (GAM'siz önizleme)Creatives (preview without GAM)

Her kreatif sandbox'lı bir iframe içinde açılır (çapraz origin gibi davranır); bu bölüm reklam istemez. ReklamUp kreatiflerinde görseller dosyanın içine gömülüdür (base64); animasyon 9 sn'lik üç kareden oluşur, 3 kez döner (27 sn) ve son karede durur. Baştan izlemek için sayfayı yenileyin.

Each creative opens in a sandboxed iframe (it behaves as cross-origin); this section requests no ad. In the ReklamUp creatives the images are embedded in the file (base64); the animation is three frames of 9 s, plays 3 times (27 s) and rests on the last frame. Reload the page to watch it from the start.

creatives/reklamup-728x90/index.html · ReklamUp 728x90

Tıklama bekleniyor.Waiting for a click.

creatives/reklamup-300x250/index.html · ReklamUp 300x250

Tıklama bekleniyor.Waiting for a click.

creatives/html5-sample/index.html · örnek kreatif 300x250 (başlık kayar, buton ve top hareket eder)sample creative 300x250 (the headline slides in, the button and the ball move)

Tıklama bekleniyor.Waiting for a click.

GAM'den yayınlamaServing from GAM

  1. Zip'leri üretin (repo kökünden): python3 lab/tools/zip-creatives.py → her kreatif için lab/dist/<klasör>.zip (reklamup-728x90.zip, reklamup-300x250.zip, html5-sample.zip).Build the zips (from the repo root): python3 lab/tools/zip-creatives.py → lab/dist/<folder>.zip for each creative (reklamup-728x90.zip, reklamup-300x250.zip, html5-sample.zip).
  2. GAM'de bir display ad unit kullanın (rewarded değil); boyutlarında 728x90 ile 300x250 olsun.Use a display ad unit in GAM (not rewarded) with the sizes 728x90 and 300x250.
  3. GAM → Teslim → Siparişler: bir sipariş ve satır öğesi (ör. Ev / House) açın. Beklenen kreatif boyutları 728x90 ile 300x250; hedefleme olarak bu ad unit'i seçin. Yalnızca bu test sitesinde çıkması için key-value adtest=1 hedeflemesi ekleyebilirsiniz (site test modunda her isteğe bunu ekler).GAM → Delivery → Orders: create an order and a line item (e.g. House). Expected creative sizes 728x90 and 300x250; target this ad unit. To serve only on this test site, add the key-value targeting adtest=1 (the site adds it to every request in test mode).
  4. Satır öğesine kreatifleri ekleyin: Yeni kreatif → HTML5 → zip'i yükleyin. GAM boyutu ad.size etiketinden, tıklamayı clickTag değişkeninden okur; hedef URL'yi kreatif ayarına yazın.Add the creatives to the line item: New creative → HTML5 → upload the zip. GAM reads the size from the ad.size tag and the click from the clickTag variable; enter the landing page in the creative settings.
  5. Sayfayı gerçek ağla açın: html5.html?net=<ağ kodu>&au=<ad unit kodu>. Yayına girmesi birkaç dakika sürebilir.Open the page with the real network: html5.html?net=<network code>&au=<ad unit code>. Delivery can take a few minutes to start.

Kreatif kontrol listesiCreative checklist