Ad Unit Error: How to Fix '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:
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: 09/10/2024
Thank you!