Google Ads on various pages based on condition

Hello Community,

I am trying to integrate Google Ads into my website. I found the option already in SEO / Metatags but I think this is for site-wide.

However, I want just to put ads on various pages automatically decided by google and until the person is using the “Free Plan” of the website. Can someone explain me how I am able to achieve this please?

Best regards,

Christophe