A method and system for real-time, computer-generated modifications to an
online advertising program is disclosed. One aspect of the invention
involves a method at a computer associated with an ad placement provider.
The method involves receiving a plurality of data streams containing
real-time data concerning online advertisements in an online advertising
program for an advertiser; applying a first continuous query to the
plurality of data streams; generating a first ongoing response to the
first continuous query; applying a second continuous query to the first
ongoing response; generating a second response to the second continuous
query; and in response to an event associated with generating the first
or second response, implementing a computer-generated change in the
advertising program in real time.