WordPress.org

Support

Support » Plugins and Hacks » Ad Code Manager » How can I get started with ad-code-manager?

How can I get started with ad-code-manager?

  • Hi there,

    I don’t quite understand how to get started with this.

    How do ad-tags look like in my template or widget? What is Zone1? What does the ID do for me and how does it all fit together?

    Can you show us one example of how I would include a DFP tag? Let’s assume my account/slot values are ad-xxxxxxxxxxxx-0 and ad-xxxxxxxxxxxx-1, followed by /xxxxxx/AdUnit_Heaader_ATF_468x60 and /xxxxxx/AdUnit_Middle_ATF_300x250

    Thanks a lot!

    http://wordpress.org/extend/plugins/ad-code-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniel Bachhuber

    @danielbachhuber

    There’s a little bit of configuration that needs to be done before code will start showing up on your template. You’ll need to take care of that first.

    Once you’ve done so, you can add an action to your template like so:

    <?php do_action( 'acm_tag', '728x90-atf' ); ?>

    This will then display your 728×90 ad code depending on the conditionals you register through the admin interface.

    Let us know how we can help further.

    Plugin Author Rinat Khaziev

    @rinatkhaziev

    Check out this gist:
    https://gist.github.com/2494899

    Basically it’s a quick config for DFP Small Businesses

    In your case you would want to change sp_ad_tags_ids filter to be something like:
    `<?php
    // omitted
    ‘tag’ => ‘AdUnit_Heaader_ATF_468x60’

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I get started with ad-code-manager?’ is closed to new replies.
Skip to toolbar