Endoscopically obtained biopsies of gastric cancer can be indicative of the true PD-L1 status if sufficient material is sampled. This evidence concerns the gene CD274 and gastric cancer.