Urgent: Error "invalid_grant" with OAuth2 API Call

2024-06-26 Thread vinicius motta
Hello, I am facing this issue with the API call in auth2. Theoretically, everything is correct, including the client id, secret key, code, grant type, and redirect uri, but it does not return the expected results. Could you please check what might be wrong or suggest a solution? My app is ca

RE: scriptapp error oauth2

2024-04-10 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for reaching out to the Google Ads API support team. Please note that our team can only assist with the technical queries or concerns related to the Google Ads API. As this issue is related to the Google Ads Scripts, I am routing this request to the Google Ads Scripts team as they

ScriptApp Error OAuth2

2024-04-10 Thread Shubham Verma
Hello, I'm encountering an issue with accessing ScriptApp.getProjectTriggers() in my script. When I try to call this function, it fails with the following error message: *Exception: You do not have permission to call ScriptApp.getProjectTriggers. Required permissions: https://www.googleapis.c

oauth2 token issue

2024-01-30 Thread Jade Huang
com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request POST https://oauth2.googleapis.com/token { "error": "invalid_grant", "error_description": "Token has been expired or revoked." } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

RE: google oauth2 refresh token life time!

2023-06-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hamza, Thank you for reaching out to the Google Ads API support team. With regard to your concern on how long can Google OAuth2 Refresh Token live, as per our documentation (https://developers.google.com/google-ads/api/docs/oauth/internals#access_token_expiration) an access token has an

Google OAuth2 Refresh Token Life Time!

2023-06-23 Thread Hamza Shah
I'm just asking that how long can Google OAuth2 Refresh Token live and can make request to get access token? is there any number of days? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspo

Can't access REST API with OAuth2 flow but gRPC works fine

2023-01-06 Thread Errors4l
Tried both an OAuth 2 Client ID of type Desktop and Web application (using Postman). *Step 1: authorize user* GET https://accounts.google.com/o/oauth2/v2/auth?client_id=*CLIENT_ID* &redirect_uri=*http://127.0.0.1:4200*&response_type=*code*&scope= *https://www.googleapis.com/

Re: OAuth2 desktop app or web app flow, which one to use?

2022-08-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello, My team doesn't have specific expertise in the verification process. I'm not sure where you're reading that, but it sounds like a question that would be better suited for the team that assists you with the verification once you submit the verification request. If you have any questions

Re: OAuth2 desktop app or web app flow, which one to use?

2022-08-05 Thread Kommid
Hello Jinky, did you get my last message a few days ago? Kind Regars Markus adsapi schrieb am Montag, 1. August 2022 um 16:55:07 UTC+2: > Hi Markus, > > Thank you for the reply. I work with Heidi and let me provide support here. > > I’m adding in a colleague that should be able to assist further.

Re: OAuth2 desktop app or web app flow, which one to use?

2022-08-01 Thread Kommid
why are all my messages deleted here? adsapi schrieb am Freitag, 29. Juli 2022 um 14:34:05 UTC+2: > Hi Kommid, > > Thank you for reaching out to us. > > You are correct that the refresh token expires after 7 days if you have > set the publishing status of it to testing. For you to change it, You

Re: OAuth2 desktop app or web app flow, which one to use?

2022-08-01 Thread Kommid
OK, since we don't have a Google Workspace account, I started to prepare everything for the verification. I read the faq and there (https://support.google.com/cloud/answer/9110914#exceptions-ver-reqts) it says under "personal use": "* The app is not shared with anyone else or will be used by fe

Re: OAuth2 desktop app or web app flow, which one to use?

2022-08-01 Thread Kommid
Actually it IS an internal application, because it shows data from a specific Google Ads account that may not be accessible to others. When I read OAuth API verification FAQs - Google Cloud Platform Console Help it says unter "preparing for veri

RE: OAuth2 desktop app or web app flow, which one to use?

2022-07-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Kommid, Thank you for reaching out to us. You are correct that the refresh token expires after 7 days if you have set the publishing status of it to testing. For you to change it, You can go to the Google API Console and navigate to the OAuth consent screen then change the publishing status

OAuth2 desktop app or web app flow, which one to use?

2022-07-29 Thread Kommid
I'm building a reporting website for a customer, where they can see basic metrics of their google ads campaigns like impressions, clicks, ctr, conversions and costs. Data are obtained from google ads api via the PHP library once every day. My problem is, that my refresh token expires after 7 d

Re: General Google Oauth2 confusion ('invalid_grant' when exchanging authorization code)

2022-07-11 Thread Ngon Nguyen
Vào 3:04, Th 6, 24 thg 6, 2022 Dmitry M đã viết: > Team, > > After Google blocked the 'less secure apps' access to Gmail and such I'm > trying to rewrite my client code to use Google's OAuth2 API. > > But I'm stuck w/the notorious 'invalid_grant&

Re: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
ve encountered the error, 'invalid_grant' > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#invalid_grant>. > > Can you please try regenerating your OAuth2 credentials along with the > refresh token and see if this behavior

RE: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thanks for reaching out to the Google Ads API support and for providing all details. I understand that you’ve encountered the error, 'invalid_grant'. Can you please try regenerating your OAuth2 credentials along with the refresh token and see if this behavior persists? Could

POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" }

2022-06-29 Thread Александр Чернуха
Our application worked fine, but today all request returned an auth error: POST https://oauth2.googleapis.com/token resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_description": "Bad Request" } We changed password, generated n

General Google Oauth2 confusion ('invalid_grant' when exchanging authorization code)

2022-06-23 Thread Dmitry M
Team, After Google blocked the 'less secure apps' access to Gmail and such I'm trying to rewrite my client code to use Google's OAuth2 API. But I'm stuck w/the notorious 'invalid_grant' issue. Here, pay attention: this is about the very 'second'

RE: Missing Oauth2 token on createCustomerClient request

2022-06-23 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for raising this concern to the Google Ads API Forum. With regard to your questions, let me answer you generally. Moving forward, service accounts are used when you need a domain-specific feature. With this, could you confirm if you already followed this statement, because we str

Missing Oauth2 token on createCustomerClient request

2022-06-23 Thread Emanuele Isaia
Hi, I'm having an issue using Google Ads SDK, my application in on Laravel 8 and I'm using PHP Google libraries, I'm trying to create a customer client direclty linked with my manager ID, for doing it I'm using an external Business account that log in with my application credentials and next I

Re: Request is 'sometimes' missing OAUTH2 token

2022-05-16 Thread CFJ
Like Christian, I'm seeing that this appears to have resolved. The last UNATHENTICATED error Google returned for us was on Friday morning as well. On Monday, May 16, 2022 at 11:44:03 AM UTC-4 Christian H. wrote: > Hi Jakeia, > > It was definitely no problem on my side: as I wrote I use the jav

Re: Request is 'sometimes' missing OAUTH2 token

2022-05-16 Thread Christian H.
Hi Jakeia, It was definitely no problem on my side: as I wrote I use the java google-ads client-lib and the error only occurred irregularly (User CFJ said 0,1% of the requests have been affected). It must have been some issues with your authorization-checker. But the problem seems to have been

Re: Request is 'sometimes' missing OAUTH2 token

2022-05-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Christian, Thank you for getting back to us. Could you please verify that you are using the correct credentials? Our Quickstart takes you through the process of acquiring the correct set you need. For example, the above response failure shows that the user has sent invalid authentication

Re: Request is 'sometimes' missing OAUTH2 token

2022-05-13 Thread Christian H.
Hi, I'm experiencing the same (with the java client lib). I saw this error irregularly from time to time in the past (once or twice a week). But starting on May 11th it occurs much more often. Regarding the logs: I try to create one. However, this is difficult because the error only occurs spo

Re: Request is 'sometimes' missing OAUTH2 token

2022-05-12 Thread CFJ
I've been seeing this as well over the last 24-36 hours. We've been on the Ads API v10 using the .NET client library for several weeks with zero authentication issues. Yesterday, we began seeing a few of these "Request is missing required authentication credential" errors. 99.9% of our reque

Request is 'sometimes' missing OAUTH2 token

2022-05-12 Thread Dev Eloper
Hello, Since today our Desktop application is experiencing some unexpected issues with regards to the error: vendor/google/gax/src/ApiException.php - 139 - { "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authenti

Re: What is the relationship between the OAuth2 authenticated user of GoogleAdsAPI and the user of the MCC account for testing?

2022-04-20 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello Yuta, Thank you for following up. With regards to your question, all Google Ads API calls must be authorized through OAuth 2.0 protocol for authentication and authorization. Credentials for accessing Google's OAuth2 servers are required in order to authenticate and authorize Googl

Re: What is the relationship between the OAuth2 authenticated user of GoogleAdsAPI and the user of the MCC account for testing?

2022-04-19 Thread Yuta
Hi, Thank you for your response. I have an OAuth2 authenticated MCC account user and What is the relationship between OAuth2 authentication? For example, a user with an OAuth2-authenticated MCC account If you exit from your MCC account, the API requests are no longer possible. Thanks, Yuta

What is the relationship between the OAuth2 authenticated user of GoogleAdsAPI and the user of the MCC account for testing?

2022-04-13 Thread Yuta
Hi, What is the relationship between the OAuth2 authenticated user of GoogleAdsAPI and the user of the MCC account for testing? If the OAuth2-authenticated Google account is no longer the user of the MCC account for testing Will requests to the API be disabled? For example. 1. create a test

RE: Google gmail api oauth2 authentication

2021-09-13 Thread Google Ads API Forum Advisor
Hi, Thank you for posting your concern. Please note that our team can only provide support to the issue and concerns that are related to Google Ads API and AdWords API. Since the concern appears to be related with Gmail API, then I am afraid that our team would not be able to provide support h

Google gmail api oauth2 authentication

2021-09-13 Thread support gms
Im trying to create a script for fetching specific emails send in my gmail account. I created the project at google cloud platform, i followed the instructions from this yt video: https://www.youtube.com/watch?v=j_ilbyXwIzI and it worked. After two or three months back i wanted to try it again b

Re: support for oAuth2 when run as a windows service

2021-09-08 Thread Brian Maynard
Thanks, I will try that. On Wednesday, September 8, 2021 at 2:59:38 PM UTC+2 adsapi wrote: > Hi, > > If you don't want to perform manual step, then there is a service account > option. Please refer to the following guide: > https://developers.google.com/google-ads/api/docs/oauth/service-accounts

RE: support for oAuth2 when run as a windows service

2021-09-08 Thread Google Ads API Forum Advisor
Hi, If you don't want to perform manual step, then there is a service account option. Please refer to the following guide: https://developers.google.com/google-ads/api/docs/oauth/service-accounts Thanks, Lakshmi Prathipati Google Ads API Team ref:_00D1U1174p._5004Q2NSJsw:ref -- -- =~=~=~=~=~

support for oAuth2 when run as a windows service

2021-09-08 Thread Brian Maynard
Hi, I've been trying to get this to work now for about a week. I am now so confused as to how this works. I am writing a windows service that will upload audience lists. But as a windows service. It will run without supervision. But when I try to do the OAuth. ( I have the ClientID and ClientS

RE: Issue with authenticating service account using OAUTH2 but getting error mentioning NOT_ADS_USER.

2021-08-12 Thread Google Ads API Forum Advisor
Console team via this link, so their team can guide you through required authentication and credentials verification with regards to service accounts. Kindly note that, we strongly recommend using OAuth2 installed app or web flows instead of service accounts unless you need domain-specific features

Re: Issue with authenticating service account using OAUTH2 but getting error mentioning NOT_ADS_USER.

2021-08-11 Thread Anum Hassan
added Ads API endpoint in scope of service account. >5. Got google ads API enabled in console. >6. Created a Developer token and changed the access level to BASIC for >production. > > > > Now we are trying to authenticate it using OAUTH2 but we are getting an >

RE: Get the OAuth2 refresh token

2021-07-05 Thread Google Ads API Forum Advisor
Hello there, Thank you for reaching out to us. Since you're using the Python client library, have you tried following the steps mentioned on this guide when setting up the OAuth Web Application Flow of the client library? In addition to that, we also suggest that you reach out to the client li

Re: Unable to find email address of client signed in using OAuth2 -

2021-05-19 Thread Google Ads API Forum Advisor Prod
Hi Aromal, Thank you for reaching out. I don’t think you need the login email in the code. You could simply generate the OAuth2 credentials using the example code. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2HBiTz:ref

Re: Unable to find email address of client signed in using OAuth2 -

2021-05-19 Thread Aromal S
Hi Xiaoming, In my application, I use the AuthenticateInWebApplication example. I need to get the email address while logging in. I have added email in the "scopes" attribute. Bu

RE: Unable to find email address of client signed in using OAuth2 -

2021-05-18 Thread Google Ads API Forum Advisor Prod
Hi Aromal, Thank you for reaching out. Could you please elaborate on your question so we could better assist you? Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2HBiTz:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

Unable to find email address of client signed in using OAuth2 -

2021-05-18 Thread Aromal S
Hi, OAuth 2.0 login is working. But I need to get the email address of the client in order to link google ads with the client's Google My business account. Can you help me with a code snippet? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleads

RE: Problem with oauth2 callback

2021-04-11 Thread Google Ads API Forum Advisor Prod
, for further guidance in generating your OAuth2 credentials. I hope this helps. Best regards, Peter Laurence Napa Oliquino Google Ads API Team ref:_00D1U1174p._5004Q2FXEg8:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https

Re: Problem with oauth2 callback

2021-04-09 Thread AdWords API and Google Ads API Forum
Reposting the last inquiry from the forum as it wasn't routed to our support queue. Cheers, Matt, Google Ads API Team On Monday, March 29, 2021 at 4:32:03 PM UTC-4 te...@extendtecnologia.com.br wrote: > Hi, > > Im trying to integrate goo

RE: repeatedly getting oauth2 error using google-ads java lib

2021-03-15 Thread Google Ads API Forum Advisor Prod
Hello, Thanks for reaching out. Can you please confirm if your OAuth credentials and refresh token are properly set in your ads.properties file? Can you also please provide us with the customer ID? Please reply privately from here as your responses may contain sensitive information. Thanks, Ma

repeatedly getting oauth2 error using google-ads java lib

2021-03-13 Thread Shubham Srivastava
POST https://oauth2.googleapis.com/token { "error": "invalid_grant", "error_description": "Account has been deleted" } at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1113) at com.google.auth.oauth2.UserCredentials.refreshAccessToken(Us

Re: OAuth2 refresh token expiration?

2021-01-05 Thread Google Ads API Forum Advisor Prod
Hi Samir, The refresh token could be expired if one of these occurs. Also thanks Zweitze for the explanation. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q2AH6DO:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: OAuth2 refresh token expiration?

2021-01-05 Thread Zweitze
If a RefreshToken is not used for six months, it expires. See also the OAuth2 documentation <https://developers.google.com/identity/protocols/oauth2#expiration>. And do take notice of the other reasons when a RefreshToken may become invalid. On Monday, January 4, 2021 at 9:15:32 PM

RE: OAuth2 refresh token expiration?

2021-01-04 Thread Google Ads API Forum Advisor Prod
Hi Samir, Thank you for reaching out. As you are using the Google Ads API client library, the refresh token would be regenerated automatically when you issue a call and the system detects that the refresh token has expired. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads

OAuth2 refresh token expiration?

2021-01-04 Thread Samir Sabri
Hello As we have a setup for using Ads API via OAuth2, would the refresh token get expired after a while? do we need to maintain the credentials from time to time or is it active for ever? Thanks in advance. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog

Re: Link between Developer Token and OAuth2

2020-12-07 Thread Google Ads API Forum Advisor Prod
Hi Thomas, Thank you for your suggestion and our team will improve the documentation to provide more explicit information on this topic. We really appreciate it! Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q28lIIu:ref -- -- =~=~=~=~=~=

Re: Link between Developer Token and OAuth2

2020-12-07 Thread Thomas
Thx to both of you! It's really more explicit now! @Xiaoming, I really think the doc could be improved to be a few more explicit on these points. https://developers.google.com/google-ads/api/docs/first-call/dev-token On Thursday, December 3, 2020 at 12:47:53 PM UTC+1 Zweitze wrote: > You made

Re: Link between Developer Token and OAuth2

2020-12-03 Thread Zweitze
You made me blush! I'm glad to help out every now and then. On Wednesday, December 2, 2020 at 9:13:36 PM UTC+1 adsapiforumadvisor wrote: > Hi Zweitze, > > Thanks for providing useful information to other people in the forum. We > appreciate your efforts and hope you could keep up the good work.

RE: Link between Developer Token and OAuth2

2020-12-02 Thread Google Ads API Forum Advisor Prod
Hi Zweitze, Thanks for providing useful information to other people in the forum. We appreciate your efforts and hope you could keep up the good work. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team ref:_00D1U1174p._5004Q28lIIu:ref -- -- =~=~=~=~=~=~=~=~=~=~=~

Re: Link between Developer Token and OAuth2

2020-12-01 Thread Zweitze
Let me offer an alternative explanation. Both OAuth2 client and MCC developertoken are intended to identify the developer. To understand this you've got to consider history. The MCC developertoken was first. At that time (we're talking 2005 here, OAuth2 did not exist) you had to p

RE: Link between Developer Token and OAuth2

2020-11-30 Thread Google Ads API Forum Advisor Prod
Hi Thomas, Thank you for reaching out. The developer token itself is just a key used to access the API. It could be used for different accounts even if those accounts might not be in the hierarchy of the MCC account which holds the developer token. The OAuth2 credentials are created using the

Link between Developer Token and OAuth2

2020-11-27 Thread Thomas Leclaire
Hello! I'm currently reviewing some permissions in my company and I don't understand how the ads api was configured. In particular i'm trying to understand where is defined the link between oauth2 and the developer token. Is there some mapping only visible on Google side?

Re: How can i get the client_customer_id throuth the oauth2

2020-11-08 Thread Google Ads API Forum Advisor Prod
Hi, I work with Matt and allow me to assist you for now. You should be able to implement a filter for the list of customers after the response has been received in your end. Best regards, Peter Laurence Napa Oliquino Google Ads API Team ref:_00D1U1174p._5004Q277NOp:ref -- -- =~=~=~=~=~=~=~=

Re: How can i get the client_customer_id throuth the oauth2

2020-11-06 Thread anton000v
Hello! Thank you for your answer! Can I let user choose exactly one customer? Or I need load all customers before it? On Friday, November 6, 2020 at 8:05:39 PM UTC+2 adsapiforumadvisor wrote: > Hello, > > Thank you for reaching out. It seems you are interested in obtaining a > list of accessib

RE: How can i get the client_customer_id throuth the oauth2

2020-11-06 Thread Google Ads API Forum Advisor Prod
Hello, Thank you for reaching out. It seems you are interested in obtaining a list of accessible customers within the scope of a set of a OAuth credentials. Please see this guide on listing accessible customers. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2

How can i get the client_customer_id throuth the oauth2

2020-11-05 Thread anton000v
Can i get specific adwords manager account for getting client_customer_id throuth the oauth2 from google with the corresponding scope? Or maybe adwords have own oauth2 process for getting specific company? What i should do, if one person has many adwords accounts linked to his google account

How to resolve Invalid_grant error in OAuth2

2020-09-11 Thread ankitt...@gmail.com
_type=application/json&http_method=GET&useDefaultOauthCred=checked&oauthEndpointSelect=Google&oauthAuthEndpointValue=https%3A//accounts.google.com/o/oauth2/v2/auth&oauthTokenEndpointValue=https%3A//oauth2.googleapis.com/token&includeCredentials=unchecked&accessTokenType=be

Re: Oauth2 token expired time

2020-09-11 Thread Wayne Tao
:37:17 PM UTC+8 adsapiforumadvisor wrote: > Hi Wayne, > > Thank you for reaching out. I see that you're encountering a continuously > invalidating refresh token. Could you check that you haven't hit these > limits > <https://developers.google.com/identity/protocols/oa

RE: Oauth2 token expired time

2020-09-10 Thread Google Ads API Forum Advisor Prod
Hi Wayne, Thank you for reaching out. I see that you're encountering a continuously invalidating refresh token. Could you check that you haven't hit these limits for refresh tokens? If not, could you provide us with the request and response logs for where you encounter this issue? For privacy y

Oauth2 token expired time

2020-09-09 Thread Wayne Tao
Hi Team, I have an issue about refresh user token expired time, I realize that user token can only use for one hour then it will expired, so I write a function to auto refresh token when it going to expired. *Here's the code:* GoogleOAuth auth = dao.getGoogleAuth(); System.out.println(String.fo

Re: How to get Google Ads accounts using API via Oauth2 Authentication.

2020-09-09 Thread Google Ads API Forum Advisor Prod
Hello, You can retrieve the client customer id by selecting the ExternalCustomerId when running reports. Regards, Anthony Google Ads API Team Anthony Google Ads API Team ref:_00D1U1174p._5001UKM2Ru:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://g

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-09-08 Thread Google Ads API Forum Advisor Prod
Hi All, While Pratik investigates, it might be worth looking at previous Issues filed against the PHP library to see if other users have encountered this issue already. If not, filing an Issue there might help you get the issue resolved more quickly because the users there have much more exper

Re: How to get Google Ads accounts using API via Oauth2 Authentication.

2020-09-08 Thread Tarannum
Hi all, Please let me know the solution get in order to get ClientCustomerid from Customerid of the Client who access my Goggle App with Login process. Please help. Its urgent. On Friday, October 18, 2019 at 5:03:54 PM UTC+2 adsapiforumadvisor wrote: > Hi Niti, > > You can get the currency of

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-09-07 Thread Tarannum
can any of you can update on this? Pratik do you find some way to achieve this. Please help us I am also struck in same case. On Friday, June 19, 2020 at 10:05:21 PM UTC+2 adsapiforumadvisor wrote: > Hi Pratik, > > Apologies for my delayed response. You should not need to provide a > Customer ID

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-08-10 Thread Google Ads API Forum Advisor Prod
Hi Pratik, I think the issue here is that a non-null value is being sent in the clientCustomerId header in your requests. Looking at the PHP library the Configuration class should return a null value if a particular configuration value isn't present. Is it possible that in your adsapi_php.ini c

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-19 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Apologies for my delayed response. You should not need to provide a Customer ID when using the CustomerService.getCustomers method. Since you received the error CLIENT_CUSTOMER_ID_IS_REQUIRED I'm inclined to think this is a bug in our system. I'm going to file an issue with our engin

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-17 Thread Pratik Patel
On Monday, June 15, 2020 at 9:52:10 AM UTC+5:30, Pratik Patel wrote: > > > > On Thursday, June 4, 2020 at 10:23:24 PM UTC+5:30, adsapiforumadvisor > wrote: >> >> Hi Pratik, >> >> Thank you for your patience. I'll take a look at this internally with my >> team and get back to you as soon as poss

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-14 Thread Pratik Patel
On Thursday, June 4, 2020 at 10:23:24 PM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > Thank you for your patience. I'll take a look at this internally with my > team and get back to you as soon as possible. > > Thank you, > Bryan, Google Ads API Team > > ref:_00D1U1174p._5004Q1zsDUN:re

RE: oauth2 readonly scope in nodeJS

2020-06-08 Thread Google Ads API Forum Advisor Prod
Hi Roby, Thank you for reaching out. Unfortunately, NodeJs isn't a supported client library so I am unable to help with the specifics of that library. On a more general level, if you are just using the API for reporting, you can change your Permissible Use to "Reporting" which will limit your d

oauth2 readonly scope in nodeJS

2020-06-08 Thread Rc B
hi i use nodeJs to communicate with adwords account via the api. it works perfectly but when launching an oauth popup to the user, it asks for permissions to "manage adwords accout" in my case, I only require "READ" permissions from the user due to the nature of my service which is only to prov

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-04 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Thank you for your patience. I'll take a look at this internally with my team and get back to you as soon as possible. Thank you, Bryan, Google Ads API Team ref:_00D1U1174p._5004Q1zsDUN:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://goo

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-03 Thread Pratik Patel
On Thursday, June 4, 2020 at 12:41:09 AM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > I see that you've been encountering some errors while running the > getCustomers request. Could you provide me with your request and response > logs where you get this error so that I may further inv

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-03 Thread Google Ads API Forum Advisor Prod
Hi Pratik, I see that you've been encountering some errors while running the getCustomers request. Could you provide me with your request and response logs where you get this error so that I may further investigate? For privacy, you can click "reply privately to the author". Thank you, Bryan,

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-02 Thread Pratik Patel
On Wednesday, June 3, 2020 at 1:00:44 AM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > Thank you for the update. I'm taking a look over this case on Xiaoming's > behalf. I took a look over the issue and see that you're experiencing a > USER_PERMISSION_DENIED error while trying to get a

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-02 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Thank you for the update. I'm taking a look over this case on Xiaoming's behalf. I took a look over the issue and see that you're experiencing a USER_PERMISSION_DENIED error while trying to get a list of customer IDs from your clients. This is able to be done via Web App Flow which I

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-06-02 Thread Pratik Patel
On Friday, May 29, 2020 at 11:57:27 PM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > Thank you for reaching out. The error USER_PERMISSION_DENIED > > > usually occurs when

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-29 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Thank you for reaching out. The error USER_PERMISSION_DENIED usually occurs when there is no link between the manager account authenticated in the request and the client account specified in the headers. This type of issue is not due to the authentication itself. Rather, it is becaus

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-28 Thread Pratik Patel
On Friday, May 29, 2020 at 12:36:28 AM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > Thank you for reaching out. If you need to get the client customer id from > users that are authorized through your app you would need to use > getCustomer() >

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-28 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Thank you for reaching out. If you need to get the client customer id from users that are authorized through your app you would need to use getCustomer() and set your manager account id as the client customer id, then you would be able to get all the direct customer accounts under yo

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-27 Thread Pratik Patel
On Thursday, May 28, 2020 at 12:09:21 AM UTC+5:30, adsapiforumadvisor wrote: > > Hi Pratik, > > Thank you for reaching out. The documentation you quoted was a prior > version and was deprecated. The current version does not have the get() > instead it is getCustomer() >

RE: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-27 Thread Google Ads API Forum Advisor Prod
Hi Pratik, Thank you for reaching out. The documentation you quoted was a prior version and was deprecated. The current version does not have the get() instead it is getCustomer() which requires you to provide the client customer id to make the API calls. Thanks and regards, Xiaoming, Google A

Re: How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-27 Thread Pratik Patel
On Wednesday, May 27, 2020 at 5:21:44 PM UTC+5:30, Pratik Patel wrote: > > > Hi, > > > I am developing app where user authorize to app using their adword account > credential and later they can see their ad campaigns and all. > I am using googleads/googleads-php-lib library and webapp flow( > h

How to get client customer id of authorized adword account user through oauth2 in PHP

2020-05-27 Thread Pratik Patel
Hi, I am developing app where user authorize to app using their adword account credential and later they can see their ad campaigns and all. I am using googleads/googleads-php-lib library and webapp flow( https://github.com/googleads/googleads-php-lib/wiki/API-access-on-behalf-of-your-clients-

Re: Google Ads API Access via Oauth2 without dev-token

2020-05-14 Thread Google Ads API Forum Advisor Prod
Hi Apithana, For your concern with the developer token, you will need to use your own developer token as your app is trying to access the API. Developer tokens are legal entity specific, so users should not share their developer tokens. To pull a list of customers under a managing account, you

Re: Google Ads API Access via Oauth2 without dev-token

2020-05-13 Thread Apithana B.
Yes, I have used Web App OAuth . I have generated auth link from backend and send to users for grant them access. I have follow the step until i got refresh_token. but the things i mentioned abov

Re: Google Ads API Access via Oauth2 without dev-token

2020-05-13 Thread Google Ads API Forum Advisor Prod
Hi Apithana, Thank you for the update. Could I ask if you have used Web App OAuth to set up your client credentials? This OAuth type allows you to access other users accounts if they've granted you access. Let me know if you have further questions. Thank you, Bryan, Google Ads API Team ref:_00

Re: Google Ads API Access via Oauth2 without dev-token

2020-05-13 Thread Apithana B.
Hi Bryan Thanks you for answering. In my meaning is, I have provided an Application to other people (e.g. Agency, Business). Does Google Ads API have another way to access by login with OAuth2 or obtain credentials in automatic way instead of manually copy in Google Ads Manager On Wednesday

Google Ads API Access via Oauth2 without dev-token

2020-05-13 Thread Apithana B.
Hi. I have some questions about accessing Google Ads API. After I have logged in via Oauth2 and set every credential that required to call but, What if i don't know Manager Account ID(login-customer-id) and i don't have developer-token even my customer-id How do I get those things

RE: Simple Report Downloads via Adwords API without OAuth2 possible? (PHP)

2020-04-17 Thread Google Ads API Forum Advisor Prod
Hi Jann, Thank you for reaching out. The Adwords API/Google Ads API use OAuth2 for authentication. Thus you would not be able to use the API key to replace it. When setting up the OAuth consent screen if you choose “Internal” your app will be available to only G Suite users within your

Simple Report Downloads via Adwords API without OAuth2 possible? (PHP)

2020-04-17 Thread Jann Rasenack
Hello, im am struggelig to do a simple report download via the api. When i want to generate the OAuth credentials i first have to do some configuration für the OAuth "agreement screen" at that point i can only choose "external" wich i dont want because its only for internal purposes. I cant sel

RE: oauth2 credential

2020-01-22 Thread Google Ads API Forum Advisor Prod
Hi Enrique, Thank you for reaching out to us. Unfortunately developer token, client id, customer id, and client secret are all necessary to call AdWords API. You can find how to obtain the client id and client secret using these steps. Your developer token and customer id should be visible in t

oauth2 credential

2020-01-22 Thread Enrique Jane
I am creating web application to allow other user's sign-in as google and fetch ads account data so I am creating authorizatiion flow in java and am getting access token and refresh token but how can i call adwords api without developer token,client id ,customer id and client secret ? -- --

RE: How to use OAuth2 with AWS Secret manager

2020-01-09 Thread Google Ads API Forum Advisor Prod
Hi Vikas, Thank you for reaching out to us. Unfortunately, I am only able to provide assistance with Google Ads API / AdWords API related issues, and AWS Secrets Manager is outside of my expertise. If you have further questions related to the API, please let me know. Thank you, Bryan, Google A

How to use OAuth2 with AWS Secret manager

2020-01-09 Thread Vikas Awasthy
Hi Team, I am trying to connect with googleads python api, just want to fetch all required values like CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN, DEVELOPER_TOKEN,CLIENT_CUSTOMER_ID from AWS Secrets Manager. There It should fetch accordingly Secret Manager Name. Using this want to connect with g

RE: Google API Oauth2: Only one refresh token for connected accounts

2019-11-11 Thread Google Ads API Forum Advisor Prod
Hello Nik, Thank you for reaching out. To assist you better, could you please confirm if my understanding is correct and you are looking to access the two accounts under your main account via API? If yes, you could use the OAuth credentials generated using the email address having access to the

  1   2   3   4   5   6   7   >