Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-12-27 Thread Moshe Shechter
Hi Ellis, The issue I had encountered was a rather silly one. Depending on your authentication flow (from storage, YAML file or string, or dict) with python, the login-customer-id flag - which is the account number seen when clicking on the user's google account logo/picture on the right hand

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-12-13 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Ellis, Thank you for reaching out to our API support team as well. So our team can investigate the issue you observed on your end, could you share with our team additional details such as the complete request and response logs, with the request-id, generated when the issue occured? You may

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-12-13 Thread Ellis Crosby
@moshik Did you find any solution? I have encountered the same issue as you when migrating from Adwords to Google Ads API but haven't found any solution yet Thanks, Ellis On Thursday, 15 July 2021 at 10:59:00 UTC+2 adsapi wrote: > Hi Daniel, > > Thank you for commenting on this forum post. I

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-15 Thread Google Ads API Forum Advisor
Hi Daniel, Thank you for commenting on this forum post. I am happy to know also that you've fixed the error on your end. In addition to what you've mentioned, please note that the format of login-customer-id will be varied based on the client library (list of supported client libraries here)

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-14 Thread Daniel Garstin
Ahh I found the issue. Simple mistake in the end. When creating your dict, make sure 'login-customer-id' is 'login_customer_id' instead. On Monday, July 12, 2021 at 7:43:26 AM UTC+1 mo...@abagada.com wrote: > Hi Peter, Boshy, > > Just to address Boshy's previous question, we are using a

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-14 Thread Daniel Garstin
I am having the same issue as above. I am able to authenticate when using the 'load_from_storage' method however when using 'load_from_dict' it says I don't have permissions. On Monday, July 12, 2021 at 7:43:26 AM UTC+1 mo...@abagada.com wrote: > Hi Peter, Boshy, > > Just to address Boshy's

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-12 Thread Moshe Shechter
Hi Peter, Boshy, Just to address Boshy's previous question, we are using a production developer token, so that should not be an issue. We are able to execute the calls with the adwords API. @Peter - I have been doing exactly as you mentioned, adding the manager account as part of the

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-11 Thread Google Ads API Forum Advisor
Hi Boshy, I work with Ernie and allow me to assist you. The "User doesn\'t have permission to access customer. Note: If you\'re accessing a client customer, the manager\'s customer id must be set in the \'login-customer-id\'" error usually comes along when the user_permission_denied error is

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-07 Thread Boshy Zhao
Thanks so much for replying Moshik! Sorry I wanted to ask what level of access is your developer token ? I think the error for us might be happening because ours is currently set to test? https://groups.google.com/g/adwords-api/c/xTTwz4XzXAE/m/Mxn9V8EwAAAJ This is the link i think to the

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-06 Thread Moshe Shechter
Hi Bosh, Just to add to that (I am experiencing the exact same thing - script is similar), the issue is resolved on my side when I add the user (whose refresh token we are using) directly to the account (login-customer-id is left unchancged), but that is not a solution. We can use the refresh

Re: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-05 Thread Boshy Zhao
Hi Ernie And Moshik Sorry to bother you both. I am having the same issue as Moshik. I have looked over the documentation and am still confused sorry. If I am using the python sdk and using the load_from_dict() method. By adding the login-customer-id and client _id to the dict credentials will

RE: Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-05 Thread Google Ads API Forum Advisor
Hi Moshik, Thank you for raising your concern. You may refer to this document as it discussed the structure of all API calls, especially this section as it explained what you need to set in the login-customer-id and where the user account / email address used to generate the Oauth2 credential

Authentication Issue - Migrating from Adwords API to Google Ads API

2021-07-04 Thread Moshe Shechter
Hello, We are in the process of migrating from the adwords API to the Google Ads API, and are encountering an authentication issue. We are using the python client libraries. For a given user and accounts (tested multiple combinations), we easily access accounts and reports via the adwords