-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parse argument int on str #544
Comments
I attempted to reproduce with an identical query, but the operation completes successfully. It's possible that something you're receiving is triggering this error, or there is some sort of environment/implementation issue. What version of the library / Python are you using? I might be able to learn something if there's a snippet of code you can share that reproduces the issue for you consistently. |
thank your for your information
def run_report_and_wait(report_service, report_job): When running |
Running this query
{'reportQuery': {'dimensions': ['DATE', 'HOUR', 'AD_UNIT_ID', 'AD_UNIT_NAME'], 'adUnitView': 'HIERARCHICAL', 'columns': ['AD_EXCHANGE_LINE_ITEM_LEVEL_IMPRESSIONS', 'AD_EXCHANGE_LINE_ITEM_LEVEL_CLICKS', 'TOTAL_LINE_ITEM_LEVEL_CPM_AND_CPC_REVENUE'], 'dateRangeType': 'LAST_MONTH'}}
I faced with this traceback
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/googleads/common.py", line 982, in MakeSoapRequest
return soap_service_method(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zeep/proxy.py", line 46, in call
return self._proxy._binding.send(
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 135, in send
return self.process_reply(client, operation_obj, response)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply
return self.process_error(doc, operation)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zeep/wsdl/bindings/soap.py", line 317, in process_error
raise Fault(
zeep.exceptions.Fault: Unknown fault occured
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/Users/thalysongaldino/Dev/roi-manager-project/batch_schedule_processing./scheduler/jobs.py", line 214, in get_data_ad_manager
run_report = run_report_and_wait(report_service, report_job)
File "/Users/thalysongaldino/Dev/roi-manager-project/batch_schedule_processing./scheduler/jobs.py", line 224, in run_report_and_wait
report_job_id = report_service.WaitForReport(report_job)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/googleads/ad_manager.py", line 896, in WaitForReport
report_job_id = service.runReportJob(report_job)['id']
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/googleads/common.py", line 987, in MakeSoapRequest
underlying_exception = e.detail.find(
TypeError: argument should be integer or bytes-like object, not 'str'
anyone can i help my?
The text was updated successfully, but these errors were encountered: