Far from trivial, but like Adsense, it takes quite a while to get it right.
Rules also recently changed for the googlecash method with associates, but this quarter is still up for me over same quarter last year, so I'm not overly bothered yet.
-Allan