The results show that PDAI3 is a powerful prognostic biomarker in urological tumors and can effectively predict the response to anti-PD-L1 immunotherapy, and consistent results were discovered in melanoma patients treated with anti-PD-1. Here, CD274 is linked to melanoma.