code: public function submitForm(array $formValues) {
  
      $this->configFactory->getEditable('adsense.settings')
        ->set('adsense_basic_id', (string) $formValues['adsense_basic_id'])
        ->save(TRUE);
    }
docs: {@inheritdoc}