Re: AdWordUser object

2020-04-28 Thread Haik
I also got this error. I am not using any Azure. I have a .net core console app Could not load type 'System.Web.Hosting.HostingEnvironment' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.":"System.Web.Hosting.HostingEnvironment" This line causes

Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-27 Thread Haik
Thanks! associating the user with the account solved it. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google

Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
Hi, Just tested the keys in the app. This is the error: {{ "errorCode": { "authenticationError": "NOT_ADS_USER" }, "message": "User in the cookie is not a valid Ads user." }} -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.

Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
Ran the curl, but again got a meaningless json { "access_token": "ya29.GlszB59HETtP0sTg..", "expires_in": 3600, "scope": "https://www.googleapis.com/auth/dfp https://www.googleapis.com/auth/adwords";, "token_type": "Bearer" } The oauth doctor returns the folowing: 2019/06/26 19

Re: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-26 Thread Haik
I run the OAuth tool but it does not help in any way. I get the following error - ERROR: OAuth test failed. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received thi

Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.

2019-06-19 Thread Haik
We have our app working with our development MCC keys and all works fine. The problem is when we try to switch to the new production keys, we get an Expected OAuth 2 access token error. *Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or oth

Google Ads API Super Slow

2019-03-28 Thread Haik
We manage adwords accounts for our clients. Currently we use AdWords API, the rates that we log are around *20K-150K *Campaign Criterions created/removed per minute. Now we implemented the V1 of Google Ads API, the rates that we log are around* 0.1K-2K* Campaign Criterions created/removed per m

Google.Ads.GoogleAds.Examples return Deadline Exceeded

2019-03-20 Thread Haik
I am trying to run one of the Google.Ads.GoogleAds.Example: GetAccountInformation I get an error that does not describe how to solve the problem: DeadlineExceeded We have an MCC account so we manage our clients AdWords accounts. In the web config I set all the keys that were required and t

Unexpected internal API Error

2012-03-01 Thread haik...@yahoo.com
Hello, I am trying to get the list of campaigns and making some other API calls using C# and sandbox but I receive an exception UNEXPECTED_INTERNAL_SERVER_ERROR. When I try to connect to my another account (which contains no campaigns) it does not raise an exception and returns empty campaigns