Trade goods cannot normally be spent for agenda votes; a specific card such as the unlocked Hacan commander can provide an exception.
Trading a good for influence does not buy votes. A specific card, such as the unlocked Hacan commander, can provide an exception.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.