The efficacy of the antibody targeting PD-L1 in the treatment of melanoma in mice is improved in the presence of a gut microbiota enriched in Bifidobacterium species. Here, CD274 is linked to melanoma.