Skip to content

Tag: google-api

503 Getting metadata from plugin failed with error: ‘GoogleRefreshTokenClient’ object has no attribute ‘before_request’ when trying to Upload clicks

Does anyone know why I’m getting the above error when trying to Upload Clicks to google ads? got this in the logs: Request made: ClientCustomerId: xxxxxx-xxxxx.apps.googleusercontent.com, Host: googleads.googleapis.com, Method: /google.ads.googleads.v11.services.ConversionUploadService/UploadClickConver…

Create nested folders with Google Drive API

I need to add a new file in a nested folder on Google Drive using Google Drive api in the form YYYY/MM/DD/HH/mm/file where the dates are dynamically created basing on the current date. For example: I created the following script in Python, but it is creating one single folder (named “2021/06/16/11/30&#8…