Skip to content
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

python -m tasks.add_new_prebid_partner gives error #2

Closed
sajokj opened this issue Mar 10, 2017 · 0 comments
Closed

python -m tasks.add_new_prebid_partner gives error #2

sajokj opened this issue Mar 10, 2017 · 0 comments

Comments

@sajokj
Copy link

sajokj commented Mar 10, 2017

Traceback (most recent call last):

File "C:\Python27\lib\runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\DFP\tasks\add_new_prebid_partner.py", line 337, in
main()
File "C:\DFP\tasks\add_new_prebid_partner.py", line 333, in main
prices,
File "C:\DFP\tasks\add_new_prebid_partner.py", line 65, in setup_partner
hb_bidder_key_id = get_or_create_dfp_targeting_key('hb_bidder')
File "C:\DFP\tasks\add_new_prebid_partner.py", line 144, in get_or_create_dfp

targeting_key
key_id = dfp.get_custom_targeting.get_key_id_by_name(name)
File "dfp\get_custom_targeting.py", line 44, in get_key_id_by_name
return key['id']
TypeError: 'NoneType' object has no attribute 'getitem'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant