Resources
Data Source Type: | REST/URL |
Sample Query | For AWeber Campaign Stats:
|
API Documentation | AWeber API Documentation |
Step-by-Step
Creating a data source using AWeber
To create a data source using AWeber, you need to accomplish the following tasks:
- Start the data source creation process.
- Authenticate with AWeber.
- Find your AWeber Account IDs, List IDs and Campaign IDs.
- Write an AWeber Query.
- Complete the data source creation process.
Step 1: Start the data source creation process
To create a data source using AWeber, go to the Service Connectors page in Klipfolio and select AWeber.
Step 2: Authenticate with AWeber
- Click the Connect an Account link.
- Enter your AWeber username and password when prompted.
- Click Allow Access to allow Klipfolio to access your AWeber account.
- Name and save your AWeber OAuth token.
Step 3: Find your AWeber Account IDs, List IDs and Campaign IDs
To begin, create data sources that provide you with AWeber Account IDs, List IDs and Campaign IDs. With the correct IDs, you can write a variety of AWeber queries.
For AWeber Account IDs:
https://api.aweber.com/1.0/accounts
Note: Take the ID number only from the results.
For AWeber List IDs:
https://api.aweber.com/1.0/accounts/your-account-id/lists
Note: Take the ID number only from the results.
For AWeber Campaigns/Email Broadcast IDs:
https://api.aweber.com/1.0/accounts/your-account-id/lists/your-list-id/campaigns
Note: Copy the ID from the results and enter it in the query in the following format: b12345678.
Step 4: Write an AWeber Query
With the correct IDs, you can write a variety of queries by referencing AWeber API Documentation.
Here is a sample query to get you started:
For AWeber Campaign Stats:
https://api.aweber.com/1.0/accounts/your-account-id/lists/your-list-id/campaigns/b12345678/stats
, where b12345678
is the campaign/email broadcast ID.
Step 5: Complete the data source creation process
- Once you have entered your query, at Data Format, select JSON.
- At Method, select GET.
- Click Get data.
- Ensure this is the data you’re looking for. If you’re using Klips, optionally select the checkbox to Model your data. If you’re using PowerMetrics, which requires modelled data sources, you’ll automatically enter the modeller after clicking Continue. Learn more about modelling data sources.
- Click Continue.
- Name, choose refresh settings, and, optionally, share your data source.
- Click Save.