Be assured that Apple does not collect and sell user or personally identifiable information to third-parties.
While Apple itself will not be the source, some Apps that you use with your iPad and Apple devices may have different approaches to data privacy. Apps that you have downloaded and installed from the Apple App Store should publish their privacy policy; you should, if you look, find a listing of the types of data collected and used by the respective App Developer within the corresponding page in the App Store.
Be aware that online tools and search engines, in particular new AI-based assistive technology, do collect and process your data to target advertising and other content. By example, Google's entire business model is predicated upon learning as much about you, your interest and habits - and the devices that you use - as it can, this data being processed and sold to anyone willing to pay for it.
If you are concerned that the intrusive advertising is due to locally stored cookies, for Safari and Apple Apps you can delete the cookies any associated history from your iPad:
Settings > Apps > Safari > [History & Website Data] Clear History & Website Data
As for other devices or voice-activated assistance that may be in your proximity (e.g. Alexa powered devices), you should always be mindful of the potential implications of being "overheard" by this technology. Some are "always on", collecting and processing information; a trigger phrase may simply activate an interactive response - while at other times the assistant will be listening and potentially sending everything that it "hears" for external precessing.
Unless you are in a controlled environment over which you have total control over devices within it, a good rule of thumb is to never discuss anything sensitive (in particular financial) that you wouldn't wish to be publicly known. Be mindful of anything voice activated; for your iPad and iPhone, Siri can be configured to only be active when a physical button is activated - removing the perceived convenience of touch-less/voice activation, but with consequential improvements in security and privacy of your data.