The popular app that lets users posts memories via photos across a variety of apps switched from a 3rd-party ad server to its own in-house ad server.