Posts tagged with google-api

We're using a personal gmail account to manage our Google Ads and therefore create the Oauth access to send LSA data. Is there anyway to provide access to a vendor using the personal gmail as an alternative to the service account method?

Since it's a personal gmail my understanding is a service account won't work...

Tried creating a service account, trying to avoid having to create a g suite just for this

I have a problem about writing correct Google Ads API query to get statistics by country.

I need to get click, cost, impression and conversion statistics by country with Google Ads API. How should i update my query; does someone have any idea?

SELECT metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.conversions  FROM geographic_view  WHERE country = 'TR' 

I'm using the Google Ads REST API to retrieve a list of customers and display them to the user. I want to display these customers alongside metadata like the account name, whether it's a manager account or not, etc.

I've already got a list of accessible customers using https://googleads.googleapis.com/v15/customers:listAccessibleCustomers. However, I can't find the appropriate documentation for retrieving the customer object itself using the customer id.

I've tried using the https://googleads.googleapis.com/v15/customers/{customerID}/operations/get endpoint, however this always returns a 404 resource not found error.

Any help would be appreciated. Thank you.

I'm having trouble connecting to the Google Ads API with Python, first I have all the proper credentials for the connection which are DEVELOPER_TOKEN, CLIENT_SECRET, REFRESH_TOKEN, CUSTOMER_ID. It should be noted that I am trying to connect with the method that I have a yaml file where I have all my credentials and well I have tried to get a code where I can connect and I have tried all the methods and it does not let me, someone who can guide me for the API connection, please.

I have tried with the script of the repository of the same that Google Ads sends you, but it is very extensive to understand and in the same way I feel that I managed to understand it a little but nevertheless it does not work for me, I also tried with others and I don't need you to help me, please

I am working on a project to extract data from Google Ads campaigns using Python. However, I'm facing an issue when trying to use the 'from google.ads.google_ads.client import GoogleAdsClient'

library, and it's giving me the error

'ModuleNotFoundError: No module named 'google.ads.google_ads''.

I have already installed the 'google-ads' library using pip. I'm currently stuck on this problem, and I would appreciate any guidance or solutions from anyone who has experience with this. Your help is highly valued.

Libraries already installed google 3.0.0 google-ads 22.1.0 google-api-core 2.14.0 google-auth 2.23.4 google-auth-httplib2 0.1.1 google-auth-oauthlib 1.1.0 googleads 40.0.0 googleapis-common-protos 1.61.0 grpcio 1.59.3 grpcio-status 1.59.2 proto-plus 1.22.3 protobuf 3.17.3