What is Agency Of Record?

Legal Definition
When an advertising agency can buy space for the advertiser.