Although PD-1/PD-L1 inhibitors have shown effectiveness for some patients, the majority of gastric cancer patients do not benefit from immunotherapy. Here, CD274 is linked to gastric cancer.