I am kind of stuck with configuring DFP-ads. In the official plugin i got stuck here:
If we cannot solve it through the DFP-part of the AdPlugin than maybe it should be possible to use custom code, but I don’t seem to be able to get that right either.
See code for adslots and javascript-code
Code for header?
<!-- Start GPT Tag -->
<script async src='https://securepubads.g.doubleclick.net/tag/js/gpt.js'></script>
<script async src='https://cdn.biddercore.io/tagman/adprofit/sites/rikatillsammans.se/index.js'></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs();
googletag.pubads().setCentering(true);
googletag.pubads().disableInitialLoad();
googletag.enableServices();
});
</script>
<!-- End GPT Tag -->
and the adslots (for House Ads?)
<!-- GPT AdSlot 1 for Ad unit 'rikatillsammans.se_320x320_1' ### Size: [[1,1],[300,250],[320,100],[320,160],[320,320],[320,480]] -->
<div id='div-gpt-ad-1481365-1'>
<script>
googletag.cmd.push(function() {
googletag.defineSlot('/21806588294/rikatillsammans.se/rikatillsammans.se_320x320_1', [[1,1],[300,250],[320,100],[320,160],[320,320],[320,480]], 'div-gpt-ad-1481365-1')
.addService(googletag.pubads());
googletag.display('div-gpt-ad-1481365-1'); });
</script>
</div>
<!-- End AdSlot 1 -->
<!-- GPT AdSlot 2 for Ad unit 'rikatillsammans.se_320x320_2' ### Size: [[1,1],[300,250],[320,100],[320,160],[320,320],[320,480]] -->
<div id='div-gpt-ad-1481365-2'>
<script>
googletag.defineSlot('/21806588294/rikatillsammans.se/rikatillsammans.se_320x320_2', [[1,1],[300,250],[320,100],[320,160],[320,320],[320,480]], 'div-gpt-ad-1481365-2')
.addService(googletag.pubads()); googletag.cmd.push(function() {
googletag.display('div-gpt-ad-1481365-2'); });
</script>
</div>
<!-- End AdSlot 2 -->
<!-- GPT AdSlot 3 for Ad unit 'rikatillsammans.se_980x240' ### Size: [[1,1],[970,250],[980,120],[980,240],[980,300],[980,360],[980,400],[980,480]] -->
<div id='div-gpt-ad-1481365-4'>
<script>
googletag.cmd.push(function() {
googletag.defineSlot('/21806588294/rikatillsammans.se/rikatillsammans.se_980x240', [[1,1],[970,250],[980,120],[980,240],[980,300],[980,360],[980,400],[980,480]], 'div-gpt-ad-1481365-4')
.addService(googletag.pubads());
googletag.display('div-gpt-ad-1481365-4'); });
</script>
</div>
<!-- End AdSlot 3 -->
So I am looking for somone who knows his/her way around Discourse and can help me set it up correctly? I am open to both hourly and fixed price offers.