They secured York, Punk Records and the Mother Flame so can guarantee future uses of their ancient weapon, but beyond that things really aren't a clear cut victory. Their other primary objective was the elimination of Vegapunk which, for all intent and purposes, they failed to do. Lilith still being around is essentially the same as Stella escaping since she possesses the exact same knowledge they were trying to suppress.
They failed to stop the majority of the broadcast and now have a lot of cleaning up to do to preserve their image and twist the narrative in their favor. Thankfully for them, Punk (for reasons that make no sense considering what he knew for a fact) left things incredibly vague and didn't openly paint the WG in a bad light.
Bonney has been revealed to be the highest authority for the Pacifistas (including S-Bear?) and they failed to eliminate her on site. They will have to deal with the fact that a good chunk of their military strength is now compromised. Maybe York can do something about it although I don't see why Oda would set it up only for it to be resolved instantly.
And of course, Nika, their most feared enemy, managed to escape safely with his entire crew. All in all, it was mostly a bunch of completely unforeseen circumstances that held them back which is fairly standard for One Piece antagonists. Kuma's clutch save as they were about to be executed, the still unresolved mystery of who fed Luffy, the Giants securing the escape route and backing them up, the broadcast preventing the Gorosei from fully committing to the pursue, Emet and Joyboy making the last stand that allowed the crew to sail away unbothered, any of these things not happening would have led to a total WG victory.