The amount of each material used leads to different styles of buildings. The deciding factor is usually connected with the quality of the soil being used. Larger amounts of clay usually mean using the cob/adobe style, while low clay soil is usually associated with sod building. The other main ingredients include more or less sand/gravel and straw/grasses.
Rammed earth is both an old and newer take on creating walls, once made by compacting clay soils between planks by hand, now forms and mechanical pneumatic compressors are used.
Soil and especially clay is good thermal mass; it is very good at keeping temperatures at a constant level. Homes built with earth tend to be naturally cool in the summer heat and warm in cold weather. Clay holds heat or cold, releasing it over a period of time like stone