This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace these with your own LinkedIn App's Client ID and Client Secret | |
const CLIENT_ID = '{INSERT CLIENT ID}'; | |
const CLIENT_SECRET = '{INSERT CLIENT SECRET}'; | |
// Replace this with your Google Sheet ID | |
const SPREADSHEET_ID = '{INSERT SPREADSHEET ID}'; | |
// OAuth2 library | |
const LinkedInOAuth2 = OAuth2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import urllib | |
import hashlib | |
import hmac | |
import base64 | |
import json | |
import random | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import urllib | |
import urllib2 | |
import cookielib | |
import urlparse | |
import hashlib | |
import hmac | |
import base64 | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import urllib | |
import urllib2 | |
import cookielib | |
import urlparse | |
import hashlib | |
import hmac | |
import base64 | |
import json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,800"); | |
body, | |
html { | |
height: 100%; | |
font-family: "Open Sans", sans-serif; | |
font-weight: 400; | |
color: #111; | |
} | |
h1 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This will pull impression share data into a script for you to use: | |
function main() { | |
var accountIterator = MccApp.accounts().get(); | |
var mccAccount = AdWordsApp.currentAccount(); | |
while (accountIterator.hasNext()) { | |
var account = accountIterator.next(); | |
MccApp.select(account); | |
var accountName = account.getName(); |