The deal will boost both ad revenue and subscriptions, which grew by 300,000 in the last year.