(CNN) President Donald Trump was not pleased by the marquee closing TV ad his campaign unveiled last week featuring upbeat themes about the economy.

"He hated it," one Republican official said, speaking on condition of anonymity to discuss internal conversations the President had with allies.

Instead, he insisted to aides that his closing argument for the midterm elections would be a hardline anti-immigration message to fire up his core supporters , two Republican officials familiar with the matter tell CNN.

House Republican sources who had been frustrated with the President for a number of reasons this election year very much liked the ad touting the economy because it was a rare appeal to the very suburban female voter they are worried about losing big time -- largely because of the President's polarizing rhetoric.

This mixed messaging is yet another indication of the divide playing out inside Trump's inner circle -- and Republicans at large -- on the eve of the midterm elections. The debate remains whether the message of fear and division over immigration was the best course for the President to take, rather than to talk more about the booming economy as many GOP leaders have implored Trump to do.

Read More