This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
conversion-eng:start [2015/10/02 16:59] avarga |
conversion-eng:start [2015/10/06 15:16] avarga |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Introduction ====== | ||
+ | |||
:!: **Important!** | :!: **Important!** | ||
**These guides are adequate only for the actual program versions which are available at this documentation’s publication time. These tools are developing continuously so the guides could become outdated with the appearance of a new version. If these conversions may not work, please write us at** [[support@adverticum.com]]** e-mail address.** | **These guides are adequate only for the actual program versions which are available at this documentation’s publication time. These tools are developing continuously so the guides could become outdated with the appearance of a new version. If these conversions may not work, please write us at** [[support@adverticum.com]]** e-mail address.** | ||
+ | |||
+ | This guide provides help to achieve compliance with the specifications of the easeHTML Banner template. To review the full specification please follow this link: [[http:// | ||
+ | |||
+ | Below we collected suggestions to help modify the output code of some of the more commonly used editors and converters, with product specific steps. | ||
====== Conversion and upload of Flash banners with Swiffy ====== | ====== Conversion and upload of Flash banners with Swiffy ====== | ||
Line 11: | Line 17: | ||
The following documentation means a great help for managing the conversion of embedded Flash-based banners. For a perfect implementation creatives are needed to comply with Flash Banner Creation Guide: | The following documentation means a great help for managing the conversion of embedded Flash-based banners. For a perfect implementation creatives are needed to comply with Flash Banner Creation Guide: | ||
- | [[https://support.adverticum.net/index.php?/ | + | [[http://dev.adverticum.com/creatives: |
===== Conversion steps ===== | ===== Conversion steps ===== | ||
Line 27: | Line 33: | ||
===== Modifying the converted file for matching the Adverticum AdServer’s specification ===== | ===== Modifying the converted file for matching the Adverticum AdServer’s specification ===== | ||
- | :!: **Attention, | + | :!: **Attention, |
This can be check this at the beginning of the source code by searching for the '' | This can be check this at the beginning of the source code by searching for the '' | ||
Line 37: | Line 43: | ||
</ | </ | ||
- | Otherwise | + | :!: **Attention, |
+ | [[http:// | ||
**1.** Open the saved file in a text/code editor (e.g. Notepad++). | **1.** Open the saved file in a text/code editor (e.g. Notepad++). | ||
- | **2.** Search the following part in the last section | + | |
+ | **2.** Search the following part, near the end of the code: | ||
<code html> | <code html> | ||
< | < | ||
+ | | ||
var stage = new swiffy.Stage(document.getElementById(' | var stage = new swiffy.Stage(document.getElementById(' | ||
swiffyobject, | swiffyobject, | ||
+ | | ||
stage.start(); | stage.start(); | ||
</ | </ | ||
Line 54: | Line 62: | ||
- | **3.** Insert the following code line before the '' | + | **3.** Insert the following code line before the snippet above: |
<code html> | <code html> | ||
- | stage.setFlashVars(location.search.split('?' | + | <script src="// |
</ | </ | ||
- | After that the code needs to be similar to this one: | + | After which our code will look something like this: |
<code html> | <code html> | ||
+ | <script src="// | ||
< | < | ||
Line 68: | Line 77: | ||
swiffyobject, | swiffyobject, | ||
- | stage.setFlashVars(location.search.split('?' | ||
stage.start(); | stage.start(); | ||
</ | </ | ||
Line 74: | Line 82: | ||
**4.** Save the file. | **4.** Save the file. | ||
+ | |||
===== Uploading the banner to AdServer ===== | ===== Uploading the banner to AdServer ===== | ||
- | To run the converted banners we need to use HTML banner. Regarding | + | Banners modified this way can be uploaded with the uploading |
+ | | ||
+ | ---- | ||
- | https:// | + | ====== Conversion and upload Adobe Edge codes ====== |
- | The main difference between the common banner and the HTML banner | + | The Adobe Edge is an image editor software which can be used to HTML5 banners. More information |
- | <code html> | + | [[https://creative.adobe.com/ |
- | <iframe src="[file:embedded_250x250_03.html]? | + | |
- | </ | + | |
- | **1.** All banners’ file name and the size should | + | To be able to run the banner |
- | <code html> | + | [[http://dev.adverticum.com/ |
- | <iframe src="[file:example-banner.html]? | + | |
- | </ | + | |
- | **2.** As a next step, the modified HTML file should be uploaded in the banner’s file list by clicking on the "Add File" button. | + | ===== Conversion of the banner |
- | **3.** After that click on the " | + | **1.** Creatives generated in Adobe Edge usually order the linked files into folders. As a first step, move all files to the same folder which contains the '' |
- | ---- | + | **2.** Open the banner’s '' |
- | ====== Conversion and upload | + | **3.** Search the following expression ''< |
- | The Adobe Edge is an image editor software which can be used to HTML5 banners. More information is available here: | + | <code html> |
+ | <script src="// | ||
+ | </ | ||
- | [[https:// | + | After insertion the code should look similar to the example below: |
- | To be able to run the banner as a HTML banner with the right references and clicks there are some modifications needed in the code. The conversion steps and the uploading method will be detailed hereinafter. About the requirements of the HTML5 banners (Markup banner’s requirements are irrelevant here) more information are available in our Knowledgebase: | + | <code html> |
- | [[https://support.adverticum.net/ | + | < |
+ | <script src="//ad.adverticum.net/ | ||
+ | <!--Adobe Edge Runtime--> | ||
+ | </ | ||
- | ===== Conversion of the banner ===== | + | **4.** Open the banner’s '' |
- | + | ||
- | **1.** Creatives generated in Adobe Edge usually order the linked files into folders. As a first step, move all files to the same folder which contains the '' | + | |
- | + | ||
- | **2.** Open the banner’s '' | + | |
:!: ** Important!** | :!: ** Important!** | ||
* It is possible that more .js files belong to the banner if it was created with different Edge-versions | * It is possible that more .js files belong to the banner if it was created with different Edge-versions | ||
- | * In case of '' | + | * In case of '' |
* In case of '' | * In case of '' | ||
- | **3.** Search the following expression: | + | **5.** Search the following expression: |
'' | '' | ||
Line 136: | Line 144: | ||
</ | </ | ||
- | **4.** To manage the clicks the following expression should be found: | + | **6.** To manage the clicks the following expression should be found: |
'' | '' | ||
Line 151: | Line 159: | ||
<code javascript> | <code javascript> | ||
- | decodeURIComponent(location.search.split('?' | + | goa.clickTAG |
</ | </ | ||
Line 158: | Line 166: | ||
<code javascript> | <code javascript> | ||
/*...*/ " | /*...*/ " | ||
- | window.open(decodeURIComponent(location.search.split('?' | + | window.open(goa.clickTAG," |
}); | }); | ||
</ | </ | ||
- | :!: It is important that the ''" | + | :!: It is important that the ''" |
+ | **7.** If the banner needs to control displays with the open or close functions, please use the examples from the documetation below on the open/ | ||
+ | |||
+ | [[http:// | ||
===== Uploading the banner to AdServer ===== | ===== Uploading the banner to AdServer ===== | ||
- | To run the converted banners we need to use HTML banner. Regarding | + | Banners modified this way can be uploaded with the uploading |
- | + | [[http://dev.adverticum.com/creatives:ehtml-en# | |
- | [[https://support.adverticum.net/index.php?/ | + | |
- | + | ||
- | The main difference between the common banner and the HTML banner is that here we do not use the content of the HTML banner as a source – instead of that the following code line should be inserted. In our example the filename is '' | + | |
- | + | ||
- | <code html> | + | |
- | <iframe src=" | + | |
- | </ | + | |
- | + | ||
- | **1.** All banners’ file name and size should be modified in the code. If our banner’s name is '' | + | |
- | + | ||
- | <code html> | + | |
- | <iframe src=" | + | |
- | </ | + | |
- | + | ||
- | **2.** As a next step, all files should be uploaded in the banner’s file list by clicking on the "Add file" button. | + | |
- | + | ||
- | **3.** After that click on the " | + | |
---- | ---- | ||
Line 194: | Line 187: | ||
[[https:// | [[https:// | ||
- | It is easy to convert banners with GWD to Adverticum-compatible HTML banners. | + | It is easy to convert banners with GWD to easyHTML |
- | [[https://support.adverticum.net/index.php?/ | + | [[http://dev.adverticum.com/creatives: |
===== Converting the banner ===== | ===== Converting the banner ===== | ||
Line 204: | Line 197: | ||
**2.** Open the given '' | **2.** Open the given '' | ||
- | **3.** | + | **3.** |
- | + | ||
- | Our code will be the following at the start period: | + | |
<code html> | <code html> | ||
- | < | + | <script src="// |
- | < | + | |
- | + | ||
- | <head data-gwd-animation-mode=" | + | |
- | <link href=" | + | |
- | <link href=" | + | |
- | <link href=" | + | |
- | | + | |
- | <meta name=" | + | |
- | <meta name=" | + | |
- | <meta name=" | + | |
- | <meta http-equiv=" | + | |
- | <meta name=" | + | |
- | <style type=" | + | |
- | !The stylesheet... | + | |
- | </ | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | < | + | |
- | < | + | |
- | <div is=" | + | |
- | <div is=" | + | |
- | <div class=" | + | |
- | <img is=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <script type=" | + | |
- | // The script... | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | </html> | + | |
</ | </ | ||
- | After deleting the unnecessary elements the code will be modified as in the following example: | + | After this, our code will look similar to this: |
<code html> | <code html> | ||
- | + | | |
- | | + | <script data-source=" |
- | <link href=" | + | <script src="// |
- | <link href=" | + | </head> |
- | <script data-source=" | + | |
- | <style type=" | + | |
- | | + | |
- | </ | + | |
- | | + | |
- | < | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | <script data-source=" | + | |
- | < | + | |
- | < | + | |
- | <div is=" | + | |
- | <div is=" | + | |
- | <div class=" | + | |
- | <img is=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | <script type=" | + | |
- | // The script... | + | |
- | </script> | + | |
</ | </ | ||
- | **4.** | + | **4.** |
- | + | ||
- | <code html> | + | |
- | <script data-source=" | + | |
- | <style type=" | + | |
- | html, body { | + | |
- | width: 100%; | + | |
- | height: 100%; | + | |
- | margin: 0px; | + | |
- | } | + | |
- | !The rest of the stylesheet... | + | |
- | </ | + | |
- | <script data-source=" | + | |
- | </ | + | |
- | + | ||
- | For this operation create a file (e.g. '' | + | |
- | + | ||
- | <code css> | + | |
- | html, body { | + | |
- | width: 100%; | + | |
- | height: 100%; | + | |
- | margin: 0px; | + | |
- | } | + | |
- | !The rest of the style sheet... | + | |
- | </ | + | |
- | + | ||
- | In our original HTML file the ''< | + | |
- | + | ||
- | <code html> | + | |
- | <script data-source=" | + | |
- | <link href=" | + | |
- | <script data-source=" | + | |
- | </ | + | |
- | + | ||
- | **5.** Modify the files’ pathname | + | |
In case of modifying Image banner’s URL eg.: | In case of modifying Image banner’s URL eg.: | ||
Line 324: | Line 220: | ||
</ | </ | ||
- | This should be replaced | + | We have to ensure that our code refers to files in it's own directory |
<code html> | <code html> | ||
- | <img is=" | + | <img is=" |
</ | </ | ||
- | **6.** For managing | + | **5.** Kattintások kezeléséhez, |
+ | |||
+ | We can choose from several ways of handling | ||
<code html> | <code html> | ||
- | <a href="[cthref]"> | + | <a id=" |
+ | < | ||
+ | (function(){ | ||
+ | |||
+ | var cT = document.getElementById(' | ||
+ | cT.href = goa.clickTAG; | ||
+ | cT.target = goa.clickTARGET; | ||
+ | })(); | ||
+ | </script> | ||
</ | </ | ||
- | In case of handling click with javascript: | + | If we would like to use javascript: |
<code javascript> | <code javascript> | ||
- | window.open(' | + | window.open(goa.clickTAG, ' |
</ | </ | ||
- | ===== A banner | + | **5.** If the banner |
- | Banner could be uploaded as usual. We need a HTML banner. As its source code we should use the HTML source code which was created with GWD and converted according | + | [[http:// |
+ | ===== Uploading | ||
- | [[https://support.adverticum.net/index.php?/ | + | Banners modified this way can be uploaded with the uploading steps for easyHTML: |
+ | [[http://dev.adverticum.com/creatives: | ||
---- | ---- |