Mobile Page Speed Insights - Please change the default configuration values and retry

37 views
Skip to first unread message

Julia Ziegler

unread,
Jun 14, 2018, 3:38:32 PM6/14/18
to AdWords Scripts Forum
Hallo, 

ich habe versucht, das Script für Mobile Page Speed Insights für unser Verwaltungskonto einzurichten. Leider bekomme ich aber immer die Fehlermeldung "Please change the default configuration values and retry"
Woran liegt das?

Ich habe wie in der Anleitung beschrieben den API Key erhalten & eingefügt, und auch die E-Mail-Adressen habe ich eingefügt.
Außerdem habe ich das Spreadsheet Template kopiert & die URL der Kopie eingefügt.

Wenn ich ganz oben beim Quellcode "function main () {" stehen lasse & dann den Code einfüge, dass erscheint die Meldung "Kein Logger-Ausgang" in der Vorschau unter den Protokollen. 
Wenn ich "function main (){" entferne, erscheint die Meldung "Please change the default configuration values and retry".

Wie bereits erwähnt habe ich alle möglichen Dinge ausprobiert, um das Script zu aktivieren, aber es funktioniert nicht.
Wie kann ich das ändern?

Danke & liebe Grüße,
Julia

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 14, 2018, 10:56:29 PM6/14/18
to AdWords Scripts Forum
Hello Julia,

Apologies that I can only provide support in English.

Could you confirm if you updated defaultsChanged function (line 380 - 388) of the PageSpeed Insights: Mobile Analysis - Manager Account solution script which does not need to be updated? They are used to validate API key, spreadsheet URL and email addresses you provided in the config variable at the top of the script. If you updated the function, please modify the function to the original one and try to test again. If you did not update the function, could you provide your CID, script name, and spreadsheet access via Reply privately to author so I could further investigate?

Regards,
Hiroyuki
AdWords Scripts Team

Julia Ziegler | Online Birds

unread,
Jun 15, 2018, 3:04:19 AM6/15/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Hi Hiroyuki,

 

Yes, I also edited the defaultsChanged function.

I again modified the function to the original one and tested it again. Now the script says „No Logger-Exit“.

What’s the matter now?

 

If you would like to check it, here’s the requested information:

  1. CID:                Online Birds Hotel Marketing Solutions (664-571-5606).
  2. script name:    MobilePageSpeed Checker – MCC
  3. spreadsheet: https://docs.google.com/spreadsheets/d/1SKLXUiorvgs2VuPKX7NGvcL68pv3xEqD7ZcqsEwla4M/edit#gid=1858938461

 

 

Best regards,

Julia Ziegler

Online Marketing Manager
SEA

Standort München - Zentrale

Telefon +49 (0)89 5 20 31 05 25
j.zi...@online-birds.com
www.online-birds.com

http://content.online-birds.com/intern/email-design/ob-logo.jpg

Online Birds
Hotel Marketing Solutions
Standort München – Zentrale | Nymphenburger Straße 12 | 80335 München |
Telefon +49 (0)89 5 20 31 05 25 | Fax +49 (0)89 5 20 31 05 20
Standort Berlin | Mommsenstr. 61 | 10629 Berlin |
Telefon: +49 (0)30 3 46 55 79 35

 

http://content.online-birds.com/intern/email-design/facebook.jpg

http://content.online-birds.com/intern/email-design/xing.jpg

http://content.online-birds.com/intern/email-design/google+.jpg

http://content.online-birds.com/intern/email-design/linkedin.jpg

http://content.online-birds.com/intern/email-design/iha.png

http://content.online-birds.com/intern/email-design/itb-banner.jpg

 

ONLINE BIRDS GmbH & Co. KG · Sitz: München · Amtsgericht München · HRA 99459 · Geschäftsführer: André Meier
Nymphenburger Straße 12 · 80335 München · T +49 (0)89 5 20 31 05-25 · F +49 (0)89 5 20 31 05-20 · in...@online-birds.com · www.online-birds.com
Stadtsparkasse München · IBAN: DE39 7015 0000 1002 4229 78 · BIC-/SWIFT-Code: SSKMDEMMXXX · UStID: DE285049397 · Persönlich haftende Gesellschafterin:
Online Birds Beteiligungs GmbH · Sitz München · Amtsgericht München · HRB 200292 · Geschäftsführer: André Meier


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

--
-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-scripts/458b45a9-18ee-47f8-9de3-a2e1a7a0bac4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 15, 2018, 4:02:09 AM6/15/18
to AdWords Scripts Forum
Hello Julia,

I have checked the script and the spreadsheet you provided and I found that the spreadsheet you are using is the original template. This said, you would need to make a copy (File --> Make a Copy...) and replace the spreadsheet URL to the copied spreadsheet URL in the script which is at line 65.

Please let me know how it goes after trying the suggestion.

Julia Ziegler | Online Birds

