When planning an advertising campaign, it is essential to rank the various potential media based on their CPM, which represents the cost per thousand relevant impressions. This process involves ordering advertising media from least expensive to most expensive in order to optimize the advertising budget.