title: Distinguishing which type of user clicked an ad
body: <p>I have a mobile (Android) app wherein I'll be serving ads to generate revenue (by users clicking on the ads). I'll have two types of users (type A and type B let's say). Type A is such that I get to keep all ad click-through revenue. Type B is such that I need to split ad click-through revenue between myself and a third-party.</p>
  
  <p>I can distinguish between the two types of users in my app no problem. The problem is, I need to determine which proportion of my revenues has been generated by users of type B (to pay the third-party accordingly). Anyone have any ideas on whether this can be achieved and how, or even if there is an ad providing service that offers this functionality? I am inclined towards using AdMob ads but am open to other ad providers...</p>
  
  <blockquote>
    <p><strong>Edit:</strong> Sorry to complicate and not be clear from the outset but there is a large possibility that type B will be split further so I will have to split revenue with third-party B1 for users who have downloaded my app via B1, and I will have to split revenue with third-party B2 for users who have downloaded my app via B2, and so on for an unknown number of third-parties.</p>
  </blockquote>