I am having trouble figuring this one out, because I am very left-brained. Can anyone try to solve this challenge:
Background: Website advertising revenue is calculated based on "impressions." "Impressions" is the number of times an advertisment is called (Basically, when the page the ad is on is loaded/called). "Page views" is the number of times a page is loaded/called. So if two people visit one page that has two ads on it, you will have a total of two page views and four ad impressions. Most websites charge advertisers x dollars per 1,000 impressions their ad receives (CPM).
Question: If an entire WEBSITE has x page views per month with y number of ad spaces on each page (with r number of rotating ads per each space (a new ad from a line is placed every time a page is called and starts over after the last ad) and with p being total number of pages the website has) and charges each advertiser z dollars per each 1,000 impression their ad receives (CPM). What formula would you use to determine total ad revenue for that month?
Background: Website advertising revenue is calculated based on "impressions." "Impressions" is the number of times an advertisment is called (Basically, when the page the ad is on is loaded/called). "Page views" is the number of times a page is loaded/called. So if two people visit one page that has two ads on it, you will have a total of two page views and four ad impressions. Most websites charge advertisers x dollars per 1,000 impressions their ad receives (CPM).
Question: If an entire WEBSITE has x page views per month with y number of ad spaces on each page (with r number of rotating ads per each space (a new ad from a line is placed every time a page is called and starts over after the last ad) and with p being total number of pages the website has) and charges each advertiser z dollars per each 1,000 impression their ad receives (CPM). What formula would you use to determine total ad revenue for that month?
-
First of all, you need to know that r and p are irrelevant. It does not matter how many ads are rotating (r) because the constant z dollars is charged for each ad. The entire website has x page views, so the number of pages (p) does not need to be taken into account either.
So with that out of the way, we have the variables x, y, and z left. You can attach "units" onto the end of the variables to avoid confusion.
(x pg views / month) * (y ad views / pg view)
The unit "pg views" cancels out and you are left with xy ad views / month.
Now we only need to incorporate the total ad revenue for the month. The advertiser is charged z dollars per 1 000 impressions. Therefore, we get z/1000 dollars per each individual ad view.
(xy ad views / month) / [(z/1000) dollars / ad view]
The unit "ad views" cancels out.
The final equation is xyz/1000
So with that out of the way, we have the variables x, y, and z left. You can attach "units" onto the end of the variables to avoid confusion.
(x pg views / month) * (y ad views / pg view)
The unit "pg views" cancels out and you are left with xy ad views / month.
Now we only need to incorporate the total ad revenue for the month. The advertiser is charged z dollars per 1 000 impressions. Therefore, we get z/1000 dollars per each individual ad view.
(xy ad views / month) / [(z/1000) dollars / ad view]
The unit "ad views" cancels out.
The final equation is xyz/1000