Skip to content

Keyword programs: measure

The Keyword Verbs measure as MCP do programs, with inputs, result, refusals and an example.

Reference for Keyword, one group of Keyword programs.

Keyword.measure

Measure records a Keyword’s monthly search volume, difficulty, cost per click and trend in one locale. Verb page.

Text
do: return await $.Keyword.measure(input)

Emits Keyword.measured.

Inputs

InputTypeRequiredDescription
keywordKeywordrequiredThe Keyword to measure.
localestringThe market and language, such as en-US. Defaults to the Startup’s home Market.
venuestringThe search venue, such as google-search. Defaults to the largest one in the Market.

Returns

OutputTypeRequiredDescription
keywordKeywordrequiredThe Keyword; each measure is a Keyword.measured Event with its method and observation time.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Keyword.measure({ keyword: 'keyword_cEoeFM4Drs' })"
  }
}