Welcome to Android Central! Yes, it is almost certainly due to some app that you installed that was also carrying this kind of adware. If they're popup ads that bring you to the Play Store page, then it can be hard to pinpoint which app is causing it--you'll probably have to uninstall your most recent apps one by one until the behavior stops. If it's an actual notification that appears in the notification shade, then you can long-press it and select App Info to find out which app is responsible.
Posted via Android Central App