They are mostly board and need some distraction which is a good time to sell to them.
Build a local wifi network on the vehicles of the public transportation (tram, bus, etc.), incentivize the travelers to connect by giving them discounts, achievements badges, etc. Have special exclusive offers and content only available there. Monitor their behavior to personalize your communications with them. Share revenues with the transportation company.