Troubleshooting ads

This article will go over things to check to make sure your site is delivering ads.

Why aren't ads delivering on my website?

  1. Make sure your site is Approved in Holid.io.
  2. Is ads.txt added to your site? Without it, ads wont serve.
    Learn more how the Holid.io ads.txt status crawler works.
  3. Did you place the header-script in the <head> </head> section of your site?
    1. If your site is a Single Page Application (SPA) site or you don't have the possibility to place the script in the header, make sure you set up the Holid.io header-script so that it re-launches every time a user navigates to a new page.
  4. Did you implement any of the dynamic or role-specific ad tags?
    <div class="holidAds"></div> 
    or
    <div class="holidAds widescreen"></div>
    <div class="holidAds box"></div>
    <div class="holidAds tower"></div>
    <div class="holidAds mobile"></div>
    Don't customize the ad codes. 
  5. Did you place the ad tag in a location that prohibits the ad sizes? 
    Here is an example of how it looks when there is no allowed width for the ad to show:


    The holidAds ad tag can render many different sizes, so make sure you test the location of ad tags and see where your site allows for ad placement.  

    Here is how it can look when the holidDiv has a CSS width attached:


    Which will trigger an ad to show:

    The reason to why this works is that there is an attached width to the ad space. Often times these sizes are inherited from parent divs (divs higher in the hierarchy than the holidAds div), so you won't need to add it yourself. You might just need to figure out where your site is able to show ads. 

    If you are not automatically getting a size for the space, you need to add CSS yourself to the holidAds div. The easiest way is to just set a max-width rule to your Holid.io ad tags. 

    Regardless if you use the dynamic ad tag or the role-specific ad tag, you want to allow the following sizes:
    For square/box type ads; make sure to allow 300px in width.
    For vertical/tower type ads; make sure to add the tower-ad tag and allow 300px in width and 600px in height.
    For horizontal/widescreen type ads; make sure to allow 980px in width.

The ads that are delivering are too big!

You can limit the sizes of ads by applying CSS to the holidAds div. Apply max-width or max-height with a particular pixel value to the holidAds div, and you should see ad sizes smaller than what you've specified.