(S (S (S (BASENP (NNP Viacom)) (VP (VBD had) (VP (ADVP (RB also)) (VP (VP (VBN requested) (PP (IN for) (NP (NP (BASENP (DT the) (NN code)) (VP (VBN used) (S (VP (TO to) (VP (VB search) (NP (BASENP (NNS keywords)) (PP (IN for) (BASENP (DT each) (NN video))))))))) (CC and) (NP (BASENP (NN access)) (PP (TO to) (NP (BASENP (NNP Google) (POS 's)) (BASENP (NN advertising) (NN database)))))))) (S (VP (TO to) (VP (VB see) (SBAR (IN if) (S (BASENP (NNP Google)) (VP (VBD was) (VP (VP (VBG receiving) (BASENP (NN revenue))) (PP (IN from) (NP (BASENP (NNS ads)) (PP (IN from) (BASENP (DT the) (JJ alleged) (NNS videos)))))))))))))))) (CONJP (COMMA ,) (CC but)) (S (BASENP (DT these) (NNS requests)) (VP (VBD were) (VP (VP (VBN denied) (PP (IN by) (BASENP (DT the) (NN judge)))) (COMMA ,) (S (VP (VBG arguing) (SBAR (IN that) (S (BASENP (NN code) (CC and) (NN ad) (NN data)) (VP (VBD was) (ADJP (RB too) (JJ valuable))))))))))) (PERIOD .))