Which links does Google index?
<a href=”/good-link”>Will be crawled</a>
This is a regular a href link that will be crawled by Google.
<span onclick=”changePage(‘bad-link’)”>Not crawled</span>
Google will not crawl this link because it is not an anchor.
What do you mean by " allow access to the .csv"? If you host the file publicly to your server, Google can find it and index it without any issues.
That being said, there are ways for you to make sure they find it, such as linking to this .csv file from withing a page or submitting it using an XML sitemap.
Do a search on Google for:
Do not add X-Robots-Tag "noindex" in the AJAX function. That may block the main html page.
We thought it would be a good idea, we did it in a project and what happened is that the AJAX portion of the page affected to the "mother" HTML page and Google considers that we are giving a "noindex" header to the mother page.
This is the result in our GSC. Of ...
As far as ...