Last active
April 9, 2018 21:15
-
-
Save vhsu/05be78bd1f4e445d82b1 to your computer and use it in GitHub Desktop.
Adwords Script - Get Current Adwords Cost for today
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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