You got me thinking and I realised that I missed a step indeed. In the PHP version, you need to manually replace the value of the variable $code with the code generated by the URL. Then, the GetRefreshToken needs to be rerun to get the refresh token.
With regards to the INCOMPLETE_SIGNUP issue, consider the following : * Make sure you're using an approved developer token when using a production account. If you have a developer token for your production account that isn't approved yet, first set up a test account to be used with that same developer token. You should then use that developer token with your test account until the developer token for your production account has been approved. Once the developer token has been approved, switch back from test to production account and you should be able to use your production account. * Make sure the billing info for your production account is complete. I had the "INCOMPLETE_SIGNUP" problem as well when I had set up everything correctly for my test account. Adding the necessary address and credit card into to my production account solved that problem. Apparently, the reason for this is that you need to accept the Terms and Conditions to activate your account and that you can only do this after completing your billing info. If that's not what's causing the problem, I'm afraid I can't help you. In that case, you might want to follow up on https://groups.google.com/forum/?fromgroups#!topic/adwords-api/OThnQapay3k and https://groups.google.com/forum/?fromgroups#!topic/adwords-api/d5RDyxPUM24 and/or https://groups.google.com/forum/?fromgroups#!topic/adwords-api/JtpU-olMyek . These three recent threads all deal with that same error message. Kind regards, John Op dinsdag 12 november 2013 17:49:15 UTC+1 schreef naman jindal: > > Hey, > > I found the problem. I was making a very lame mistake. > > I was copying the code received from the url into my ads properties file > considering it as a refresh token, but I now realised that I had to input > the same into the GetRefreshToken Console and then I recieved the refresh > token. > > @John : Please check if you are also making the same mistake. > > @Takeshi : I now have another problem to deal with. Can you please help me > out : > > "QuotaCheckError.INCOMPLETE_SIGNUP" > > Thanks and Regards, > Naman Jindal > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.