Utilizing TagManager API in apps scripts - google-apps-script

It would appear that Google has recently implemented a tagmanager interface for Google Apps Scripts. I attempted to follow along with the documentation but found that the service was not available via Resources -> Advanced Google Services dialogue. Am I missing something here? How can I get access to the TagManager service via apps scripts?

It is stated in the documentation of Google Apps Script that if you want to use a Google API that isn't available as an advanced service, just connect to it like any other external API.
Here is the things that you can do in External API.
Connecting to public APIs
Parsing XML
Working with JSON
Making requests to services with OAuth
Just take note that if you want to use Tag Manager API in the Apps
Script, you should also enable the Tag Manager API in your Developers
Console.

Related

Google Drive APi and Google Maps in the same application

I'm using Google Maps API in my application. I want to use Google Drive too. Do I need to create a new key and project in google developer console, or just enable Google Drive?
Just enabling Google Drive would be fine.
According to the console help docs:
a project is a collection of settings, credentials, and metadata about the application or applications you're working on that make use of Google Developer APIs and Google Cloud resources.
So in other words, one project == one app.
https://developers.google.com/console/help/new/?hl=en_US#managing-projects-in-the-developers-console
Hope this help!

Are there examples or support for Google Drive API with ColdFusion?

I would like to access the Google Drive API via ColdFusion (version 9) but I have not found any up to date information to do so. Does anyone know of any information out there regarding this?
Since Google Drive SDK is basically HTTP request and since you can make http request with ColdFusion, you can use Google Drive SDK with ColdFusion. However, there is no official support for ColdFusion in Google Drive, and you should build your own library for it. Here is documentation about Drive API having some details of requests and responses you will have with Drive SDK.
FYI, you can easily test API requests using OAuth 2.0 Playground

Understanding the authorization flow with Google Drive and Google Play Services

I have gone through Quickstart with Google Drive and I have also used Google Play Services. The docs for Google Drive outline the process of how the authorization flow works. The docs also indicate that developers should not use Drive initiated authorization although it appears that the Quickstart sample app does exactly that. I am left with the impression that Google prefers that the developer handle all the details of authorization.
Yet after trying out sample code that uses Google Play Services (but not for Google Drive), I am left with the impression that Google wants developers to use Google Play Services to handle all the authorization. It seems that Google Play Services simplify the authorization process significantly. Although the docs don't say this, I found elsewhere online that GoogleAuthUtil.getToken manages how access and refresh tokens are retrieved, especially after they expire.
Basically, the issue I am struggling with to understand is whether the Google Drive docs for the API are out of date and Google wants us to rely upon Google Play Services. There seems to be a lot of complexity in the Google Drive authorization process that Google Play Services has eliminated. At the same time, the docs for Google Drive API has been available for over half a year, so it makes me question why Google hasn't updated these docs to show any reflection on how Google Play Services are used with it.
Any insight into this would be appreciated.
The recommended approach for authorization on Android is using Google Play Services. The Android quickstart guide on the Google Drive SDK documentation covers exactly that:
https://developers.google.com/drive/quickstart-android
The Google Drive docs are out of date and Google should really update them. Retrieving tokens and authenticating users should be done using Google Play Services. The only thing you should be using the Google Drive API for is accessing the Google Drive service. Google Play Services handles all the details of authenticating users, retrieving access and refresh tokens and handling all the errors that can arise.

Google Maps API and Lua

I am a developer working on Lua scripting as my backend code for mobile app development. I have a requirement to use the Google Maps service and the google directions service within my Lua script to enable GPS tracking and sore some of the information into a database.
The following link helped me a little to understand how to achieve the functionality but is the same possible with Lua Script? (where I don't use any HTML or javascript anywhere).
https://google-developers.appspot.com/maps/documentation/javascript/examples/directions-waypoints

How can an IOS app access Google Drive files

Does anyone know how if IOS apps can access files stored on Google Drive?
I did not find what I was looking for on https://developers.google.com/drive/
thanks
Andy
The API for Google Drive is now released for Objective C. You can find it here:
http://code.google.com/p/google-api-objectivec-client/
Google Drive App for iOS will be release soon, is what was said in some articles. See below.
http://www.gottabemobile.com/2012/04/24/google-drive-for-iphone-and-ipad-coming-soon/
http://www.readwriteweb.com/archives/full-sized_screenshots_of_the_google_drive_ipad_ap.php
I think the generic Google GTL Library (Google APIs Client Library for Objective-C - http://code.google.com/p/google-api-objectivec-client/ ) is going to include some generated code for Drive access. Drive SDK docs seem to link there but the code is still missing. Doc is also a bit inconsistent regarding iOS native apps:
"Apps will not have any API access to files unless the app has been installed in Chrome Web Store. To test an app during development, you must first create a listing and install it."
Nico.
Yep although not directly through Objective C you would need to interface with Ruby, Python, PHP, or Java.
Here is a list of Examples: https://developers.google.com/drive/examples/index
http://itunes.apple.com/us/app/idocs-hd-pro-for-google-docs/id498653441?mt=8, I found this App
can access google drive files on iPad, maybe google docs api can
You can use the Google Data APIs Objective-C Client Library to access files stored in Google Drive using the Documents List API.
The library also includes a complete sample: http://code.google.com/p/gdata-objectivec-client/source/browse/#svn%2Ftrunk%2FExamples%2FDocsSample
"Google APIs Client Library for Objective-C" has been depreciated by Google and is only working for apps already on AppStore.
New Implementation for accessing Google Drive API for iOS using "Google APIs Client Library for Objective-C For REST".
Here is the working implementation for accessing Google Drive Files in iOS using "Google APIs Client Library for Objective-C For REST" library : https://stackoverflow.com/a/41649210/1999368