There are a few ways that bloggers can earn money from ads and affiliate marketing. One way is to place ads on their blog. Advertisers will pay a certain amount each time someone clicks on their ad. This is called pay-per-click (PPC) advertising.
Another way that bloggers can make money from ads is by displaying them in a specific location on their blog. This is called targeted advertising. Advertisers will pay a higher price for targeted ads because they know they will be shown to people who are likely to be interested in what they sell.
Affiliate marketing is another way that bloggers can make money. This involves partnering with a company that sells products or services and earning a commission for each sale made due to the partnership.