Jump to content

DFP tags - mobile best practices for ipb 4. ?


MeMaBlue

Recommended Posts

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! 

 

Link to comment
Share on other sites

  • 2 weeks later...

 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 ? 

Link to comment
Share on other sites

  • 1 month later...

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>

 

Link to comment
Share on other sites

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? 

Link to comment
Share on other sites

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>

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...