The dynamic and heterogeneous expression of PD-L1 in GC plays a critical role in mediating resistance to immunotherapy. Here, CD274 is linked to gastric cancer.