Hi,

The clientId and clientSecret can come from any account, but we generally 
encourage people to use their production account for those so that when 
they want to switch over to issuing requests against their production 
AdWords account, all they have to change are 
the api.adwords.clientCustomerId and api.adwords.refreshToken values.

Cheers,
Josh, AdWords API Team

On Friday, September 12, 2014 12:27:27 AM UTC-4, Albert Maranian Jr. wrote:
>
> This is getting more confusing, so client ID and secret will actually need 
> to be generated from the production account? I thought the developer token 
> will only be needed from production?
>
> On Thursday, May 22, 2014 1:20:03 AM UTC+8, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Prashant,
>>
>> This looks like it may be a duplicate of your other post 
>> <https://groups.google.com/d/msg/adwords-api/ka19cZNbQo8/K3yMy2d-VYwJ> -- 
>> please see my reply there.
>>
>> Regarding the specific properties mentioned below, the following 
>> properties should come from your PROD account:
>>
>>    - api.adwords.clientId
>>    - api.adwords.clientSecret
>>    - api.adwords.developerToken
>>
>> The value for *api.adwords.clientCustomerId* should be your TEST account.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, May 20, 2014 3:50:19 PM UTC-4, Prashant Yadav wrote:
>>>
>>> Hi,
>>>
>>> I have created a MCC (Prod) account (Customer ID: 106-493-3461). Also 
>>> created a MCC Test Account (Customer ID: 237-223-9575).
>>> Developer token for both of these accounts is Pending approval.
>>> I am trying to generate a Refresh Token, using the sample code from the 
>>> java-code-lib. Here are the settings in my ads.properties file:
>>>
>>> api.adwords.refreshToken=
>>>
>>> api.adwords.clientId=<Client ID from Test Account>
>>>
>>> api.adwords.clientSecret=<Clinet Secret from TEST Account>
>>>
>>> api.adwords.clientCustomerId=106-493-3461 (PROD CustomerID?)
>>>
>>> api.adwords.userAgent=<Some URL>
>>>
>>> api.adwords.developerToken=<developer token from PROD Account>
>>>
>>> Do these properties look OK? I am getting error as in the Subject line.
>>>
>>>
>>> Regards
>>>
>>> Prashant Yadav
>>>
>>> www.prashantyadav.com
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/57a9eda5-f5ae-4532-83e8-d2e4d997545d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to