Suppose that we have (not necessarily injective) group homomorphisms $H \to G_1$ and $H \to G_2$, and we construct the pushout (i.e. amalgamated free product) $G_1 \sqcup_H G_2$. Suppose that we have a representation $V$ of the pushout group $G_1 \sqcup_H G_2$.
We can of course restrict the representation along the maps in the pushout square (I'll just denote the restricted reps by $V$ as well). In this case, is it possible to get a Mayer-Vietoris long exact sequence linking the group cohomology groups $\mathrm{H}^\bullet(H;V)$, $\mathrm{H}^\bullet(G_i;V)$, and $\mathrm{H}^\bullet(G_1 \sqcup_H G_2;V)$? If not, is there anything else we can say about the relationship between these cohomology groups?
(In case it matters, for my purposes $V$ will be a finite-dimensional real vector space.)