May be you are thinking of this: put 2 different ad codes on your on your website. Will it be possible?
Answer: YES, Google Adsense "Publishers are permitted to place ad code from different AdSense accounts on the same page as long as the owner of the website has given permission for ads to be placed on their site, and the webpage complies with our program policies.
A publisher will only be credited for clicks and impressions on the ad units associated with their account. Additionally, publishers are responsible for monitoring each webpage upon which their ad code appears to ensure compliance with our policies."
LEARN MORE HERE