Skip to content

v0.2.1

Compare
Choose a tag to compare
@denisneuf denisneuf released this 09 Feb 07:25
· 421 commits to main since this release

Unified Attribution API Merged Advertisers, Publishers, Reports and Tags in >> Attribution Class for Simplicity

Example Use:

from ad_api.api import Attribution
from ad_api.base import Marketplaces, AdvertisingApiException

try:

    result = Attribution(account=store, marketplace=marketplace, debug=True).get_advertisers()
    payload = result.payload
    logging.info(payload)

except AdvertisingApiException as error:

    logging.info(error)

EndPoints Available:

get_advertisers (Old Advertisers Moved To -> Attribution)
get_publishers (Old Publishers Moved To -> Attribution)
post_report (Old Reports Moved To -> Attribution)
get_macro_tag (Old Tags Moved To -> Attribution)
get_non_macro_template_tag (Old Tags Moved To -> Attribution)

Any question could open a discussion, this way unify the use of that secondary api like the common resources available like: Profiles, Billing, Elegibility, Metadata, History, Localization, Audiences, Portfolios, Insights and others that could be added in the future