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
Close
Hashes for display_video_360-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd991d872d60c7dac6976667f466f6da1e69e1012e1abf19df3e28257175f2ed |
|
MD5 | 3796a42d9d86632b8ba968c41f03d02e |
|
BLAKE2b-256 | ac30c1b2a9476efaeba8e1f0717da49f41972187a61a866130e9f7d774d125b8 |