There are a few ways to match similar apps - using the category of app, keywords, etc.
For Appnext - the server "learns" each placement in the system, until it "knows" which promotions will generate the highest eCPM for the publisher. Of course, for music (your example) - music related apps will convert better.