unread,
Jun 15, 2018, 4:15:25 AM6/15/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Hi Hiroyuki,

 

I already replaced the spreadsheet template. It still says “No Logger-Exit”.

The new spreadsheet link is: https://docs.google.com/spreadsheets/d/1y5lLeVPVjVuMXCPJhLJ69w8FKuwQvrdRz8fcCj5NEi0/edit#gid=1858938461

 

 

Best regards,

Julia  

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 15, 2018, 5:08:17 AM6/15/18
to AdWords Scripts Forum
Hello Julia,

Upon checking the script history on your account, the execution of the script named "MobilePageSpeed Checker – MCC" has been finished successfully. However, since you have 154 accounts under your MCC account, the report will be produced after running the script 4 times. As you can see in How it works section in this guide, the script will run on a maximum of 50 accounts per run in order to avoid execution limits and once all are completed, a report will be produced.

Please let me know how it goes after running the script 4 times.

Julia Ziegler | Online Birds

unread,
Jun 15, 2018, 7:37:56 AM6/15/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Hi Hiroyuki,

 

Now the script ran through 4 times, but I didn’t get a report by email.

When I look at the script history under results it says “no changes”.

 

Best regards,

Julia Ziegler

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 17, 2018, 10:45:29 PM6/17/18
to AdWords Scripts Forum
Hello Julia,

Since the script does not update any data on your account, the result "No changes" in the script history should be fine. Could you confirm if the spreadsheet has been updated with the results? Also, please make sure that line 51 is with the format as seen in the sample code snippet below.

var EMAIL_RECIPIENTS = ['INSERT_YOUR_EMAIL_ADDRESS', 'INSERT_YOUR_EMAIL_ADDRESS', 'INSERT_YOUR_EMAIL_ADDRESS', 'INSERT_YOUR_EMAIL_ADDRESS'];

Please let me know how it goes after trying the suggestion.

Julia Ziegler | Online Birds

unread,
Jun 18, 2018, 2:54:52 AM6/18/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Good Morning Hiroyuki,

 

