Our study not only uncovered the expression profile, prognostic value, and predictive potential of PD-L2 in a pan-cancer dataset for the first time, but also identified PD-L2+TAMs as immune effector cells with protumor function in vivo and in vitro. Here, PDCD1LG2 is linked to cancer.