Here is some JS that removes the ad HTML from the homepage (not hidden with CSS).
Let me know if it works for you.
You can put it in your theme JS tab:
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer((api) => {
api.onPageChange((path) => {
if (path === "/") {
document.querySelector(".adsense-topic-list-top")?.remove();
}
})
});