Billing

class ad_api.api.Billing(account: str = 'default', marketplace: Marketplaces = Marketplaces.EU, credentials: Dict[str, str] | None = None, proxies: Dict[str, str] | None = None, verify: bool = True, timeout: int | None = None, debug: bool = False, access_token: str | None = None, verify_additional_credentials: bool = True)
list_billing_status(**kwargs)

Get the billing status for a list of advertising accounts.

Request Body
Bulk Get Billing Statuses Request Body {
The properties needed to get the billing statuses for a set of advertisers.
advertiserMarketplaces* (array) minItems: 0 maxItems: 100 [
advertiserMarketplace {
marketplaceId* (string)
advertiserId* (string)
}
]
locale (string) Locale. Enum: [‘ar_AE’, ‘cs_CZ’, ‘de_DE’, ‘en_AU’, ‘en_CA’, ‘en_GB’, ‘en_IN’, ‘en_SG’, ‘es_ES’, ‘es_MX’, ‘fr_CA’, ‘fr_FR’, ‘he_IL’, ‘hi_IN’, ‘it_IT’, ‘ja_JP’, ‘ko_KR’, ‘nl_NL’, ‘pl_PL’, ‘pt_BR’, ‘sv_SE’, ‘ta_IN’, ‘tr_TR’, ‘zh_CN’, ‘zh_TW’]
}
Returns

ApiResponse

list_billing_notifications(**kwargs)

Get the billing notifications for a list advertising accounts.

Request Body
Bulk Get Billing Notifications Request Body {
The properties needed to get the billing notifications for a set of advertisers.
advertiserMarketplaces* (array) minItems: 0 maxItems: 100 [
advertiserMarketplace {
marketplaceId* (string)
advertiserId* (string)
}
]
locale (string) Locale. Enum: [‘ar_AE’, ‘cs_CZ’, ‘de_DE’, ‘en_AU’, ‘en_CA’, ‘en_GB’, ‘en_IN’, ‘en_SG’, ‘es_ES’, ‘es_MX’, ‘fr_CA’, ‘fr_FR’, ‘he_IL’, ‘hi_IN’, ‘it_IT’, ‘ja_JP’, ‘ko_KR’, ‘nl_NL’, ‘pl_PL’, ‘pt_BR’, ‘sv_SE’, ‘ta_IN’, ‘tr_TR’, ‘zh_CN’, ‘zh_TW’]
}
Returns

ApiResponse

get_customer_payment_methods(**kwargs)
pay_invoices(**kwargs)
get_payment_agreements(**kwargs)
create_payment_agreements(**kwargs)