How to track Google AdSense earnings using custom channels
Custom channels are a handy feature for Google AdSense publishers. They can track their AdSense performance by assigning ad units to channels based on their unique criteria, such as colors, formats, or placements.
A sample implementation is to create a channel for each ad position and see which one performs best. You can create channels such as example.com-top and example.com-bottom. You can also create channels such as color-red and color-blue and then use a custom script to rotate ads using the colors to see which one gets higher CTR.
1) Create custom channel
To create a custom channel, go to My ads → Custom channels from your Google AdSense dashboard. From there, click on the Create custom channel button.
In the Add new custom channel window, enter the name of your custom channel based on their criteria. The example below is to track the banner ad, normally placed on top of a page. Click the 'Save button to create your channel.
Here you have the option to add ad units to the newly created channel directly, or you can add to it at later times.
2) Assign channel to ad unit
When creating an ad unit, you can assign it to a channel in the Custom channels section. You can assign your AdSense ad unit to multiple custom channels.
3) View report
To view the performance of your custom channels, go to Performance reports → Custom channels from your Google AdSense dashboard. There you can see performance report such as Page views, Clicks, Page CTR, CPC, Page RPM, and Estimated earnings for each channel, rather than just an overal view of your AdSense earning.