Skip to content

Instantly share code, notes, and snippets.

@postman31
postman31 / leads_to_sheet.js
Last active March 23, 2024 12:56
Sample Script to store your leads from lead form extension to Google Sheet
/*
Sample script to be used as a webhook listener for Google Ads Leads Campaigns
## Setup:
1) Create a new script project at https://script.google.com/ and paste the script code into the editor window
2) Create a new scpreadsheet and paste the URL in lines #15 and #65
3) in the menu above select Init function and make a first run to initialize authorization process (https://nimb.ws/WnvXJz)
4) publish the script as a web app through the `Publish > Deply as a web app` menu. Make sure set
the "Who has access to the app:" option to "Anyone, even anonymous"
5) use generated link as a webhook URL in Google Ads form settings
@demonbane
demonbane / makeapp.sh
Created July 5, 2011 20:05
Create a Fluid-style app launcher for single-window Chrome instances on OSX
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"