Apple Searchads API non-official python library
Project description
# About Phiture
http://phiture.com is a Berlin-based mobile growth consultancy working with the teams behind leading apps. Using the company’s industry-acclaimed Mobile Growth Stack as a strategic framework, Phiture team offers 4 key services: App Store Optimization, Apple Search Ads, User Retention services and Growth Consulting.
# Apple Searchads API Library in Python
In order to facilitate the usage of the Apple Search Ads API Phiture’s Engineers have built a library in Python which allows users to manage campaigns, ad groups, keywords and creative sets. This library only requires intermediate Python skills and therefore makes it possible not only for Engineers but also for Data Analysts and Apple Search Ads Consultants to work with it. While the library is extensive it is not complete and users are encouraged to commit suggestions.
Read the docs on github.
# Example Usage:
Setup for v4 of the library
create a certs directory inside of your project folder, or create a different certs directory and specify it using the certificates_dir_path argument.
api = SearchAdsAPI(2134535, “public.pem”,”private.key”, client_id=”SEARCHADS.07875add-f6cd-4111-9c38-b84501d557c8”, team_id=”SEARCHADS.07879add-d6cd-4111-9c38-b84501d527c8”, key_id=”78a167b1-e423-4ab4-bcd1-8be75a4d7b7e”, verbose=True)
### Campaign Methods
Create a new campaign
res = api.create_campaign(1433439534, [‘AU’], “test”, 1, 1, “EUR”)
## Changelog
version 0.1.1 Added granularity level reports
version 0.7.1 fixed some issues with granularity
version 1.1.1 added support for the v4 of the Apple Search Ads API
version 1.2.1 refresh access_tokn only when needed
version 1.5.1 handles API error with Exception
version 1.5.3 fixed token update issue
version 1.6.1 added new product page, reporting, and Ad endpoints. Deprecated creatives endpoints
version 1.6.3 includes new bug fixes
version 1.7.1 added impression share reports and new find methods along product pages to match Searchads API version 4.7
version 1.7.6 fixed an issue with token update
version 1.7.7 fixed an issue update_campaign
version 1.7.8 updated the dependencies
version 1.7.9 always use the latest requests package
version 1.7.10 always use the latest cryptography package
version 1.7.11 added support for use cert and key as strings
version 1.7.13 added support for the v5 of the Apple Search Ads API
version 1.7.14 fixed an issue with the timezone for Search Terms + Search Terms within Ad Groups (must be ORTZ - organization time zone)
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
File details
Details for the file searchads_api-1.7.14.tar.gz
.
File metadata
- Download URL: searchads_api-1.7.14.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96ec283b6b4b56577767878812e63910906983384c01e7d708ef5101b683d43b |
|
MD5 | e60d3b437fc72c822e036155a6115786 |
|
BLAKE2b-256 | 5b09231a44952176c08e80947accd672d953e3c0f47a2a2841978ae5865581eb |
File details
Details for the file searchads_api-1.7.14-py3-none-any.whl
.
File metadata
- Download URL: searchads_api-1.7.14-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4c8eb60515e576529cfe61596958a0e99d288763305780637a8f1d44094f2b |
|
MD5 | b89434a3848f4c7f3ca02619b760411e |
|
BLAKE2b-256 | 0400ea8d884ff99aab3783168eb97ddc883f2777d42aa37fad302d9d74856f87 |