Kann mir jemand helfen?
https://documentation.revive-adserver.c ... Id=8028175
Man kann per default verschiedene Banner Codes kreieren:
Code: Alles auswählen
<!--/*
*
* Revive Adserver Asynchronous JS Tag
* - Generated with Revive Adserver v4.0.1
*
*/-->
<ins data-revive-zoneid="1" data-revive-id="2a20cd25fee219bdd531d5a09cab16c3"></ins>
<script async src="//192.168.1.102/rv/www/post/asyncjs.php"></script>
Code: Alles auswählen
<!--/*
*
* Revive Adserver Javascript Tag
* - Generated with Revive Adserver v4.0.1
*
*/-->
<!--/*
* The backup image section of this tag has been generated for use on a
* non-SSL page. If this tag is to be placed on an SSL page, change the
* 'http://192.168.1.102/rv/www/post/...'
* to
* 'https://192.168.1.102/rv/www/post/...'
*
* This noscript section of this tag only shows image banners. There
* is no width or height in these banners, so if you want these tags to
* allocate space for the ad before it shows, you will need to add this
* information to the <img> tag.
*
* If you do not want to deal with the intricities of the noscript
* section, delete the tag (from <noscript>... to </noscript>). On
* average, the noscript tag is called from less than 1% of internet
* users.
*/-->
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://192.168.1.102/rv/www/post/base.php':'http://192.168.1.102/rv/www/post/base.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=1");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://192.168.1.102/rv/www/post/ck.php?n=a4fbb74b&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://192.168.1.102/rv/www/post/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&n=a4fbb74b' border='0' alt='' /></a></noscript>
Code: Alles auswählen
<!--/*
*
* Revive Adserver iFrame Tag
* - Generated with Revive Adserver v4.0.1
*
*/-->
<!--/*
* This tag has been generated for use on a non-SSL page. If this tag
* is to be placed on an SSL page, change the
* 'http://192.168.1.102/rv/www/post/...'
* to
* 'https://192.168.1.102/rv/www/post/...'
*
* The backup image section of this tag has been generated for use on a
* non-SSL page. If this tag is to be placed on an SSL page, change the
* 'http://192.168.1.102/rv/www/post/...'
* to
* 'https://192.168.1.102/rv/www/post/...'
*
* If iFrames are not supported by the viewer's browser, then this
* tag only shows image banners. There is no width or height in these
* banners, so if you want these tags to allocate space for the ad
* before it shows, you will need to add this information to the <img>
* tag.
*/-->
<iframe id='a206ad19' name='a206ad19' src='http://192.168.1.102/rv/www/post/afr.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE' frameborder='0' scrolling='no' width='970' height='90'><a href='http://192.168.1.102/rv/www/post/ck.php?n=aff62d8e&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://192.168.1.102/rv/www/post/avw.php?zoneid=1&cb=INSERT_RANDOM_NUMBER_HERE&n=aff62d8e' border='0' alt='' /></a></iframe>
Code: Alles auswählen
<?php
//<!--/*
*
* Revive Adserver Local Mode Tag
* - Generated with Revive Adserver v4.0.1
*
*/-->
// The MAX_PATH below should point to the base of your Revive Adserver installation
define('MAX_PATH', 'C:\xampp\htdocs\rv');
if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
if (!isset($phpAds_context)) {
$phpAds_context = array();
}
// function view_local($what, $zoneid=0, $campaignid=0, $bannerid=0, $target='', $source='', $withtext='', $context='', $charset='')
$phpAds_raw = view_local('', 1, 0, 0, '', '', '0', $phpAds_context, '');
}
echo $phpAds_raw['html'];
?>
Kann mir jemand bitte erklären wie ich das sauber einbauen kann ohne das es gleich blockiert wird?
