SE::Google::KeywordPlanner - Google Keyword Planner scraper

Sep 14, 2020


  • Collected data(top)

    • Lists of suggests
    • Keyword options
      • Average number of requests per month
      • Competition
      • Minimum and maximum rates

    Opportunity(top)

    • Parsing search volume data for each keyword monthly for a specified period ($ideas.$i.trends). The data is presented in JSON, an example of their output to the result in the screenshot below:
      [​IMG]
    • It is possible to specify several keywords in the query, just list them with a comma.

    Use options(top)

    • Parse lists of suggests
    • Estimate keyword competition
    • Collect of average number requests per month, minimum and maximum rates
    • Search for similar thematic keywords

    Setting(top)

    There are two options for setting up:
    1. specify email\password from your account Keyword Planner
    2. sign in in your browser and copy the required values

    First option
    You need to install the modules puppeteer@2.1.1, puppeteer-extra and puppeteer-extra-plugin-stealth in directory /aparser/files/...
    It's also necessary to create config.txt in directory /aparser/config/.. containing the following content:
    Then restart A-Parser. Then you should redefine the options E-mail and Password with your Keyword Planner account details. A campaign must be created on the account.

    Second option
    It is necessary to auth in to the browser using the link https://ads.google.com/aw/keywordplanner/home, create the first campaign, if you didn’t have one before, take the following data and specify it in the parser settings:
    • Cookies value __Secure-3PSID
    • Cookies value SAG
    • Headers value x-framework-xsrf-token
    • Parameters value ocid or uscid from url
    [​IMG]

    Requests(top)

    Depending on the value of the parameter Query type requests may be of the form:
    • Keyword - only keyword
    • Site + keyword - website and a space-separated keyword
    • Entire site - only site
    • URL - link

    Results(top)

    As a result, a list of keyword options for the query:

    Possible settings(top)

    Global settings for all parsers

    ParameterValue by defaultDescription
    Query typeKeywordType of request
    LanguageEnglishLanguage
    CurrencyUSDCurrency
    Search networksGoogleSearch networks
    Exclude brand names in resultsFilter of brands
    Exclude adult ideasFilter of adult contents
    Date fromLast 12 months(From March 2019)Date from
    Date toLast 12 months(To February 2020)Date for
    E-mail-Keyword Planner authorization details
    Password-Keyword Planner authorization details
    Location code-Location (there need specify id of location, you can take it from first collumn this table)