USER_PERMISSION_DENIED Error while making google ads api request - google-ads-api

I am getting a USER_PERMISSION_DENIED error while making google ads API call. Upon googling I got to know that we need to pass login customer id and client customer id while making API call?
I want to understand what is the difference between login customer id and client customer id?
How do I get login customer id and client customer id ?
When do I have to use both login customer id and client customer id while making API call?
Some sample code examples to use both login customer id and client customer id using java library would be helpful

Related

How to add another person to twitter api?

I am using a twitter api to post on accounts that sign up, and I cannot seem to find how i can add a new person. I want to add another person so my api can access their account, and get their access tokens.

Eventbrite find user id when given Organisation name or email address

I'm building a system where a user can log in to my website and manage events via the Eventbrite api, the only unique identifier every account will have on creation is a user id, is there a way to have a user input their username, query the api and return their user id?
Eventbrite are working on integrating the organiser_id into the API, this will allow you to do a similar thing when it is live

How to login as a newly created customer in Jira service desk

I am very new to Jira REST API, I am trying to create a customer in Jira service Desk and followed the documentation Jira Documentation Rest API, and I was successfully able to
create a customer through REST API
Add customer to a particular Service Desk
Add Customer to an Organization
Now, I want a way to send an email about the login details and login URL to the newly created customer's e-mail or at-least where are the login credentials saved about the newly created customer, I can may be find a way to email in some other way. Please help.
I donĀ“t know your use case, but maybe a free login portal can work for you:
https://confluence.atlassian.com/servicedeskcloud/blog/2017/04/introducing-the-login-free-portal-for-jira-service-desk-cloud

How to refund the payment using Paypal in ios?

I am using paypal native sdk , in this there is no concept of refund payment. For this do we need REST API's? If we use REST API's then we need to get transaction id. How can we achieve this?
Thanks , Suggestions are really appreciated.
It has to be implemented with your server-side APIs (PayPal REST API - Refund a Sale).
A payment ID will be returned in the JSON response when your app makes a successful payment with a PayPal Mobile SDK.
Your app communicates with your server and sends the ID to your server
Your server can store the payment id value in a database, and look up the payment resource with a GET request to the payment uri, this is also to verify the mobile payment (by checking serveral fields in the response)
The JSON response will contain a Sale object in related_resources, with "state": "completed", obtain the sale id, which will be used in the refund call
Make the refund API call, with the sale id from step#4
Reference links:
Verify a mobile payment
Refund API reference

What Google Account is associated with an OAuth Client ID?

We have some old configurations which make use of an OAuth Client ID, and we're trying to determine which Google Developer account created it.
We have both the client ID and secret. Is is possible for us to determine which Google account they're associated with? We'd prefer to not have to switch to a new account. Any help is appreciated, thanks!
Is this client ID still used on some website for sign-in? If so, you could try to sign-in with an account that hasn't authenticated yet, and in the auth window click on the App name to get the developer info including the email address, which should match the Google account you are looking for.

Resources