Tianjin Marathon is also a marathon event of the National Games. The national sports meeting, a national sports meeting, is attended by provincial representatives. Foreigners are not China residents, so they certainly can't participate.
Shanghai Chongming Marathon is an activity organized by CCTV, not a commercial marathon, and foreign athletes cannot participate. This activity of CCTV is a national promotion, which is different from commercial activities.