This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Integration Google DoubleClick – mt ad

8 years ago · Last reply by Alex S 8 years ago

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 our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread