Ad Code Manager
How can I get started with ad-code-manager? (3 posts)

  1. phil250884
    Posted 4 years ago #

    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!


  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 4 years ago #

    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 728x90 ad code depending on the conditionals you register through the admin interface.

    Let us know how we can help further.

  3. Rinat Khaziev
    Plugin Author

    Posted 4 years ago #

    Check out this gist:

    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:
    // omitted
    'tag' => 'AdUnit_Heaader_ATF_468x60'

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ad Code Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic