Support » Plugin: Advanced Ads – Ad Manager & AdSense » Ad Group only shows one image add

  • Resolved eadwig

    (@eadwig)


    Hello

    I set up one ad group and two image ads belonging to the same ad group, then embedded the code for the ad group in a page template.

    I made sure that the both of the image ads are indeed associated with the ad group. However, the embedded code (<?php the_ad(215); ?>) retrieves the HTML of only one image ad, so it does not display the both of the image ads.

    Please tell me how all of the images associated with an ad group can be displayed.

    Thank you for reading this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Thomas M

    (@webzunft)

    Hi eadwig,

    thanks for reaching out.

    You are using the function to retrieve an ad (the_ad( AD_ID )) not an ad group (the_ad_group( GROUP_ID )).

    Please test the correct function and let me know if it works.

    Thanks,
    Thomas

    The use of <?php the_ad_group(11); ?> loads one of the two images. Each time the page is reloaded, the code retrievers one image of the other. Could you please tell me how you can display the both?

    Plugin Author Thomas M

    (@webzunft)

    Hi eadwig,

    no problem. Go to the group page under Advanced Ads > Groups and change the “number of visible ads” option to something higher than 1.

    Best regards,
    Thomas

    That’s great! It’s showing all the ads now.
    Thanks for the help and for the useful plugin!

    Plugin Author Thomas M

    (@webzunft)

    Happy to help.

    > Thanks for the help and for the useful plugin!

    Thanks. Would you mind saying it here?

    Enjoy your weekend!
    Thomas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ad Group only shows one image add’ is closed to new replies.