Advance Import and Export for WooCommerce DocumentationAdvance Import and Export for WooCommerce Documentation
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • CSV Preparation
    • Sample Files
    • Use Cases
    • Common Mistakes
  • Tutorials

    • Google Sheets Live Sync
    • Shopify Migration
    • Daily Backup to S3
    • Multi-Store Sync
  • Using the Plugin

    • Dashboard
    • Quick Import Wizard
    • Quick Export
    • Settings
    • Compatibility
  • Import In Detail

    • Import Sources
    • Import Modes
    • Column Mapping
    • Transformations
    • Migration Presets
    • Delta Import
  • Export In Detail

    • Export Features
    • Export Destinations
    • Browser Download
    • Server Path (REST / CLI)
  • Data Types

    • Products
    • Variable Products
    • Orders
    • Customers
    • Categories & Tags
    • Coupons
    • Reviews
    • Posts
    • Pages
    • Users
    • Subscriptions
    • Bookings
    • Memberships
    • Menus
  • Automation

    • Scheduled Jobs
    • History & Logs
    • Rollback
    • Health Check
  • Cloud Service Setup

    • Google API Setup
    • Amazon S3 Setup
    • Dropbox Setup
    • Email / SMTP Setup
  • Server Configuration

    • PHP Configuration
    • Server Cron Setup
    • Image Handling
  • Developer

    • REST API
    • WP-CLI Commands
  • Compare

    • vs WP All Import
    • vs Product Import Export (WebToffee)
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Security
    • Changelog
Support
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • CSV Preparation
    • Sample Files
    • Use Cases
    • Common Mistakes
  • Tutorials

    • Google Sheets Live Sync
    • Shopify Migration
    • Daily Backup to S3
    • Multi-Store Sync
  • Using the Plugin

    • Dashboard
    • Quick Import Wizard
    • Quick Export
    • Settings
    • Compatibility
  • Import In Detail

    • Import Sources
    • Import Modes
    • Column Mapping
    • Transformations
    • Migration Presets
    • Delta Import
  • Export In Detail

    • Export Features
    • Export Destinations
    • Browser Download
    • Server Path (REST / CLI)
  • Data Types

    • Products
    • Variable Products
    • Orders
    • Customers
    • Categories & Tags
    • Coupons
    • Reviews
    • Posts
    • Pages
    • Users
    • Subscriptions
    • Bookings
    • Memberships
    • Menus
  • Automation

    • Scheduled Jobs
    • History & Logs
    • Rollback
    • Health Check
  • Cloud Service Setup

    • Google API Setup
    • Amazon S3 Setup
    • Dropbox Setup
    • Email / SMTP Setup
  • Server Configuration

    • PHP Configuration
    • Server Cron Setup
    • Image Handling
  • Developer

    • REST API
    • WP-CLI Commands
  • Compare

    • vs WP All Import
    • vs Product Import Export (WebToffee)
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Security
    • Changelog
