Presumably, one could ask this question for a Größencharakter in an arbitrary number field, but I'll restrict my attention to the case I'm interested in. Let $K$ be an imaginary quadratic field with ring of integers $\mathcal{O}_K$ and let $\mathfrak{f}$ be a nonzero ideal of $\mathcal{O}_K$. Let $\chi$ be a character on the multiplicative group $(\mathcal{O}_K/\mathfrak{f})^\times$ and let $\lambda$ be a generator for the infinite-order Größencharaktere of $K$ mod $\mathfrak{f}$. On principal ideals $(\alpha)$, $\lambda$ has the property that $$ \lambda^m((\alpha)) = \left(\frac{\alpha}{|\alpha|}\right)^{mg}, $$ where $g$ is the number of units $\varepsilon \in \mathcal{O}_K$ with $\varepsilon \equiv 1\ (\text{mod}\ \mathfrak{f})$. In Coleman - The Distribution of Points at which Binary Quadratic Forms are Prime, the author is interested, for a fixed $m$, in the "collection of characters $\chi$ such that $\lambda^m\chi$ is a function of ideals only." Thus my question,
Question: What conditions ensure that $\lambda^m\chi$ is a function of ideals only? Further, is it enough to ensure that these conditions hold on principal ideals (in which case this seems like a question about behavior on units)?
Größencharaktere are a subject that I can never seem to fully wrap my head around, so any help is most appreciated.