Google Analytics and BigQuery link issue - google-bigquery

I am getting an error while linking Bigquery to Google analytics" We encountered a permission error for the selected BigQuery project. Please ensure that the service account has edit permissions on the project and try again. See the linking instructions for more information.
I want to know how to set up service account on cloud console?

Your error is usually related to two types of permissions, one is the Service Account that you use to access BigQuery and the other is the email address you use to login to Google Analytics.
Service Account
In order to create a new service account, you should follow the steps described here. So, in IAM & Admin > Service Accounts > Create Service account. Then, 1: give the service account details, 2: Grant this service account access to project(select the roles) and 3: Grant users access to this service account(add users)
In your case make sure that, you have to add this service account analytics-processing-dev#system.gserviceaccount.com to your project. In order to don so, you have to navigate to IAM & Admin > IAM. Then, click in the top right corner ADD, copy and pate the service account and Select a role: Project > Editor, link for the documentation.
Permissions in Google Analytics
The email you use to login with Google Analytics must to have OWNER access to the BigQuery Project and Edit permission for the Analytics property that includes the view you want to link, here.
Therefore, after performing these actions, you will be able to link BigQuery with Google Analytics.
Attention: In addition, I must mention that you first have to ensure you enabled Billing for your project, here.

Related

How to fix login process to dialogflow after I have attached gmail to my non-gmail account?

I had a Google account based on not-GMail-account. I had another email company's email as a login to my Google Account (myemailhere#ukr.net). And I used this Google account to login the dialogflow.cloud.google.com.
Today Google suggested me to create a #gmail.com account and attcach it to my myemailhere#ukr.net Google Account. I have confirmed and created the myemailhere#gmail.com.
Using both of this logins (myemailhere#gmail.com and myemailhere#ukr.net) I am still able to login my cloud.google.com Profile. But when I try to login the Dialogflow Profile (dialogflow.cloud.google.com) - I see the eternal loading animation (or a totally blank page). There is no errors about password or something like this. Just login process after I submit the password and then white page. This behavior I see on all my devices, while I trying to login with myemailhere#gmail.com or myemailhere#ukr.net
And I see some 400 errors in web console (if it matters).
Could you please help me to fix this and get access to DialogFlow?
Screen that I see after the login and password entering
Do you have the project owner role for the mentioned username that is registered on your project in the GCP console (not Dalogflow Console)? Here is a list of roles related to Dialogflow that grant access to its Console.
Note that some of these roles give full access or edit access while other roles have permissions that simply gives view access to the Dialogflow Console.
If you are missing any of these then simply assign on your GCP project's console.
Assigning roles as described above did not work for me. Solution was to delete gmail email service from the account.
Instructions here
If you would like to use gmail, do NOT add gmail to your existing google account. You should instead create a seperate google account and use gmail from this seperate account

Google Analytics Reporting API Credentials

I'm new to Google Analytics API.
At some point, I'm supposed to allow the API to access the Analytics account I am interested in to an address like :
quickstart#PROJECT-ID.iam.gserviceaccount.com
I assumed :
quickstart should be replaced by the name of my project
PROJECT-ID by the 6-digits number appearing in the URL of my project's developer console interface
However, I haven't seen this address (or such) plainly written anywhere, and Analytics says this address doesn't exist, so that I just can't add it.
Did I miss something here ?
Thanks !
Solved,
The email syntax is explained here.
Though, I had to create this service account, from the Google API admin panel > project parameters > Service Account view, with reading rights.

Google Drive Android: Error signing in the specified account. Please choose a different account

I am implementing the google drive use google play services.
I enable drive Api and Drive SDK from api console, and implemented configuration settings for Drive SDK, But when I try to login from my application, I get the following error,
Error signing in the specified account. Please choose a different account,
I add another account but facing the same error,
I did not know what is the problem? did I have to add the test users? but I did not find any place to test users.
In authentication section (https://developers.google.com/drive/web/enable-sdk#drive_integration). I found . In order to authenticate Drive users with the user info service, you must manually enter the following two scopes:
email
profile
But scope section only allow to enter the url and not the email and profile.
In the Google Developers Console, the package name must be the same as the Android app's package name in your android studio.
If you enter the wrong name, you may get this error message.

How to publish google apps script to cloud for public?

I have a apps script that uses bigquery service to fetch data from my bigquery account and builds visualizations/tables etc. I publish the app with following options
Execute App as: User accessing web app
Who has access to this app: Anyone
When I open the link (one ending in exec not dev) in chrome incognito, I expect it to show the web app but it asks for google credentials.
When I entering credentials of my other (different from the one hosting the project) account, I get a permissions error.
I added this other account from my primary one under permissions option of google console - even that wasn't enough.
I had to create a dummy project as this other user to accept the invitation from my primary account. After that the app showed up on this other account.
My question is, how do I publish my app for the consumers (even public) of this info without them having to create dummy project/accept my invite etc?
Thanks
You have two errors:
1) Publish to run as you not the user, and2) make it anonymous access. *
People might consume your daily/per second quotas thou.
(*) anonymous access option might not be present if the google apps administrator disabled anonymous sharing in the console.

Permission for using Amazon Marketplace Web Service (MWS)

I'm developing an application for a seller at Amazon, using Marketplace Web Service API (MWS).
The seller has created an account for managing his inventory, and says that he assigned the necessary permissions.
However, clicking "Sign up for MWS" button on https://developer.amazonservices.com/ results in permission error: "Insufficient user rights."
Can anyone clear up what permission(s) Amazon Marketplace requires for accessing their API, or at least provide a list of all possible permissions?
I found the answer. It has actually turned out that you can't sign up for Amazon MWS from a sub-account. No such permission exists, so this must be done by the owner.