To keep search engines from indexing text ads, you can add a "noindex" meta tag to the HTML code of the ad. This tag instructs search engine crawlers not to index the content of the ad, preventing it from appearing in search results.
Here is an example of how to add a noindex meta tag to the HTML code:
<meta name="robots" content="noindex">
This should be added to the head section of the HTML code of the ad. This tag tells search engine crawlers not to index the content of the ad, so it won't appear in search results.
It's important to note that while this will prevent search engines from indexing the ad, it doesn't necessarily prevent it from being displayed on a website. If the ad is displayed on a website that is crawled and indexed by search engines, the ad may still be visible to users who visit that website.