Re: service account authentication issue

2024-07-02 Thread Lee Franke
; "The Google account (@gmail.com user) that generated the OAuth access >> tokens is not associated with any Ads accounts. Create a new account, or >> add the Google account to an existing Ads account." >> >> Reading it literally indicates that the person who cre

Re: service account authentication issue

2024-07-02 Thread Lee Franke
s I expected: > > "The Google account (@gmail.com user) that generated the OAuth access > tokens is not associated with any Ads accounts. Create a new account, or > add the Google account to an existing Ads account." > > Reading it literally indicates that the person who

Re: service account authentication issue

2024-07-02 Thread Lee Franke
literally indicates that the person who created the Service Account does not have permission to the Ads Account. Or does is it the Service Account does not have the permissions to the Ads account? thanks, lee -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our b

Service Account Authentication Issue

2024-07-02 Thread Lee Franke
C# .Net Framework 4.8 I was told to use a service account otherwise I would be using OAuth2/ClientSecret/Id/etc I'm using the *same *Service Account to successfully extract data from AnalyticsDataService Right now my code is very simple just trying to get it to authenticate and r

Re: Google Ads API Authentication using service account

2024-03-11 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. Kindly note that you can update campaigns using a field mask. The field mask lists all the fields you intend to change with the update, and any specified fields that are not in the field mask will be ignored, even if sent to the

Re: Google Ads API Authentication using service account

2024-03-08 Thread Shafali Kapoor
Hello All, I am looking to use the FieldMask attribute to overwrite the conversion threshold values that are preset for a customer ID and associated Campaign ID inorder to pause the campaign. Can you please help with the script that I can use for this? I feel the script shared in this mail trai

Add a Service account user in google ads

2024-02-19 Thread Роберт Жуков
How can I add a Service account user in google ads? When adding through the "Access and security" section, an invitation is sent to the email that was generated when creating the "Service account" and I cannot confirm access. How can I give access to Google ADS for

Re: How do I authenticate to send a clickConversion to google Ads with a service account and over REST API with typescript

2024-01-31 Thread Bjoern Ammon
d >> >> *My setup:* >> Regarding to the documentation I have a google ads account with a >> developer token. This token will be used, when I send the click conversion, >> as you can see here >> <https://developers.google.com/google-ads/api/rest/auth#request_h

RE: how do i authenticate to send a clickconversion to google ads with a service account and over rest api with typescript

2024-01-31 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for contacting the Google Ads API support team. By reviewing your concern, I understand that you are encountering the 'invalid_client' error. I would suggest that you recreate the client Id and client secret and generate a refresh token using the new client Id and client secret k

Re: How do I authenticate to send a clickConversion to google Ads with a service account and over REST API with typescript

2024-01-31 Thread Bjoern Ammon
headers>. > The token has nothing to do with the authentication of the service account. > Therefore I have a service account on the Google Cloud Project, which also > has the Google Ads Api enabled.[image: Ii3VN.png] > > I also added to the workspace domain to the

RE: adding service account problem - awaiting response

2023-12-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Ryan, Thank you for reaching out to the Google Ads API support team. By reviewing your concern, I understand that you are facing an issue while adding a service account to Google Ads. Please note that the service account must be correctly linked to the Google Ads account via the OAuth2

Re: Adding service account problem - awaiting response

2023-12-08 Thread Ryan Marks
Hi Wojciech, Did you ever figure out how to get a service account to work? Thanks! Ryan On Thursday, October 26, 2023 at 3:09:24 AM UTC-5 Wojciech Siarek wrote: > Hi there, > > We are missing the steps of how to ad service account to Google Ads. > That's the path we followe

using service account auth flow from php library

2023-09-20 Thread Nayana Hettiarachchi
Hi, I have logged into google cloud console and search for the ads api and then click manage and created a service account. I didn't give it any permissions because I wasn't able to find any permissions related to ads api. then once the service account was successfully created I

RE: when using a service account to authorize advertising accounts and obtain advertising data, the interface reported an error

2023-09-11 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 team. To clarify, Service Account is an account that belongs to your app instead of to an individual end user. Service accounts enable server-to-server interactions between a web app and a Google service. Your app calls Google APIs on

When using a service account to authorize advertising accounts and obtain advertising data, the interface reported an error

