Articles on: Publishers

Ad Unit Error: Missing URL in Ad Unit HTML Code

The error "Missing URL in HTML" occurs when the src attribute of the iframe tag is absent or empty. This can happen, for example, if you edited your ad unit code and accidentally removed the src attribute.


If you add a URL to the src attribute using JavaScript, it may not be added in time for the bot to recognize it, resulting in the URL being defined as empty.


A correct src attribute loos like this:


Important: Earnings at AADS are only generated after an ad unit has been successfully detected by our system.If an ad unit is not found (for example, due to incorrect installation, caching, blockers, or loading issues), impressions cannot be counted and no revenue can be accrued for that period.For this reason, we strongly recommend verifying that the ad unit is detected immediately after installation and after any website changes.


If you have any questions about our platform, feel free to contact our support team. We’re here to help 24/7. 

Updated on: 10/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!