These results implicate GPCR-GNAS-PKA signaling as a pan-cancer oncogenic pathway impairing T cell infiltration. This evidence concerns the gene GNAS and cancer.