Revive Ad Server

Posted in: Newspaper
Post count: 43

Hello –

I am trying to integrate the Revive Adserver into the Newspaper7 theme. I am trying to enter the ad code in the “Newspaper – Theme Panel -> ADS -> Header ad – YOUR HEADER AD” section:

<div class=”td-all-devices”>
<?php
//<!–/*
*
* Revive Adserver Local Mode Tag
* – Generated with Revive Adserver v4.0.0
*
*/–>

// The MAX_PATH below should point to the base of your Revive Adserver installation
define(‘MAX_PATH’, ‘/path/to/revive’);
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’];
?>
</div>

The Asyncronous JS Tag, Javascript, and IFrame Tag do not display. The Local Mode Tag only displays the PHP text. Does anyone have any experience integrating this adserver?

Regards,

Neil.

Post count: 9544

Does that work if you put into a text box widget on a sidebar ?

Post count: 43

Hi –

In a desktop browser it is ok now. However, it does not display the banner on the mobile phone…

Regards,

Neil.

Post count: 23312

Hello theleaderdotinfo,

Do you are using the Mobile Theme plugin? If you are using this, you should add here -> http://screencast.com/t/cFuX6sX9tz your ad code if you want to display the advertisement at the mobile theme.
Please notice that the Revive Adserver is not tested with our theme and we cannot say for sure if it will work or not with our product, sorry! You should try it and check the results. Notice that the AdSense Ad system and DIV’s method seems to work as properly. For more information about this, please consult our documentation here -> https://forum.tagdiv.com/header-ads-adsense/ -> https://forum.tagdiv.com/using-other-ads-non-adsense-ads/

Hope this helps!

Thanks for the message!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.