Home>Support>Integration Google DoubleClick – mt ad

Integration Google DoubleClick – mt ad

Hi,

How can I integrate Google Double-click in the mt ad?
It relates the following website: http://marketinginfarma.nl

Sidebar top ad:
– Advertentie –

Sidebar middle ad:
– Advertentie –

Head:

var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];

googletag.cmd.push(function() {
var mapleaderboard = googletag.sizeMapping()

.addSize([890, 100], [728, 90])

.addSize([300, 100], [300, 250])

.build();

var maprectangle = googletag.sizeMapping()

.addSize([890, 100], [300, 250])

.addSize([0,0], [])

.build();

googletag.defineSlot(‘/X/MIF_Leaderboard’, [[300, 250], [728, 90]], ‘div-gpt-ad-X’)
.defineSizeMapping(mapleaderboard)
.addService(googletag.pubads());

googletag.defineSlot(‘/X/MIF_Rectangle’, [300, 250], ‘div-gpt-ad-X’)
.defineSizeMapping(maprectangle)
.addService(googletag.pubads());

googletag.pubads().enableSingleRequest();

googletag.pubads().collapseEmptyDivs();

googletag.enableServices();
});

Body:
div-gpt-ad-X

googletag.cmd.push(function() { googletag.display(‘div-gpt-X’); });

div-gpt-ad-X

googletag.cmd.push(function() { X’); });

This is a free community support forum. Replies are not guaranteed. If you need professional email support, please purchase a SiteOrigin Premium license.

  1. 3 months, 13 days ago Alex S Hi, I Work Here

    Hi Jean,

    Unfortunately, this isn’t possible without a fair amount of custom coding. This is beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you.

    We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More