Traceback (most recent call last):
File
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\exception.py",
line 35, in inner
response = get_response(request)
File
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
line 128, in _get_response
response = self.process_exception_by_middleware(e, request)
File
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\handlers\base.py",
line 126, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\xxx\Desktop\project\ksvt\views.py", line 68, in generate
main(adwords_client)
File "C:\Users\xxx\Desktop\project\ksvt\views.py", line 118, in main
page = targeting_idea_service.get(selector)
File
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\common.py",
line 774, in MakeSoapRequest
self._header_handler.SetHeaders(self.suds_client)
File
"C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\lib\site-packages\googleads\adwords.py",
line 514, in SetHeaders
http_headers = self._adwords_client.oauth2_client.CreateHttpHeader()
AttributeError: 'str' object has no attribute 'CreateHttpHeader'
All credentials are passed correctly:
adwords_client = adwords.AdWordsClient(
'dev-token',
'client-id',
'user-agent',
client_customer_id= 'xxx-xxx-xxx')
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 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/7ec54786-5eb4-4ba2-bbdc-c275c11b39be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.