Jump to content

Impression counted when using display: none


Recommended Posts

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.

Link to comment
Share on other sites

  • 2 months later...

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!!!

Link to comment
Share on other sites

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.


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...