SlideShare a Scribd company logo
BUILDING
BLOCKS OF
ADWORDS
SCRIPTS
Steve Hammer
President
RankHammer
THE “BEST” SCRIPT
@armondhammer
BID BY WEATHER
@armondhammer
IS STILL AN EDGE CASE
@armondammer
BREAK IT APART
@armondhammer
AND MAKE SOMETHING AMAZING
@armondhammer
ME SLIDE
@armondhammer
FAMILY
What it’s all about
FOOD AND
WINE
Eating as an art
form?
HOCKEY
Go Stars
RANKHAMMER
Dallas Based
Internet Marketing
Agency
STARTING SIMPLE, BUT COOL
@armondhammer
WORST SCRIPT EVER
@armondhammer
WORST SCRIPT EVER
The central program
@armondhammer
WORST SCRIPT EVER
A defined method
Selector
Iterator
} End
Begin {
@armondhammer
LOGGER
Bulk Operations >
Logs>
Details>
Logs>
@armondhammer
SELECTOR
Makes an array of the type
Filtered by conditions
Finished with get();
@armondhammer
SELECTOR
Conditions are AND
Connect with .
End with ;
@armondhammer
VARIABLES
Discreet
•5.23
•‘Office’
• 5+3
• ‘Today’ + variable
Arrays
•[4, 5, 7, 9]
•[‘Home’,’Office’,’Hotel’]
Objects
•{name:’Steve’,zip:75204,car:’Subaru’}
•{1:Array1,2:Array2}
@armondhammer
ODD SELECTOR LOGIC
Values have to become strings
@armondhammer
ODD SELECTOR LOGIC
To make it flexible it has to be:
“Column Operator” + Value
'Name = "' + var + '"'
@armondhammer
SELECTABLE?
https://developers.google.com/adwords/scripts/docs/reference/adwordsapp/adwordsapp_adselector
@armondhammer
SELECTOR
Get all keywords
With a CTR greater than 0.01
For all time
@armondhammer
WE NOW HAVE
Selected every keyword
That has ever
Gotten a click
@armondhammer
ITERATOR
What does the work
@armondhammer
WHILE NEXT
Sets up the repeating
@armondhammer
PAYLOAD
Calls a method to make a change
@armondhammer
AVAILABLE METHODS
https://developers.google.com/adwords/scripts/docs/reference/adwordsapp/adwordsapp_ad
@armondhammer
ITERATOR
Find the maximum CPC
Add 1%
Set as new Max CPC
@armondhammer
WORST SCRIPT EVER
@armondhammer
CHANGE IT
@armondhammer
NEXT LEVEL
Prewritten Scripts
+
Code Snippets
@armondhammer
STARTING SCRIPTS
http://www.rankhammer.com/blog/2541/i-heard-you-like-adwords-scripts
https://developers.google.com/adwords/scripts/docs/solution/
http://freeadwordsscripts.com
@armondhammer
MULTIPLE FUNCTIONS
@armondhammer
DEFINING A FUNCTION
Functions can return values to feed a
variable
Functions can also just be invoked, even
without parameters
@armondhammer
TYPICAL CODE ARCHITECTURE
Global Variables – Used by all
Other Functions
Main Function
Local Variables
@armondhammer
SNIPPETS
https://developers.google.com/adwords/scripts/docs/examples/
@armondhammer
NOT EXACTLY READY TO USE
@armondhammer
TWEAK THE SELECTOR
@armondhammer
MORE JAVASCRIPT LESSONS
http://www.codecademy.com/tracks/javascripthttp://www.w3schools.com/js/default.asp
http://www.learn-js.org/
@armondhammer
EDITOR = DEBUGGER
OR
@armondhammer
REJOICE
@armondhammer
@armondhammer
CONNECT WITH US
WE ARE HERE SOCIAL NETWORKS
Downtown
Dallas TX
214-720-0044
LOCATED
support@rankhammer.com
QUESTIONS
TWITTER
WEBSITE
LINKEDIN
@armondhammer
@rankhammer
www.rankhammer.com
www.linkedin.com/a/armondhammer
THANK YOU

More Related Content

PPTX
Pubcon 2014 - Adwords automation hat trick Adwords Scripts
PPTX
Demand More out of Adwords PPC - Better PPC Marketing Strategy
PPTX
Measuring the Fuzzy ROI of Social Media
PPTX
Amazing paid Search Tactics - SMX Advanced - AdWords Scripts
PPTX
Automating your Adwords Insights
KEY
Measurable Search Engine Marketing
PPTX
State of Search - Adwords Scripting
PPTX
AdWords Automation Arcade - ClickZLive NYC - Level up your campaigns
Pubcon 2014 - Adwords automation hat trick Adwords Scripts
Demand More out of Adwords PPC - Better PPC Marketing Strategy
Measuring the Fuzzy ROI of Social Media
Amazing paid Search Tactics - SMX Advanced - AdWords Scripts
Automating your Adwords Insights
Measurable Search Engine Marketing
State of Search - Adwords Scripting
AdWords Automation Arcade - ClickZLive NYC - Level up your campaigns

Viewers also liked (20)

PDF
targeting the "seller" persona with PPC
PDF
SMX 2014 - PPC Audience Analysis
PPTX
MCC and Feeds in AdWords Scripting - HeroConf
PPTX
HeroConfPhilaPPT
PPTX
Maximizing Mobile PPC
PDF
Digital Channel Sequencing & Paid Attribution
PDF
Introduction to Custom Audiences on Facebook
PDF
Small Tests, Big Insights - Using PPC To Solve Business Puzzles
PDF
Pretty PPC Bidding - HeroConf
PPTX
You're Really Good at Your Job: Overcoming Imposter Syndrome
PDF
Adapting to PPC changes in 2016 and beyond
PPTX
Search ex advanced targeting on the new gdn
PDF
Next Best Dollar Strategy for PPC Accounts
PPTX
Level up Google Analytics - Advanced strategies for measuring site performance
PPTX
Accelerated Mobile Pages and the New Mobile Web
PDF
PPC After The Conversion - HeroConf 2015
PPTX
Improve Your PPC Team's Accountability - HeroConf 2016
PPT
Advanced Excel - HeroConf Philadelphia
PDF
Web Analytics & Conversion Rate Optimization
KEY
SEM 101 for VCU BrandCenter
targeting the "seller" persona with PPC
SMX 2014 - PPC Audience Analysis
MCC and Feeds in AdWords Scripting - HeroConf
HeroConfPhilaPPT
Maximizing Mobile PPC
Digital Channel Sequencing & Paid Attribution
Introduction to Custom Audiences on Facebook
Small Tests, Big Insights - Using PPC To Solve Business Puzzles
Pretty PPC Bidding - HeroConf
You're Really Good at Your Job: Overcoming Imposter Syndrome
Adapting to PPC changes in 2016 and beyond
Search ex advanced targeting on the new gdn
Next Best Dollar Strategy for PPC Accounts
Level up Google Analytics - Advanced strategies for measuring site performance
Accelerated Mobile Pages and the New Mobile Web
PPC After The Conversion - HeroConf 2015
Improve Your PPC Team's Accountability - HeroConf 2016
Advanced Excel - HeroConf Philadelphia
Web Analytics & Conversion Rate Optimization
SEM 101 for VCU BrandCenter
Ad

More from Steve Hammer (7)

PPTX
Working with Adwords scripts for reporting with AWQL
PPTX
Siri-ously Local for Nightclubs and Bars
PPTX
Making PPC sexy with adwords scripts
PPTX
Google AdWords Changes 2012
PPT
Presentation pp
PPTX
Ppc is for everyone
PPTX
Five adwords habits
Working with Adwords scripts for reporting with AWQL
Siri-ously Local for Nightclubs and Bars
Making PPC sexy with adwords scripts
Google AdWords Changes 2012
Presentation pp
Ppc is for everyone
Five adwords habits
Ad

Recently uploaded (20)

PPTX
Captain Morgan x FOS_Revised_8.8.25.pptx
PDF
Dream Powell - Project and Portfolio 3: Marketing
PPTX
Presentation - GreenPantry – Instagram-First Home Kitchen Brand.pptx
PDF
Digital Marketing - clear pictire of marketing
PPTX
Kimberly Crossland Storytelling Marketing Class 5stars.pptx
PDF
Best digital marketing company in Mumbai
PDF
Boost Sales Around the Clock with AI Chatbots for Marketing
PDF
Mastering Content Strategy in 2025 ss.pdf
PDF
Wondershare Filmora Crack Free Download 2025
PDF
How to Break Into AI Search with Andrew Holland
PDF
E_Book_Customer_Relation_Management_0.pdf
PPTX
Tea and different types of tea in India
PDF
Pay-Per-Click Marketing: Strategies That Actually Work in 2025
PDF
5 free to use google tools to understand your customers online behavior in 20...
PPTX
Fixing-AI-Hallucinations-The-NeuroRanktm-Approach.pptx
PPTX
Sumit Saxena IIM J Project Market segmentation.pptx
PPTX
"Best Healthcare Digital Marketing Ideas
PDF
EVOLUTION OF RURAL MARKETING IN INDIAN CIVILIZATION
PDF
Keshav Solutions Pest Control || Trending Branding Digital Solutions
PDF
Nurpet Packaging Company Profile (Basic)
Captain Morgan x FOS_Revised_8.8.25.pptx
Dream Powell - Project and Portfolio 3: Marketing
Presentation - GreenPantry – Instagram-First Home Kitchen Brand.pptx
Digital Marketing - clear pictire of marketing
Kimberly Crossland Storytelling Marketing Class 5stars.pptx
Best digital marketing company in Mumbai
Boost Sales Around the Clock with AI Chatbots for Marketing
Mastering Content Strategy in 2025 ss.pdf
Wondershare Filmora Crack Free Download 2025
How to Break Into AI Search with Andrew Holland
E_Book_Customer_Relation_Management_0.pdf
Tea and different types of tea in India
Pay-Per-Click Marketing: Strategies That Actually Work in 2025
5 free to use google tools to understand your customers online behavior in 20...
Fixing-AI-Hallucinations-The-NeuroRanktm-Approach.pptx
Sumit Saxena IIM J Project Market segmentation.pptx
"Best Healthcare Digital Marketing Ideas
EVOLUTION OF RURAL MARKETING IN INDIAN CIVILIZATION
Keshav Solutions Pest Control || Trending Branding Digital Solutions
Nurpet Packaging Company Profile (Basic)

Building Blocks of Adwords scripts - DFWSEM DFWPPC