When you want to gain revenue from advertising, you should master some main models in media buying, including CPM, CPC, CPL, and CPA.