Skip to content

Instantly share code, notes, and snippets.

@vhsu
Last active April 9, 2018 21:15
Show Gist options
  • Save vhsu/05be78bd1f4e445d82b1 to your computer and use it in GitHub Desktop.
Save vhsu/05be78bd1f4e445d82b1 to your computer and use it in GitHub Desktop.
Adwords Script - Get Current Adwords Cost for today
// Author : Vincent Hsu twitter.com/suisseo
// This function returns the total cost for today
function getTodayTotalCost(){
var totalcost = AdWordsApp.currentAccount().getStatsFor("TODAY").getCost();
}
return totalcost;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment