Hi, Thanks for putting together such a comprehensive list! The only modifications I would make are:
1. api.adwords.clientId - This can come from either the NON-test or the test account. Since you will ultimately need an api project for the non-test account, I would recommend using that here. 2. api.adwords.clientSecret - This can come from either the NON-test or the test account, same as #1. 3. api.adwords.userAgent - This is optional, but it is extremely helpful for us if you have questions about specific requests. You can set this to any string that might be useful for that purpose. 4. api.adwords.developerToken - As you stated, this should come from the NON-test account and does not have to be approved in order to use it in API calls on a test account. Note that we recently changed the AdWords UI so that you cannot create a developerToken from a test account, which should help avoid confusion on this going forward. 5. QuotaCheckError.INCOMPLETE_SIGNUP - You need to enter billing information and accept the Terms & Conditions on the NON-test account. You should not have to do this for the test account. Thanks again, Josh, AdWords API Team On Tuesday, January 7, 2014 1:30:27 PM UTC-5, Alex Medearis wrote: > > I finally got my test account working. The setup should be as follows: > > api.adwords.refreshToken > This should be from the test account, after doing the two-step oAuth > handshake. > > api.adwords.clientId > This should be from the test account. Create an api project at > https://cloud.google.com/console, then set up a client id under "APIs and > Auth" -> Credentials -> Create new ClientID. > > api.adwords.clientSecret > Same as above. > > api.adwords.clientCustomerId > This is the customer id of an account under the test MCC, not the id of > the test MCC itself. You will need to create an account under the test MCC > in adwords. Accounts -> Create account. > > api.adwords.userAgent > I don't believe this is necessary, but I'm using the email address of the > MCC account. > > api.adwords.developerToken > This is the developer token from a NON-test MCC account. Does not need to > be approved. > > So, in short, make sure everything is from the test account, except the > developer token. In order to help out everyone else, here are some > potential pitfalls I ran into that I ran into: > > Attempting to link Test MCC with Production MCC, "The following customer > IDs had errors", "An error occurred. Please try again later"... > It is not necessary to link your accounts -- the Test MCC should remain > unlinked from the MCC you are getting the developer token from. > > 400 Bad Request / "error" : "invalid_grant": > Make sure that you are using a valid developer token. This should be the > token in your Production account under "My Account" -> Adwords API center > QuotaCheckError.INVALID_TOKEN_HEADER: > Make sure that you are using the actual refresh token, which is the final > step of the oAuth handshake, NOT the intermediate token that you receive in > the browser callback. Copy the intermediate token back into the > application ("Type the code you received here: ") to receive the refresh > token. > > QuotaCheckError.INCOMPLETE_SIGNUP: > Make sure that you've accepted the terms and conditions and set up billing > on your account(s). I'm not sure if its necessary for the test MCC, but I > just set it up for both and this problem went away. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.