Questions tagged [google-client]

Google client is an API which is used to invoke Google libraries to build high quality client.

Google client is an API which is used to invoke Google libraries to build high quality client.

Important link :

272 questions
3
votes
0 answers

DoubleClick Offline Conversion API Deleting on duplicate records?

Trying to use the DoubleClick API with the Google Client PHP SDK described here https://developers.google.com/doubleclick-advertisers/v3.1/conversions/batchupdate I'm finding that instead of an update happening, these conversions are being removed…
3
votes
1 answer

Google pubsub flow control

I'm trying to implement a service which consumes a google pubsub subscription at its own pace. By that, I mean I need fine control on when I need to consume messages i.e get a batch of messages, pause for a while, do not get more than X…
benjamin.d
  • 2,801
  • 3
  • 23
  • 35
3
votes
1 answer

php google ads api - unauthorized_client

I'm using 'Google_Client' class to authenticate access to adwords api so: $REDIRECT_URI = 'http://localhost/GoogleAdwords/auth.php'; $client = new Google_Client(); $client->setApplicationName("App name"); $SCOPES =…
3
votes
4 answers

Google signIn tokenId is invalid_token

I need to get google+ signIn tokenId. Here is my code: var mGSO = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(WEB_CLIENT_ID)//from developer console .requestEmail() …
Andriy Antonov
  • 1,360
  • 2
  • 15
  • 29
3
votes
0 answers

How to make GoogleCL work? Can't configure the OAuth Token

I just installed GoogleCL but can't make it work. When I enter the command it requests me a username and then the following message is shown: Could someone show me how to get this OAuth token and what to do with it? What I could do until now was…
Lucas Rezende
  • 564
  • 1
  • 7
  • 18
3
votes
0 answers

Google sheets API authentication from .jar

I'm putting together a simple application that basically just reads and writes from google sheets (and stores some of that stuff in a postgres database in between operations) using IntelliJ. It all works fine when run locally, except it often (and I…
3
votes
1 answer

Using Google SettingsAPI and PermissionModel API in tandem

I am looking at the Play Services 7.0 documentation that can be found…
3
votes
1 answer

Is there a Google-Supported way to stub out gapi.client JS library?

Is there a recommended way to stub out the gapi.client api? I'd like to test its integration with some of my applications' functionality, and think I have to constantly manually stub out responses. Is there an existing stubbing library out there?
3
votes
1 answer

Python client library for Google Calendar API v3 insert event throwing "Missing end time" error

I have searched the web for the solution but it seemed I am the only one who couldn't solve this issue. So this is what my python code looks like: class ReminderDate(object): def __init__(self, datetimestring, timezone="Australia/Sydney"): …
Ali Nahid
  • 867
  • 11
  • 26
3
votes
2 answers

Extracting BigQuery Data From a Shared Dataset

Is it possible to extract data (to google cloud storage) from a shared dataset (where I have only have view permissions) using the client APIs (python)? I can do this manually using the web browser, but cannot get it to work using the APIs. I have…
3
votes
0 answers

Google Client API refresh token Fatal error: Uncaught exception 'Google_Auth_Exception' 'Error refreshing the OAuth2 token

When I try to refresh my token I receive Fatal error: Uncaught exception 'Google_Auth_Exception' with message 'Error refreshing the OAuth2 token, message: '{ "error" : "invalid_client", "error_description" : "The OAuth client was not found." }''…
chosta
  • 448
  • 10
  • 19
3
votes
0 answers

Can't Get Google Client API simple.php example to work

Just trying to use the Google Client API to pull traffic data for my site and thought I would try the simple.php file on https://code.google.com/p/google-api-php-client/source/browse/trunk/examples/contacts/simple.php I've edited it appropriately…
2
votes
0 answers

How do I batch a request to Compute Engine using the Python Google Cloud Client Libraries?

In the older Google API Client Libraries, you could batch a request to label many instances at once, using googleapiclient, discovery.build("compute", "v1").new_batch_http_request(...) With the new, recommended Cloud Client Libraries, you can set…
Joshua Fox
  • 18,704
  • 23
  • 87
  • 147
2
votes
1 answer

Google API Node.js Library - Grant Role to service account at project level

Goal Assign a role dialogflow.admin to a service account I created for a project using the Node.js Client library for Google APIs. Issue When I try to update my service accounts IAM Policy and add a role to the service account. I get an error that…
2
votes
2 answers

_pickle.PicklingError when trying to read a table from BigQuery and save it as a dataframe using Airflow

What is the best way to read a BigQuery table from Airflow and save the result as a dataframe? I have a python module to read the table and can run this locally to fetch the table: def reading(ds, **kwargs): project_id = '{project-id}' …
Saurav Ganguli
  • 396
  • 3
  • 18
1 2
3
18 19