Scripts: AI_MAX search terms not showing in search_term_view

Hi everyone,

I have a script that excludes search terms if they don't contain specific words. It works for all match types except AI_MAX.

My query returns EXACT, PHRASE, NEAR_EXACT, NEAR_PHRASE, BROAD but no AI_MAX terms, even though I can see them in the Google Ads interface.

Do you have any solution ? 🙂

Many thanks !