At this point, all we have to do is deploy our function, and to do so we must click on the button mark DEPLOY . The Cloud Functions environment will now package our function, and when it does, and to test it, we just have to visit the URL of our trigger. This is what we should see: And with this we already have our first function.
What do we ne to extract data from Search Console?
Extracting data from Search Console, whether on a one-off or recurring basis, is a fairly quick and easy process, but before doing so we ne three cash app database things: that we have the Search Console API enabl among the services provid by.
Google Cloud, that
We have access to the Search Console property from which we want to extract data with the appropriate permissions and that we well foreign competitors can be considered have install the Google API client for the programming language we have chosen (in this case, we will do it with Python).
Search Console API
Google Cloud is an environment where, by definition, you only pay for what you use and therefore it does not come with the Search Console API enabl. That is the first thing we ne to do. To do this, we use the hamburger menu locat at the top left of the screen and select the option mark Enabl APIs & services within the submenu mark APIs & Services .Next, we click on the button mark ENABLE APIS AND SERVICES .
A search box will appear
Which we will use to enter the term ‘Search Console’. When we press the Enter key, we will see the result we are looking for: We click on the search result and then tg data click on the button that appears mark ENABLE . With this, we will have the Search Console API enabl in the Google Cloud environment.