Hello sir. I am doing affiliation marketing and I have referral code from some company ,when I use this code in Google companing,google

Hello sir I am doing affiliation marketing for some companies I have refferal code for them ,when I use this code in Google ad companing, google says your voilating rules and also using other trade mark but company’ says you can use our code any where , this is my query how to handle it and other issue is we have one refferal code from each company and they ask url and display url , how can we diffranciate them . Google ad get disapproved for both issue pl help me what to do thank you