A client for interacting with the AOL Platform.
Project description
# aopclient Client for the AOP
# To run tests: Clone this repository, and then: cd aopclient pip install pytest pytest
Sample code:
from aopclient import AOLClient client = AOLClient() client.show_config() client.connect() client.get_organizations() client.get_campaigns(org_id) client.get_campaigns_by_advertiser(org_id, ad_id) client.get_campaigns_by_advertiser_by_campaign(org_id, ad_id, campaign_id) tactics = client.get_tactics_by_campaign(org_id, ad_id, campaign_id) creatives = client.get_creative_assignments(org_id, ad_id, campaign_id, tactic_id) private_deal_assignments = client.get_deal_assignments(org_id, ad_id, campaign_id, tactic_id) flights = client.get_flights_by_tactic_id(7000038774, 7000052577, 5969, 355426) # (org_id, ad_id, campaign_id, tactic_id)
advertiser = client.get_advertiser(7000095690, 7000092141) # (org_id, ad_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
File details
Details for the file aopclient-1.0.9.tar.gz
.
File metadata
- Download URL: aopclient-1.0.9.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec433a52baebb4f1813b90cc59b27e095680730bb8e621db1676d2d0c4b1bcc6 |
|
MD5 | 235508a92b1cabd8c0c4fefae055b985 |
|
BLAKE2b-256 | 0847288e4415ddd20ddcef41137de8c398b41a3e5d1ea4119da2fa1ffc8d0b16 |