How can I find out which app is putting ads in my notification bar?
One way is to find by log.
If you have android sdk installed,
run 


  adb shell dumpsys notification


The output will have details about all the notifications. Using Package name you can get the app that has been pushing ads