edit/audit_2/settings

Method description

Use the method to change settings of Audit tools.

Every module has specific options in the settings.

Method parameters

Parameter Type Description Default
Mandatory
project_id int project ID
Additional
SEO Audit parameters
audit_user_agent enum(0, 1, 2, 100, 102, 110, 112, 200, 202) | string

User-Agent for the checks

Description of values:

  • 0 - Desctop;
  • 1 - Tablet;
  • 2 - Phone;
  • 100 - YandexBot/3.0 - main web crawler;
  • 102 — YandexBot/3.0 (mobile) — web crawler;
  • 110 — Googlebot/2.1 — main web crawler;
  • 112 — Googlebot/2.1 (mobile) — main web crawler;
  • 200 — TopvisorBot;
  • 202 — TopvisorBot (mobile).

You can enter any User-Agent.

Index Checker parameters
indexing_searchers_keys set(0, 1, 5, 6) Search engines (description of values see a searchers_keys parameters)
Website Watcher parameters
watcher_user_agent enum(0, 1, 2, 100, 102, 110, 112, 200, 202) | string

User‑Agent for the checks

See description of values in audit_user_agent.

watcher_max_redirects enum(0, 1, 2, 3, 4,
5, 6, 7, 8, 9)
Max redirects
watcher_type set(title, description, h1, content, code)

Elements to track

See description of values here.

watcher_regexp string

Regular expression for the checks

Standard rules of regular expressions are applied.
watcher_ignore enum(html, nothing, js)

Available options to skip code

Description of values:

  • html — ignore HTML code
  • nothing — do not ignore
  • js — ignore Javascript code

Посмотреть в API Explorer