Villarreal and Sevilla have been given their Europa League draws and face trips to Gladbach and Feyenoord respectively.
Holders Sevilla were placed into Group G alongside Belgian representatives Standard Liege, Feyenoord and Croatians HNK Rijeka.
Villarreal were first out of the hat and placed in Group A with Gladbach, Zurich and Cypriot side Apollon.
The Yellow Submarine qualified by virtue of a convincing win over Astana while Sevilla went straight into the group stage.
Real Sociedad fell to Krasnodar of Russia, losing 3-0 in the second leg, away from home, having won 1-0 at Anoeta.
Krasnodar have been drawn in Group H with Lille, Wolfsburg and Everton.
Europa League group stage draw in full:
Group A: VILLARREAL, Gladbach, Zurich, Apollon
Group B: Copenhagen, Brugge, Torino, HJK Helsinki
Group C: Tottenham, Besiktas, Partizan, Asteras Tripolis
Group D: Salzburg, Celtic, Dinamo, Astra Giurgiu
Group E: PSV, Panathinaikos, Estoril, Dinamo Moscow
Group F: Inter, Dnipro, St. Etienne, Qarabag FK
Group G: SEVILLA, Standard, Feyenoord, HNK Rijeka
Group H: Lille, Wolfsburg, Everton, Krasnodar
Group I: Napoli, Sparta Prague, Young Boys, Slovan Bratislava
Group J: Dynamo Kiev, Steaua Bucharest, Rio Ave, Aalborg
Group K: Fiorentina, PAOK, Guingamp, Dinamo Minsk
Group L: Metalist, Trabzonspor, Legia Warsaw, Lokeren
Think you know your Spanish football? Share your knowledge, tips and comments to win cash prizes in OLBG's tipster competition - £11,000 to be won monthly!