message and my ads functions