Hello!
I setting ads with this code http://prntscr.com/nohqxz and got error below
on 987 ad. What can be a reason of error and how to prevent it?
Error:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/zeep/loader.py", line 50, in
parse_xml
forbid_entities=settings.forbid_entities)
File "/usr/local/lib/python3.5/dist-packages/defusedxml/lxml.py", line
143, in fromstring
rootelement = _etree.fromstring(text, parser, base_url=base_url)
File "src/lxml/etree.pyx", line 3222, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1877, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1765, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1127, in lxml.etree._BaseParser._parseDoc
File "src/lxml/parser.pxi", line 601, in
lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 711, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 2
lxml.etree.XMLSyntaxError: AttValue: " or ' expected, line 2, column 12
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/zeep/wsdl/bindings/soap.py",
line 170, in process_reply
doc = parse_xml(content, self.transport, settings=client.settings)
File "/usr/local/lib/python3.5/dist-packages/zeep/loader.py", line 54, in
parse_xml
content=content
zeep.exceptions.XMLSyntaxError: Invalid XML content received (AttValue: "
or ' expected, line 2, column 12)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "get_mutate_actionAds_my.py", line 568, in <module>
result = ad_service_mutate.mutate(operations)
File "/usr/local/lib/python3.5/dist-packages/googleads/common.py", line
1382, in MakeSoapRequest
*packed_args, _soapheaders=soap_headers)['body']['rval']
File "/usr/local/lib/python3.5/dist-packages/zeep/proxy.py", line 42, in
__call__
self._op_name, args, kwargs)
File "/usr/local/lib/python3.5/dist-packages/zeep/wsdl/bindings/soap.py",
line 132, in send
return self.process_reply(client, operation_obj, response)
File "/usr/local/lib/python3.5/dist-packages/zeep/wsdl/bindings/soap.py",
line 176, in process_reply
content=response.content)
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/264ca729-1b9c-468e-9c3e-85eb16a0f382%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.