[Warning] No handlers could be found for logger "googleads.common"

404 views
Skip to first unread message

Enoch Rufus

unread,
Jul 6, 2018, 5:11:43 AM7/6/18
to AdWords API and Google Ads API Forum

Hi, I have the below warning when I execute my script:

'No handlers could be found for logger "googleads.common"

Screen Grab of this: 



I had installed the googleads library in a virtualenv; however, my code is in the base environment. The yaml file is also in the base environment and this warning comes up when I call this (highlighted in yellow in the below picture):

adwords_client = adwords.AdWordsClient.LoadFromStorage('\the\correct\path\adwords-api.yml')


Full code is available here: 



I have tried the following:

  • using the shebang of both my base python and virtualenv python.
  • if the libraries are installed on the base path then there is no such warning (tried this in both Windows and Linux os; however, not on the machine where this error is coming up).
  • I think this is just a warning since I could see data being uploaded into the AdWords userlist.

Could you guide me on how to fix this, please? I'm not an expert with Python, so if you could break it down, it would help me a lot.


Thanks,
Enoch

Dhanya Sundararaju (AdWords API Team)

unread,
Jul 6, 2018, 12:10:21 PM7/6/18
to AdWords API and Google Ads API Forum
Hi Enoch,

Thank you for the detailed message. Since this issue is environment related, the Python library issues page is the recommended place to post where I see you have already posted. So, as it is just a warning, you can ignore it for the time being.

Regards,
Dhanya, AdWords API Team

teresa...@vagaro.com

unread,
Sep 5, 2018, 3:48:23 PM9/5/18
to AdWords API and Google Ads API Forum
Did you find a resolution for this?

Enoch Rufus

unread,
Sep 6, 2018, 8:19:59 AM9/6/18
to AdWords API and Google Ads API Forum
Data upload into user-list were successful; but, the warning still persists. Since it is not affecting data-load, I didn't look much into it. The warning persists though. 

Dhanya Sundararaju (AdWords API Team)

unread,
Sep 6, 2018, 11:47:20 AM9/6/18
to AdWords API and Google Ads API Forum
Hi all,

If you have not tried already, you may find this post in StackOverflow helpful.
Reply all
Reply to author
Forward
0 new messages