The German Football Association (DFB) and Adidas have agreed to extend their partnership until the year 2018, despite the emergence of a rival bid from Nike.