Support
  • Getting Started

    • Introduction
    • Quick Start — Your First Import in 5 Minutes
    • Features — Full Tour
    • Installation — Full Setup Guide
    • First-Time Setup — Complete Checklist
    • CSV Preparation — How to Make a Good Import File
    • Sample Files — Download Ready-to-Use Templates
    • Use Cases — "I Want To..." Quick Reference
    • Common Mistakes — Things To Watch Out For
  • Tutorials

    • Tutorial — Google Sheets Live Sync
    • Tutorial — Migrate from Shopify to WooCommerce
    • Tutorial — Daily Backup to Amazon S3
    • Tutorial — Sync Between Two WooCommerce Stores
  • Using the Plugin

    • Dashboard — What You See First
    • Quick Import Wizard — 5 Steps to Import Any File
    • Quick Export — One-Page Export Tool
    • Settings — Every Option Explained
    • Compatibility — Third-Party Plugin Support
  • Import In Detail

    • Import Sources — 11 Ways to Pull Data In
    • Import Modes — Create, Update, Delete, Replace
    • Column Mapping — Connect Your Columns to WooCommerce
    • Transformations — Change Values During Import
    • Migration Presets — Move From Shopify, Magento, BigCommerce
    • Delta Import — Skip Unchanged Rows
  • Export In Detail

    • Export Features
    • Export Destinations — Where Your Files Go
    • Export Download — One-Click Browser Download
    • Export to Server Path — WP-CLI
  • Data Types

    • Products Import — Full Field Reference
    • Variable Products — The Complete Guide
    • Orders Import — Historical Orders and Line Items
    • Customers Import — With Addresses and Notes
    • Categories and Tags Import
    • Coupons Import — Discount Codes
    • Reviews Import — Product Reviews and Ratings
    • Posts Import — WordPress Blog Posts
    • Pages Import — WordPress Pages
    • Users Import — WordPress User Accounts
    • Subscriptions Import — WooCommerce Subscriptions
    • Bookings Import — WooCommerce Bookings
    • Memberships Import — WooCommerce Memberships
    • Menus Import — WordPress Navigation Menus
  • Automation

    • Jobs — Saved and Scheduled Imports and Exports
    • History — Every Run You Have Ever Done
    • Rollback — Undo Any Import in One Click
    • Health Check — Data Integrity Checks With Auto-Fix
  • Cloud Service Setup

    • Google API Setup — Sheets, Drive, OAuth
    • Amazon S3 Setup — IAM User and Bucket Permissions
    • Dropbox Setup — API Token for Private Files
    • Email Setup — Making Notifications Actually Work
  • Server Configuration

    • PHP Configuration — Memory, Execution Time, Upload Size
    • Server Cron Setup — Reliable Scheduled Imports
    • Image Handling — Download, Resize, Watermark
  • Developer

    • REST API — Developer Reference
    • WP-CLI Commands — Command Line Automation
  • Compare

    • Advance Import and Export vs WP All Import
    • Advance Import and Export vs Product Import Export for WooCommerce
  • Help

    • Troubleshooting — Fix Common Problems
    • FAQ — Common Questions
    • Glossary — Every Term Explained
    • Security — How Your Data Is Protected
    • Changelog — What Changed

Google API Setup

To use Google Sheets or Google Drive as an import source, you need Google API credentials. This page walks you through it.

For public sheets

If your Google Sheet is set to "Anyone with the link can view" (public), you can skip this entire page. Just paste the sheet URL in the wizard. The plugin downloads it as public CSV.

This page is for private sheets and Google Drive files.

What You Will Create

CredentialForTime
API KeyRead-only access to public/semi-public data5 min
OAuth 2.0 Client IDFull read/write access with user consent10 min

Most users only need the API Key. Create OAuth only if you want:

  • Private Google Sheets
  • Google Drive files
  • Write-back to Google Sheets (export destination)

Part 1 — Create a Google Cloud Project

Step 1

Go to console.cloud.google.com.

Sign in with a Google account.

Step 2

Top-left, click the project dropdown (usually says "Select a project").

Click New Project.

Step 3

Fill in:

  • Project name: WooCommerce Import Export (or any name)
  • Organization: Leave default

Click Create.

Wait 30 seconds for the project to initialize.

Step 4

Top-left, click the project dropdown again. Pick the new project.

Part 2 — Enable APIs

Enable Sheets API

  1. Left sidebar → APIs & Services → Library
  2. Search for Google Sheets API
  3. Click the result
  4. Click Enable
  5. Wait for confirmation

Enable Drive API (If Using Drive)

  1. Back to APIs & Services → Library
  2. Search for Google Drive API
  3. Click → Enable

Part 3 — Create an API Key (Simple — For Public Sheets)

Use this if you only need to read public Google Sheets.

Step 1

Left sidebar → APIs & Services → Credentials.

Step 2

Click + Create Credentials → API Key.

Step 3

A popup appears with your new API key. Copy it.

Click Close.

Step 4 — Restrict the Key (Recommended)

  1. Click the pencil icon next to the new key
  2. Under API restrictions, select Restrict key
  3. Pick Google Sheets API from the dropdown
  4. Click Save

This prevents someone from stealing your key and using it for other services.

Step 5 — Paste in the Plugin

  1. WordPress admin → Webkul WC Addons → Settings → Cloud Storage & API
  2. Under Google APIs → paste the key into Google API Key
  3. Click Save Changes

