>
> I seem to have the same problem.
*python3.8*
*My code:*
from googleads import adwords
def execute_request():
adwords_client =
adwords.AdWordsClient.LoadFromStorage(path="google_general/googleads.yaml")
campaign_service = adwords_client.GetService('CampaignService',
version='v201809')
pass
context["dict_list"] = execute_request()
*Traceback:*
*Traceback (most recent call last): File
"/home/michael/pycharm-community-2019.3.2/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_xml.py",
line 282, in frame_vars_to_xml xml += var_to_xml(v, str(k),
evaluate_full_value=eval_full_val) File
"/home/michael/pycharm-community-2019.3.2/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_xml.py",
line 369, in var_to_xml elif hasattr(v, "__len__") and not
is_string(v): File
"/home/michael/PycharmProjects/ads3/venv/lib/python3.8/site-packages/googleads/common.py",
line 694, in __getattr__ raise
googleads.errors.GoogleAdsValueError('Service %s not found' %
attr)googleads.errors.GoogleAdsValueError: Service __len__ not
foundUnexpected error, recovered safely.googleads.yaml about logging*
*logging: version: 1 disable_existing_loggers: False formatters:
default_fmt: format: ext://googleads.util.LOGGER_FORMAT handlers:
default_handler: class: logging.StreamHandler formatter:
default_fmt level: DEBUG loggers: # Configure root logger
"": handlers: [default_handler] level: DEBUGI've just started
studying the API. Namely, I'm trying to execute my first request
(https://developers.google.com/adwords/api/docs/guides/first-api-call#make_your_first_api_call
<https://developers.google.com/adwords/api/docs/guides/first-api-call#make_your_first_api_call>)Could
you help me with this problem? At least how to localize it more precisely.*
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/375dcaaa-f5cd-413e-9359-ed7012902184%40googlegroups.com.