Assembly Bill 831 bans companies from offering certain types of online sweepstakes that the tribes see as a threat to their exclusive rights to gambling in California.