On Wednesday, 1 million owners of Samsung's Galaxy phone will get to download rap star Jay-Z's latest album three days before its official release. The giveaway is part of one the highest-profile album and phone promotions ever orchestrated. And in an age when album sales are flat and tech companies want to look cool, we're likely to see more deals like this.

The Jay-Z/Samsung campaign had a high profile launch: In case you missed it, a three-minute commercial — a pseudo-verite look at Jay-Z in the studio — aired during Game 5 of the NBA finals. Producers he's worked with before to great success, like Timbaland, Pharrell and Swizz Beatz, appear. It also features Rick Rubin, who says he isn't actually producing the album.

At the end of the ad a web site, MagnaCartaHolyGrail.com, appears, and the name of a phone — Samsung Galaxy — comes up, all in white type on a black background. The night the ad aired, visitors to the Web site read that Jay-Z's new album would be called Magna Carta Holy Grail and that 1 million copies of it would be given away through an app that only works on the Samsung phones Galaxy S 4, Galaxy S III and Galaxy Note II.

If some of this sounds familiar, that's because it is. Back in November of 2003, Jay-Z released The Black Album, which was touted as his last album before retiring. Six weeks later, Nokia sold a special edition of one of its phones pre-loaded with the album. And in November of 2004, Jay-Z released a documentary about the making of The Black Album and his retirement concert, called Fade to Black, that looks quite a bit like the ads he's released in his current campaign. This time around, Jay's reversed the order.

In 2013, Samsung spent $5 million purchasing 1 million copies of Magna Carta Holy Grail to give away to its Galaxy phone users. Ben Weiner, CEO of the ad agency WDCW, estimates Samsung spent another $15 million or so on the campaign that he thinks is the highlight of a turnaround.

"I think if you said five years ago that Samsung would be rivaling Apple and stealing market share and emerging as the most culturally connected and relevant brand of recent years," says Weiner, "people would have laughed at you."

They're not laughing now. Over 11 million people were watching the game and some 23 million have watched the ad on YouTube. The entrepreneur and rapper Master P, who was one of the pioneers of transforming himself and his label into a brand, said on a recent addition of MTV's RapFix Live, "To be honest with you, I think it's genius."

Over the last decade, it's gotten harder to sell albums — the record industry has shrunk by half. Hooking your name to a big corporate brand can help. Last year Taylor Swift made a deal with Papa John's Pizza — you could get her new CD delivered along with your pie. Jim Donio of NARM, the music business association, says the campaign worked even if you weren't in the market for her album.

"Taylor Swift's face was on the pizza box," he says. "So that marketing to you was still happening if you didn't know the album was out."

"What they're trying to get is cool points," says Eli Altman, who's with the branding firm A Hundred Monkeys. He isn't convinced that Samsung is really going to get all the cool points it wants. "They're inserting themselves as a middle man between a ton of people who want a new Jay-Z album and the actual product."

Altman says chances are good that after the first few Samsung Galaxy owners download the app and open the album someone will put it up online for free anyway. And celebrity endorsements don't necessarily sell phones. Alicia Keys signed up as the spokesperson for Blackberry and so far that hasn't sold that many phones for the company.

Ad executive Ben Weiner says when people download Samsung's app it can become an ongoing way to market to its customers. "They can be a vehicle for all sorts of content for the future that can solidify a relationship between Samsung and these consumers." But Weiner says if Samsung wants to sell phones, the technology better be good, and if Jay-Z wants to sell albums, Magna Carta Holy Grail better be good.

"I think you have to be a better artist to pull this off," Weiner says. "The degree to which you can potentially alienate your audience by releasing a less-than-great album — you're asking people to download an app and to, essentially, be marketed to to get your content for free. And I think there'll be people looking to knock Jay off his pedestal and say he doesn't have it anymore."

Weiner says if Jay-Z's album does well, his pedestal will get higher, and when it comes to future deals, so will his price.

Copyright 2017 NPR. To see more, visit http://www.npr.org/.

RENEE MONTAGNE, HOST:

One million owners of Samsung's Galaxy phones tomorrow will get to download rap star Jay-Z's latest album, three days before its official release. It's part of one of the highest profile albums and phone promotions ever.

And as NPR's Laura Sydell reports, we're likely to see many more marketing deals like this one in the future.

