• Resolved alae63

    (@alae63)


    hey, i used your great plugin for years but only for adsense, now that I switched to ad manager I got multiple /body codes that I have to implement, I did the same thing I used to do which is copy paste the code like adsense but it did not work, so I’m having a hard time implementing my ad manager codes, does ad inserter pro have an option like to connect ad manager for auto implementing or anything?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hello,

    there is no difference with Pro in this regard – both support various solutions for Ad Manager.

    Ad Manager uses HTML IDs which need to be unique on the page so you can’t insert the same code more than once.
    Check this page for various solutions:
    https://adinserter.pro/documentation/ad-manager-ads

    Thread Starter alae63

    (@alae63)

    Hey, I’m so sorry to bother but I actually got a different code than the one shown on the docs mine is like this

    <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
    <div id="gpt-passback">
      <script>
        window.googletag = window.googletag || {cmd: []};
        googletag.cmd.push(function() {
        googletag.defineSlot('/xxxxe', [[320, 100], [320, 50], [728, 90], [300, 100], [970, 90]], 'gpt-passback').addService(googletag.pubads());
        googletag.enableServices();
        googletag.display('gpt-passback');
        });
      </script>
    </div>

    where does this type of code go ? I’m so confused

    Plugin Author Spacetime

    (@spacetime)

    This code goes into the body part – insert it where you would like to have the ad displayed.

    But very likely this code needs also some header code.

    Plugin Author Spacetime

    (@spacetime)

    Are you still having issues?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘hard time installing ad manager codes’ is closed to new replies.