  Using a relative trace formula approach, we prove the twisted global
Gan-Gross-Prasad conjecture for $\operatorname{U}(V) \subseteq
\operatorname{GL}(V)$, as well as its refinement, under some unramifiedness
assumptions and local conditions on the quadratic extension and the automorphic
representation.