since Friday the spreadsheet has not been updated. (https://docs.google.com/spreadsheets/d/1y5lLeVPVjVuMXCPJhLJ69w8FKuwQvrdRz8fcCj5NEi0/edit#gid=1858938461)

I now changed the script in line 51 as you said, and I will update you as soon as I received an e-mail.

 

 

Best regards

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Julia Ziegler | Online Birds

unread,
Jun 19, 2018, 2:43:38 AM6/19/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Good Morning Hiroyuki,

 

I still haven’t got any E-mail from Google and the spreadsheet has not been updated yet. Can you suggest any ideas, why the script is still not working?

Gesendet: Montag, 18. Juni 2018 04:45

An: AdWords Scripts Forum <adwords...@googlegroups.com>
Betreff: Re: Mobile Page Speed Insights - Please change the default configuration values and retry

 

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 19, 2018, 4:08:30 AM6/19/18
to AdWords Scripts Forum
Hello Julia,

Could you confirm if there is a file named "PageSpeed Temporary File: Online Birds Hotel Marketing Solutions" in your Google drive? If yes, could you please delete the file and test the script again? It is the possible reason that the script does not update the spreadsheet and send the result via email. The temporary file should be deleted after sending the result. However, the email address format in your script was invalid previously, so there is a possibility that the temporary file is still remaining in your Google drive because of the failure of sending the result.

Julia Ziegler | Online Birds

unread,
Jun 19, 2018, 4:33:37 AM6/19/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Hello Hiroyuki,

 

I just deleted the temporary file, thank you for that suggestion.

 

Best regards,

Julia Ziegler

Online Marketing Manager
SEA

Standort München - Zentrale

Telefon +49 (0)89 5 20 31 05 25
j.zi...@online-birds.com
www.online-birds.com

http://content.online-birds.com/intern/email-design/ob-logo.jpg

Online Birds
Hotel Marketing Solutions

Standort München – Zentrale | Nymphenburger Straße 12 | 80335 München |
Telefon +49 (0)89 5 20 31 05 25 | Fax +49 (0)89 5 20 31 05 20
Standort Berlin | Mommsenstr. 61 | 10629 Berlin |
Telefon: +49 (0)30 3 46 55 79 35

 

http://content.online-birds.com/intern/email-design/facebook.jpg

http://content.online-birds.com/intern/email-design/xing.jpg

http://content.online-birds.com/intern/email-design/google+.jpg

http://content.online-birds.com/intern/email-design/linkedin.jpg

http://content.online-birds.com/intern/email-design/iha.png

http://content.online-birds.com/intern/email-design/itb-banner.jpg

 

ONLINE BIRDS GmbH & Co. KG · Sitz: München · Amtsgericht München · HRA 99459 · Geschäftsführer: André Meier
Nymphenburger Straße 12 · 80335 München · T +49 (0)89 5 20 31 05-25 · F +49 (0)89 5 20 31 05-20 · in...@online-birds.com · www.online-birds.com
Stadtsparkasse München · IBAN: DE39 7015 0000 1002 4229 78 · BIC-/SWIFT-Code: SSKMDEMMXXX · UStID: DE285049397 · Persönlich haftende Gesellschafterin:
Online Birds Beteiligungs GmbH · Sitz München · Amtsgericht München · HRB 200292 · Geschäftsführer: André Meier


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

                      

 

Von: Hiroyuki Miyauchi (AdWords Scripts Team) via AdWords Scripts Forum <adwords-scripts+APn2wQfnD0zes0cm...@googlegroups.com>
Gesendet: Dienstag, 19. Juni 2018 10:08
An: AdWords Scripts Forum <adwords...@googlegroups.com>
Betreff: Re: Mobile Page Speed Insights - Please change the default configuration values and retry

 

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Julia Ziegler | Online Birds

unread,
Jun 25, 2018, 3:03:03 AM6/25/18
to AdWords Scripts Forum on behalf of Hiroyuki Miyauchi (AdWords Scripts Team)

Hello Hiroyuki,

 

thank you for your suggestions, the AdWords script is working now. Still, I got one more question: Is there any possibility to get the results by e-mail only once a week?

I do get the e-mails more than 5 times a day, even if nothing in the results has changed.

 

 

Best regards,

Julia Ziegler

Online Marketing Manager
SEA

Standort München - Zentrale

Telefon +49 (0)89 5 20 31 05 25
j.zi...@online-birds.com
www.online-birds.com

http://content.online-birds.com/intern/email-design/ob-logo.jpg

Online Birds
Hotel Marketing Solutions

Standort München – Zentrale | Nymphenburger Straße 12 | 80335 München |
Telefon +49 (0)89 5 20 31 05 25 | Fax +49 (0)89 5 20 31 05 20
Standort Berlin | Mommsenstr. 61 | 10629 Berlin |
Telefon: +49 (0)30 3 46 55 79 35

 

http://content.online-birds.com/intern/email-design/facebook.jpg

http://content.online-birds.com/intern/email-design/xing.jpg

http://content.online-birds.com/intern/email-design/google+.jpg

http://content.online-birds.com/intern/email-design/linkedin.jpg

http://content.online-birds.com/intern/email-design/iha.png

http://content.online-birds.com/intern/email-design/itb-banner.jpg

 

ONLINE BIRDS GmbH & Co. KG · Sitz: München · Amtsgericht München · HRA 99459 · Geschäftsführer: André Meier
Nymphenburger Straße 12 · 80335 München · T +49 (0)89 5 20 31 05-25 · F +49 (0)89 5 20 31 05-20 · in...@online-birds.com · www.online-birds.com
Stadtsparkasse München · IBAN: DE39 7015 0000 1002 4229 78 · BIC-/SWIFT-Code: SSKMDEMMXXX · UStID: DE285049397 · Persönlich haftende Gesellschafterin:
Online Birds Beteiligungs GmbH · Sitz München · Amtsgericht München · HRB 200292 · Geschäftsführer: André Meier


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

                      

 

Von: Hiroyuki Miyauchi (AdWords Scripts Team) via AdWords Scripts Forum <adwords-scripts+APn2wQfnD0zes0cm...@googlegroups.com>

Gesendet: Dienstag, 19. Juni 2018 10:08

An: AdWords Scripts Forum <adwords...@googlegroups.com>
Betreff: Re: Mobile Page Speed Insights - Please change the default configuration values and retry

 

Hello Julia,

--

-- You received this message because you are subscribed to the Google Groups AdWords Scripts Forum group. Please do not reply to this email. To post to this group or unsubscribe please visit https://developers.google.com/adwords/scripts/community.
---
You received this message because you are subscribed to the Google Groups "AdWords Scripts Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-scrip...@googlegroups.com.

Hiroyuki Miyauchi (AdWords Scripts Team)

unread,
Jun 26, 2018, 7:46:20 AM6/26/18
to AdWords Scripts Forum
Hello Julia,

Regarding your concern, you may modify line 347 in your script as seen in the sample code snippet below. Although, the script will still send an email 5 times a day, it will check the day of the week and send emails only when it's Monday. You may modify/add the condition based on your preference.

var timeZone = AdWordsApp.currentAccount().getTimeZone();
var format = Utilities.formatDate(now, timeZone, 'MMMM dd, yyyy HH:mm:ss Z')
var date = new Date(format);    
var dayOfWeek = date.getDay();

//Send Email only on Monday (0 : Sunday, 1 : Monday, 2 : Tuesday, 3 : Wednesday, 4 : Thursday, 5 : Friday, 6 : Saturday)
if(dayOfWeek == 1){
 sendEmail
(spreadsheet.getUrl());
}

Please let me know if you have further clarifications.
Reply all
Reply to author
Forward
0 new messages