I'm trying to use schema.org to indicate advertisements on my website. I'm concerned that putting adverts within the content of a blog page will hurt my SEO and I'm hoping using schema might help make things clear to search engines.This is what I have so far, an image with a link.<div itemscope itemtype=https://schema.org/WPAdBlock>    <a href= itemprop=url><img src= itemprop=image></a></div> is the above schema I'm using correct?should I rather be inserting these adverts with javascript or jquery rather than just html?I am not using an ad network these are custom ads.
How to use Schema.org for Adverts on a website - WPAdBlock
seo;advertising;microdata
Yes, your use of Microdata and schema.org is correct.Instead of div, you might want consider using the sectioning element aside:The element can be used for [] advertising, []That way the advertisement is separate from the main content flow of your document.Oh, and dont forget to provide an alt attribute for the image.Depending on the ad, you might also want to use the nofollow link type for the link (Google urges to use it for paid links).For transparency (and, sometimes, legal) reasons, you might want to explicitly note that its an advertisement. For example, by using an Advertisement heading (which makes sense if you are using a sectioning element, and is nice if you want screen reader users to easily skip it if they want to), or just a simple note, or maybe a link to a page explaining why you are advertising and what happens with possible income or referrer data etc.Including it with JavaScript? Well, I wouldnt do it for the obvious reason that users without JS wouldnt be able to see your ad.