DOŁĄCZ DO GRUPY
BEZPŁATNY AUDYT
SKRYPT PMAX
NEWSLETTER

Zaawansowane Google Ads

5,001 członków

Dołącz do naszej społeczności ekspertów Google Ads i zyskaj dostęp do zaawansowanych strategii, wsparcia specjalistów i inspirujących case studies.

Prywatna grupa - Tylko zatwierdzeni członkowie

Nie jesteś pewny, czy Twoje reklamy działają tak, jak powinny?

Umów się na bezpłatny audyt konta Google Ads

Profesjonalna analiza

Szybki kontakt i konkretne informacje zwrotne.

Analiza efektywności
Weryfikacja Strategii
Praktyczne rekomendacje
Propozycja współpracy

Chcesz lepiej zrozumieć działanie kampanii Performance Max?

PMax Channels Analyzer

Darmowy skrypt dla Google Ads

Analizuj wydatki i konwersje z poszczególnych kanałów w kampaniach Performance Max.

Podział na kanały
Szczegółowe statystyki
Łatwa instalacja
Automatyczne raporty

Zapisz się na newsletter i otrzymuj praktyczne porady oraz narzędzia, które usprawnią twoje konto reklamowe.

Skrypt Google Ads: How Many Ads

Ten Skrypt Google Ads pomoże nam zadbać o dobre praktyki reklamowe.

Jedna z nich dotyczy tego, że warto jest mieć przynajmniej trzy aktywne reklamy w grupie.

Jak wiadomo różni klienci zwracają uwagę na różne rzeczy. Dlatego dobrze jest wyeksponować najważniejsze zalety naszej oferty i opisać ją na kilka sposobów.

Może cena, którą oferujemy, jest bardzo atrakcyjna?
Zapewniamy darmową wysyłkę?
Nasze centrum obsługi klienta jest czynne do późnych godzin?

Warto wspomnieć o tym wszystkim, tworząc zróżnicowane reklamy.

Poniższy skrypt sprawdza aktywne kampanie i liczy włączone reklamy.
Jeśli znajdzie takie, które mają opublikowane mniej niż trzy na grupę, to otrzymamy e-mail z ich lokalizacją.

Harmonogram: raz w tygodniu
Konfiguracja: wprowadź swój e-mail do zmiennej EMAIL


Po więcej na temat Google Ads dla e-commerce zapraszam na moją grupę FB:
https://www.facebook.com/groups/zaawansowane.google.ads


Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
/*
Copyright 2019 Krzysztof Bycina, www.LiveAds.pl
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
//Configuration:
var EMAIL = "ENTER YOUR EMAIL HERE";
//End of the configuration
var badAds = [];
function main() {
validateEmail(EMAIL);
checkAds();
if (badAds[0]) {
sendEmails();
}
}
function checkAds() {
var adGroups = AdWordsApp.adGroups()
.forDateRange("LAST_30_DAYS")
.withCondition('Status = ENABLED')
.withCondition("CampaignStatus = ENABLED")
.get();
Logger.log(adGroups.totalNumEntities());
while (adGroups.hasNext()) {
var adGroup = adGroups.next();
var ads = adGroup.ads()
.forDateRange("LAST_30_DAYS")
.withCondition('Status = ENABLED')
.get();
if (ads.totalNumEntities() < 3) {
badAds.push(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.');
// Logger.log(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.');
}
}
}
function validateEmail(email) {
var key = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
if (key.test(email) === false) {
throw new Error('You must eneter a valid email address to run the script!');
}
}
function sendEmails() {
MailApp.sendEmail(EMAIL,
"You have ad groups with less than 3 active ads.",
'Hi, \n\nPlease, check those campaigns: \n\n' + badAds.join("\n"));
}
/* Copyright 2019 Krzysztof Bycina, www.LiveAds.pl Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ //Configuration: var EMAIL = "ENTER YOUR EMAIL HERE"; //End of the configuration var badAds = []; function main() { validateEmail(EMAIL); checkAds(); if (badAds[0]) { sendEmails(); } } function checkAds() { var adGroups = AdWordsApp.adGroups() .forDateRange("LAST_30_DAYS") .withCondition('Status = ENABLED') .withCondition("CampaignStatus = ENABLED") .get(); Logger.log(adGroups.totalNumEntities()); while (adGroups.hasNext()) { var adGroup = adGroups.next(); var ads = adGroup.ads() .forDateRange("LAST_30_DAYS") .withCondition('Status = ENABLED') .get(); if (ads.totalNumEntities() < 3) { badAds.push(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.'); // Logger.log(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.'); } } } function validateEmail(email) { var key = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; if (key.test(email) === false) { throw new Error('You must eneter a valid email address to run the script!'); } } function sendEmails() { MailApp.sendEmail(EMAIL, "You have ad groups with less than 3 active ads.", 'Hi, \n\nPlease, check those campaigns: \n\n' + badAds.join("\n")); }
/*
Copyright 2019 Krzysztof Bycina, www.LiveAds.pl
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

//Configuration:
var EMAIL = "ENTER YOUR EMAIL HERE";

//End of the configuration

var badAds = [];

function main() {
    validateEmail(EMAIL);
    checkAds();
    if (badAds[0]) {
        sendEmails();
    }
}

function checkAds() {
    var adGroups = AdWordsApp.adGroups()
        .forDateRange("LAST_30_DAYS")
        .withCondition('Status = ENABLED')
        .withCondition("CampaignStatus = ENABLED")
        .get();
  Logger.log(adGroups.totalNumEntities());
    while (adGroups.hasNext()) {
        var adGroup = adGroups.next();
        var ads = adGroup.ads()
            .forDateRange("LAST_30_DAYS")
            .withCondition('Status = ENABLED')
            .get();
        if (ads.totalNumEntities() < 3) {
            badAds.push(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.');
      //    Logger.log(adGroup.getCampaign().getName() + "\\" + adGroup.getName() + ' has less than 3 active ads.');
        }
    }
}

function validateEmail(email) {
    var key = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
    if (key.test(email) === false) {
        throw new Error('You must eneter a valid email address to run the script!');
    }
}

function sendEmails() {
    MailApp.sendEmail(EMAIL,
        "You have ad groups with less than 3 active ads.",
        'Hi, \n\nPlease, check those campaigns: \n\n' + badAds.join("\n"));
}

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są oznaczone *