It sounds like you might be mixing up hind gut vs gastric ulcers. GG/UG are the only approved drugs for treating/preventing gastric ulcers in horses. The carrier agent of GG has been approved as something that successfully protects the active ingredient - omeprazole - from the acidic environment of the stomach and allows it to be absorbed, thereby allowing its action to go to work (it is a PPI so inhibits acid production).
GG/UG are not approved for managing hindgut issues in horses and there is evidence that they can actually exacerbate those issues. One doesn’t scope (as far as I know) to diagnose hindgut ulcers.