Articles on: Information for publishers

Ad unit error: Empty ID in Ad Unit HTML code

An ad unit ID must be present in the src attribute of the iframe tag in your site source code. The ID is expected to be after the first slash sign “/” following the domain (ad.a-ads.com or acceptable.a-ads.com). A correct code piece looks like:



This one is incorrect, because an ID is absent in src attribute:


An ID is also expected to be before the next slash or further params, e.g. “?size=240x400”. That’s why ID is regarded empty in the following case as well:

Updated on: 18/04/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!