title: Google Search Console API: Adding domains does not work
body: <p>I have this code for adding a new domain to the Google search console:</p>
  <pre><code>from googleapiclient.discovery import build
  from googleapiclient._auth import credentials_from_file
  
  service = build('searchconsole', 'v1', credentials=credentials_from_file('/md/setup/domains/service_account_key.json'))
  sites = service.sites()
  sites.add(siteUrl='https://www.mydomaindfvfvui4fu9neriern.com').execute()
  print(sites.list().execute())
  service.close()
  </code></pre>
  <p>It runs successfully and afterwards the list shows the domain is added:</p>
  <p><code>{'siteEntry': [{'siteUrl': 'https://www.mydomaindfvfvui4fu9neriern.com/', 'permissionLevel': 'siteUnverifiedUser'}]}</code></p>
  <p>However, in the web browser at <a href="https://search.google.com/search-console" rel="nofollow noreferrer">https://search.google.com/search-console</a> the domain does not show up. The key I use above is tied to the Google account I'm using in the browser. Also, I have other code for verifying a domain using <code>siteVerification</code> API with the same credentials which works. Only <code>sites.add()</code> seems to somehow perform its actions on some other instance. Any idea what is going wrong here?</p>