Welcome to Android Central! Which phone? TouchPal has been known to inject ads, which is why I can't understand why HTC and Lenovo decided to make it the default keyboard app on their devices. You could try installing another keyboard app, setting that as default, then Disabling TouchPal in the Settings>Apps menu.