The present invention is a pyrimidine derivative of formula (I) (In which (R 1 ) n , R 3 , R 4a , R 4b , R 5a , R 5b and Ar 1 are as described herein) and by modulation of the immune response, including reactivation of the immune system in the tumor And its use in the treatment of cancer. The present invention further provides novel benzofuran and benzothiophene derivatives of formula (III) and their use as medicaments, their preparation, their pharmaceutically acceptable salts, and their use as medicaments, one or more compounds of formula (I) Pharmaceutical compositions containing and in particular their use as modulators of the prostaglandin 2 receptor EP2 and / or EP4.본 발명은 식 (I) 의 피리미딘 유도체(식에서 (R1)n, R3, R4a, R4b, R5a, R5b 및 Ar1 은 명세서에서 기재된 바와 같다) 및 종양에서의 면역계의 재활성화를 포함하는 면역 반응의 조정에 의하는 암의 치료에 있어서의 그의 용도에 관한 것이다. 본 발명은 추가로 식 (III) 의 신규한 벤조푸란 및 벤조티오펜 유도체 및 약제로서의 그의 용도, 그의 제조, 그의 약학적으로 허용가능한 염, 및 약제로서의 그의 용도, 하나 이상의 식 (I) 의 화합물을 함유하는 약학적 조성물, 및 특히 프로스타글란딘 2 수용체 EP2 및/또는 EP4 의 조절제로서의 그의 용도에 관한 것이다.