m!k Posted April 21, 2016 Report Share Posted April 21, 2016 hi all, at first sorry for my bad english. I've got one problem - if a zone with advertisment is in a div, that has style="display: none;", there is still a hit for impression. even though advertisment is not displayed. how can I solve it? and why do I put advertsiment in div that is not displayed? because I want to show different advertisment in the same place depends on screen resolution. Quote Link to comment Share on other sites More sharing options...
Dave Brain Posted April 21, 2016 Report Share Posted April 21, 2016 Even-though you set the style to be none from display, it will not visible to the users but all the codes inside will work. Example, If you set display none for ad-code, that code will fetch ad from revive and store impressions in back-end but it wont show in front. Quote Link to comment Share on other sites More sharing options...
m!k Posted April 21, 2016 Author Report Share Posted April 21, 2016 thank You. I know this is not the right place, but does anyone know, how to do it in other way? I don't know js or php... Quote Link to comment Share on other sites More sharing options...
MaDo Posted July 11, 2016 Report Share Posted July 11, 2016 Yes! Please help! I have exactly the same "problem". We are serving different Ads in different zones for different screen resolutions... For Example: 448x1080; 1024x90; 448x1080 Wallpaper -> Desktop 960x250 Wallpaper Fallback Tablet -> Tablet 320x250 Wallpaper Fallback Smartphone -> Smartphone So if a user is on Desktop he make a Impression for ALL of them! But i just want that the user add an impression to the zone of what he is seeing... Please help!!! Quote Link to comment Share on other sites More sharing options...
Erik Geurts Posted July 11, 2016 Report Share Posted July 11, 2016 If you use CSS to hide the zone, it still gets requested and delivered to the browser, and thus an impression will be counted. Quote Link to comment Share on other sites More sharing options...
Dave Brain Posted July 12, 2016 Report Share Posted July 12, 2016 Hi m!k and MaDo, You can pass the value in invocation tag document.write('&width=' + screen.width);document.write('&height=' + screen.height); Then apply the limitations for the banners using "Site - Variable" option with the width and height value. This will give the solution to target ads based on the user's device targeting. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.