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
| /** | |
| * | |
| * AdWords Script for checking the contents of landing pages. | |
| * Goes to the final URL of keywords or ads, then searches the source code for | |
| * user defined strings. | |
| * | |
| * Version: 1.0 | |
| * Google AdWords Script maintained by brainlabsdigital.com | |
| * | |
| **/ |
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
| /** | |
| * | |
| * Pause Losing Ads & Ad Rotate Analysis | |
| * | |
| * This script finds the best ad in each ad group (subject to thresholds) and | |
| * calculates the performance you could have got if the impressions that went to | |
| * losing ads went to the winning ads instead. | |
| * Labels the winning and losing ads, and (optionally) pauses the losers. | |
| * | |
| * Version: 2.0 |
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
| /** | |
| * | |
| * Low Quality Score Alert | |
| * | |
| * This script finds the low QS keywords (determined by a user defined threshold) | |
| * and sends an email listing them. Optionally it also labels and/or pauses the | |
| * keywords. | |
| * | |
| * Version: 1.0 | |
| * Google AdWords Script maintained on brainlabsdigital.com |
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
| /** | |
| * | |
| * Expanding Phrase Match Negatives | |
| * | |
| * This script searches for all occurrences of phrase match negatives in search | |
| * queries resulting from typos. Outputs a report to a Google Doc spreadsheet. | |
| * | |
| * Version: 1.0 | |
| * Google AdWords Script maintained on brainlabsdigital.com | |
| * |
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
| /** | |
| * | |
| * Change in Campaign Spending Alert | |
| * | |
| * This script uses the current hour to calculate how much has been spent on | |
| * individual campaigns on the day of running. The average spend up to the | |
| * current hour in a specified numbers of days previously is averaged. If the | |
| * spend today is higher by a specified percentage threshold an alert email | |
| * is sent. | |
| * |
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
| /** | |
| * | |
| * Make Exact Match Exact | |
| * | |
| * Adds negatives for any search query that doesn't actually exactly match an exact | |
| * match keyword. | |
| * | |
| * Version: 2.0 | |
| * Google AdWords Script maintained on brainlabsdigital.com | |
| * |
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
| require 'net/http' | |
| require 'uri' | |
| #1: Simple POST | |
| res = Net::HTTP.post_form(URI.parse('http://www.example.com/search.cgi'), | |
| {'q' => 'ruby', 'max' => '50'}) | |
| puts res.body | |
| #2: POST with basic authentication | |
| res = Net::HTTP.post_form(URI.parse('http://jack:pass@www.example.com/todo.cgi'), |
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
| # This task will notify Sentry via their API[1] that you have deployed | |
| # a new release. It uses the release timestamp as the `version` | |
| # (like 20151113182847) and the git ref as the optional `ref` value. | |
| # | |
| # This task requires several environment variables be set (or just | |
| # hardcode the values in here if you like living on the edge): | |
| # | |
| # ENV['SENTRY_API_ENDPOINT'] : API endpoint, https://app.getsentry.com | |
| # ENV['SENTRY_ORG'] : the organization for this app | |
| # ENV['SENTRY_PROJECT'] : the project for this app |
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
| # This task will notify Sentry via their API[1] that you have deployed | |
| # a new release. It uses the release timestamp as the `version` | |
| # (like 20151113182847) and the git ref as the optional `ref` value. | |
| # | |
| # This task requires several environment variables be set (or just | |
| # hardcode the values in here if you like living on the edge): | |
| # | |
| # ENV['SENTRY_API_ENDPOINT'] : API endpoint, https://app.getsentry.com | |
| # ENV['SENTRY_ORG'] : the organization for this app | |
| # ENV['SENTRY_PROJECT'] : the project for this app |
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
| // This is a manifest file that'll be compiled into application.js, which will include all the files | |
| // listed below. | |
| // | |
| // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
| // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | |
| // | |
| // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
| // the compiled file. | |
| // | |
| // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |