Cost-per-click is defined by the ad publisher—that is, whoever is placing the ads around the internet. Usually, it’s set by a formula the publisher has set or through an auction process in which advertisers bid on keywords. The more competition for a given keyword, the greater the CPC.