Celtic will face Linfield or La Fiorita of San Marino in the second qualifying round of the Champions League next month.
Ties are due to be played on July 11/12 and July 18/19, with the draw for the third qualifying round between the games on Friday July 14.
Rangers have been paired with Progres Niederkorn of Luxembourg in the first qualifying round of the Europa League at end June, with St Johnstone drawn against FK Trakai of Lithuania.
Aberdeen will face either Ordabasy of Kazakhstan or Bosnian side Siroki Brijeg when they enter the Europa League in qualifying round two on July 13.
Rangers will meet AEL Limassol from Cyprus or St Joseph's of Gibraltar if they progress while St Johnstone would take on Swedish side IFK Norrkoping or Prishtina from Kosovo.