The getKeywordCampaign API Command displays the history of the tracked keywords.


Using this command consumes 10 credit for each keyword.


The command is included in the Campaign API Module and will only consume credits assigned for Campaign API Operations.


campaignId The ID Number of the campaign.
siteId The ID Number for the website.
dateFrom The start date to track keywords from. *if no value inserted, the default is the first date found in the database.
dateTo The end date to track keywords from.
date Represents the day you wish to track keywords from.
se* The Search Engine you want to add the keyword on. It’s not a mandatory field and can have the values: Google, Bing, Yahoo.
locale* The country where the tracking is made. It’s not a mandatory field and can have values from here:
mobile* Allows you to decide if the tracking should be made on mobile or desktop. It’s not mandatory and can take the values “yes” or “no”. The default is “no”.
location* Allows you to choose the location of the tracking. It’s not mandatory and can take the standard values given by Google (Canonical Name for Geographical Targeting). The default is Universal Ranking.

* None of these parameters are mandatory. However, if they are not specified, you will get all the data there is for that parameter. If for instance, you don’t give “mobile” a value, you will get data for both mobile and desktop.

Input URL Example

Output Example

Running this command will result in the following JSON output:


Output Details

status The status of the command (success or error).
locale The country the keyword was tracked in.
position The keyword’s position.
url The URL in which the keyword ranks in.
credits The credit cost of the command.
time The time it took to process the command.
Go Top