Use an Ad Spend Calculator, Social Media Revenue Calculator, or Social Media ROI Calculator for this purpose! These help you measure results from campaigns run on Google advertising or Facebook ads-based platforms among others.