If you live in Florida and spend much time on Pandora\'s streaming service, chances are you\'re hearing a lot of "Rick Scott for Governor" commercials. How often depends on how much you like country music.
Meanwhile, with the 2014 mid-term elections just two weeks away, Pandora fans in Arkansas and North Carolina are hearing plenty about their states\' U.S. Senate races.
In an era of data-driven marketing and money rapidly shifting from old media to the Web, few companies are as favorably situated as Pandora is to take advantage of the transition, particularly when it comes to the advertising dollars that flood U.S. elections. According to consulting firm Borrell Associates, political ad spending this year will reach $8.3 billion, with half of that coming in August, September and October.
Here\'s why Pandora is a treasure trove for politicos: The service had 76.4 million active users listening to 5 billion hours of radio, mostly on mobile devices, in the second quarter. When consumers sign up, they hand over their ZIP code, age and gender. In August, Pandora had more than six times the number of listening sessions as its closest online competitor, iHeartMedia, according to Triton Digital.
As if that weren\'t enticing enough for campaign advertisers, earlier this year Pandora informed political operatives that musical tastes say something about how people vote and provided an added filter for marketers. Country music fans more often live in Republican areas, while those who prefer jazz, reggae and electronic music tend to reside in areas favoring Democrats. Like R&B? Odds are you\'re a Democrat. Leaning slightly the other way are fans of gospel and new-age songs.
Read MorePandora's 'music genome' approach
Candidates are all over it. Sean Duggan, vice president of sales at Oakland, California-based Pandora, said the company is serving ads for about 400 campaigns (individuals and issues) in this election, double the number from the 2012 season, when President Barack Obama and challenger Mitt Romney both advertised on Pandora.
"We have scale and can be really discrete with targeting, with very little waste," said Duggan.
In other words, whereas a traditional radio or TV ad is going to reach a bunch of consumers that won\'t be voting in that particular election, Pandora can provide a great deal of assurance that the people advertisers are paying to reach are relevant to the message.
Florida\'s Republican Gov. Scott is using Pandora in his bid for re-election against Democrat (and former Gov.) Charlie Crist, and Arkansas Republican Rep. Tom Cotton turned to Pandora in an effort to unseat Democrat Mark Pryor in the U.S. Senate race. Connecticut\'s Democratic Gov. Dannell Malloy and North Carolina Democratic Sen. Kay Hagan are spending on Pandora to try to keep their seats.
It all adds up to politics\' representing a growing part of Pandora\'s business. On the July earnings call, Chief Financial Officer Michael Herring cited optimism about campaign spending as one reason the company raised its revenue forecast for the year. In past major elections, spending has been in the "high single digits" in terms of millions of dollars, and this season is "shaping up to be higher than that," Herring said.
Pandora reports third-quarter results on Thursday, and analysts are projecting 32 percent sales growth from a year earlier to $238.5 million, according to a Thomson Reuters survey.
The Campaign Group, a political marketing agency working on about two dozen mid-term races, started advertising on Pandora in 2010 and is now using or actively looking into the service for about one-third of its clients, said Dan Pohlig, the company\'s vice president of digital. Pohlig said he can\'t discuss current clients, but two years ago the firm worked for Missouri Governor Jay Nixon and U.S. Senator Tom Carper from Delaware, both Democrats.
Mobile accounts for 83 percent of Pandora listening, so that\'s where most advertisers are focusing. A typical campaign works like this: After 20 minutes of music, a listener hears a short audio commercial and a banner ad pops up on the user\'s smartphone, asking for an e-mail address, a donation or some other call to action. It\'s a way for candidates to raise money and judge the effectiveness of the ad.
On terrestrial radio, "it\'s difficult to connect a voter\'s action to the media that we\'re putting out there," said Pohlig, who\'s based in Philadelphia. "We want to get votes for our candidates. We appreciate metrics—click-through rates and things like that."
Read MoreMobile ads: Facebook vs. Twitter
The risk for Pandora is that the barrage of political messaging annoys listeners. More than 80 percent of the company\'s sales come from advertising, and about half its revenue gets returned to the music industry to pay for the rights to stream songs. Those royalty rates have kept Pandora from turning an annual profit, but counting on more political ads to try to reverse the losses has apparently turned off some users.
Example: Even though Pandora\'s iPhone app gets a four-star rating out of a possible five, one reviewer had this to say on Oct. 16: "Used to absolutely love this app. I no longer even want to open it though because all the ads are political."
It\'s a calculated bet that Pandora expects to win. With all its data, the company knows how users respond and has the ability to dial down the politics if necessary.
Connell Donatelli, a political advertising firm that works with Republicans across the country, is going after users that listen to a lot of country music or Christian rock, said Eric Frenchman, the agency\'s head of digital strategy.
In 2012, Connell Donatelli used Pandora audio ads for U.S. Rep. Michelle Bachmann\'s re-election campaign in Minnesota. Now the firm is using the service for all its campaigns and often spends more on Pandora than anywhere else, said Frenchman.
"The mobile ads perform very well," Frenchman said. While he spends his fair share of money on Facebook and Twitter ads as well, "I don\'t know who else I would go to for audio targeting," Frenchman said.
Jennifer Nedeau of Bully Pulpit Interactive said another advantage to Pandora is the ability to integrate musicians into the ads.
"It\'s much more powerful to be listening to a certain song and have an artist come up after that song and say, \'Make sure to get out and vote this November,\' " said Nedeau, who\'s based in Washington, D.C.
Bully Pulpit works for Democratic candidates and causes across the country, and represented New York Mayor Bill de Blasio in his campaign last year to succeed Michael Bloomberg. For issues such as a woman\'s right to choose or immigration reform, knowing the type of music someone prefers is a great targeting tool, Nedeau said.
"In terms of how to be effective on Pandora, it comes down to context," she said. "There\'s a lot you can do given that the context is music."
While Pandora is the current go-to, rival services like Spotify (which has been a platform for political advertising in the United Kingdom for years) will likely get deeper into this market. Spotify did not respond to a request for comment.
—By CNBC's Ari Levy.