Jump to content

mmasmoudi

Approved members
  • Posts

    3
  • Joined

  • Last visited

About mmasmoudi

mmasmoudi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I have created an HTML5 Banner with google web designer tool, the banner is uploaded and showin on my website but when i click on it the revive-adserver don't count any clicks. I have also added the configuration for an exit on the tap area, so i'm wondering what i'm missing ? Please look at the screenshots to see what i did : Statictics photo show impressions but no clicks ? should i add some other functions on the google web designer ?
  2. Hi, Thanks for your reply, No, this tag is used only on the website and this google animated banner. This is from revive documentation : https://documentation.revive-adserver.com/display/DOCS/HTML5+banners Destination URL A destination URL must always be provided and the banner must use clickTag, as per the IAB's HTML5 for Digital Advertising v2.0 guide. Revive Adserver will always call the banner using the format: /index.html?clickTag={REVIVE_ADSERVER_CLICK_URL} where {REVIVE_ADSERVER_CLICK_URL} is replaced with the appropriate URL to the Revive Adserver ck.php script to ensure that click-tracking is correctly performed. Revive will also automatically add JS clickTAG parsing functionality from the URL if it finds a JS variable (with any value) in the uploaded banner: <script> ... var clickTag = ''; ... </script>
  3. I'm using this script for a Ads Banner on a client website. This js code is generated from another agency and seems that it dosn't work because it shows an error when the user click on the banner. This is the error msg :"The requested URL /6255/REVIVE_ADSERVER_CLICK_URL was not found on this server." And this is the code that have the clickTag : <script> var clickTag = "{REVIVE_ADSERVER_CLICK_URL}"; </script> <script type="text/javascript" gwd-events="support">var gwd=gwd||{};gwd.actions=gwd.actions||{};gwd.actions.events=gwd.actions.events||{};gwd.actions.events.getElementById=function(id){var element=document.getElementById(id);if(!element){var pageDeck=document.querySelector("gwd-pagedeck");if(pageDeck){if(typeof pageDeck.getElementById==="function"){element=pageDeck.getElementById(id)}}}if(!element){switch(id){case"document.body":element=document.body;break;case"document":element=document;break;case"window":element=window;break;default:break}}return element};gwd.actions.events.addHandler=function(eventTarget,eventName,eventHandler,useCapture){var targetElement=gwd.actions.events.getElementById(eventTarget);if(targetElement){targetElement.addEventListener(eventName,eventHandler,useCapture)}};gwd.actions.events.removeHandler=function(eventTarget,eventName,eventHandler,useCapture){var targetElement=gwd.actions.events.getElementById(eventTarget);if(targetElement){targetElement.removeEventListener(eventName,eventHandler,useCapture)}};gwd.actions.events.setInlineStyle=function(id,styles){var element=gwd.actions.events.getElementById(id);if(!element||!styles){return}var transitionProperty=element.style.transition!==undefined?"transition":"-webkit-transition";var prevTransition=element.style[transitionProperty];var splitStyles=styles.split(/\s*;\s*/);var nameValue;splitStyles.forEach(function(splitStyle){if(splitStyle){var regex=new RegExp("[:](?![/]{2})");nameValue=splitStyle.split(regex);nameValue[1]=nameValue[1]?nameValue[1].trim():null;if(!(nameValue[0]&&nameValue[1])){return}element.style.setProperty(nameValue[0],nameValue[1])}});function restoreTransition(event){var el=event.target;el.style.transition=prevTransition;el.removeEventListener(event.type,restoreTransition,false)}element.addEventListener("transitionend",restoreTransition,false);element.addEventListener("webkitTransitionEnd",restoreTransition,false)};gwd.actions.gwdGenericad=gwd.actions.gwdGenericad||{};gwd.actions.gwdGenericad.exit=function(receiver,url,opt_collapseOnExit,opt_pageId){gwd.actions.events.getElementById(receiver).exit(url,opt_collapseOnExit,opt_pageId)}</script> <script type="text/javascript" gwd-events="handlers">window.gwd=window.gwd||{};gwd.clickTAG=function(event){clickTAGvalue=dhtml.getVar("clickTAG","REVIVE_ADSERVER_CLICK_URL");landingpagetarget=dhtml.getVar("landingPageTarget","_blank");window.open(clickTAGvalue,landingpagetarget)};gwd.auto_Gwd_taparea_1Action=function(event){gwd.actions.gwdGenericad.exit("gwd-ad","REVIVE_ADSERVER_CLICK_URL",true,"page1")}</script> <script type="text/javascript" gwd-events="registration">gwd.actions.events.registerEventHandlers=function(event){gwd.actions.events.addHandler("gwd-taparea_1","action",gwd.auto_Gwd_taparea_1Action,false);gwd.actions.events.addHandler("gwd-taparea_1","action",gwd.clickTAG,false);gwd.actions.events.addHandler("gwd-taparea_1","action",gwd.clickTAG,false)};gwd.actions.events.deregisterEventHandlers=function(event){gwd.actions.events.removeHandler("gwd-taparea_1","action",gwd.auto_Gwd_taparea_1Action,false);gwd.actions.events.removeHandler("gwd-taparea_1","action",gwd.clickTAG,false);gwd.actions.events.removeHandler("gwd-taparea_1","action",gwd.clickTAG,false)};document.addEventListener("DOMContentLoaded",gwd.actions.events.registerEventHandlers);document.addEventListener("unload",gwd.actions.events.deregisterEventHandlers)</script> <script data-source="gwdtaparea_min.js" data-version="7" data-exports-type="gwd-taparea">(function(){/* How to fix this error so the clicks work again on the Ads Banner? Please don't reply with a var clickTag = "https://www.google.com/"; solution because it seems that the clickTag var should be dynamic.
×
×
  • Create New...