Is it possible to use dynamic content

Hi everyone,
I’m interested in understanding how it is possible to link the dynamic content you’ve created to a query from google (keyword search) and / or location?
Have you got a solution?

Thanks