Did it display an ad before displaying the keyboard? Because I encountered terminals which have physical keyboard but also display an ad on the screen. No physical keyboard? A perfect captive audience.
Luckily not. It was at a restaurant, and I hope that a waiter handing you a device to enter your PIN but first having to watch an ad is never going to be a thing.
It's a thing. Some large chain restaurants have a tablet at the table for ordering, with games on it, and continuous ads. It's the same one used to pay.