EXCLUSIVE: The Trump campaign is taking over the YouTube masthead for 24 hours beginning at midnight, Fox News has learned, featuring the video of President Trump as he was departing the White House for Walter Reed Military Medical Center to be treated for COVID-19.

A senior Trump campaign official told Fox News that the masthead was a seven-figure buy, and described it as “the most valuable piece of real estate on the internet.”

TRUMP CAMPAIGN KEEPING AT 'FULL SPEED' WITH LAUNCH OF 'OPERATION MAGA,' AS TRUMP FIGHTS COVID-19

YouTube sells the masthead for 24-hour increments, meaning the Trump campaign will control it for the entirety of Sunday, the official said.

YouTube users, when visiting the home page, will see the video the president tweeted on Friday evening from the White House, ahead of being transferred to Walter Reed Military Medical Center to be treated for the novel coronavirus.

“I want to thank everybody for the tremendous support,” Trump said in the video. “I am going to Walter Reed Hospital.”

“I think I’m doing very well, but we’re going to make sure that things work out,” Trump said. “The first lady is doing very well.”

He added: “So thank you very much. I appreciate it. I will never forget. Thank you.”

The official told Fox News that this is not the first time that the campaign has purchased the masthead, noting that during the week of the Democratic National Convention in August, they purchased the masthead for four consecutive days—96 hours; and also did four more days during the Republican National Convention.

“President Trump has spent every day for the last three-and-a-half years fighting for the American people, and now he’s taking the coronavirus head-on,” Trump campaign communications director Tim Murtaugh told Fox News. “He’s in good spirits, feels good, and is still doing the business of the country.”

Murtaugh added: “The President built the world’s best economy once and is already doing it a second time, and never stops working to make America great again.”

The masthead buy comes after the Trump campaign launched their “Operation MAGA,” which includes events featuring Vice President Pence and members of the Trump family in key battleground states across the country as the president fights COVID-19.

Trump campaign manager Bill Stepien, who also tested positive for coronavirus on Friday, is working remotely, but is not slowing down, according to a senior campaign official.

“Bill is working remotely, but absolutely remains in total control of the campaign,” the official told Fox News, adding that Stepien’s longtime ally deputy campaign manager Justin Clark remains at campaign headquarters.

TRUMP DELIVERS VIDEO MESSAGE SAYING HE THINKS HE IS DOING 'VERY WELL,' AFTER TESTING POSITIVE FOR CORONAVIRUS

“Operation MAGA will fire up the entire MAGA universe to keep President Trump’s campaign at full speed until our Commander-in-Chief returns to the campaign trail,” Stepien told Fox News. “Vice President Mike Pence, the First Family, our coalitions, and our grassroots supporters will be out in full force to show the real enthusiasm behind the President’s re-election and to show we’re working as hard as he always does.”

“Operation MAGA” is set to begin with virtual events, featuring key Trump surrogates, leading up to the vice presidential debate between Pence and Biden running mate Sen. Kamala Harris, D-Calif., which is set to take place Wednesday, Oct. 7, in Salt Lake City, Utah.

After the debate, “Operation MAGA” is set to shift back to in-person events, beginning with Pence’s travel to Arizona.

“While he is on the road, the vice president will stop in Indiana so that he can vote early in his home state,” a campaign official said. “He will then continue on to other events in key states which we have yet to announce.”

“Operation MAGA” is also set to include events featuring the president’s children – Donald Trump Jr. and Eric Trump and his wife, Lara Trump.

The campaign will also host events with coalitions in key states, including, but not limited to “Women for Trump,” “Black Voices for Trump” and “Latinos for Trump,” the official said.

A campaign official told Fox News that at these events the campaign plans to continue taking “every precaution for the health and safety of participants and attendees.” The official told Fox News that the campaign has taken “great care” to ensure that attendees of the events are “safe,” noting that at each campaign event there are temperature checks, and that staff hand out face masks and hand sanitizer.

Stepien told Fox News that they "also encourage all of the President’s supporters to pick up the banner themselves by volunteering in our grassroots Army for Trump, flying their Trump flags, putting out more yard signs, and wearing their MAGA gear proudly.”

The effort comes as the president is receiving treatment for the novel coronavirus at Walter Reed National Military Medical Center. On Saturday afternoon, the president said he is “feeling well.”

"I came here, wasn't feeling so well. I feel much better now. We're working hard to get me all the way back. I have to be back, because we still have to make America great again. We've done an awfully good job of that, but we still have steps to go and we have to have to finish that job," he said in a tweeted video Saturday.

Trump entered Walter Reed on Friday, where he intended to continue his day-to-day work after testing positive for the coronavirus.

"I had no choice because I just didn't want to stay in the White House. I was given that alternative -- stay in the White House, lock yourself in, don't ever leave, don't even go to the Oval Office, just stay upstairs and enjoy it," he said.

"Don't see people, don't talk to people, and just be done with it -- and I can't do that. I had to be out front, and this is America, this is the United States. This is the greatest country in the world, this is the most powerful country in the world, I can't be locked up in a room upstairs and totally safe and just say, hey, whatever happens happens, I can't do that."