Ghana's location was an advantage in trade due to its position on the West African coast, which made it a hub for trade between North Africa, Europe, and the rest of West Africa. The country's location allowed it to control the trade routes for gold, salt, and other valuable commodities, which made it a wealthy and powerful kingdom in the medieval period. Additionally, Ghana's location on the coast made it accessible to European traders during the colonial period, which further boosted its trade and economic power.