Done. Public sheets work now.

Part 4 — Create OAuth 2.0 Client (Advanced — For Private Data)

Use this if you need private Google Sheets or Google Drive.

Step 1 — Configure Consent Screen

  1. Left sidebar → APIs & Services → OAuth consent screen
  2. Pick External (unless you have a Google Workspace)
  3. Click Create
  4. Fill in:
    • App name: WooCommerce Import Export
    • User support email: Your email
    • Developer contact: Your email
  5. Click Save and Continue
  6. On the Scopes page, click Add or Remove Scopes
  7. Add these scopes:
    • https://www.googleapis.com/auth/spreadsheets (read/write sheets)
    • https://www.googleapis.com/auth/drive.readonly (read drive)
  8. Click Update then Save and Continue
  9. On the Test users page, click + Add Users and add your own email
  10. Click Save and Continue
  11. Review and click Back to Dashboard

Step 2 — Create OAuth Credentials

  1. Left sidebar → APIs & Services → Credentials
  2. Click + Create Credentials → OAuth client ID
  3. Application type: Web application
  4. Name: WooCommerce Plugin
  5. Under Authorized redirect URIs, click + Add URI
  6. Paste: https://your-site.com/wp-admin/admin.php?page=wkaie-settings&oauth=callback
    • Replace your-site.com with your actual domain
  7. Click Create

A popup appears with:

  • Client ID — copy it
  • Client Secret — copy it

Step 3 — Paste in the Plugin

  1. WordPress admin → Webkul WC Addons → Settings → Cloud Storage & API
  2. Under Google APIs:
    • Paste Client ID in the OAuth Client ID field
    • Paste Client Secret in the OAuth Client Secret field
  3. Click Save Changes

Step 4 — Authorize

  1. Click Authorize with Google (button appears after saving credentials)
  2. Google asks you to sign in
  3. It shows a warning "Google hasn't verified this app" — click Advanced → Go to [App name] (unsafe)
    • This is normal for unverified private apps
  4. Click Continue and grant permissions
  5. You are redirected back to WordPress
  6. The plugin now has OAuth access

Publishing the App (Optional)

Your OAuth credentials work for your account only (as "test user") by default. For production:

  1. APIs & Services → OAuth consent screen
  2. Click Publish App
  3. Google reviews apps that request sensitive scopes — the Sheets and Drive scopes are sensitive
  4. For personal use, skip publishing — keep yourself as a test user

Checking It Works

For API Key

Google Sheets source panel in import wizardGoogle Sheets source — paste the sheet URL and the plugin uses your API key to fetch rows.

  1. Wizard → Step 1 → Source: Google Sheets
  2. Paste a sheet URL (make sure sharing is on)
  3. Click Next
  4. If columns load in Step 2, the API key works

For OAuth

Google Drive source panel in import wizardGoogle Drive source — browse or paste a file ID once OAuth is authorized.

  1. Settings → Test Google Connection (if button exists)
  2. Or try importing a private sheet
  3. If data loads, OAuth works

API Limits

Google APIs have usage quotas:

  • Sheets API: 300 requests per minute per project (free)
  • Drive API: 1,000 requests per 100 seconds per user

For most stores, this is plenty. For heavy use, request a quota increase in Cloud Console.

Troubleshooting

ProblemFix
"API not enabled"You didn't enable Sheets API (step 2). Go back and enable it
"Access denied" on public sheetSheet is not actually public. Check sharing settings
OAuth redirect mismatchRedirect URI in Google must exactly match the URL in the plugin
"App not verified" warningNormal for test apps. Click "Advanced" to continue
Token expiredOAuth tokens expire. Re-authorize in Settings
Rate limit errorsWait 5 minutes. Or request quota increase

Security Notes

  • Never share your Client Secret in public
  • The plugin stores credentials encrypted with AES-256
  • You can revoke access anytime from myaccount.google.com/permissions
  • For compliance, rotate API keys every 6-12 months

Related Pages

  • Import Sources → Google Sheets
  • Import Sources → Google Drive
  • Tutorial: Google Sheets Sync
  • Settings → Cloud Storage & API
Next
Amazon S3 Setup — IAM User and Bucket Permissions