Inclusion Criteria:  Written and signed informed consent Age ≥ 18 years but ≤ 75 years ECOG of 0 or 1. Estimated life expectancy of ≥3 months. Histologically or cytologically documented advanced unresectable or metastatic gastric adenocarcinoma or gastroesophageal Junction (GEJ) adenocarcinoma. At least one measurable lesion per RECIST v1.1. Gastric adenocarcinoma or gastroesophageal junction (GEJ) adenocarcinoma with failure of first-line treatment Adequate organ function. Have agreed to take effective contraception from the date of signing the informed consent form until 120 days after the last administration.  Exclusion Criteria:  Known HER2-positive Other invasive malignancies within 3 years, except for locally treatable (manifested as cured) malignancies, such as basal or skin squamous cell carcinoma, superficial bladder cancer, cervical or breast carcinoma in situ. Any previous systemic therapy targeting VEGF or anti-VEGFR signaling pathways. In addition to PD1 or PD-L1,Prior exposure to anti-CTLA-4 antibody, or any other antibody or drug therapy for T cell co-stimulatory or checkpoint pathways, such as ICOS or agonists (e.g. CD40, CD137, GITR and OX40 etc). Known history of primary immunodeficiency virus infection. Known history of allogeneic organ transplantation or allogeneic hematopoietic stem cell transplantation. Known history of interstitial lung disease. Known history of active tuberculosis (TB). Central nervous system (CNS) metastasis, meningeal metastasis, spinal cord compression, or leptomeningeal disease. Patients with untreated chronic hepatitis B or HBV DNA exceeding 500IU/mL or active hepatitis C should be excluded. Patients with HCV antibody positive are eligible to participate in the study if the results of HCV RNA test show negative. Known history of testing positive for human immunodeficiency virus (HIV). Uncontrolled pleural effusion, pericardial effusion, or ascites requiring repeated drainage. Subjects with active, known or suspected autoimmune disease, or a medical history of autoimmune disease, with the exceptions of the following: vitiligo, alopecia, Grave disease, psoriasis or eczema not requiring systemic treatment within the last 2 years, hypothyroidism (caused by autoimmune thyroiditis) only requiring steady doses of hormone replacement therapy and type I diabetes only requiring steady doses of insulin replacement therapy, or completely relieved childhood asthma that requires no intervention in adulthood, or primary diseases that will not relapse unless triggered by external factors. Pregnant or lactating women.