In PPC, advertisers bid on keywords or ad placements. When a user searches for a keyword or visits a webpage that matches the targeting criteria, an automated auction takes place. The ad with the highest bid and relevant quality score typically wins the top position.