Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This API allows managing publishers via HTTP REST API calls methodology.

Table of Contents

1. Login

In order to log in - the general login API is using. Example - https://aniviewwiki.atlassian.net/wiki/spaces/HELP/pages/155975720/Reporting+API#Login-API

...

3.6 Publisher Object Structure

Attribute

Type

Description

id

string

Unique identifier (internal)

name

string

Name of the publisher

email

string

Email of the publsher

description

string

Informative

status

int

The publisher’s status:
1 - active;
2 - deleted;

createdAt

int

Unix timestamp (autogenerated)

updatedAt

int

Unix timestamp (autogenerated)

channelPublisher

string

ID of an associated channelPublisher (APP/Site) instance

seller

object

Seller JSON params

accounting

object

Accounting params

3.6.1 Seller Object Structure

Attribute

Type

Description

id

string

ID of the seller

name

string

Name of the seller

domain

string

Domain of the seller

type

string

The seller’s type
Allowed values:
BOTH , PUBLISHER ,INTERMEDIARY

3.6.2 Accounting Object Structure

Attribute

Type

Description

type

int

The accounting type:
0 - revenue share;
1 - fixed cpm (fee)

fee

int|float

Fixed CPM

revShare

int|float

Revenue share