I don't think that you can separate the two clauses here. It *serves* as a way for users to interact with UGC *and* to deliver ads to users. If you consider the conjunction is makes more sense.
(Yes, I've become used to finding meaning in poorly written legalese.)
♥ 2