Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

error while uploading offline call conversions

33 views
Skip to first unread message

Angel Roberto Garcia Serpa

unread,
May 8, 2025, 7:29:55 PMMay 8
to Google Ads API and AdWords API Forum
Hello, 
Since today around 10:00 I'm getting errors while trying to upload offline call conversions. I have configured everything as per this guide using Java SDK and the latest version of Ads libraries as you can see is configured in my pom: 
<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>google-ads</artifactId>
<version>36.1.0</version>
</dependency>

<dependency>
<groupId>com.google.api-ads</groupId>
<artifactId>adwords-axis</artifactId>
<version>4.21.0</version>
</dependency>
All was working fine until suddenly we started to get errors while trying to refresh credentials in the previous step before uploading Call conversions. It is strange, because we upload offline click conversions without problem. 
Apparently the problem is while trying to refresh credential in this part of the code
private WalmericAdWordsCredential createCredential(int accountId, int delioClientId, String description, String clientId, String clientSecret,
String refreshToken, String clientCustomerId, String developerToken, int api) throws OAuthException,
ValidationException {

Credential credential = new OfflineCredentials.Builder()
.forApi(Api.ADWORDS)
.withClientSecrets(clientId, clientSecret)
.withRefreshToken(refreshToken)
.build()
.generateCredential();

AdWordsSession session = new AdWordsSession.Builder()
.withDeveloperToken(developerToken)
.withUserAgent("walmeric.com:RingPoolEnterprise:V1.0")
.withClientCustomerId(clientCustomerId)
.withOAuth2Credential(credential)
.build();

return new WalmericAdWordsCredential(accountId, delioClientId, description, session
, clientId, refreshToken, clientSecret, clientCustomerId, developerToken, api);
}
because with every call conversion (and the credentials associated to them) I'm getting the error Credential could not be refreshed.  this is one of the credentials that is getting errors: 
#  client_id, client_secret, developer_token, refresh_token, client_customer_id, authorization_code
 '277440116291-***.apps.googleusercontent.com', 'ClientSecret***', 'DeveloperToken***', 'RefreshToken***', '931-360-6193', 'AuthorizationCode***'

It's been any change recently that I'm not aware of or is this type of error submitted to you in the last day
have a nice day

The information contained in this e-mail may be confidential. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution or copying of this communication, or any of its contents, is strictly prohibited. If you have received it by mistake please let us know by e-mail immediately and delete it from your system. Many thanks.

 

La información contenida en este mensaje puede ser confidencial. Ha sido enviada para el uso exclusivo del destinatario(s) previsto. Si el lector de este mensaje no fuera el destinatario previsto, por el presente queda Ud. notificado que cualquier lectura, uso, publicación, diseminación, distribución o copiado de esta comunicación o su contenido está estrictamente prohibido. En caso de que Ud. hubiera recibido este mensaje por error le agradeceremos notificarnos por e-mail inmediatamente y eliminarlo de su sistema. Muchas gracias.


Reply all
Reply to author
Forward
0 new messages