When we bought our domain and connect Google search engine we noticed that we had about 1000 spam URLs from 2020, probably someone who used to domain as a source of back links.
We have a list of all the URLs and are returning 410 (before 404) for all of them but the URLs are not disappearing from the google-search console (they are not findable on Google though). It seems like Google is still penalising us for having them because we are not getting any new pages found.
This is a list of a couple URLs:
For example this is one of the URLs:
Can we somehow remove all those 1027 spam pages? Or is Google not punishing us but just being slow with indexing? Some pages are 2 months old and still not crawled.
We tried asking for removal for a couple of pages but they came back after a couple days. We tried changing 404 to 410 (gone) but no positive result and we tried adding a 'fake' sitemap for the spam URLs.