New Google Apps Marketplace Setup URL Domain Parameter - google-apps-marketplace

It seems like a lot has changed with the new Google Apps Marketplace. I'm trying to configure a setup URL for Google to redirect the user to in order to configure an application. When using a manifest in the past I was able to specify http://whatever.com/{domain}, {domain} being a dynamic piece of data. However, the new Google Apps Marketplace SDK does not use a manifest and gives an error when I try to include {domain} in the value. How can I achieve this? The documentation is very minimal.

For followup the standard is now ${DOMAIN_NAME}

Related

News sample skill returns unauthorized error

I am trying to use the experimental skills provided by the bot framework. I downloaded the code for the news skill and created all azure resources. I got the bing key from here and placed it in my appsettings.json I also updated all my config values to my Luis app.
I am testing through emulator. When I run the code I go through the dialog successfully, it asks me for the topic I want to get news about and my country and then at the point where it has to get the news articles I get the following error.
Does anyone have any idea what am I missing? I tried the bing API through postman using the same key I have in my appsettings and it is working fine.
Should I do an additional step other than just download the code and update all the config values?
I don't know what is causing this error.
If you have created bing using new marketing portal.
Here are endpoints for Bing news using REST API.
Doc Location: https://learn.microsoft.com/en-us/bing/search-apis/

Test GMail marketplace app flow

So here I am again, exploring new Google platform and hunting down information and docs.
I'm trying to build a skeleton of a flow before I write any business logic code with actual use of the APIs, and as expected from Google, this process is excruciatingly painful.
I've tried to follow this doc:
https://developers.google.com/gsuite/marketplace/listing
Packaged the zip, put the flag DOMAIN_INSTALLABLE flag as was instructed in order for the app to be installible from the marketplace. In the dashboard of PRICING & DISTRIBUTION I've selected Private and added testers to the list of testers.
Now when I click View in Chrome Web Store (seen in image) it takes me to the extensions web store, and not to the marketplace store.
How can I get to the GSuite Marketplace flow, rather than the extension flow? Do I need to alter my manifest.json in some way that is not mentioned in the docs?
Thanks
it's true that the publishing flow is too complicated now. We are working on improvements and in the future everything will be in one place.
Unfortunately G Suite Marketplace does not support trusted testers (yet), that's why it doesn't show up.
What you might be able to do, is modify the url a bit after you clicked on 'View in Chrome Web Store'.
Just remove everything after the webstore id
I use this url:
https://chrome.google.com/webstore/detail/xxxxxx
xxxx should be your webstore id
You should be able to show your unlisted app in the Gsuite Marketplace, where you can initiate the install flow.
It works for me, but my test app

What is the logical definition of a google api project

I am confused about the features, functionality, and boundaries of a Google API project. A single Google API project can have many credentials.
If your apps will all be using the same APIs, why would you want to create separate projects?
When or under what conditions should you create additional credentials fo the same project?
Base on Google Doc: Before you can send requests to Google Apps Activity API, you need to tell Google about your client and activate access to the API. You do this by using the Google Developers Console to create a project, which is a named collection of settings and API access information.
As above, Each API project is a named collection of settings and API access information. You can read this

Is it appropriate to publish a provisioning app to Google apps marketplace?

I've got an application that does user provisioning for Google apps (specialty provisioning).
I got to thinking, instead of going into the developer console for each customer currently using the application that it may make sense to publish the app in the market place.
Is this appropriate to do? Also, there are limits on each api key on how many requests can be done. Would a new api key get generated for each customer installing from the marketplace? Is there anything else I need to be concerned on this?
I didn't fully understand your questions so i'll try to answer the best I can.
Yes, it would be easier for your customers, especially new customers, to find your app in Marketplace. From there they can install it easier.
Not sure what you meant by "instead of going into the developer console for each customer currently using the application". Do you create a new console project for each customer?
Are you using the Provisioning API? This API is being deprecated and it will stop working by April 20, 2015. Instead you should use the Directory API.
What do you mean with "API Key"? Is it Project ID? When users install the app, the app will use the same Project ID.
You should keep in mind that there are quotas for using Google services that will go against that Project ID.

Google Apps Marketplace Migration

We have a Google Apps Marketplace App. Or more precisely, we have 2: one in the old marketplace and one in the new. Both point to the same URL, both do exactly the same thing (OAuth2 authenticating the user(even users from the old Marketplace,, because we handle this users like the "normal" users coming from the Chrome Web Store ).
Now Google wants us to move the users from the old Marketplace app to the new one.
How do we do that?
According to Google's document we should call an UpgradeApp API for every domain.
This requires that we find out all the domains (we don't know them because we don't care, if the user is a marketplace user or not).
So we should probably use licenseNotification on the old Marketplace app, to find out all domains and migrate them one by one?
To try this, I tried to issue the API from API Explorer (https://developers.google.com/apps-marketplace/v2/reference/licenseNotification/list) but got a message (403 FORBIDDEN complaining that I should activate the API . How do I do this? (I already have a project where the Marketplace API and Marketplace SDK is enabled).
Will this approach work at all?
Are there simpler ways of doing this?
The API explorer approach works, I just tried.
Make sure you are providing correct applicationId which is the key here.
GET https://www.googleapis.com/appsmarket/v2/licenseNotification/applicationId

Resources