I am referring to Tao's blog post about Tate's thesis. Introduce the adeles $\mathbb A$ of $\mathbb Q$ and the adelic Mellin transform $$Z(s) = \int_{\mathbb A^\times} = g(x) |x|^s d^\times x.$$
Here, $g = \prod_v g_v$ is a product over places $v$ of $\mathbb Q$ and $g_v$ is a self-dual function on $\mathbb Q_v$, more precisely the Gaussian $g(x) = \exp(-\pi x^2)$ for the real place and the characteristic function of integers $\mathbb 1_{\mathcal O_p}$ at finite places $p$. I would like to justify that $$Z(x) = \pi^{-s/2} \Gamma(s/2) \zeta(s), $$ as in the blog's equation (24), directly from properties of the adeles (and not the Euler product of $\zeta$). In particular, Tao emphasizes that we can use an explicit fundamental domain for $\mathbb A^\times / \mathbb Q^\times$, viz. $$\mathbb A^\times = \bigsqcup_{k \in \mathbb Q^\times} k \left( J := \mathbb R_+ \prod_p \mathbb Z_p^\times \right).$$
Cutting by classes modulo $\mathbb Q^\times$, we get $$Z(s) = \int_{\mathbb A^\times / \mathbb Q^\times} \left( \sum_{k \in \mathbb Q^\times} g(kx) \right) |x|^s d^\times x$$ where we recognize the adelic analogue of the theta function used in the derivation of the classical functional equation.
However, I do not understand how using the decomposition above we would find another way to recover $Z(s) = \pi^{-s/2} \Gamma(s/2) \zeta(s)$.