SEOKeywords.getNonTargetedHighRankedObjects (Method)

Returns a list of objects which are ranked for a keyword but the keyword is not targeted for that object.

Returns:

SEOKeywords_GetNonTargetedHighRankedObjects_Results (query)

Each row of the returned query results has the following fields:

Field Name Type Description
FileName FileName_ValidURL The filename of the page.
IconPath ServerRelativeURL_EmptyString A server-relative URL to an icon representing the type of page or document.
IconText PlainText Text describing the page or document's type.
ID PageID The object's ID.
Keyword SEOKeyword The SEO keyword.
Link FileName_ValidURL The page's URL.
PageType PageType An integer representing the page type; for example, 0 (normal or uploaded document), 1 (template), 4 (custom element), 6 (page set), and so on.
Rank NonNegativeInteger The ranking for the keyword.
RankChange Integer The number of positions increased or decrease in ranking for the keyword over the specified time period.
SubsiteID SubsiteID The ID of the subsite.
SubsiteURL SubsiteURL The server relative subsite URL.
Title PlainText The internal CommonSpot title of the results page or empty string.

Arguments:

Name Type Required Description
reportingGroupID SEOReportingGroupID Required The unique ID of the SEO reporting group to return results for.
searchEngineID SearchEngineID Required The ID of the search engine to return ranking information for.
startDate PastDate Optional. Defaults to '#DateFormat( DateAdd('d',-30,now()), 'yyyy-mm-dd' )#'. The starting date for the time period. Defaults to 30 days prior to the current date.
endDate Date Optional. Defaults to '#DateFormat( now(), 'yyyy-mm-dd' )#'. The ending time period date. Defaults to the current date.
orderBy SQLOrderByClause Optional. Defaults to 'Rank DESC'. The SQL 'order by' clause, which indicates the order in which results are returned.

Context:

License Requirements SEO
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context Authoring
Author Lock  

Error Codes:

None

Notes:

None