How is advertising costs measured?

it is important to calculate costs and measure media effectiveness to best reach audience.