Catalyzes the formation of the signaling molecule cAMP in response to G-protein signaling (PubMed:2255909, PubMed:1633161, PubMed:24363043). Participates in signaling cascades triggered by odorant receptors via its function in cAMP biosynthesis (PubMed:2255909). Required for the perception of odorants. Required for normal sperm motility and normal male fertility. Plays a role in regulating insulin levels and body fat accumulation in response to a high fat diet (By similarity). ATP = 3',5'-cyclic AMP + diphosphate Binds 2 magnesium ions per subunit. Is also active with manganese (in vitro). Activated by forskolin (PubMed:2255909, PubMed:1633161, PubMed:24363043). After forskolin treatment, activity is further increased by calcium/calmodulin (PubMed:1633161). In the absence of forskolin, calcium/calmodulin has little effect on enzyme activity (PubMed:1633161). Detected on cilia on the olfactory epithelium (at protein level) (PubMed:2255909, PubMed:25908845). Detected on cilia on the olfactory epithelium. The protein contains two modules with six transmembrane helices each; both are required for catalytic activity. Isolated N-terminal or C-terminal modules have no catalytic activity, but when they are brought together, enzyme activity is restored. The active site is at the interface of the two modules. N-glycosylated. Sumoylated. Sumoylation is required for targeting ot olfactory cilia. Rapidly phosphorylated after stimulation by odorants or forskolin. Phosphorylation by CaMK2 at Ser-1076 down-regulates enzyme activity. Belongs to the adenylyl cyclase class-4/guanylyl cyclase family.