Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
MeMaBlue Posted December 27, 2016 Posted December 27, 2016 Hello can anybody recommend best practices for tags for DFP google for targeting mobile devices? (i.e. how to put the tags of line items that target mobile devices) asking this since i know the themes at 4. are responsive, (i have enabled the setting) so what does this change on how/where to put the tags when you want to have some deliver to mobile devices and some to desktop? for example what do you do with a billboard 970x250 tag at the responsive theme? do you target the line item /dfp tag only do desktop ? (so that it does not show at all on mobile, and and have another line item show on mobile devices that make calls and tablets ? but do you put both tags in the same advertising item in the CP, or different ones? has anyone implemented this at the 4. version... ? thank you in advance!
MeMaBlue Posted January 7, 2017 Author Posted January 7, 2017 hello again,, I have found what dfp recommends , and set up a line item that is targeted to desktops (negative targeted devices with capability to make phone calls) and another one that is targeted to mobile (+ capability phone calls) each line item, has the sizes that are supposed to play at those devices, ie the mobiles have 320x100 and 300x250 and the desktop all larger widerones. but the results for the first 7 days are disastrous, very bad viewability especially the mobile ones ( 0,15-0,20% the most is 0.30% and 0,03 RPM !!! ) in all ad units except one that is older. is it because they are new ad codes? i have 50-50 usability in mobile vs desktops so this setup is important. please has anyone had experience it this ?
AlexWebsites Posted February 15, 2017 Posted February 15, 2017 I'm just diving into this myself as I'm thinking of moving over to dfp. I was going to use the IPS for mobile and desktop tags with two different ads from dfp in teh same slot. Not sure if this is the best scenario though. I like using adsense tags because they automatically resize the ad.
Apfelstrudel Posted February 15, 2017 Posted February 15, 2017 I'm using following multi size ad slot with different viewport sizes. It works pretty good since 1.5 years. Just define different line items and assign corresponding banners. <script> // GPT slots var gptAdSlots = []; googletag.cmd.push(function() { // Define a size mapping object. The first parameter to addSize is // a viewport size, while the second is a list of allowed ad sizes. var mapping = googletag.sizeMapping(). // Desktop addSize([1185, 200], [800, 250]). // Landscape tablet addSize([1113, 200], [728, 90]). // Accepts both common mobile banner formats addSize([853, 200], [468, 60]). // others addSize([0, 0], [[320, 100], [320, 50]]). build(); // Define the GPT slot gptAdSlots[0] = googletag.defineSlot('Slot_Multisize', [[320, 100]], 'ad-slot'). defineSizeMapping(mapping). addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); // Start ad fetching googletag.enableServices(); }); </script>
AlexWebsites Posted February 19, 2017 Posted February 19, 2017 On 2/15/2017 at 3:21 AM, Apfelstrudel said: I'm using following multi size ad slot with different viewport sizes. It works pretty good since 1.5 years. Just define different line items and assign corresponding banners. <script> // GPT slots var gptAdSlots = []; googletag.cmd.push(function() { // Define a size mapping object. The first parameter to addSize is // a viewport size, while the second is a list of allowed ad sizes. var mapping = googletag.sizeMapping(). // Desktop addSize([1185, 200], [800, 250]). // Landscape tablet addSize([1113, 200], [728, 90]). // Accepts both common mobile banner formats addSize([853, 200], [468, 60]). // others addSize([0, 0], [[320, 100], [320, 50]]). build(); // Define the GPT slot gptAdSlots[0] = googletag.defineSlot('Slot_Multisize', [[320, 100]], 'ad-slot'). defineSizeMapping(mapping). addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); // Start ad fetching googletag.enableServices(); }); </script> Are you putting this in your <head> and then adding the ad code to the advertising IPS tags or everything all together?
Apfelstrudel Posted February 20, 2017 Posted February 20, 2017 Yes, this code has to be within head. Then just put your "ad-slot" to whereever you want to have the ad. Don't forget to assign all necessary ad sizes to this ad-slot within dfp.
AlexWebsites Posted February 23, 2017 Posted February 23, 2017 Question, what would be the difference if you just created separate ad units for various sizes and used IPS logic to display the ad on mobile or desktop? Has anyone done that? <div class='ipsResponsive_showDesktop ipsResponsive_showTablet ipsResponsive_block'> 728x90 Ad </div> <div class='ipsResponsive_showPhone ipsResponsive_block'> 320x50 Ad </div>
Apfelstrudel Posted February 24, 2017 Posted February 24, 2017 This usage doesn't meet the guidelines of most of the ad providers (including adsense) because you hide a delivered ad banner. Don't do this. When Google finds out what you're doing they will block you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.