Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block g-ads-org

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View advanced-google-ads-budgets.js
function main() {
var accountBudgetLimit = 80; // set your account budget limit here
var accountCampaignsCost = 0;
var Campaign_List = "['Women Sport Shoes', 'Men Sport Shoes']";
var Email_Address = "";
var campaigns = AdWordsApp.campaigns()
.withCondition("Name IN " + Campaign_List)
while (campaigns.hasNext()) {
View Search-campaign-general-budget.js
function main() {
var costReport ="Select Cost from ACCOUNT_PERFORMANCE_REPORT");
var reportRow = costReport.rows().next();
var totalCost = reportRow["Cost"].replace(',', '');
if (totalCost > 1000) {
var campaignIterator = AdWordsApp.campaigns().withCondition("Status = ENABLED").get();
while (campaignIterator.hasNext()) {
var campaign =;
View iran-phone-number-call-extension.js
function main() {
// Create a phone number builder.
var phoneNumberBuilder = AdsApp.extensions().newPhoneNumberBuilder();
// Create a phone number operation.
var phoneNumberOperation = phoneNumberBuilder
.withCountry("IR") // required
.withPhoneNumber("02188888888") // required
.withMobilePreferred(true) // optional
You can’t perform that action at this time.