The circulating memory PD-1+CD8+ T cells and PD-1+CD8+T/PD-1+CD4+T cell ratio revealed high predictive values for response and prolonged survival outcomes in advanced gastric cancer patients receiving immunotherapy. The gene discussed is CD8A; the disease is gastric cancer.