Since nobody in the comments is being helpful I figured I’d do a little research for you. The TL;DR is apps can just put ads on your text selection any time they want + there’s nothing you can do about it. At least on my phone, the ads are hidden in the overflow menu so I hadn’t noticed them until I saw your post + checked in there. Perhaps on your device they show up because you have a wider screen?