Anthemis tinctoria (Yellow chamomile)
Species: A. tinctoria
Binomial name: Anthemis tinctoria
Synonym: Cota tinctoria
Common names: Yellow chamomile, Golden marguerite, Dyer's chamomile, Ox-eye Chamomile
Anthemis tinctoria (Cota tinctoria) is an irregular or sprawling, upright or erect Eurasian perennial herb native to the Mediterranean. In New Zealand, it is found in sunny wastelands and roadsides, usually in dry places and low altitudes, and it is also cultivated for its flowers which are produced during summer. The flower heads are >9 mm across and are generally all yellow. The flowers are hermaphrodites (have both male and female organs) and are pollinated by bees, Lepidoptera, flies, beetles and by its self.
The leaves are very finely cut and fern-like.
The flowers were once the source of a yellow dye, hence the species name tinctoria.
The foam is from a spittlebug (Philaenus spumarius) http://www.terrain.net.nz/friends-of-te-henui-group/local-insects/spittle-bugs.html
Thanks to Wikipedia for text and information: https://creativecommons.org/licenses/by-sa/3.0/