Skip to content

Commit

Permalink
updated Google Ads API version in requirements.txt and updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
fblascogarma committed Aug 26, 2022
1 parent 97a7dc4 commit 8c0b41e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Sign into your [Google Cloud Platform](https://cloud.google.com/) console, and g
1. In Application type put ‘Web application’. As stated in the value proposition section, we are not going to create a service account because that is not usually the case for our partners.
1. In the Authorized JavaScript origins section and Authorized redirect URIs section, put "http://localhost:8080" in both. This is important because the OAuth flow will redirect you to that URI, and if you don’t include it in the project, you will get an error.
1. Download the json file with your credentials (your Client ID, Client Secret, redirect uris, etc.) and save it anywhere in your project.
1. Enable the APIs you are going to use (Content API, Site Verification API, and Google Ads API) by navigating to APIs & Services > Dashboard, in your GCP project and click on ‘ENABLE APIS AND SERVICES’. Use the search bar to find them faster. The OAuth credentials will be the same as the ones you already created for the project.
1. Enable the APIs you are going to use (Google Ads API, My Business Business Information API, and My Business Account Management API) by navigating to APIs & Services > Dashboard, in your GCP project and click on ‘ENABLE APIS AND SERVICES’. Use the search bar to find them faster. The OAuth credentials will be the same as the ones you already created for the project.

When you have your OAuth credentials, download the JSON file and save it to your backend folder. That will be the file that stores your client credentials that authenticates your app to Google’s services.
That file contains information to link your app with your GCP project.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==3.2.4
django-cors-headers==3.7.0
djangorestframework==3.12.4
google-ads==14.1.0
google-ads==16.0.0
google-api-python-client==2.36.0

0 comments on commit 8c0b41e

Please sign in to comment.