No project description provided
Project description
Google Display & Video 360
This package contains a nice and convienient class to interface with the Display & Video 360 API.
Authentication
The authentication can be done in two ways.
- With service account credentials
- With a credential file obtained via the implicit grant flow
Please use absolute paths at all times to point to the credentials.
installation
pip install display-video-360
Examples
import os
from display_video_360.display_video import DisplayVideo
if __name__ == '__main__':
from pathlib import Path
BASE_PATH = Path().resolve()
service_account_file = os.path.join(BASE_PATH, 'secrets', 'service_account.json')
display_video = DisplayVideo(service_account_file)
line_items = display_video.get_lineitems_for_advertiser('ADVERTISER_ID')
advertisers = display_video.get_advertisers_for_partner('PARTNER_ID')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file display-video-360-0.0.1.tar.gz.
File metadata
- Download URL: display-video-360-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a83625e14de70948b933adbf372589fa13407b6dfdf037e1c0f3c1e14778933
|
|
| MD5 |
164b57651d9405f875c199bf2635ef22
|
|
| BLAKE2b-256 |
66dc901fcc1256b8db87d2048ce8504a8297d539e9c287d4b480df0b006ca3cd
|
File details
Details for the file display_video_360-0.0.1-py3-none-any.whl.
File metadata
- Download URL: display_video_360-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd991d872d60c7dac6976667f466f6da1e69e1012e1abf19df3e28257175f2ed
|
|
| MD5 |
3796a42d9d86632b8ba968c41f03d02e
|
|
| BLAKE2b-256 |
ac30c1b2a9476efaeba8e1f0717da49f41972187a61a866130e9f7d774d125b8
|