In this study, we explored a critical lncRNA, LOC339059, that can predict the clinical prognosis in GC related to the modulation of PD-L1 and determined its influence upon macrophage polarization via the IL-6/STAT3 pathway. The gene discussed is CD274; the disease is gastric cancer.