2023-09-08 Thread xilibanzhuan
only need to obtain advertising report data for internal advertising accounts. Simply authorize the advertising account to the application through a simple method. So I want to obtain authorization through the "Service Account" method to retrieve data. My approach is to create a d

Re: unable to authenticate using service account json credentials in php lib

2023-09-07 Thread Nayana Hettiarachchi
public function validate() { if ( (!is_null($this->jsonKeyFilePath) || !is_null($this->scopes)) && (!is_null($this->clientId) || !is_null($this->clientSecret) || !is_null($this->refreshToken)) ) { throw new InvalidArgumentException( 'Cannot have both service account

unable to authenticate using service account json credentials in php lib

2023-09-07 Thread Nayana Hettiarachchi
in /home/nayana/code/google-ads-php/src/Google/Ads/GoogleAds/Lib/OAuth2TokenBuilder.php:216 i followed instruction on service account flow. anyone have experience on this? Nayana -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.c

Accessing google Ads API using a service account

2023-09-02 Thread Siddharth Mehta
I've been trying to authenticate to google ads API using my service account using the following code in python import pandas as pd from google.ads.googleads.client import GoogleAdsClient def main(): try: # Initialize the Google Ads API client with the service account key

Linking Service Account to Google Ads Account

2023-08-02 Thread Online Store
I have a service account that I use for managing shopping content and I also have a Google Ads account. When I try to use my service account to make API calls for Google Ads, I get the NOT_ADS_USER error back. So, I need to link my service account to my Google Ads Account. I tried adding my

Re: service account auth error - not_ads_user

2023-06-27 Thread RedSpot Admin
Good day, Thanks for your response. I have managed to make the code above work. I have just replaced *OAuth2PrnEmail *with the manager's account email - I used the service account before, and it didn't work. Thanks for your help! Feel free to close the ticket. Regards, Vlad On M

Re: service account auth error - not_ads_user

2023-06-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vlad, Thank you for the reply. Kindly note that the NOT_ADS_USER error (https://developers.google.com/google-ads/api/docs/best-practices/common-errors#authenticationerror) is one of the common authorization errors encountered when the service account has not been correctly linked to the

Re: service account auth error - not_ads_user

2023-06-23 Thread Vlad
Good day - thanks for your response. I can confirm I have already completed all 1-5 actions described above. Service account should be configured correctly, and ready for using. As to this one: *< Moving forward to NOT_ADS_USER error, yes, it is indeed means that the Google account u

Service Account Auth Error - NOT_ADS_USER

2023-06-22 Thread Vlad
Good day, I'm trying to upload the offline conversion to the Client's Google Ads account with help service account credentials impersonating Google Ads Manager Account, and I get the NOT_ADS_USER error. Could you help me with that? In a related conversion https://groups.google.com

Re: Adwords API using service account to access manager account within same google workspace: Can api access sub accounts that are not in workspace but children of manager account?

2023-06-16 Thread Google Ads API and AdWords API Forum
Hi, Thank you for raising this concern to the Google Ads API team. Regarding your concern, since this is related to using a service account, I would highly recommend referring to our *Service Accounts* (https://developers.google.com/google-ads/api/docs/oauth/service-accounts) guide for

Re: Adwords API using service account to access manager account within same google workspace: Can api access sub accounts that are not in workspace but children of manager account?

2023-06-13 Thread Google Ads API and AdWords API Forum
setup a Google workspace account and a GCP > account and an google ads manager account. We have created a GCP > application and granted Adwords api permissions. Our intention is to use a > service account to allow api access to Google Ads manager account that is > under the same doma

Is a Developer_token required when using a service account?

2023-05-08 Thread Bryan Yen
Hi, I am wondering if I set up a service account to access the Google AdWords API, would a developer_token still be required? Thanks! Regards, Bryan -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Basic Setup, PHP, Service account flow

2023-04-20 Thread Michael Shepard
I am attempting initial setup and testing for my project. I have installed the google-ads-php library in my project with composer, I have created a service account, and downloaded my JSON key. I have created the google_ads_php.ini. I am attempting to create the basic "GetCampaigns"

Re: Unable to get sub accounts (ListAccessibleCustomers) with service account flow

2023-03-07 Thread Giovanni Quarella
I am using the last .NET client library. ListAccessibleCustomers gives me no error at all, but return only the account id of the caller and not all the account id that I retrieve using what I found in the above stackoverflow link. Il giorno martedì 7 marzo 2023 alle 14:48:32 UTC+1 Google Ads A

Re: Unable to get sub accounts (ListAccessibleCustomers) with service account flow

2023-03-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Giovanni, Thank you for getting back to us. I hope you are doing well today. Moving forward to your concern, I really understand that you encountered an error when you tried the ListAccessibleCustomers. However, can I ask if you tried the solution that you saw in the https://stackoverflow.c

Re: Unable to get sub accounts (ListAccessibleCustomers) with service account flow

2023-03-07 Thread Giovanni Quarella
In the meanwhile I discovered a user with the same problem and with his solutions it works https://stackoverflow.com/questions/68265386/get-a-list-of-mcc-accounts I still do not understand why ListAccessibleCustomers does not work Il giorno lunedì 6 marzo 2023 alle 10:57:30 UTC+1 Google Ads AP

RE: Unable to get sub accounts (ListAccessibleCustomers) with service account flow

2023-03-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Giovanni, Thanks for reaching out to the Google Ads API team. I hope you are doing well today. With regards to your concern, could you provide more context or details to your issue so that we can further check and provide precise guidance accordingly? Regards, Google Ads API Team ref:_00

Unable to get sub accounts (ListAccessibleCustomers) with service account flow

2023-03-04 Thread Giovanni Quarella
Hi, I setup service account as described in https://developers.google.com/google-ads/api/docs/oauth/service-accounts?hl=en The call to var customerService = client.GetService(Services.V13.CustomerService); var customers = customerService.ListAccessibleCustomers(new

Is it possible that we get different results if we use a service account as opposed to a user account?

2023-01-09 Thread Nelson Brochado
ss to X Credentials = service account credentials Second setup. Account ID = X Login customer ID = X Credentials = user credentials (my refresh token, obtained after authentication, dev token, client ID and client secret); my personal account was given access to the Google Ads account X Coul

Re: Google Ads - Service Account Unauthenticated

2022-10-06 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jeeva, Thank you for the reply. I understand that you are encountering the "PERMISSION_DENIED error", which means a user doesn't have permission to access a customer and you’re accessing a client customer using 'login-customer-id’ in the request. To address the above error, you will need to

Re: Google Ads - Service Account Unauthenticated

2022-10-06 Thread Jeeva Bharathy
t; <https://google-dev-relations.lightning.force.com/lightning/r/Case/5004Q2dIQUSQA4/undefined> > error > is encountered when the service account has not been correctly linked to > the Google Ads account via the OAuth2 assertion flow. Please take note that > the email addr

Google Ads - Service Account Unauthenticated

2022-10-05 Thread Jeeva Bharathy
Hi Team, I am using Google Ads API using python library to connect my 'Test' Google Ads Account. I have following parameters in my yaml file, developer_token : my Production Google Ads Account Developer Token use_proto_plus: True client_id : my service account 'Unique ID'

Re: Service account

2022-10-04 Thread 'Kate Orlova' via Google Ads API and AdWords API Forum
Let me explain all my steps. 1. I've created service account in my project in https://console.cloud.google.com/. 2. I've created key and get creds from json file. 3. My admin configure domain wide delegation for this service account, scope https://www.googleapis.com/auth/adwords 4. I h

RE: Service account

2022-10-03 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Kate, Thanks for reaching out to the Google Ads API Forum. If you have used an impersonated email as @*.iam.gserviceaccount.com, then note that service account authentication will not work. Kindly note that impersonated_email (formerly delegate_account) is an account email used as a

Service account

2022-10-03 Thread 'Kate Orlova' via Google Ads API and AdWords API Forum
Hi there! I'm trying to use service account to make requests to google ads api. It is failed on refresh access token with error 401 Unauthorized. If I use service account email as service account user email I can get auth token, but then I have a NOT_ADS_USER error. But if I use an email of

Private message regarding: Service Account: NOT_ADS_USER

2022-09-20 Thread Keang Song
Hi Sherwin, I have found this thread that matches exactly the issue that I'm experiencing. I am trying to migrate our API call from using OAuth OOB flow to use a service account instead, as OOB will be blocked from Oct 3, 2022, according to an email from Google. I followed the guide l

Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
Hi Aryeh, OK, I missed the part about "any user in the domain". But I made the change I suggested above, and it worked! Thanks for your help, and have a great weekend, Martin On Friday, August 26, 2022 at 11:18:48 PM UTC+3 adsapi wrote: > Hi Martin, > > The specific language I am referring to

Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, The specific language I am referring to is "Your application and its users will have the ability to impersonate any user in the domain". This doesn't promise impersonation of anyone outside of the domain, even if they are users in Ads accounts. In light of the above I cannot promise

Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
Hi Aryeh, Thanks for your response. I had already seen the documentation Setting up service account access <https://developers.google.com/google-ads/api/docs/oauth/service-accounts#setting_up_service_account_access> that you linked to but I can't see anywhere that it discusses th

RE: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, A service account can only be used with the Google Accounts in the mydomain.com space, you cannot impersonate a @gmail.com Google account that is not in the @mydomain.com domain with a service account. The 'sub' field can only be filled with a Google Account that is in

RE: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, A service account can only be used with the Google Accounts in the mydomain.com space, you cannot impersonate a @gmail.com Google account that is not in the @mydomain.com domain with a service account. The 'sub' field can only be filled with a Google Account that is in

OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
: developer_token_idOwner: mgr-acc-idid Service AccountName: My Domain Service AccountId: service_account_idEmail: my-domain-service-acco...@my-domain-ads-interface.iam.gserviceaccount.com ProjectId: my-domain-ads-interfaceDomain: mydomain.com Admin User: Martin Levi

Unable to be Authenticated for the Google ADS API using a service account

2022-08-18 Thread 'AMD Google Registrations' via Google Ads API and AdWords API Forum
Hi all, I am having issues authenticating to the Google AD API with the use of a service account. I get the NO_ADS_USER error but i think my setup (At least the one provided in the Google documentation) is ok. So : 1. Endpoint of interest https://googleads.googleapis.com/v11

Impossible to use service account without google workspace

2022-06-28 Thread Richard Mayes
Hi, So for a few days, I've been trying to get a service account set up so that we can administer our ads in a windows service without user intervention. It turns out that this is impossible. If we try and use the service account without impersonation we get this exception: [ { "

RE: Invalid customer ID for service account

2022-06-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alley, Thank you for updating us that this issue has been resolve. With regard to, "The Ads API requires it to be only numeric, so the dashes need to be stripped out.", this is indeed correct. When specifying your customer ID in your request, you should note that you need to remove the hyphe

Re: Invalid customer ID for service account

2022-06-26 Thread Alley
lley wrote: > More debug: > >- Carefully read docs, realized service accounts can only communicate >with the Ads API via impersonating a user >- Added domain-wide delegation in Workspace for the service account, >scoped to https://www.googleapis.com/auth/adwords >

Re: Invalid customer ID for service account

2022-06-26 Thread Alley
More debug: - Carefully read docs, realized service accounts can only communicate with the Ads API via impersonating a user - Added domain-wide delegation in Workspace for the service account, scoped to https://www.googleapis.com/auth/adwords - The JWT now included sub with the

Invalid customer ID for service account

2022-06-25 Thread Alley
Using service account, nodejs, not using a client. This setup works great for Analytics, failing to get anything back from Ads. - Auth performs fine, get JWT and sending Developer-token header w/ the access token as Bearer - Every request to googleAds:searchStream results in

Re: Auth issue with service account

2022-03-29 Thread Arnold
Unfortunately it doesn't works and the OAuth2 credentials were generated by our Google Ads account admin : ( On Tuesday, February 22, 2022 at 5:52:24 AM UTC+1 adsapi wrote: > Hi Arnold, > > Thank you for reaching out. > > The NOT_ADS_USER >

RE: Using Google Ads API via Service Account

2022-03-28 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Niraj, Thank you for posting your concern. I am afraid that your concern is not possible as one of the prerequisites of the service account is to have Google Workspace for domain wide delegation. Let me know if you have further concerns. Regards, Ernie John Google Ads API Team ref

Using Google Ads API via Service Account

2022-03-28 Thread NIRAJ VIVEK
Hi, I'm using the Google Ads API via Python Client Library <https://github.com/googleads/google-ads-python>. And I have followed the instructions to create a service account <https://developers.google.com/identity/protocols/oauth2/service-account>. Can I access Google Ads AP

Regarding access google ads api via service account

2022-03-27 Thread NIRAJ VIVEK
Hi, I'm using the Google Ads API via Python Client Library <https://github.com/googleads/google-ads-python>. And I have followed the instructions to create a service account <https://developers.google.com/identity/protocols/oauth2/service-account>. Can I access Google Ads AP

Regarding access google ads api via service account

2022-03-27 Thread NIRAJ VIVEK
Hi, I'm using the Google Ads API via Python Client Library <https://github.com/googleads/google-ads-python>. And I have followed the instructions to create a service account <https://developers.google.com/identity/protocols/oauth2/service-account>. Can I access Google Ads A

Re: Error when authenticating with service account in docker image

2022-03-16 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. To investigate the issue further, could you please provide us with the complete request and response logs with request-id? Please Reply privately to the author option. Thanks, Nirmita Google Ads API Team ref:_00D1U1174p._5004Q

Re: Error when authenticating with service account in docker image

2022-03-16 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. To investigate the issue further, could you please provide us with the complete request and response logs with request-id? Thanks, Nirmita Google Ads API Team ref:_00D1U1174p._5004Q2YlbTM:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~

Re: Error when authenticating with service account in docker image

2022-03-16 Thread Adélaïde Bonhoure
Hello, In fact, this is when it's deployed on Google Cloud Platform and I can see this error from the GCP logs but it's happening when I want to connect to GoogleAds Client. Even if I pass the right string argument, this authentication method send me back and error. I'll reach out GCP, but I'

Error when authenticating with service account in docker image

2022-03-15 Thread Adélaïde Bonhoure
N_KEY_FILE_PATH = '/app/service-account.json' ==> the absolute path in string of the service account json file within the docker image which has been authorized for adwords scope IMPERSONATED_EMAIL = "em...@gmail.com" ==> the email of the admin on this service account in

Auth issue with service account

2022-02-21 Thread Arnold
Hello, I'm trying to authenticate to the Google Ads API with a service account. But I have this error: errors { error_code { authentication_error: NOT_ADS_USER } message: "User in the cookie is not a valid Ads user." I followed these steps : - Get a dev token an

RE: Autentication with Service Account

2022-02-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Elena, Thank you for reaching out. The NOT_ADS_USER error usually occurs when the login used to generate the access token is not associated with any Google Ads account. Could you please confirm if you’ve indeed followed every step of the service account guide, specifically the

Autentication with Service Account

2022-02-09 Thread Elena LB
Good Morning, I'm trying to authenticate to the new Google Ads API with a *Google Cloud service account. * Is it necessary to register a user in Adwords with the mail of the service account? I have this error: com.google.ads.googleads.v9.errors.GoogleAdsException: errors { error

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2022-01-06 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Martin, Apologies for the delayed response. Could you point me to that thread you're referencing? Thanks, Ben, Google Ads API Team ref:_00D1U1174p._5004Q2R74x8:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-12-06 Thread Martin Levi
>> Thanks Martin, >>> >>> As far as I can tell your account set up looks OK, but since it lives in >>> Pantheon I can't examine your account directly so I can't be 100% sure. >>> >>> One benefit of using a client library is it will handle the pr

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-12-01 Thread Martin Levi
n't be 100% sure. >> >> One benefit of using a client library is it will handle the process of >> generating and refreshing your access token automatically, which might be >> very valuable in this case. While I look over your script below, would you >> mind ru

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-12-01 Thread Martin Levi
t; generating and refreshing your access token automatically, which might be > very valuable in this case. While I look over your script below, would you > mind running a basic test to see if the PHP client library can make a > successful request with your existing service account credentials?

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-12-01 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
omatically, which might be very valuable in this case. While I look over your script below, would you mind running a basic test to see if the PHP client library can make a successful request with your existing service account credentials? The documentation for setting up the library is here. You shou

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-12-01 Thread Martin Levi
Hi Ben, Thanks for your reply. Do I understand correctly that as far as you can see the setup of my Master Ad Account, the gmail account that owns it, the Master Account that owns the Developer Token, the Google Workspace and the Service Account is all OK? Yes, I am using php curl to request

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-11-30 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
hich means you must be manually generating an access token - could you share more details on how you're generating that token? Also, have you tried using a client library with these service account credentials? Thanks, Ben, Google Ads API Team ref:_00

RE: Service Account still receiving HTTP code 401

2021-11-30 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello Martin, Thanks for reaching out to the Google Ads API support team. I saw you have another thread with this same concern. Our team is still investigating the issue you have encountered. As soon we have any updates we’ll reach out to you. Regards, Reminder: Share your feedback about the G

Service Account still receiving HTTP code 401

2021-11-29 Thread Martin Levi
Hi, I submitted a request here , but it seems to have got lost in the system: I was requested to submit logs privately, which I did on November 12. Since then no one has replied to me, either privately or within the group.

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-11-23 Thread Martin Levi
nstructions in this document > <https://developers.google.com/identity/protocols/oauth2/service-account> > which > has a slightly different workflow. I think that I have the right pieces > but not set up the right way. > > I will send you the information you have req

RE: Service account give NOT_ADS_USER error

2021-11-08 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Pratik, Did the the domain administrator delegate domain-wide authority to your service account? Does the delegated account a user in the ads account you are trying to reach? Could you privately send us a request and response log of API communication that returns this error? The request

Re: Service account authentication issues

2021-11-08 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
automatically without human intervention. I think this would be preferable to using a Service Account, which we normally only recommend when someone needs to use impersonation. If you have any questions about setting that up let me know. Best, Ben, Google Ads API Team ref:_00D1U1174p

Re: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-11-08 Thread Martin Levi
Hi Yasar, Thanks for your response. I followed the instructions in this document <https://developers.google.com/identity/protocols/oauth2/service-account> which has a slightly different workflow. I think that I have the right pieces but not set up the right way. I will send y

Service account give NOT_ADS_USER error

2021-11-08 Thread pratik patel
Hi, We try to use python script that https://github.com/google/shopping-markup. This script use big query to datatransfer of merchant & ads account. - We create Google console Project - We create service Account - Service account enable with Outh - Service account add to Domain Delegation

RE: Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-11-08 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
investigate? User account / email address that you've used in setting up service account through API Customer ID Complete request and response logs with request ID generated on your end where we can see the issue However, kindly note that we strongly recommend using OAuth2 desktop app or web

Service Account receives HTTP code 401: Request is missing required authentication credential.

2021-11-07 Thread Martin Levi
Hi, I have a developers token for my master ad account, created a service account, created a public/private key pair, and enabled domain wide delegation. I have successfully requested an access token (server to server in php) and have a Cron job that refreshes the token when it is around 48

Re: Service account authentication issues

2021-11-04 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Jakob, Thanks for your feedback. Please allow me to share this with our team and see if there are any other options we can provide. Regards, Matt Google Ads API Team Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey

Re: Service account authentication issues

2021-11-04 Thread Jakob Erdmann
s://developers.google.com/google-ads/api/docs/oauth/service-accounts#prerequisites>, > > Google Ads does not support using service accounts without impersonation. > I'm afraid that there's no way to manage permissions for a service account > in Google Ads. > > > >

RE: Service account authentication issues

2021-11-04 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Jakob, I'm Kevin from the Google Ads API Team. I'll my best to answer your question. As stated in our documentation, Google Ads does not support using service accounts without impersonation. I'm afraid that there's no way to manage permissions for a service account in

Service account authentication issues

2021-11-03 Thread Jakob Erdmann
't want to give them admin access to our google ads account this is not an option, as all they would need is any admins email address which is easily guessable. Is there a way to directly link a service account to an Google Ads account and manage permissions directly for that service a

Re: Service Account

2021-10-26 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Martin, Thank you for your feedback. I've raised this with the rest of our team, however, there's no definite timeline on when our Quickstart guide will be updated. You may check it again at a later time or follow our blog for future updates. Regards, Kevin Gil Soriano Google Ads API Tea

Re: Service Account

2021-10-26 Thread Martin Levi
Hi Kevin, Thanks for your response. I think it would be a good idea to update the Google Ads Api Quickstart guide. The Oauth guide is apparently written for the user base of a vast ecosystem, whereas I suspect that many Ads Api developers will be specifically looking to develop unattended ser

RE: Service Account

2021-10-25 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Martin, Thank you for raising your concern with us. I'll raise it with our team to possibly update our Quickstart guide to explicitly mention service accounts as another option to access the API. You may check our Quickstart guide at a later time or follow our blog for future updates. For

Service Account

2021-10-22 Thread Martin Levi
s a user to login in on a Google screen and so is completely unsuitable for unattended processes initiated by 3rd party applications. So I just spent 2 days trying to get the Web app access to work for no reason. Nowhere does it mention that there is a third option, a service acco

RE: Unable to access Google Ads API using Service account

2021-09-29 Thread Google Ads API Forum Advisor
Hello Sundaram, Thank you for reaching out to us. Since you're using service accounts when accessing the API, have you tried the steps mentioned on this guide? Please note that we strongly recommend using OAuth2 desktop app or web app flow instead of service accounts unless you need a domain-s

Unable to access Google Ads API using Service account

2021-09-29 Thread Sundaram Krishnamani
Hi Team, We are trying to fetch data from google ads api using service account and getting the below error. GoogleAdsException: (<_SingleThreadedRendezvous of RPC that terminated with: status = StatusCode.UNAUTHENTICATED details = "Request is missing required authentication cr

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

2021-08-12 Thread Google Ads API Forum Advisor
Hi Anum, Thanks for reaching out to us. Could you please confirm if you’ve indeed followed every step of the service account guide, specifically the prerequisites? If you’ve followed said guide and performed correctly and still have the same issue, I recommend you to reach out to the API

RE: Google ads api access using service account is failing

2021-08-11 Thread Google Ads API Forum Advisor
Hi, Do you have the following requirements: Service account that you created needs to be granted domain wide delegation access by a super administrator for the domain. Using a Google Ads user with permissions on the Google Ads account you want to access. Thanks, Lakshmi Prathipati Google Ads

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

2021-08-11 Thread Anum Hassan
, RequestId: AvnVm6qwMXC0sIzgD-T_Cw, IsFault: True, FaultMessage: User in the cookie is not a valid Ads user. Did your error resolve? Please help! On Thursday, July 22, 2021 at 10:52:31 AM UTC+5 sya...@hersheys.com wrote: > Hi Team, > > This is regarding Google Ads API setup using a service ac

Google ads api access using service account is failing

2021-08-11 Thread Anum Hassan
Hi I have followed the instructions given here: https://developers.google.com/google-ads/api/docs/oauth/service-accounts I get this error Request made: ClientCustomerId: XX, Host: googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, RequestId: A

Re: NOT_ADS_USER error using service account and REST API

2021-08-02 Thread Google Ads API Forum Advisor
Hi Brandon, Thank you for reaching out to us about this. In seeing that you have responded to us in another post. I just want to reiterate what has been said previously as well as what the issue and solution to this is. You will see that the NOT_ADS_USER is an error pointing to the fact that th

Re: NOT_ADS_USER error using service account and REST API

2021-08-02 Thread Brandon Ramsey
"We recommend you use installed app or web flows <https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project#choose_an_app_type> instead of the service account as they are a lot less complex and easier to maintain." Its amazing how this seems to be th

Re: Service account and client secret

2021-06-15 Thread Shikha Arzare
with Mark and allow me to assist you. > > For generating a service account, you may continue to refer to this guide > <https://developers.google.com/google-ads/api/docs/oauth/service-accounts>. > For issues that you may encounter when authenticating using the service > account

Re: Service account and client secret

2021-06-14 Thread Google Ads API Forum Advisor
Hi Shikha, I work with Mark and allow me to assist you. For generating a service account, you may continue to refer to this guide. For issues that you may encounter when authenticating using the service account, even after following the API guide, you may reach out to the Google API Console

Re: Service account and client secret

2021-06-13 Thread shikha...@hiteshi.com
Thanks Team. Our client wants to use service account only and as we saw your guide it recommends to use client OAuth client instead of service account. I am working on it for last 2 weeks, and confused. For getting below details (tracking ) for campaigns which way needs to be used service

RE: Clarification needed service account + API calls.

2021-06-10 Thread Google Ads API Forum Advisor
Hi Alexander, Thank you for reaching out. I would recommend you use the OAuth Desktop Application Flow or the OAuth Web Application Flow instead. Please give it a try to use either of them by following this guide. Thanks and regards, Xiaoming, Google Ads API Team Xiaoming Google Ads API Team

  1   2   3   4   >