The difference lies in the different objects for which poetry is written. Ganye poems are a type of poetry written by ancient literati to promote themselves, similar to modern self-recommendation letters.
The greeting poems are poems written by intellectuals asking for help from powerful dignitaries, hoping to be appreciated, recommended and promoted. This type of poetry is called the paying tribute poem