Hello Vincent, 
Most of the calls succeed... the client customer id relates to the final 
user right? Do I need my users to input it by hand?

El martes, 28 de noviembre de 2017, 8:54:50 (UTC), Vincent Racaza (AdWords 
API Team) escribió:
>
> Hi Agusti,
>
> The CLIENT_CUSTOMER_ID_IS_REQUIRED 
> <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED>
>  error 
> means that you did not specify a clientCustomerId in your request. Based on 
> your code, it seems that you are not using the property file in setting the 
> OAuth2 credentials. With this, please set the clientCustomerId this way:
>
> Credential oAuth2Credential = new OfflineCredentials.Builder()
>         .forApi(Api.ADWORDS)
>         .withClientSecrets("XXXXXXX", "XXXXXXX")
>         .withRefreshToken("XXXXXXXXXXXX")
>         .build()
>         .generateCredential();
>
> // Construct an AdWordsSession.
> AdWordsSession session = new AdWordsSession.Builder()
>         .withDeveloperToken("XXXXXXXXXXXXX")
>         *.withClientCustomerId("XXX-XXX-XXXX")*
>         .withOAuth2Credential(oAuth2Credential)
>         .build();
>
> Let me know if this helps.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae695b7d-8168-4c56-b39e-8f3e2cbc8e25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to