    Token     = "y0_AgAAAABdylaOAAy9KgAAAAEXh6i...";
    CounterID = "105780896";

    CounterStructure = New Structure;
    CounterStructure.Insert("autogoals_enabled", True);

    FlagsStructure = New Structure;
    FlagsStructure.Insert("collect_first_party_data"             , False);
    FlagsStructure.Insert("measurement_enabled"                  , False);
    FlagsStructure.Insert("use_in_benchmarks"                    , False);
    FlagsStructure.Insert("direct_allow_use_goals_without_access", False);

    CounterStructure.Insert("counter_flags", FlagsStructure);
    CounterStructure.Insert("favorite"     , 0);
    CounterStructure.Insert("filter_robots", 1);

    Result = OPI_YandexMetrika.UpdateCounter(Token, CounterID, CounterStructure);
