POST api/Keyword/CalculateBudgets

Calculate budgets for keywords Max keywords count in one request - 50

Request Information

URI Parameters

None.

Body Parameters

CalculateKeywordBudgetParam
NameDescriptionTypeAdditional information
KeywordTitles

Keyword titles

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "KeywordTitles": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<CalculateKeywordBudgetParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IDEV.RookeeWebApi.Models.InputData">
  <KeywordTitles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </KeywordTitles>
</CalculateKeywordBudgetParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CalculateKeywordBudgetResponse
NameDescriptionTypeAdditional information
KeywordBudgets

Collection of KeywordBudget

None.

StatusCode

Response status code

ApiStatusCode

None.

ErrorMsg

Error text if status code not Ok

string

None.

Response Formats

application/json, text/json

Sample:
{
  "KeywordBudgets": [
    {
      "Title": "sample string 1",
      "Budget": 2.0
    },
    {
      "Title": "sample string 1",
      "Budget": 2.0
    }
  ],
  "StatusCode": 0,
  "ErrorMsg": "sample string 1"
}