Definition
The getKeywordCampaignStatus API Command displays information regarding your tracked keywords.
Cost
Using this command consumes 1 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. |
Input URL Example
http://api.cognitiveseo.com/command.php?apiKey=your_api_key&command=getKeywordCampaignStatus&campaignId=5
Output Example
Running this command will result in the following JSON output:
{
"api": "cognitiveSEO API",
"data": {
"status": "success",
"data": {
"seo tools": {
"dateAdded": "2013-12-23 18:03:47",
"lastTrackingDate": "2015-01-19 00:00:00",
"active": "yes"
},
"cognitive": {
"dateAdded": "2013-12-23 18:03:47",
"lastTrackingDate": "2015-01-19 00:00:00",
"active": "yes"
},
"cognitiveseo": {
"dateAdded": "2013-12-23 18:03:47",
"lastTrackingDate": "2015-01-19 00:00:00",
"active": "yes"
},
"cognitive seo": {
"dateAdded": "2013-12-23 18:03:47",
"lastTrackingDate": "2015-01-19 00:00:00",
"active": "yes"
},
"link explorer": {
"dateAdded": "2013-12-23 18:03:47",
"lastTrackingDate": "2015-01-19 00:00:00",
"active": "yes"
}
},
"credits": 1
},
"time": 5.871
}
Output Details
| status | The status of the command (success or error). |
| dateAdded | The date when the keyword was inserted in the API. |
| lastTrackingDate | Last date when the keyword was tracked. |
| active | If the keyword is paused. (Values: yes or no) |
| credits | The credit cost of the command. |
| time | The time it took to process the command. |