Overall, AIDPS plays a critical role in gastric cancer prognosis, genomic variations, immune cell infiltration and immunotherapy response, and targeting GHRL expression holds promise for personalized treatment. This evidence concerns the gene GHRL and gastric cancer.