2 ms·
And what if you do it server side (using user-agent and other info get before with javascript)? The ad placement is not altered, and it is not adsense code that
by grakic 14y ago
And what if you do it server side (using user-agent and other info get before with javascript)? The ad placement is not altered, and it is not adsense code that is changed in any way.
I understand you want to underline the risks. It is possible Google uses some automated site code screening which will flag this for a ban. Even than, doing it server site must be completely legit.
- chrsstrm 14y agoWe're not talking mobile vs. desktop, we're talking responsive layout controlled by media queries, which can't be determined until the code hits the browser and your js (Modernizr or similar) measures the window. UA measures the screen size, not the window size. Not to mention that in theory, you would only load one size, but changing the orientation of a device or resizing your desktop browser window can trigger another breakpoint and essentially hide your ad, making the whole exercise pointless. And yes, the main point is always act in fear of Google, until they announce responsive ads.