CS GO license not recieved

Sep 6, 2018
1
0
10
i ve purchased CS:GO CD and while installing it didnt ask for product key and directly installed and showed in steam library.. after installation amd updating the game when i connected to steam and played, it was showing there that i dont have license to play CSGO online. but i am connected to steam as i ve subscribed to training maps.. plz help what to do.. it feels like money is being wasted..plz plz plz help
and also i wanna know why i didnt get licence