LAURA SYDELL, BYLINE: The Jay-Z/Samsung campaign had a high profile launch.

(SOUNDBITE OF AN ADVERTISEMENT)

JAY-Z: What is that? What the hell is that? Oh, man. That was fresh but what?

(LAUGHTER)

SYDELL: That is Jay-Z. In case you missed it, this three-minute ad is a pseudo verite look at Jay-Z in the studio. It aired during Game 5 of the NBA finals. It also featured the famous producer Rick Rubin who recently said he isn't actually producing the album.

(SOUNDBITE OF A VIDEO)

RICK RUBIN: The idea is to really finish the album and drop it.

JAY-Z: Great. Beautiful.

SYDELL: At the end of the ad, a website, MagnaCartaHolyGrail.com and the name of the phone, Samsung Galaxy, come up, white type on black background. Website visitors leaned that Jay-Z's new album "Magna Carta Holy Grail" will become available to the first million Samsung Galaxy users to download an app by July 4th, three days before its release.

Samsung spent $5 million purchasing those one million copies of Jay-Z's album. Ben Wiener, CEO of the ad agency WDCW, estimates Samsung spent another $15 million or so on the campaign. He thinks it's the highlight of a turnaround.

BEN WIENER: I think if you said, five years ago, that Samsung would be rivaling Apple and stealing market share and emerging as, you know, the most culturally connected and relevant brand of recent years, people would have laughed at you.

SYDELL: They're not laughing now. Over 11 million people were watching the game and some 23 million watched the Jay-Z ad on YouTube. And there are a lot of other hip-hop artists who think Jay-Z made a smart move.

Take someone like Master P, he pioneered turning himself and his label into a brand. On a recent edition of MTV's "RapFix Live," he had this to say.

MASTER P: To be honest with you, I think it's genius because to partner up with a technology company, you know, I'm working on mine's right now. Hopefully, Verizon call me real soon. My next record, I'm going to drop it through them and do it at a football game or something, you know, what I'm saying?

(LAUGHTER)

SYDELL: Over the last decade, it's gotten a lot harder to sell albums - the record industry has shrunk by half. Hooking your name to a big corporate brand can help. Last year, Taylor Swift made a deal with Papa John's Pizza - you could get her new CD delivered along with your pie.

Jim Donio of NARM, the music business association, says even if you didn't get the CD...

JIM DONIO: Taylor Swift's face was on the pizza box so that marketing to you was still happening if you didn't know that the album was out.

(SOUNDBITE OF SONG, "DIAMONDS FROM SIERRA LEONE")

JAY-Z: (Rapping) I'm guessing I could sell CDs. I'm not a businessman. I'm a business man.

SYDELL: And like Jay-Z once sung, he's not just a businessman, he's a business man. And Jay-Z is getting a lot of promotion out of his deal with Samsung, along with those millions of dollars. And Samsung?

ELI ALTMAN: What they're trying to get is cool points.

SYDELL: Eli Altman is with the branding firm A Hundred Monkeys. He's not convinced that Samsung is really going to get all the cool points it wants.

ALTMAN: They're inserting themselves as a middle man between a ton of people who want a new Jay-Z album and the actual product.

SYDELL: Altman says chances are good that after the first few Samsung Galaxy owners download the app and open the album, someone will put it up online for free. And celebrity endorsements, well, they don't necessarily sell phones.

Alicia Keys signed up as the spokesperson for BlackBerry, and so far, that hasn't done much for the company's tepid sales.

But, ad executive Ben Wiener says when people download Samsung's app, it can be used in an ongoing way to market to its customers.

WIENER: They can be a vehicle for all sorts of content for the future that can solidify a relationship between Samsung and these consumers.

SYDELL: In the end, Wiener says if Samsung wants to sell phones, the technology better be good. And if Jay-Z wants to sell albums, the music better be good.

WIENER: I think you have to be a better artist to pull this off, because I think the degree to which you can potentially alienate your audience by releasing a less than great album, you know, you're asking people to download an app and to essentially be marketed to, to get your content for free, and I think they'll be people looking to knock Jay-Z off of his pedestal and say that, you know, he doesn't have it anymore.

SYDELL: Wiener says if Jay-Z's album does well, his pedestal will get higher; and when it comes to future deals, so will his price.