Register an advertiser (ORD)
create_advertiserRegister an advertiser (ORD counterparty) with legal details, returning a unique ID used by campaigns and contracts. No edit or delete exists, so verify existing records first.
Instructions
Registers an advertiser (an ORD counterparty) under the account and returns {id} plus apiPointBalance (weekly API points left). The id is what campaigns and contracts reference. Legal details must match the state register: inn (10 digits for ul, 12 for ip), ogrn, and both addresses; kpp applies to companies (ul) only. legalRole marks the ORD role — rd (advertiser), ra (agency), rr (distributor). There is no edit or delete endpoint: a wrong advertiser can only be superseded by creating another one, so check list_advertisers for an existing record first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inn | Yes | Taxpayer number (INN): 10 digits for a company (ul), 12 for a sole trader (ip). | |
| kpp | No | Tax registration reason code (KPP). Companies (ul) only; omit for ip. | |
| ogrn | Yes | State registration number (OGRN for ul, OGRNIP for ip). | |
| longName | Yes | Full legal name, e.g. "Obshchestvo s ogranichennoy otvetstvennostyu Reklama". | |
| legalRole | Yes | ORD role of the counterparty: rd (advertiser), ra (agency), rr (distributor). | |
| legalType | Yes | Legal entity type: ul (company) or ip (sole trader). | |
| shortName | Yes | Short legal name, e.g. "OOO Reklama". | |
| legalAddress | Yes | Registered legal address. | |
| actualAddress | Yes | Actual (postal) address; repeat legalAddress if they match. |