Skip to main content

local_seo_visibility_check_results

Creates, updates, deletes, gets or lists a local_seo_visibility_check_results resource.

Overview​

Namelocal_seo_visibility_check_results
TypeResource
Idovh.hosting_web.local_seo_visibility_check_results

Fields​

The following fields are returned by SELECT queries:

Struct describing a visibility check result

NameDatatypeDescription
namestringThe location's name used for this listing
listing_idstringThe listing id in the directory database (wire: listingId)
citystringCity of the location
city_statusstringCity of the location (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: cityStatus)
countrystringCountry of the location
country_statusstringCountry of the location (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: countryStatus)
date_createdstring (date-time)The date and time the listing was created in database (wire: dateCreated)
directory_typestringThe directory where this listing appears (wire: directoryType)
emailstringA contact email for the location
email_statusstringA contact email for the location (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: emailStatus)
flow_statusstringThe status of the current listing (ALL_INFORMATION_SUBMITTED, DONT_REMOVE, INACTIVE, MANUALLY_DEACTIVATED, NEEDS_REVIEW, NOT_SUPPORTED, NO_ACTION_NEEDED, REMOVAL_NEEDED, REMOVAL_REVIEW_NEEDED, REMOVAL_SUBMITTED, REMOVED, SUBMISSION_NEEDED, WAITING_DIRECTORY_ACTION, WAITING_USER_ACTION) (wire: flowStatus)
listing_urlstringThe listing url on the directory website (wire: listingUrl)
name_statusstringThe location's name used for this listing (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: nameStatus)
phonestringThe location's contact phone number
phone_statusstringThe location's contact phone number (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: phoneStatus)
provincestringProvince of the location
province_statusstringProvince of the location (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: provinceStatus)
streetstringThe location's street address
street_and_nostringA localized combination of street and streetNo (wire: streetAndNo)
street_and_no_statusstringA localized combination of street and streetNo (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: streetAndNoStatus)
street_nostringThe location's street number (wire: streetNo)
street_no_statusstringThe location's street number (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: streetNoStatus)
street_statusstringThe location's street address (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: streetStatus)
street_typestringThe street type for Spain (wire: streetType)
street_type_statusstringThe street type for Spain (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: streetTypeStatus)
sync_statusstringThe sync status of the listing (IN_SYNC, NOT_FOUND, NOT_IN_SYNC, NOT_SUPPORTED, NO_ONLINE_LISTING, TECHNICAL_PROBLEMS) (wire: syncStatus)
websitestringA valid url for the location's website
website_statusstringA valid url for the location's website (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: websiteStatus)
zipstringZipcode of the location
zip_statusstringZipcode of the location (sync status) (MATCH, MISMATCH, MISSING, NOT_APPLICABLE, PRESENT) (wire: zipStatus)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdirectory, id, tokenGet visibility check results. Returns the listings found for the location in each directory, with the sync status of each field.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
directorystringGet the result only for one directory
idintegerId of the check
tokenstringToken received when requesting the check

SELECT examples​

Get visibility check results. Returns the listings found for the location in each directory, with the sync status of each field.

SELECT
name,
listing_id,
city,
city_status,
country,
country_status,
date_created,
directory_type,
email,
email_status,
flow_status,
listing_url,
name_status,
phone,
phone_status,
province,
province_status,
street,
street_and_no,
street_and_no_status,
street_no,
street_no_status,
street_status,
street_type,
street_type_status,
sync_status,
website,
website_status,
zip,
zip_status
FROM ovh.hosting_web.local_seo_visibility_check_results
WHERE directory = '{{ directory }}' -- required
AND id = '{{ id }}' -- required
AND token = '{{ token }}' -- required
;