Import Quora Ads Data to Google Sheets
In this guide, we’ll walk through how to pull Quora ad data data directly into Google Sheets, using the API Connector add-on for Sheets. Quora’s advertising API only supports authentication via OAuth2, so we’ll be connecting using API Connector’s built-in integration for Quora Ads.
- Part 1: Connect to the Quora API
- Part 2: Create your Quora API Request URL
- Part 3: Pull Quora API Data into Sheets
- Part 4: More Example API URLs
- Part 5: Handle Pagination
PART 1: CONNECT TO THE QUORA API
If you haven’t connected API Connector to Quora before, you’ll first need to initiate the connection as follows:
- Open up Google Sheets and click Add-ons > API Connector > Manage Connections.
- In the list of available connections, find Quora Ads and click Connect.
- You will be taken to Quora.com and asked to provide API Connector with read access to your Quora Ads Manager data. Click Accept.
- You will now be returned to your Google Sheet, and can verify that your Quora Ads connection is active in the Connections screen.
PART 2: CREATE YOUR QUORA API REQUEST URL
For our first request, we’ll follow the documentation to get some statistics about the performance of your Quora Ads data.
- API root: https://api.quora.com/ads/v0/
- Endpoint: /accounts/YOUR_ACCOUNT_ID
To get your account ID, log in to your account at https://www.quora.com/ads/account and check under your account name in the right-hand corner:
Putting it all together, we get the full API Request URL:
PART 3: PULL QUORA API DATA INTO SHEETS
We can now enter our values into API Connector and start importing Quora data into Google Sheets.
- Back in the Create Request interface, enter the Request URL we just created above.
- We don’t need any headers for this request, so just leave that section blank.
- Under Authentication, choose “Quora Ads” from the drop-down menu.
- Create a new tab and click ‘Set current’ to use that tab as your data destination.
- Name your request and click Run. A moment later you’ll see statistics about your Quora Ads populate your Google Sheets.
PART 4: MORE EXAMPLE API URLS
You can experiment with endpoints and query strings as described in the Quora API documentation to see other types of ad data, but if you just want to jump in, play around with the URLs you enter in the API URL path field. Try the following (one at a time), substituting in actual values where indicated.
- Current User
- Account Data
- Campaign Data
- Ad Set Data
- Ad Data
Part 5: Handle Pagination
Note that Quora Ads limits the number of records returned in each request. By default, only 25 records will be returned unless you follow the paging links to subsequent records as described in their documentation.
To retrieve more than 25 records, you would run your second request using the next page link returned in the response under the field header
paging » next. With API Connector, you can loop through these requests automatically with pagination handling, like this: