New partnership signals strategic shift in onsite advertising.