Facebook is selling new types of ads on Instagram and Messenger as revenue declines