I has this or similar. When I had my period, and also when I ovulated, the throbbing aching pain was constant - 24 hours a day. It impacted my sleep as well as general life. I had difficulty peeing during those times too, but not like a UTI as there was no pain around the urethra, it was all around my bladder. As I peed, the pain in that location was unbearable and very difficult to empty. I never felt as if I was fully emptying.
I used a warm hot water bottle against my tummy where my bladder is. Tried to urinate frequently and not hold/wait to pee.
When I had surgery they excused endometriosis from by my bladder, and this resolved it. That was nearly two years ago, and now I noticed I have some issues again with peeing while on my period, but it is very mild in comparison to previously so I'm just monitoring it. Endometriosis doesn't go away so it is possible they didn't get the entire deposit.
I think if your issues and pain seems very linked to your period/ovulation then it is worth getting a laparoscopy for diagnosis, and excision surgery. It is also worth looking at interstitial cystitis as some women with endo have that. The urologist should help with that.