Profile cover photo
Profile photo
Michele Pisani
66 followers -
Parola d'ordine... CONCRETEZZA
Parola d'ordine... CONCRETEZZA

66 followers
About
Posts

Post has attachment
Google Data Studio add-on: Webtrends connector
With USER_PASS authentication and Dynamic schema
...made with Google Apps Script.
http://www.appsscript.it/articoli/data-studio-connector-webtrends-connettore-personalizzato/#webtrends-eng

Post has attachment
Add-on made with Google Apps Script to allow you to access all of your Webtrends data in Google Spreadsheets

Post has attachment
Segnalo un bug del Play Store per gli sviluppatori affinché non mieta ulteriori vittime...

Hi all,
I detected a strange behavior with the use of the Cache Service.
I have a script, witch perform the same operations every day, which is executed by a trigger every 15 minutes, inside it there are controls (switch ... case) that use the script-level cache (expiring at 6h) to save a value to avoid running the code if it has already done correctly (this is because sometimes the triggers do not start or if some error occurs, the script executes the function again). When the script has executed all the functions it inserts a value in the Cache that indicates the end of the process and that is overwritten every 15 minutes (always expiring at 6h) until the next day where the Cache is emptied to restart the process.

The strange thing is that everything works correctly unless I open another completely different script and execute a function inside it. What happens is that my first script performs already processed functions.

It seems that by running a function on another script the cache in general becomes completely empty for all scripts (although it is script-level and not, for example, user-level).

I solved using the Properties instead of the Cache, however I would like to understand if the behavior described is normal or abnormal and in case if you know the reason.

Thanks in advanced,
M

Post has attachment
Hi all,
I created a Chrome extension for Google Apps Script, called 'Apps Script Sortable List Files', that allows you to sort quickly the files and tabs in the main editor and in the sidebar using simple drag & drop.
What do you think about it?

Hi all,
I would like to publish an Apps Script application as a web application but I would like it to be accessible only to a particular email domain,
i.e .: ...@myagency.com.
Do you know if there is any recommended method or if the only possibility is to give access to the application to anyone (not to anonymous users) and check the email with a parse of Session.getEffectiveUser().getEmail () in the doGet() to show, to example, a custom html page with written 'access denied' to users outside the domain of my interest?
Are there any security risks with this kind of approach?
Thanks in advanced,
M

Post has attachment
Add a comment...

Post has attachment
Custom Characters on LCD 20x4.
PAC-MAN demo, with video and sketch.

Post has attachment
Add a comment...

Hi all,
I'm trying to manage the "display advertising features" using a single pageview Tag (Universal Analytics) compatibly with the cookie policy.
I wish they were activated if the user accepted the cookie policies and disabled until the user has not yet accepted them.
I confirm that all its settings are enabled on the GA and that it is the same that are triggered by an event or by visiting next pageviews.

If I don't tick the checkbox of "display advertising features" I have no other way to activate them by Tag Manager, but if I tick the checkbox I haven't a way to turn off them (even with field displayFeaturesTask / null).
I read in the documentation that the plugin (require / displayfeatures) works by sending an additional request to stats.g.doubleclick.net but I can see it only when, in Tag Manager, the checkbox of "display advertising features" is checked.
So, is possible to manage this checkbox dynamically (like other optional fields to set)?
And, is there another way to activate "displayfeatures" in Tag Manager other than its own checkbox?

Thanks in advance,
Michele Pisani
Wait while more posts are being loaded