Ghana will face Argentina, Austria and Panama the 2015 FIFA U20 World Cup for finishing third at the African U20 Championship.
The Black Satellites beat Mali 3-1 in the third/fourth playoff match in Dakar on Sunday to slot into Group B of the 24-team tournament in New Zealand.
Mali will face Qatar, Colombia and Portugal in Group D for finishing fourth.
Ghana start their campaign against Austria on 30 May and then against Argentina on 02 June before playing Panama three days later in Auckland.
The 2015 FIFA U20 World Cup runs from 30 May to 20 June.
Nigeria and Senegal play in the final with the winner facing Brazil, Korea DPR and Hungary.
The second-place team at the African tournament will slot into Group D which has Mexico, Uruguay and Serbia.
2015 FIFA U20 World Cup finals draw:
Group A: New Zealand, Ukraine, USA, Myanmar
Group B: Argentina, Panama, Ghana, Austria
Group C: Qatar, Colombia, Portugal, Mali
Group D: Mexico, CAF 2, Uruguay, Serbia
Group E: CAF Champion, Brazil, Korea DPR, Hungary
Group F: Germany, Fiji, Uzbekistan, Honduras