Skip to content
Browse files
docs: Update Webmasters API sample (#1092)
* docs: Update Webmasters API sample

webmasters@v3 has been merged into searchconsole@v1, so sample should be updated accordingly.

* docs: Update webmasters to searchconsole in method doc

Co-authored-by: Anthonios Partheniou <>
  • Loading branch information
nati-google and parthea committed Nov 17, 2020
1 parent 5c9bab1 commit 12831f3e4716292b55b63dd2b08c3351f09b8a15
Showing with 2 additions and 2 deletions.
  1. +2 鈭2 samples/searchconsole/
@@ -55,7 +55,7 @@

def main(argv):
service, flags = sample_tools.init(
argv, 'webmasters', 'v3', __doc__, __file__, parents=[argparser],
argv, 'searchconsole', 'v1', __doc__, __file__, parents=[argparser],

# First run a query to learn which dates we have data for. You should always
@@ -157,7 +157,7 @@ def execute_request(service, property_uri, request):
"""Executes a searchAnalytics.query request.
service: The webmasters service to use when executing the query.
service: The searchconsole service to use when executing the query.
property_uri: The site or app URI to request data for.
request: The request to be executed.

0 comments on commit 12831f3

Please sign in to comment.