Google Ads tracking - question about keywords

I try to add brands to advice on Google. I can use ads to find out what keyword he was looking for when he clicked my ad? I try to insert the brand {Keyword} in the Campaign URL Builder, but I see this brand in the Matomo instead of the keyword.

When I am looking for something on Google, the URL Address page is needed:
https://www.google.com/search?q=keyword&oq=keyword¨

Matomo can’t tell that advertising clicks were on the search page “q=keyword”.
In addition, tracking code is stored on Google Ads, so it could transmit …