Yellow Pages were for commercial entities, White Pages were a list of private individuals. You had to opt out of that and you had to PAY a monthly fee.
Where I grew up, receiving a yearly copy of the physical white and yellow pages was just part of the monthly fee for having a landline phone as far as I remember. I vaguely remember that opting out, via (I believe) a mail-return postcard, was also possible towards the end of physical phone books and granted some discount.
It was YPO.