DEBUG: Did not load optional configuration file log exception for every request

603 views
Skip to first unread message

Sanju A

unread,
May 28, 2013, 9:31:33 AM5/28/13
to adwor...@googlegroups.com
Hi,

When am trying to get AdWordsSession object using credentials 


And also when am trying to get CampaignService from service object like 
CampaignServiceInterface campaignService = adWordsServices.get(adwordsSession, CampaignServiceInterface.class);
am getting following log error:

com.google.api.ads.common.lib.utils.logging.AdsServiceLoggers.ads_api_lib createCombinedConfiguration
DEBUG: Did not load optional configuration google-ads-api-java-build.properties:
com.google.api.ads.common.lib.conf.ConfigurationLoadException: Encountered a problem reading the provided configuration file "google-ads-api-java-build.properties"!
at com.google.api.ads.common.lib.conf.ConfigurationHelper.fromFile(ConfigurationHelper.java:67)
at com.google.api.ads.common.lib.conf.ConfigurationHelper.createCombinedConfiguration(ConfigurationHelper.java:140)
....
....
....
Caused by: org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source google-ads-api-java-build.properties

 But am getting the service object reference correct and all the operations are going well but above logs making me confusion.



Thnx in adv.

Takeshi Hagikura

unread,
May 31, 2013, 6:03:12 AM5/31/13
to adwor...@googlegroups.com
Hi Sanju,

Thanks for the report. 
I'm looking into that. Do you mind sharing the pom.xml you are using?
I'd like to make sure what log framework you are using.

Best,
- Takeshi, AdWords API Team

r...@oanda.com

unread,
Dec 6, 2013, 10:53:55 AM12/6/13
to adwor...@googlegroups.com
I encounter this issue, any solution/update?

Takeshi Hagikura (AdWords API Team)

unread,
Dec 11, 2013, 7:49:10 PM12/11/13
to adwor...@googlegroups.com
Hi, 

As I replied previously, can you please share the pom.xml?

Best,
- Takeshi,

Gazal Garg

unread,
Jun 17, 2016, 9:40:52 AM6/17/16
to AdWords API Forum
You should add google-ads-api-java-build.properties file in your application's resource folder.
For me the content of the file was: 

lib.name=Common-Java
lib.version=2.15.0
# Options are:
#   internal: not deployed
#   maven: deployed by maven
#   jars: dependency jars
build.type=maven

Joyce Lava

unread,
Jun 20, 2016, 1:15:28 AM6/20/16
to AdWords API Forum
Hi,

Please open a new forum case if you still encounter any issues as this thread is already old.

Thanks,
Joyce, AdWords API Team
Reply all
Reply to author
Forward
0 new messages