Questions? We have answers.

getKeywordCampaign

Definition

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

Cost

Using this command consumes 10 credit for each keyword.

Module

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

Parameters

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 enddate 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: http://support.cognitiveseo.com/knowledgebase/getsupportedcountrycodes/

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.