effective distribution


New Member
hello, which method should use for the following problem:

there are sites, pictures and clicks. a picture can be distributed among the sites.

clicks usage among the sites are varying according to the week days, the hits of the sites and the interest rate of the users of the sites to the selected pictures.

clicks usage are not stable because of new pictures can be added automatically in any time.

pictures have a finish date. after that, they will not be selected in all sites. pictures also have a limited clicks that should be consumed till the finish date. but not before the finish date. on the exact time, so they should be distributed so wisely according to the days.

clicks should be distributed effectively to each day so that they will not get disappear before the finish date.

under these circumstances, what is the effective theory to use to come up with a solution that is effective.