SEOReportingGroup.getLastQueryInfo (Method)

Returns a structure describing the last query status for a reporting group.

Returns:

SEOReportingGroup_GetLastQueryInfo_Result (struct)

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

Field Name Type Description
ErrorMessage PlainText The error message if the last query status is error.
LastQueryStatus RunStatus_EmptyString The last query status of the search engine account, or an empty string if not yet queried.
LastQueryTimestamp PastTimestamp_EmptyString The timestamp when the search engine account was last queried.

Arguments:

Name Type Required Description
id SEOReportingGroupID Required The unique ID of SEO reporting group.
searchEngineID SearchEngineID_0 Optional. Defaults to '0'. The unique ID of the search engine, or 0 for any search engine. If non-zero the status is returned specific for this search engine.
accountID SearchEngineAccountID_0 Optional. Defaults to '0'. The ID of the search engine account, or 0 for any account. If non-zero the status is returned specific for this search engine account.

Context:

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

Error Codes:

None

Notes:

None