Economics 101 and morals
Companies hire people to do things. They pay them money. The people and the companies both pay taxes, which in turn, among other things, pays the Attorney-General and his staff. If companies can't make money doing the things they do, then they will not hire people to do them. Therefore, no taxes will get paid, and neither will the Attorney-General and his staff. Nor will all of the other things the taxes pay for. And that is why the Attorney-General acts on behalf of companies and industry groups.
As for Moral/Ethical code, Googles', is/was "Do no evil". If you have ever known anyone who uses oxycodone, you would recognize that enabling easy access to purchase the drug over the internet is enabling evil. I don't know about you but personally I think that dealing drugs is pretty evil no matter how it gets done.