From what I’ve seen here, for all except fiberglass pools, length and width are of the water surface area. Fiberglass pools measurements includes the lip for those interested.
Depth is another story. That one you have to be very specific on.
Mind you, be specific on both but L and W are pretty standard.