Facebook, Twitter look beyond their own walls for mobile and video ad revenues