Start a new bulk data export

Best practices

  • Be aware of data growth. Data will be accumulated forever for your project, unless you set an expiration time for your data. Set appropriate partition expiration times to manage your storage costs.
  • Data is subject to Google Cloud storage and query costs, but there is a free usage level.

Intro to Search Console bulk data export - Google Search Console Training

Configure and start an ongoing bulk data export

Prerequisites

  • You must set up a Google Cloud project with billing and enable BigQuery, as described in the setup page. There is a free usage level, but storage and query usage above the free quota will be charged.

In Google Cloud Console

  1. Open your Google Cloud Console
  2. Switch to the Google Cloud project you'd like to export data to.
  3. Enable BigQuery in your project:
    1. Navigate in the sidebar to APIs & Services > Enabled APIs & Services
    2. If BigQuery is not enabled, click + ENABLE APIS AND SERVICES and enable BigQuery API and BigQuery Storage API.
  4. Create a target dataset in your cloud project:
    1. Choose a dataset ID. The recommended default is searchconsole, but if you'd like to export from multiple properties to one project ID, you'd need to give different dataset IDs for each Search Console property. The dataset ID must always start with the string searchconsole, even when you customize it. If customizing, you must put an underscore after searchconsole, for example searchconsole_secondary.
    2. Select a location for your dataset from the list. Note that you can't easily change this location later, once your exports have begun.

    3. Click "Create dataset".

  5. Grant permission to Search Console to dump data to your dataset:
    1. Navigate in the sidebar to IAM and Admin. The page should say Permissions for project <your_project>.
    2. Click + GRANT ACCESS to open a side panel that says Add principals.
    3. In New Principals, paste the following service account name:
      • search-console-data-export@system.gserviceaccount.com
    4. Grant it two roles: BigQuery Job User (bigquery.jobUser in the command-line interface) and  BigQuery Data Editor (bigquery.dataEditor in the command-line interface). Job User must be granted at the project level and Data Editor may be granted either on the project level or on the newly created dataset.
    5. Click Save.

In Search Console

  1. Set up your Google Cloud project as described above.
  2. Go to Settings > Bulk data export for your property.
  3. Copy the project ID (not the project number) for your Google Cloud Console project into the Cloud project ID field. (The project ID is visible in the project settings page.)
  4. Use the dataset you created in your cloud project. Both the dataset ID and location must exactly match what you created in your project. It's ID and location must match.
  5. Click Continue to confirm your choices and initiate the regularly scheduled exports. If there is an immediately detectable problem (such as access) you should be informed relatively quickly. Otherwise, Search Console should begin the export process within a day.
  6. The first export will happen up to 48 hours after your successful configuration in Search Console. The first export includes data for the day of the export. If Search Console encounters a non-persistent error, it will retry exporting the next day as scheduled.
  7. Once the tables are created, you may set a partition expiration. Make sure the expiration is 14 days or longer, and avoid changing the table schema (for example, adding a column). Schema changes will cause the export to fail.

If you want to see historical data that precedes your initial setup, use the Search Console API or the reports.

Next steps

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
12610423431112818078
true
Search Help Center
false
true
true
true
true
true
83844
false
false
false
false
false