<<

advertools Documentation Release 0.11.1

Elias Dabbas

Sep 16, 2021

CONTENTS

1 Online marketing productivity and analysis tools1 1.1 advertools: productivity & analysis tools to scale your online marketing...... 1 1.2 Generate Keywords for SEM Campaigns...... 5 1.3 Create Ads on a Large Scale...... 8 1.4 Create Ads Using Long Descriptive Text (top-down approach)...... 10 1.5 Analyze and Test robots.txt Files on a Large Scale...... 12 1.6 Download, Parse, and Analyze XML Sitemaps...... 18 1.7 Python SEO Crawler / Spider...... 28 1.8 SEO Crawling & Scraping: Strategies & Recipes...... 37 1.9 Parse and Analyze Crawl Logs in a Dataframe (experimental)...... 41 1.10 Import Search Engine Results Pages (SERPs) for Google and YouTube...... 43 1.11 Import and Analyze Knowledge Graph Results on a Large Scale...... 50 1.12 Split, Parse, and Analyze URL Structure...... 53 1.13 Emoji: Extract, Analyze, and Get Insights...... 56 1.14 Extract structured entities from text lists...... 58 1.15 Stopwords in Several Languages...... 70 1.16 Text Analysis...... 71 1.17 Tokenize Words (N-grams)...... 75 1.18 Twitter Data API...... 76 1.19 YouTube Data API...... 89

2 Indices and tables 107 2.1 advertools...... 107

Python Module Index 117

Index 119

i ii CHAPTER ONE

ONLINE MARKETING PRODUCTIVITY AND ANALYSIS TOOLS

Crawl websites, Generate keywords for SEM campaigns, create text ads on a large scale, analyze multiple SERPs at once, gain insights from large social media posts, and get productive as an online marketer. If these are things you are interested in, then this package might make your life a little easier.

New: SEO crawler now extracts links and anchor text from