RcBuilder@walla.com
call centre: 054-5614020

Adwords scripts – demo script

Posted by: RcBuilder  /   Category: Adwords Scripts / CHARTS / EMAIL / ENTITIES / JAVASCRIPT / REPORTS / SELECTORS & ITERATORS / SEM / STATISTICS   /   No Comments
08
Jun
2014

Create Chart based on the TOP 10 Most Expensive Keywords data and send via email var EMAIL = 'rcbuilder@walla.com'; function main() { var data = Charts.newDataTable() .addColumn(Charts.ColumnType.STRING, 'Name') .addColumn(Charts.ColumnType.NUMBER, 'Cost') .addColumn(Charts.ColumnType.NUMBER, 'Impressions') .addColumn(Charts.ColumnType.NUMBER, 'Clicks'); var date_range = 'ALL_TIME'; var chart_Title = 'TOP 10 Most Expensive Keywords'; var keywords = AdWordsApp.keywords().orderBy('Cost DESC').forDateRange(date_range).withLimit(10).get(); while (keywords.hasNext()) { var keyword = keywords.next(); var stat = keyword.getStatsFor(date_range); data.addRow(); //Logger.log(keyword.getText() + ',' + stat.getCost() + ','.

Read more

Adwords scripts Examples

Posted by: RcBuilder  /   Category: Adwords Scripts / CHARTS / DriveApp / EMAIL / ENTITIES / JAVASCRIPT / REPORTS / SELECTORS & ITERATORS / SEM / SPREADSHEET / STATISTICS / UTILITIES / XML DOCUMENT   /   No Comments
08
Jun
2014

Adwords scripts Examples // get campaigns by ids + print their name and id var campaigns = AdWordsApp.campaigns().withIds().get(); while (campaigns.hasNext()) { var campaign = campaigns.next(); Logger.log(campaign.getId() + ' ' + campaign.getName()); } -------------------- // Get each campaign’s cost and clicks last month var campaigns = AdWordsApp.campaigns().forDateRange("LAST_MONTH").get(); while (campaigns.hasNext()) { var campaign = campaigns.next(); Logger.log(campaign.getName()); var stats = campaign.getStatsFor("LAST_MONTH"); Logger.log("cost " + stats.getCost() + " | clicks " + stats.getClicks()); } -------------------- //.

Read more

Adwords scripts STATISTICS

Posted by: RcBuilder  /   Category: Adwords Scripts / JAVASCRIPT / SEM / STATISTICS   /   1 Comment
07
Jun
2014

Adwords scripts STATISTICS * use .getStatsFor() method to get statistics on the specified object * supported entites : Campaign, AdGroup, Ad, Keyword, AdSchedule, Platform, TargetedLocation, TargetedProximity, Budget * return AdWordsApp.Stats object (see 'STATS object') getStatsFor * AdWordsApp.Stats getStatsFor(); * parameters : string (see 'DATE RANGE') * AdWordsApp.Stats getStatsFor(, ); * parameters : string (YYYYMMDD) string (YYYYMMDD) * notice! see 'dateFormat' custom function STATS object * double.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים