Re: Obtaining AdGroupId

2018-05-12 Thread ironside . alexander
So if I understand correctly I'll need to create a new campaign, with ad group in it and use its adGroup ID to get the keywords? If so, I'm trying to create a new campaign, but I seem to be unable to pick an account (screenshot attached). I'm using Chrome v.64, in incognito mode. All I want to do

Re: AdWordsUser doesn't have authorization token

2018-05-11 Thread ironside . alexander
I'll open another thread with further questions. This question was solved with creating the oauth credentials in incognito window. W dniu piątek, 11 maja 2018 11:33:35 UTC+2 użytkownik ironside@gmail.com napisał: > > OK I think I got through it. I used the client id for the test account. >

Obtaining AdGroupId

2018-05-11 Thread ironside . alexander
Hi. I'm looking for a way to get my AdGroupId. Here's part of my code: var seedAdGroupIdSearchParameter = new SeedAdGroupIdSearchParameter(); seedAdGroupIdSearchParameter.adGroupId = ; searchParameters.Add(seedAdGroupIdSearchParameter); searchParameters.Add(relatedToQuerySearchParameter);

Re: AdWordsUser doesn't have authorization token

2018-05-11 Thread ironside . alexander
OK I think I got through it. I used the client id for the test account. Now I'm getting this error: {Error returned when the requested Paging is missing from the TargetingIdeaSelector when required.. (Error: TargetingIdeaError.NO_PAGING_IN_SELECTOR, FieldPath: selector, Trigger: ) Error returne

Re: AdWordsUser doesn't have authorization token

2018-05-11 Thread ironside . alexander
Ok so I have the test account and the manager account. The manager is the default non-test account. When I try to create the oauth credentials, they are created with the manager (non-test) account. I need to use the test account to create the oauth credentials. How can I do that? W dniu czwarte

Re: AdWordsUser doesn't have authorization token

2018-05-10 Thread ironside . alexander
Now I'm just really confused. I created new "test" accounts using this link: https://adwords.google.com/um/Welcome/Home?a=1&sf=mt&authuser=0#ta, but how am I supposed to log into these accounts to create the OAuth test credentials? This is what it looks like: The "test" is the name of the accou

Re: AdWordsUser doesn't have authorization token

2018-05-08 Thread ironside . alexander
Ok I realized this is the actual error message: Developer token is not approved for production access, and the customer is attempting to access a production account. And it makes sense. But how do I make my customer a test user? W dniu poniedziałek, 30 kwietnia 2018 17:47:29 UTC+2 użytkownik Dha

Re: AdWordsUser doesn't have authorization token

2018-05-08 Thread ironside . alexander
Hi Dhanya. Thank you so much. It almost works and I feel like I'm almost there. Now I'm getting a "developer token is not approved" error, which is interesting, because my account is a test account, and I copied the developer token. What is the possible issue here? I already reset the token using

Re: AdWordsUser doesn't have authorization token

2018-04-26 Thread ironside . alexander
When I try to use the oauthgenerator.exe it crashes with no error report. I input my credentials and scopes, log in with my account, approve the access, and then the program stops working. Is generating the refresh token using the playground any different? W dniu poniedziałek, 23 kwietnia 2018

Re: AdWordsUser doesn't have authorization token

2018-04-26 Thread ironside . alexander
The error appeared during the curl command. So I should generate new OAuth keys, use these, and create the refresh token using the TokenGenerator.exe right? So far I've been generating refresh tokens using the Google Playground, with the scope provided https://developers.google.com/oauthplaygroun

Re: AdWordsUser doesn't have authorization token

2018-04-21 Thread ironside . alexander
After regenerating the keys, now I'm getting a { "error": "unauthorized_client", "error_description": "Unauthorized" } W dniu piątek, 20 kwietnia 2018 14:52:35 UTC-4 użytkownik Dhanya Sundararaju (AdWords API Team) napisał: > > Hi, > > The "invalid_grant" error usually indicates that the acc

AdWordsUser doesn't have authorization token

2018-04-20 Thread ironside . alexander
Hi. I'm trying to use the TargetingIdeaService with ASP.NET. This is my code so far: [HttpGet] public IEnumerable Get() { var user = new AdWordsUser(); using (TargetingIdeaService targetingIdeaService = ( TargetingIdeaService)user.GetService(AdWord

Created AdWordsUser doesn't have authorization token

2018-04-20 Thread ironside . alexander
Hi. I'm trying to get TargetingIdeaService up and running using ASP.NET. I'm building my app as a REST API, so console solutions won't work. This is my code so far: [HttpGet] public IEnumerable Get() { var user = new AdWordsUser(); using (TargetingId