how do i add ads

hi i would to know how to add ads to my plugin header only not site

i tried using the code below


    <?php
    {
        echo elgg_view('mod/moneyagames/ads/banner');
    } ?>

but i can't see ads