Amazon Advertising API¶
The Amazon Advertising API connector enables Zuar Runner to pipe data from your Amazon Advertising account and store the data in a database. This page describes the steps necessary to use the plugin’s wizard to configure the connector and create jobs to collect data.
Additional detailed Zuar Runner documentation on the Amazon Advertising API connector can be found here.
Initial Amazon Advertising Account Setup¶
Before the Zuar Runner wizard can be used to create jobs to collect data, initial configuration must be completed within your organization’s Amazon Advertising account. This configuration produces a “refresh token”, which is one of the credentials necessary for the connector to obtain data from Amazon.
The one-time setup process is documented in detail on this page..
Please contact Zuar before performing any of the initial Amazon Advertising configuration.
Create Amazon Advertising Jobs in Zuar Runner¶
You must complete these steps once for each Amazon Ads profile from which you wish to collect data.
Login to Zuar Runner and click +ADD JOB from the left sidebar.
Choose Amazon Advertising.
Provide Amazon Advertising Credentials:
If you haven’t already saved Amazon Advertising Credentials in Zuar Runner, you must enter your Amazon Advertising API credentials on the wizard’s first page. To create new credentials, choose Credentials provided here and saved under Credential Name from the drop-down and enter the Client ID and Client Secret.
If you’ve previously saved credentials, choose Existing named credential and then choose your Amazon Advertising credentials.
Click the CLICK HERE TO GET AUTHENTICATION CODE button.
A new browser window or tab will open which may require signing into your Amazon Advertising account. Once authorized you will be asked to allow API access. Choose Allow.
Once Amazon displays the authorization code, copy it to your clipboard or a temporary storage location.
Back in Zuar Runner’s wizard, paste the code you just obtained from Amazon’s site into the AUTHENTICATION CODE field.
Choose the desired profile from the drop-down which contains all profiles available to the Amazon credentials you supplied at the start of the wizard.
A list of all Zuar Runner jobs that will be created by the wizard appears. Select one or more jobs you wish to enable in the chosen profile’s Zuar Runner sequence. (Hint: select multiple items from the list by holding down
Ctrlin Windows or
Specify where the Zuar Runner jobs created by the wizard will output data and other options, which are explained below.
Job Title Prefix: a prefix that is prepended to the title of each job that will be created. Default:
Use default database URI: when this option is checked, the data obtained from Amazon is stored in Zuar Runner’s internal PostgreSQL database. Uncheck it to display a field which can be used to specify an alternative database connection string (URI).
Start job on save: check this option to immediately execute the enabled Zuar Runner jobs created by the wizard. Leave it unchecked to manually start the jobs later.
When you click Done, the following takes place:
If you provided credentials, they will be saved.
All jobs will be created.
A sequence for the chosen profile will be created; the jobs you selected in the wizard will be enabled. Non-selected jobs will be disabled. If you run the Zuar Runner sequence it will only run enabled jobs. You can edit each job to enable/disable it.