In my experience, in most situations like, this the woman was never really interested in you. If a woman is not interested, then there is really nothing you can do to turn that around. In contrast, if you is attracted then you then she'll ignore little things she might not otherwise like.
In this regard, women really are not that different from men. A man will twist himself into knots to get and maintain a woman that he is really interested in. She can treat him like garbage, and he will put up with it.... at least for a time... as she continues to treat him with increasing distain... then he snaps.
How a man looks and shows up is all the woman has to go on in the beginning, so first impressions are important. now how you 'show up', and if a woman is attracted to the man changes from woman to woman. It really isn't the dude, it really is the woman. The only thing a man can do is be the very best version of himself that he can... be in good shape, wear clothes you like that fit, have a pleasant personality with a sense of humor. Women do have types! Just like men. If you are not 'her type' she isn't going to feel the chemistry. If she like beards... and you don't have a beard... well... she isn't going to be attracted to you. If you have tattoos, and she doesn't like tattoos... you are not going to be able to overcome that. If success and status is important to her, and you are not dressed like a successful man, she isn't going to be attracted to you. For me... well I'm in my late 50s... I do not have an ice cube's chance in hell with women who are turned off by older men. The good news is that there are women that like older men... so I don't waste time with women that want what I cannot give them.
To the OP.... Dude you never had a shot, there was something about you that she was not attracted, again NOT YOUR FAULT. You cannot change that sh1t, no amount of effort or 'game' can turn that around. On negging, I never really understood that, and it might have worked in the early 90s, but now everyone knows this is a pick-up technique and with many women. it is a turn off. I wouldn't go out of my way to 'neg' a woman, trust me, if you let her talk she will say something you do not agree with, it's okay for you to disagree with her, but do it respectfully, and if she is attracted and interested, this MIGHT make you look more attractive.
Here is an example of something that happened to me last week. I met a woman in the sauna at my health club. I let her talk, eventually she told me that she was a 'holistic health consultant' and started talking about 'magic food' and other silliness. Now I could have said, "That is silly, your job is stupid... there are no magic foods." Instead, I said, "I'm not sure I agree with that, but I do agree it is very important to be aware of what we put in our bodies... eating smart is always good advice." That interaction went very well, now she has a chance to change my mind... and the harder she tries, the more investment she has which is always a good thing. You are not being a supplicating weak little b1tch just agreeing with her, and you are not being an @sshole about it.