LiveRail API
LiveRail API
LiveRail API
USER MANUAL
Version: 1.7
Date: 24 January 2013
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type Overview Example
sample sample
Required
yes
sample example
parameter
type overview
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token
yes
(received
after /login).
sample
Optional
sample
no
sample example
parameter
type overview
Return
<liverailapi requested="/connection/resolve/name" api_version="X.Y.Z">
<connections>
<connection>
<connection_id>the id of the connection</connection_id>
<name>the name of the connection</name>
</connection>
...
<connections>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
The login process is achieved using the /login API method. It requires two parameters: 1.
username: the full e-mail address (username) of the LiveRail client 2. password: the usernames
password sent as an MD5 hash. The /login method will return an XML containing the
authentication token or session ID. This token must be passed to all API sub sequential calls
through the token parameter and is considered to be an implied parameter for all the methods.
Before disconnecting from the LiveRail API, a polite API client must use the API method /logout.
/login
/logout
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/login" api_version="X.Y.Z">
<error>
<code>Error code</code>
<message>Human readable error message.</message>
</error>
<user>
<id>User's numeric ID</id>
<name>User's full name</name>
<admin>1 only for special root users</admin>
<email>User's e-mail</email>
<timezone>User's timezone (GMT offset)</timezone>
</user>
<auth>
<token>Authentication session token</token>
</auth>
<status>success or fail</status>
<buildtime metric="second">Response build time in seconds (float)</buildtime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
</liverailapi>
<error>...</error> is returned only if status is fail.
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
session token
string
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/login" api_version="X.Y.Z">
<error>
<code>Error code</code>
<message>Human readable error message.</message>
</error>
<user>
<id>User's numeric ID</id>
<name>User's full name</name>
<admin>1 only for special root users</admin>
<email>User's e-mail</email>
<timezone>User's timezone (GMT offset)</timezone>
</user>
<auth>
<token>Authentication session token</token>
</auth>
<status>success or fail</status>
<buildtime metric="second">Response build time in seconds (float)</buildtime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
</liverailapi>
<error>...</error> is returned only if status is fail.
Change History
Date
Description
Reason
After the API client is logged in, the client must select an entity. To select an entity, the API client
must use the /set/entity method, using the entity ID as a value for the parameter entity_id.
/set/entity
/unset/entity
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The
integer numerical ID entity_id=788
entity_id yes
of the entity
to be edited.
Return
<liverailapi requested="/set/entity" api_version="X.Y.Z">
<error>
<code>Error code</code>
<message>Human readable error message.</message>
</error>
<user>
<id>User's numeric ID</id>
<name>User's full name</name>
<admin>1 only for special root users</admin>
<email>User's e-mail</email>
<timezone>User's timezone (GMT offset)</timezone>
</user>
<auth>
<entity>
<entity_id>Selected entity's ID</entity_id>
<user_role>User's role on the selected entity (admin, cust-ro, cust-rw)</user_role>
<entity_name>Name of the entity</entity_name>
<perspective>The perspective of the current user over the selected entity</perspective>
<parent_id>The parent entity ID for the current entity. Can be null.</parent_id>
</entity>
<token>Authentication session token</token>
</auth>
<status>success or fail</status>
<buildtime metric="second">Response build time in seconds (float)</buildtime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
session token
string
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/unset/entity" api_version="X.Y.Z">
<error>
<code>Error code</code>
<message>Human readable error message.</message>
</error>
<user>
<id>User's numeric ID</id>
<name>User's full name</name>
<admin>1 only for special root users</admin>
<email>User's e-mail</email>
<timezone>User's timezone (GMT offset)</timezone>
</user>
<auth>
<token>Authentication session token</token>
</auth>
<status>success or fail</status>
<buildtime metric="second">Response build time in seconds (float)</buildtime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
<executiontime metric="second">Method execution time in seconds (float)</executiontime>
</liverailapi>
Change History
Date
Description
Reason
ENTITIES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
count_only
no
limit
no
offset
no
starting letters
). If you set
this
parameter to
#, the call will
return only
the entities
that don't start
with a..z.
If you set this
flag to 1, the
API will return
integer only the count count_only=1
of entities
matching the
parameter
set.
Limit the
number of
int
limit=50
results for
pagination(s).
The offset
from where
the limit
should be
applied ( if
you display
10 entities per
page and you
need to get
int
the 3rd page offset=5
you should
set offset to
20 and limit to
10 ). Do not
use without
specifying the
limit
parameter as
well.
Return
<liverailapi requested="/entity/list" api_version="X.Y.Z">
<total>The total number of listed entities</total>
<entities>
<entity>
<entity_id>entity's ID</entity_id>
<parent_id>null if the entity is a root entity, parent's entity ID otherwise</parent_id>
<perspective>the perspective of the entity; P for Publisher, N for Network, A for Advertiser, M for Marketplace</perspective>
<creation_time>entity's creation full date (YYYY-MM-DD HH:MM:SS)</creation_time>
<organization>entity's name (organization)</organization>
<address>entity's postal address, can be null</address>
<description>entity's description, can be null</description>
<status>entity's status, active, inactive, paused or cancelled</status>
<hosted>1 if the entity is hosted with LiveRail, 0 otherwise</hosted>
Change History
Date
Description
14 May 2012
Added integrations
25 May 2012
28 May 2012
21 July 2012
30 July 2012
10 September
2012
30 September
2012
04 December
2012
Reason
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The entity's
ID for which
integer the
entity_id yes
entity_id=788
organization
name will be
returned.
Return
<liverailapi requested="/entity/resolve/name" api_version="X.Y.Z">
<entities>
<entity>
<entity_id>entity's ID</entity_id>
<organization>entity's organization name</organization>
</entity>
....
</entities>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/list/bychar" api_version="X.Y.Z">
<list>
<no>number</no>
<char>char</char>
</list>
...
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Related Methods
There are 2 related methods for this method:
/entity/network/type/list
/entity/publisher/category/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
organization
business_type
perspective
address
contact_email
hosted
status
inspector_enabled
domain_policy
description
type
site_url
category_id
admap
connect_to_parent
parent_id
built_in
no
0/1
campaign_acceptance
no
enum
parent_campaign_acceptance no
enum
has_truste
no
enum
has_evidon
no
enum
has_proximic
no
enum
has_affine
no
enum
has_safecount
no
enum
has_aperture
no
enum
has_doubleverify
no
enum
has_adxpose
no
enum
has_vizu
no
enum
has_adsafe
no
enum
has_nielsen
no
enum
has_exelate
no
enum
has_lotame
no
enum
parameter is optional.
Specify if the entity is
considered as a 3rd party
ad source or not. The
built_in=1
accepted values are 1 or 0,
with the default value being
0.
Specify how will the entity
accept new orders:
manually or automatically.
The accepted values are:
automatically |
campaign_acceptance=manually
automatically_1h |
automatically_24h |
manually . The default value
is "automatically".
Specify how will the entity
accept new orders from its
parent entity: manually or
automatically. The accepted
values are: automatically | parent_campaign_acceptance=manually
automatically_1h |
automatically_24h |
manually . The default value
is "automatically".
Specify is the entity has
Truste integration. The
accepted values are "yes" or has_truste=yes
"no".The default value is
null.
Specify is the entity has
Evidon integration. The
accepted values are "yes" or has_evidon=yes
"no".The default value is
null.
Specify is the entity has
Proximic integration. The
accepted values are "yes" or has_proximic=yes
"no".The default value is
null.
Specify is the entity has
Affine integration. The
accepted values are "yes" or has_affine=yes
"no".The default value is
null.
Specify is the entity has
SafeCount integration. The
accepted values are "yes" or has_safecount=yes
"no".The default value is
null.
Specify is the entity has
Aperture integration. The
accepted values are "yes" or has_aperture=yes
"no".The default value is
null.
Specify is the entity has
DoubleVerify integration.
The accepted values are
has_doubleverify=yes
"yes" or "no".The default
value is null.
Specify is the entity has
AdXpose integration. The
accepted values are "yes" or has_expose=yes
"no".The default value is
null.
Specify is the entity has Vizu
integration. The accepted
has_vizu=yes
values are "yes" or "no".The
default value is null.
Specify is the entity has
AdSafe integration. The
accepted values are "yes" or has_adsafe=yes
"no".The default value is
null.
Specify is the entity has
Nielsen integration. The
accepted values are "yes" or has_nielsen=yes
"no".The default value is
null.
Specify is the entity has
Exelate integration. The
accepted values are "yes" or has_exelate=yes
"no".The default value is
null.
Specify is the entity has
Lotame integration. The
accepted values are "yes" or has_lotame=yes
"no".The default value is
null.
Control the availability of the
ad sources. When set to
adsource_available
no
realtime_dashboard_enabled no
rtb_enabled
no
Return
<liverailapi requested="/entity/add" api_version="X.Y.Z">
<entity_id>the numeric ID of the newly created entity</entity_id>
<my_campaigns_connection_id>self-connection as a publisher for the newly created entity</my_campaigns_connection_id>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
14 May 2012
Added integrations
25 May 2012
28 May 2012
21 July 2012
30 July 2012
10 September
2012
30 September
2012
04 December
2012
Reason
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Related Methods
There are 2 related methods for this method:
/entity/network/type/list
/entity/publisher/category/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
entity_id
organization
perspective
address
contact_email
hosted
status
inspector_enabled
Example
token=f5a81cdde43c6334feffcfc13ad53717
entity_id=788
organization=test123
perpective=P
address example
hosted=0
status=trial
inspector_enabled=yes
domain_policy
no
description
no
type
no
site_url
no
category_id
no
admap
no
connect_to_parent
no
parent_id
no
built_in
no
campaign_acceptance
no
parent_campaign_acceptance no
marketplaces_availability
no
set
domain_policy
no
set
has_truste
no
enum
has_evidon
no
enum
has_proximic
no
enum
has_affine
no
enum
has_safecount
no
enum
has_aperture
no
enum
marketplaces_availability=available
domain_policy=allow
has_truste=yes
has_evidon=yes
has_proximic=yes
has_affine=yes
has_safecount=yes
has_aperture=yes
has_doubleverify
no
enum
has_adxpose
no
enum
has_vizu
no
enum
has_adsafe
no
enum
has_nielsen
no
enum
has_exelate
no
enum
has_lotame
no
enum
adsource_available
no
enum
realtime_dashboard_enabled no
rtb_enabled
no
Return
<liverailapi requested="/entity/edit" api_version="X.Y.Z">
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
14 May 2012
Added integrations
25 May 2012
28 May 2012
21 July 2012
30 July 2012
10 September
2012
30 September
2012
04 December
2012
Reason
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Align with
API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
integer ID of the
entity_id yes
entity_id=788
entity to be
deleted.
Return
<liverailapi requested="/entity/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
session token
string
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/exchange/list" api_version="X.Y.Z">
<exchange>
<entity_id>the id of LRC</entity_id>
<parent_id>null if the entity is a root entity, parent's entity ID otherwise</parent_id>
...
</exchange>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/publisher/category/list" api_version="X.Y.Z">
<exchange>
<categories>
<category>
<id>the id of the category</id>
<name>the name of the category</name>
</category>
...
</categories>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/network/type/list" api_version="X.Y.Z">
<types>
<type>
<id>the type</id>
<enabled_in>flag that tells if IN orders are supported; can be 0 or 1</enabled_in>
<enabled_ov>flag that tells if OV orders are supported; can be 0 or 1</enabled_ov>
</type>
...
</types>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Related Methods
Network type retrieval:
To get the available network types, please use this link
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication session
string token (received after token=f5a81cdde43c6334feffcfc13ad53717
token yes
/login).
The type of the entity.
string To get the available type=ABCD
type yes
types please use
/entity/network/type/list
Return
<liverailapi requested="/entity/network/type/list" api_version="X.Y.Z">
<parameters>
<parameter>
<type>the type of the entity</type>
<code>the code of the parameter</code>
<name>the name of the parameter</name>
<description>the description of the parameter</description>
<value_type>the type of the parameter</value_type>
<required>flag that tells you if the parameter is required or not; if this flag is 1 then the parameter is required, if it's 0, the parameter is optional</required>
</parameter>
</parameters>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The numerical
ID of the entity
string for which the entity_id=7665
entity_id yes
integrations
are listed.
Return
<liverailapi requested="/entity/integration/get" api_version="X.Y.Z">
<integrations>
<integration>
<entity_id>The entity ID</entity_id>
<has_vizu>yes|no</has_vizu>
<has_adxpose>yes|no</has_adxpose>
<has_doubleverify>yes|no</has_doubleverify>
<has_aperture>yes|no</has_aperture>
<has_safecount>yes|no</has_safecount>
<has_affine>yes|no</has_affine>
<has_evidon>yes|no</has_evidon>
<has_truste>yes|no</has_truste>
<has_proximic>yes|no</has_proximic>
<has_adsafe>yes|no</has_adsafe>
<has_nielsen>yes|no</has_nielsen>
<has_exelate>yes|no</has_exelate>
<has_lotame>yes|no</has_lotame>
</integration>
</integrations>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22.01.2013
Description
Updated parameters in xml
Reason
Align with API
USERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
search_string no
limit
no
offset
no
of the name.
Optional, return
only the users
string with the name
search_string=cro
that are LIKE
%search_string%.
Limit the number
integer of results for
limit=10
pagination(s).
The offset from
where the limit
should be applied
( if you display 10
users per page
and you need to
get the 3rd page
integer you should set offset=20
offset to 20 and
limit to 10 ). This
parameter
shouldn't be given
without giving the
limit parameter as
well.
Return
<liverailapi requested="/user/list" api_version="X.Y.Z">
<users>
<user>
<id>user's ID</id>
<name>user's full name</name>
<email>user's email / login name</email>
<timezone>user's timezone (GMT offset)</timezone>
<accept_emails>yes or no, send or don't send e-mails to this user</accept_emails>
<admin>0|1</admin>
<entity_id></entity_id>
<role>user's account role</role>
</user>
...
</users>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
name
Return
Example
name=bbb
[email protected]
password=???
role=cust-rw
timezone=5
admin=1
commision
accept_emails=no
status=trial
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
user_id
name
password
no
timezone
no
accept_emails no
admin
no
string This
password=???
parameter is
optional,
meaning that,
if not given,
the parameter
value is not
altered in any
way.
User's
timezone.
This
parameter is
optional,
float meaning that, timezone=4
if not given,
the parameter
value is not
altered in any
way.
Specify if the
new user will
accept emails
or not. The
accepted
values are
"yes" , "no".
enum This
accept_email=yes
parameter is
optional,
meaning that,
if not given,
the parameter
value is not
altered in any
way.
Specify if the
new user will
be admin or
not. The
accepted
values are "0"
, "1". This
enum parameter is admin=1
optional,
meaning that,
if not given,
the parameter
value is not
altered in any
way.
User's status.
The possible
values are:
active, trial.
This
parameter is
enum
status
no
enum optional,
status=active
meaning that,
if not given,
the parameter
value is not
altered in any
way.
Return
<liverailapi requested="/user/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
returned only if status is fail.
Change History
Date
Description
Reason
Warning: from the customer's perspective, this method has the same
effect as /user/detach.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The numeric
integer ID of the user user_id = 1752
user_id yes
to be deleted.
Return
<liverailapi requested="/user/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/user/recover" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
returned only if status is fail.
Change History
Date
23 February 2012
Description
Method added
Reason
Method added in API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
The e-mail
address of the
string user for which
email yes
you want to
change the
password.
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/user/recover/init" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
returned only if status is fail.
Change History
Date
23 February 2012
Description
Method added
Reason
Method added in API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
string Specify the name. Names in format "3p_%"
name yes
are not allowed.
string Specify the value. If the value is specified as
value no
"LR_API_NULL", this setting will be cleared.
string Specify the settings for a particular user's
user_id no
numerical ID.
Example
name=lrtester
value=winter
user_id=5485
Return
<liverailapi requested="/user/settings/set" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Method added to API
18.01.2012
tester/documentation
Reason
Method needed to allow 3rd party
integrations based on settings table.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
string Display all the settings attached to a specific user_id=5485
user_id no
user numerical ID.
string Search for the user's exact name. Partial
name no
name=lrtester
matches will not be accepted.
Return
<liverailapi requested="/user/settings/get" api_version="X.Y.Z">
<settings>
<setting>
<user_id>974</user_id>
<name>brindusatest</name>
<value>the defined value, if any</value>
</setting>
...
</settings>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Method added to API
18.01.2012
tester/documentation
Reason
Method needed to allow 3rd party
integrations based on settings table.
ENTITY USERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/user/list" api_version="X.Y.Z">
<users>
<user>
<user_id>the id of the user</user_id>
<email>the user's email</email>
<accept_emails>flag that tells the system if the user accepts emails; can be 'yes' or 'no'</accept_emails>
<role>the role of the user</role>
<inherited>flag that tells if the role on this entity is inherited from a parent entity or not; can be 1 ( the role is inherited ) or 0 ( the role is specified for this entity )</inherited>
</user>
...
</users>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
integer entity to
entity_id yes
entity_id = 225
which the
user will be
attached.
The numeric
integer ID of the user user_id = 558
user_id yes
to be
attached.
User's
account role
on the entity;
admin administrator,
string cust-rw role
yes
role=admin
customer
read-write,
cust-ro customer
read-only
Return
<liverailapi requested="/user/attach" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
integer entity from entity_id = 225
entity_id yes
which the
user will be
detached.
The numeric
integer ID of the user user_id = 558
user_id yes
to be
detached.
Return
<liverailapi requested="/user/detach" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
Change History
Date
Description
Reason
ENTITY CATEGORIES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
entity_id
not
domain
no
category
no
domain_search no
category_search no
status
no
approved_after no
search_string
no
source
no
Overview
Example
Authentication
session token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after
/login).
Search for a
domain with a
specific numerical
ID. If you have
string
multiple id(s) you entity_id=788,333
can make a single
call by glueing
them together
with | or ,
Search for a
domain with a
string
specific name.
domain=context.com
This paramenter
is optional.
Search for a
string
category with a category=music
specific name.
Return only the
domains with the
name that are
string
LIKE
domain_searc=cont
%search_string%.
This paramenter
is optional.
Return only the
categories with
the name that are
string
LIKE
category_search=mus
%search_string%.
This paramenter
is optional.
Display the
status. This
string
status=...
paramenter is
optional.
Return only the
entries that are
newer than the
DateTime specified date
approved_after=10.10.2012 00:00:00
and time. This
paramenter is
optional.
Return only the
domains and
categories with
string
search_string=tras
the name that are
LIKE
%search_string%.
Return only the
domains and
categories with
the specified
enum
source. Possible source=user
values: "system'
"user". This
parameter is
optional.
Return only the
domains and
categories with
the specified
quality. Possible
values: "Premium"
quality
no
string
"Prosumer"
"RON". If you
quality=Premium,RON
have multiple
values, you can
make a single call
by glueing them
together with | or ,
This parameter is
optional.
Return
<liverailapi requested="/entity/category/domain/list" api_version="X.Y.Z">
<domains>
<domain>
<domain_name>The name of the domain</domain_name>
<entity_id>The numerical ID of the corresponding entity</entity_id>
<categories>
<category>
<category_id></category_id>
<parent_category_id></parent_category_id>
<category_name></category_name>
</category>
...
</categories>
<entity_domain_id>The numerical ID of the domain</entity_domain_id>
<duration></duration>
<autoplay></autoplay>
<quality>Premium|Prosumer|RON or NULL</quality>
<companions></companions>
<audio></audio>
<content></content>
<floor></floor>
<above></above>
<player></player>
<ts>Start time and date</ts>
<approved_ts></approved_ts>
<inv></inv>
<status>Status of the domain (possible values are: new, pending, approved, not_approved)</status>
<pitch>Pitch of the domain</pitch>
<avg_daily_inv></avg_daily_inv>
<estimate_monthly_volume></estimate_monthly_volume>
<ad_unit_types>The ad unit types</ad_unit_types>
<platform></platform>
<content_duration></content_duration>
<content_type></content_type>
<player_url></player_url>
<min_cpm></min_cpm>
<notes></notes>
<not_approved_reason></not_approved_reason>
<source>system|user</source>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
31 August 2012
Description
New parameter added: source
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
entity_id
name
estimate_monthly_volume_us
min_cpm_us_instream
min_cpm_us_in_banner
min_cpm_us_overlay
player_url
ad_unit_types
placement
above
companions
autoplay
yes
audio
yes
category_id
yes
content_duration
yes
duration
yes
pitch
avg_daily_inv
no
no
estimate_monthly_volume_non_us no
estimate_monthly_volume_uk
no
estimate_monthly_volume_au
no
estimate_monthly_volume_ca
no
targeting_strengths
no
other_platform
no
platform
no
player
no
aspect_ratio
no
restricted_advertising
no
min_cpm_uk_instream
no
min_cpm_uk_overlay
no
player
technology/platform
the site operates on.
The accepted
values are:
"Brightcove",
"Castfire", "Delve",
"FlowPlayer", "JW
Player", "Kaltura",
"Kickapps", "OMSF",
"Ooyala",
"ThePlatform",
set
platform=Ooyala
"Twistage", "Unicorn
Media", "Viddler",
"Custom AS3
Player(LiveRail
Integration)",
"Custom AS3
Player(VAST
Compliant)",
"Custom AS3
Player(VAST+VPAID
Compliant)",
"Custom HTML5
Player", "Interstitial".
Specify the video or
game player
width(s). The
accepted values
set
are: "small" (300 to player=small
480) | "medium"
(480 to 640) |
"large" (640 and
above).
Specify the video or
game player aspect
set
ratio(s). The
aspect_ratio=16:9
accepted values
are: "16:9" | "4:3".
Specify the
restricted types of
advertising,
advertisers, or
networks. The
accepted values
are: 'Alcohol',
'Dietary
Supplements',
string 'Firearms', 'Land- restricted_advertising=Political
based Casinos',
'Online Gambling',
'Political',
'Prescription Drugs',
'Religion', 'Sexual
Content',
'Sweepstakes
Contests', 'Tobacco',
'Violence','Interactive
Ads (VPAID)'
Specify for United
Kingdom: the
float minimum CPM
min_cpm_uk_instream=7.2
accepted for this
domain on Instream.
Specify for United
Kingdom: the
float minimum CPM
min_cpm_uk_overlay=7.2
accepted for this
domain on Overlay.
Specify for United
min_cpm_uk_in_banner
no
float
min_cpm_au_instream
no
float
min_cpm_au_overlay
no
float
min_cpm_au_in_banner
no
float
min_cpm_ca_instream
no
float
min_cpm_ca_overlay
no
float
min_cpm_ca_in_banner
no
float
min_cpm_other_instream
no
float
min_cpm_other_overlay
no
float
min_cpm_other_in_banner
no
float
Kingdom: the
minimum CPM
min_cpm_uk_in_banner=7.2
accepted for this
domain on InBanner.
Specify for Australia:
the minimum CPM
min_cpm_au_instream=7.2
accepted for this
domain on Instream.
Specify for Australia:
the minimum CPM
min_cpm_au_overlay=7.2
accepted for this
domain on Overlay.
Specify for Australia:
the minimum CPM
min_cpm_au_in_banner=7.2
accepted for this
domain on InBanner.
Specify for Canada:
the minimum CPM
min_cpm_ca_instream=7.2
accepted for this
domain on Instream.
Specify for Canada:
the minimum CPM
min_cpm_ca_overlay=7.2
accepted for this
domain on Overlay.
Specify for Canada:
the minimum CPM
min_cpm_ca_in_banner=7.2
accepted for this
domain on InBanner.
Specify for others:
the minimum CPM
min_cpm_other_instream=7.2
accepted for this
domain on Instream.
Specify for others:
the minimum CPM
min_cpm_other_overlay=7.2
accepted for this
domain on Overlay.
Specify for others:
the minimum CPM
min_cpm_other_in_banner=7.2
accepted for this
domain on InBanner.
Return
<liverailapi requested="/entity/category/domain/add" api_version="X.Y.Z">
*<warnings>
<warning>The numerical ID of the invalid category</warning>
</warnings>
<entity_domain_id>The numerical ID of the newly created domain</entity_domain_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
entity_domain_id
name
estimate_monthly_volume_us
min_cpm_us_instream
min_cpm_us_in_banner
min_cpm_us_overlay
player_url
ad_unit_types
placement
above
companions
autoplay
no
audio
no
category_id
no
content_duration
no
duration
no
pitch
avg_daily_inv
no
no
estimate_monthly_volume_non_us no
estimate_monthly_volume_uk
no
estimate_monthly_volume_au
no
estimate_monthly_volume_ca
no
targeting_strengths
no
other_platform
no
platform
no
player
no
aspect_ratio
no
restricted_advertising
no
min_cpm_uk_instream
no
min_cpm_uk_overlay
no
player
technology/platform
the site operates on.
The accepted
values are:
"Brightcove",
"Castfire", "Delve",
"FlowPlayer", "JW
Player", "Kaltura",
"Kickapps", "OMSF",
"Ooyala",
"ThePlatform",
set
platform=Ooyala
"Twistage", "Unicorn
Media", "Viddler",
"Custom AS3
Player(LiveRail
Integration)",
"Custom AS3
Player(VAST
Compliant)",
"Custom AS3
Player(VAST+VPAID
Compliant)",
"Custom HTML5
Player", "Interstitial".
Specify the video or
game player
width(s). The
accepted values
set
are: "small" (300 to player=small
480) | "medium"
(480 to 640) |
"large" (640 and
above).
Specify the video or
game player aspect
set
ratio(s). The
aspect_ratio=16:9
accepted values
are: "16:9" | "4:3".
Specify the
restricted types of
advertising,
advertisers, or
networks. The
accepted values
are: 'Alcohol',
'Dietary
Supplements',
string 'Firearms', 'Land- restricted_advertising=Political
based Casinos',
'Online Gambling',
'Political',
'Prescription Drugs',
'Religion', 'Sexual
Content',
'Sweepstakes
Contests', 'Tobacco',
'Violence','Interactive
Ads (VPAID)'
Specify for United
Kingdom: the
float minimum CPM
min_cpm_uk_instream=7.2
accepted for this
domain on Instream.
Specify for United
Kingdom: the
float minimum CPM
min_cpm_uk_overlay=7.2
accepted for this
domain on Overlay.
Specify for United
min_cpm_uk_in_banner
no
float
min_cpm_au_instream
no
float
min_cpm_au_overlay
no
float
min_cpm_au_in_banner
no
float
min_cpm_ca_instream
no
float
min_cpm_ca_overlay
no
float
min_cpm_ca_in_banner
no
float
min_cpm_other_instream
no
float
min_cpm_other_overlay
no
float
min_cpm_other_in_banner
no
float
Kingdom: the
minimum CPM
min_cpm_uk_in_banner=7.2
accepted for this
domain on InBanner.
Specify for Australia:
the minimum CPM
min_cpm_au_instream=7.2
accepted for this
domain on Instream.
Specify for Australia:
the minimum CPM
min_cpm_au_overlay=7.2
accepted for this
domain on Overlay.
Specify for Australia:
the minimum CPM
min_cpm_au_in_banner=7.2
accepted for this
domain on InBanner.
Specify for Canada:
the minimum CPM
min_cpm_ca_instream=7.2
accepted for this
domain on Instream.
Specify for Canada:
the minimum CPM
min_cpm_ca_overlay=7.2
accepted for this
domain on Overlay.
Specify for Canada:
the minimum CPM
min_cpm_ca_in_banner=7.2
accepted for this
domain on InBanner.
Specify for others:
the minimum CPM
min_cpm_other_instream=7.2
accepted for this
domain on Instream.
Specify for others:
the minimum CPM
min_cpm_other_overlay=7.2
accepted for this
domain on Overlay.
Specify for others:
the minimum CPM
min_cpm_other_in_banner=7.2
accepted for this
domain on InBanner.
Return
<liverailapi requested="/entity/category/domain/edit" api_version="X.Y.Z">
*<warnings>
<warning>The numerical ID of the invalid category</warning>
</warnings>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to entity domain lists are displayed here.
/entity/domain/list/add
/entity/domain/list/edit
/entity/domain/list/list
/entity/domain/list/delete
/entity/domain/list/resolve/name
/entity/domain/list/clear/list
/entity/domain/list/duplicate/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/list" api_version="x.y.z">
<domain_lists>
<domain_list>
<entity_domain_list_id>The numerical ID of the list </entity_domain_list_id>
<entity_id>The numerical ID of the entity </entity_id>
<list_name>The name of the list</list_name>
<description>The description of the list</description>
<domain_count>Number or domains</domain_count>
</domain_list>
</domain_lists>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
02.10.2012
Description
Added search_string
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/add" api_version="X.Y.Z">
<entity_domain_list_id>The numerical ID of the newly created list.</entity_domain_list_id>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/edit" api_version="X.Y.Z">
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/delete" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/resolve/name" api_version="x.y.z">
<domain_lists>
<domain_list>
<entity_domain_list_id>The numerical ID of the list</entity_domain_list_id>
<list_name>The name of the list</list_name>
</domain_list>
</domain_lists>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/clear/list" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/duplicate/list" api_version="x.y.z">
<domain_list>
<entity_domain_list_id>The numerical ID of the duplicate list.</entity_domain_list_id>
</domain_list>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to entity domain list domains are displayed here.
/entity/domain/list/domain/add
/entity/domain/list/domain/list
/entity/domain/list/domain/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/domain/list" api_version="X.Y.Z">
<domains>
<domain>
<entity_domain_list_id>The numerical ID of the list </entity_domain_list_id>
<domain_name>The name of the domain</domain_name>
</domain>
...
</domains>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/domain/add" api_version="X.Y.Z">
<inserted_domains>The number of the domains inserted</inserted_domains>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/list/domain/delete" api_version="X.Y.Z">
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to Entity Domain Geo are displayed here.
/entity/domain/geo/list
/entity/domain/geo/distinct/vertical/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
metro
no
string
not_metro
no
string
domain_search
no
string
return_type
no
enum
Return
NEWSOUTHWALES|ARIZONA|CLUJ
or not_region =
NEWSOUTHWALES,ARIZONA,CLUJ
)..
Search based on the domain's metro. metro=Los Angeles
All the metros specified here will not
be displayed in the result array. If you
have multiple metro(s) you can make not_metro=NEWYORK
a single call by glueing them together
with | or , .
Search based on th estring contained
by the domain name. The search will
domain_search=media
be performed in all entries or only in
the specified entity_id.
Specify the return type. The
supported values are: all (returns
individual data and summed data),
no-total (returns only individual data),
total (returns only summed data), bigreturn_type=no-total
total (returns only the total grouped
by domain), country-aggregation
(returns only the aggregated data
from each country). The default value
is: "all".
**There are 3 distinct cases for usage
of the entity_id, vertical_id and
non_vertical_id. Assume that entity_id
= 1,2,3 vertical_id=10,11,12,13,14,15
not_entity_id=4,5. vertical_id 10 and
13 are attached to entity_id 1 and
vertical_id 10 is also attached to
entity_id 2. - When calling only
entity_id=1,2 the result will display
the information for entity_id=1 and
vertical_id=10,13. - When calling
entity_id=1,2,3 and vertical_id are in
the same request, the result will
display the information for entity_id=2
and vertical_id=10. - When entity_id,
vertical_id and not_entity_id are in
the same request, the result will
display the information for entity_id=3
and not_entity_id=4,5. When
removing the entity_id from the
request, the result will display
vertical_id=10,11,12,13,14,15 and
not_entity_id=4,5
In addition, the call will automatically
detect matches between the location
parameters ( country_code, region
and metro ) and instead of simply
using the conditions glued together
by ANDs, it will create a condition set
glued by ORs which ensures that the
displayed result will not be generated
by mutually exclusive parts. Country
codes that do not correspond to the
regiond and/or metro will be filtered
by the call matching system and only
the correct matches will be grouped
together by "AND". For example,
specifying the following parameters:
country_code=FR,RO
region=CALIFORNIA,CLUJ will trigger
the results from the pair RO and
CLUJ, along with the results from FR
and the results from CALIFORNIA
(grouped by "OR").
Change History
Date
17 May 2012
13 July 2012
Description
Added method into help file
Added country-aggregation, not- parameters
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
Search based
on the
numerical ID
of the entity. If
you have
multiple ID(s)
you can make
a single call
by glueing
them together
integer with | or , ( entity_id=687
entity_id no
examples: if
you need to
get the
information
for entity ID(s)
1, 7 and 120
you can use
entity_id =
1|7|120 or
entity_id =
1,7,120 ).
Return
<liverailapi requested="/entity/domain/geo/distinct/vertical/list" api_version="X.Y.Z">
<verticals>
<vertical>
<vertical_id>The numerical ID of the vertical</vertical_id>
</vertical>
...
</verticals>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
13 July 2012
Description
Added method into help file
Reason
Align with API
All the methods related to entity domain frequency are displayed here.
/entity/domain/frequency/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/frequency/list" api_version="x.y.z">
<frequencies>
<frequency>
<entity_domain_frequency_id>Frequency Domain ID</entity_domain_frequency_id>
<entity_domain_id>Domain ID</entity_domain_id>
<frequency>Numerical value</frequency>
<percentage>percentage value</percentage>
<ts>2time stamp</ts>
</frequency>
...
</frequencies>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to entity domain audience are displayed here.
/entity/domain/audience/add
/entity/domain/audience/edit
/entity/domain/audience/list
/entity/domain/audience/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
audience_segment_id
yes
numerical ID
Search based
on the
integer audience
audience_segment_id=8877655
segment
numerical ID.
Return
<liverailapi requested="/entity/domain/audience/list" api_version="X.Y.Z">
<entity_domain_audience_segments>
<entity_domain_audience_segment>
<entity_domain_audience_segment_id>The numerical ID of the entity domain audience segment</entity_domain_audience_segment_id>
<entity_domain_id>The numerical ID of the entity domain </entity_domain_id>
<audience_segment_id>The numerical ID of the audience segment</audience_segment_id>
<percentage>The percentage.</percentage>
</entity_domain_audience_segment>
...
</entity_domain_audience_segments>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
entity_domain_id
yes
audience_segment_id yes
percentage
yes
Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
(received
after /login).
The
numerical ID
of the entity
integer domain for entity_domain_id=3548
which the
audience is
added.
The
numerical Id
integer of the
audience_segment_id=8877655
segment to be
added.
percent ...
percentage=76%
Return
<liverailapi requested="/entity/domain/data/add" api_version="X.Y.Z">
<entity_domain_audience_segment_id>The numerical ID of the new audience.</entity_domain_audience_segment_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
entity_domain_audience_segment_id yes
percentage
no
Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
(received
after /login).
The
numerical ID
of the entity
integer domain
entity_domain_audience_segment_id=3548
segment for
which the
audience is
edited.
percent ...
percentage=76%
Return
<liverailapi requested="/entity/domain/data/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/data/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ENTITY MARKETPLACE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/marketplace/list" api_version="X.Y.Z">
<marketplaces>
<marketplace>
<entity_marketplace_id>The numeric ID of the marketplace</entity_marketplace_id>
<entity_id>The numeric ID of the entity</entity_id>
<marketplace_name>The name of the marketplace</marketplace_name>
<marketplace_description>Description of the marketplace</marketplace_description>
<marketplace_logo>The name of the marketplace's logo</marketplace_logo>
<disabled>yes|no</disabled>
</marketplace>
...
</marketplaces>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
Description
Updated XML response
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/marketplace/margin/list" api_version="X.Y.Z">
<entity_marketplace_margins>
<entity_marketplace_margin>
<margin></margin>
<entity_id>The numeric ID of the entity</entity_id>
<organization>The name of the entity</organization>
</entity_marketplace_margin>
...
</entity_marketplace_margins>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The
numerical ID
integer of the entity token=f5a81cdde43c6334feffcfc13ad53717
entity_id yes
for which the
margin is
set/edited
Set the new
value for the
margin (if
string another value margin=200
margin no
exists already,
it will be overwritten)
Return
<liverailapi requested="/entity/marketplace/margin/set" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ENTITY VERTICALS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/vertical/list" api_version="X.Y.Z">
<verticals>
<vertical>
<vertical_id>The numeric ID of the vertical_name</vertical_id>
<entity_id>The numeric ID of the entity to which the vertical is linked</entity_id>
<vertical_name>The sanitized vertical name. If the name contains non-letter / non-numeric characters, they will be replaced with "_"</vertical_name>
</vertical>
...
</verticals>
<count>The number of verticals</count>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
publisher_id
vertical_id
start_with
search_string
vertical_name
limit
offset
no
group_by_vertical_name no
pagination(s).
The offset
from where
the limit
should be
applied ( if
you display
10 verticals
per page and
you need to
integer get the 3rd offset=5
page you
should set
offset to 20
and limit to 10
). Do not use
without
specifying the
limit
parameter as
well.
Possible
values:
yes|no. If set
to yes, it will
return a
vertical name
only once. If
the value is
set to no, the
set
group_by_vertical_name=no
same vertical
name might
be returned
several times
( equal to the
number of
publishers
that use the
vertical ).
Return
<liverailapi requested="/entity/vertical/publisher/list" api_version="X.Y.Z">
<verticals>
<vertical>
<vertical_id>The numeric ID of the vertical_name</vertical_id>
<entity_id>The numeric ID of the current vertical</entity_id>
<vertical_name>The sanitized vertical name. If the name contains non-letter / non-numeric characters, they will be replaced with "_".</vertical_name>
</vertical>
...
</verticals>
<count>The number of verticals</count>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/entity/vertical/available" api_version="X.Y.Z">
<available>The available number of verticals remaining for the specified entity.</available>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/vertical/resolve/name" api_version="X.Y.Z">
<verticals>
<vertical>
<vertical_id>The numeric ID of the resolved vertical</vertical_id>
<vertical_name>The sanitized vertical name. If the name contains non-letter / non-numeric characters, they will be replaced with "_"</vertical_name>
</vertical>
...
</verticals>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/vertical/add" api_version="X.Y.Z">
<vertical_id>The numeric ID of the newly created vertical</vertical_id>
<vertical_name>The sanitized vertical name, if it contains non-letter / non-numeric characters.</vertical_name>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/vertical/edit" api_version="X.Y.Z">
<vertical_id>The new numeric ID of the vertical for which the name was edited</vertical_id>
<vertical_name>The sanitized vertical name, if it contains non-letter / non-numeric characters.</vertical_name>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/vertical/publisher/list" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ENTITY CONTACTS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/contact/list" api_version="X.Y.Z">
<contacts>
<contact>
<entity_contact_id>The numerical ID of the contact full_name</entity_contact_id>
<entity_id>The numerical ID of the current entity</entity_id>
<type>The type of contact</type>
...
</contact>
</contacts>
...
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
support_zone no
Return
<liverailapi requested="/entity/contact/add" api_version="X.Y.Z">
<entity_contact_id>The numeric ID of the newly created contact</entity_contact_id>
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
phone1
no
string
city_state
no
string
notify_emails
no
string
support_zone
no
string
The contact's
secondary
phone1=0554860
phone
number.
The Contact
city_state=Cluj Romania
City and State
Specify the
email
notification
address. If
you have
multiple email
addresses, [email protected]
you can make
a single call
by glueing
them together
with comma
"," or pipe "|"
The contact's
support_zone=RO
support zone.
Return
<liverailapi requested="/entity/contact/edit" api_version="X.Y.Z">
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/contact/delete" api_version="X.Y.Z">
<user>
..
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ENTITY TRACKERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
integer entity for
entity_id yes
entity_id=5412
which the
trackers will
be listed.
Return
<liverailapi requested="/entity/tracker/list" api_version="X.Y.Z">
<entity>
<trackers>
<tracker>
<entity_tracker_id>the numeric ID of the tracker</entity_tracker_id>
<event>the event of tracker</event>
<url>the URL of the tracker</url>
</tracker>
...
</trackers>
</entity>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
Description
Added method into the help file
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
integer entity to
entity_id yes
entity_id=5412
which the
tracker will be
added.
The tracker
event:
impression impression,
accept accept
invitation,
clickthru video clickthrough,
view25 - first
quartile (25%
watched),
view50 midpoint
(50%
watched),
view75 - third
quartile (75%
watched),
string view100 event yes
event=close
complete
view (100%
watched),
pause - video
paused, mute
- video muted,
minimize minimize
overlay, close
- close,
companion companion
impression,
error - error,
skip, custom1
url
yes
from custom8
- custom
events that
can be send
from player
string The URL of url=http://www.tracker-url.com/tracker2
the tracker
Return
<liverailapi requested="/entity/tracker/add" api_version="X.Y.Z">
<entity_tracker_id>the numeric ID of the new tracker</entity_tracker_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
11 July 2012
11 September 2012
Description
Added method into the help file
Changed event values
Added 'error' in event values
Reason
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
url
no
minimize
overlay, close
- close,
companion companion
impression,
error - error,
skip, custom1
from custom8
- custom
events that
can be send
from player
string The new URL url=http://www.tracker-url.com/tracker2
of the tracker
Return
<liverailapi requested="/entity/tracker/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
11 July 2012
11 September 2012
Description
Added method into the help file
Changed event values
Added 'error' in event values
Reason
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/tracker/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
Description
Added method into the help file
Reason
Align with API
All the methods related to entity domain control are displayed here.
/entity/domain/control/add
/entity/domain/control/list
/entity/domain/control/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
applied ( if
you display 10
domains per
page and you
need to get
offset=5
the 3rd page
you should set
offset to 20
and limit to 10
). Do not use
without
specifying the
limit parameter
as well.
Return
<liverailapi requested="/entity/domain/control/list" api_version="X.Y.Z">
<domains>
<domain>
<entity_id>The numeric ID of the entity</entity_id>
<domain_name>The name of the controlled domain</domain_name>
</domain>
...
</domains>
...
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/control/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/domain/control/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ENTITY AUDIENCE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
entity for
which the
audience
providers will
integer be listed. If no entity_id=788
entity_id no
value is
specified, the
search will be
performed on
the current
entity.
Return
<liverailapi requested="/entity/audience/provider/list" api_version="x.y.z">
<providers>
<provider>
</provider>
...
</providers>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The numeric
ID of the
entity for
which the
sudence
segments will
integer be listed. If no entity_id=788
entity_id no
value is
specified, the
search will be
performed on
the current
entity.
Return
<liverailapi requested="/entity/audience/segment/list" api_version="x.y.z">
<count>The number of segments.</count>
<segments>
<segment>
</segment>
...
</segments>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
AUDIENCE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/audience/provider/resolve/name" api_version="x.y.z">
<providers>
<provider>
<audience_id>The numerical ID of the audience.</audience_id>
<audience_name>The name of the audience</audience_name>
</provider>
...
</providers>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/audience/segment/resolve/name" api_version="x.y.z">
<segments>
<segment>
<audience_segment_id>The numerical ID of the audience segment.</audience_segment_id>
<audience_segment_name>The name of the audience segment.</audience_segment_name>
<audience_name>The name of the audience.</audience_name>
</segment>
...
</segments>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
CATEGORIES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
source
no
return_deleted
no
20 and limit to
10 ). Do not
use without
specifying the
limit
parameter as
well.
Specify the
category
source
string (LiveRail or source=yt
Youtube). The
accepted
values are:
"lr" and "yt".
Returns only
string the deleted return_deleted=yes
categories.
Return
<liverailapi requested="/category/list" api_version="X.Y.Z">
<categories>
<category>
<category_id>The numeric ID of the category</category_id>
<parent_category_id>The numeric ID of the parent category</parent_category_id>
<category_name>The name of the category_id</category_name>
<source>lr / yt</source>
</category>
...
<categories>
...
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/category/resolve/name" api_version="X.Y.Z">
<categories>
<category>
<category_id>The numeric ID of the resolved category</category_id>
<category_name>The category name.</category_name>
<source>The source of the category</source>
</category>
...
</categories>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
SUB SITES
All the methods related to entity sub sites are displayed here.
/entity/sub/site/list
/entity/sub/site/set
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/sub/site/list" api_version="X.Y.Z">
<sub_sites>
<sub_site>
<network_id>the id of the entity acting as a network ( the current entity )</network_id>
<sub_site_id>the id of the entity acting as a sub site</sub_site_id>
<organization>the name of the sub site</organization>
<connections>
<connection>
<connection_id>The numerical ID of the connection</connection_id>
<enabled_network>values: 1/0</enabled_network>
<enabled_publisher>values: 1/0</enabled_publisher>
<enabled_ov>values: 1/0</enabled_ov>
<enabled_in>values: 1/0</enabled_in>
<cost_model>values: cpm/cpc</cost_model>
</connection>
</connections>
</sub_site>
...
</sub_sites>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/entity/sub/site/list" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
NETWORK LABEL
All the methods related to the network labels are displayed here.
/network/label/add
/network/label/edit
/network/label/list
/network/label/delete
/network/site/label/list
/network/site/label/set
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/network/label/list" api_version="X.Y.Z">
<labels>
<label>
<label>The name of the label</label>
<label_id>The numerical ID of the label</label_id>
<network_id>The numerical ID of the network</network_id>
</label>
...
</labels>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
string The name of the label=testnetwork
label yes
new label.
Return
<liverailapi requested="/network/label/add" api_version="X.Y.Z">
<label_id>The numerical ID of the newly created label</label_id>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The
integer numerical ID label_id=5556
label_id yes
of the label to
be edited.
The new
string name of the label=testnetworknew
label yes
label.
Return
<liverailapi requested="/network/label/edit" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The
numerical ID
of the label to
be deleted. If
the label to be
integer deleted is set label_id=556
label_id yes
with
publishers, all
associations
will be
deleted.
Return
<liverailapi requested="/network/label/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/network/site/label/list" api_version="X.Y.Z">
<labels>
<label>
<publisher_id>The numerical ID of the publisher.</publisher_id>
<publisher_name>The name of the publisher</publisher_name>
<label_id>The numercial ID of the label</label_id>
<label>The name of the label</label>
<enabled_in>1</enabled_in>
<enabled_ov>1</enabled_ov>
</label>
...
</labels>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/network/site/label/set" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
SUMMARY
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/domain/list" api_version="x.y.z">
<domains>
<list>
<domain>
<domain>The domain name</domain>
</domain>
...
</list>
</domains>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
fingerprint
no
limit
no
offset
no
group_by
no
group_by_name no
glueing them
string together with | fingerprint=fin_intro, fin_dual
or , By default
the method will
return the
fingerprints for
the current
entity.
Limit the number
int of results for
limit=10
pagination(s).
The offset from
where the limit
should be
applied ( if you
display 10
fingerprints per
page and you
need to get the
int 3rd page you offset=20
should set offset
to 20 and limit to
10 ). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Group by. If the
value is
string "LR_API_NULL", group_by=LR_API_NULL
the grouping will
be cleared.
Specify if the
grouping will be
done by name.
enum The possible group_by_name=yes
values are "yes"
| "no". Default
value is "no".
Return
<liverailapi requested="/summary/fingerprint/list" api_version="x.y.z">
<fingerprints>
<list>
<fingerprint>
<fingerprint>The fingerprint name</fingerprint>
</fingerprint>
...
</list>
</fingerprints>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
10 tags per
page and you
need to get
the 3rd page
offset=20
you should
set offset to
20 and limit to
10 ). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/tag/list" api_version="x.y.z">
<tags>
<list>
<tag>
<tag>The tag name</tag>
</tag>
...
</list>
</tags>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
media
no
limit
no
offset
no
group_by
no
group_by_name no
Return
<liverailapi requested="/summary/media/list" api_version="x.y.z">
<medias>
<list>
<media>
<media>The media name</media>
</media>
...
</list>
</medias>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
entity_id
partner_id
no
search_partner no
limit
no
offset
no
returned. If
you have
multiple id(s)
you can make
a single call
string by glueing
partner_id=25, 476
them together
with | or , (
examples: if
you need to
get the info
for id(s) 1, 7
and 120 you
can use
partner_id =
1|7|120 or
partner_id =
1,7,120 ).
The search
string for the
partner name.
The search
int will be
search_partner=intro
performed
only in the
current or
specified
entity_id.
Limit the
int number of
limit=10
results for
pagination(s).
The offset
from where
the limit
should be
applied ( if
you display
10 partners
per page and
you need to
get the 3rd
int page you
offset=20
should set
offset to 20
and limit to 10
). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/partner/list" api_version="x.y.z">
<partners>
<list>
<partner>
<partner_id>The numeric ID of the partner</partner_id>
<partner>The partner name</partner>
</partner>
...
</list>
<count>The number of returned results</count>
</partners>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
The offset
from where
the limit
should be
applied ( if
you display
10 verticals
per page and
you need to
get the 3rd
page you
offset=20
should set
offset to 20
and limit to 10
). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/vertical/list" api_version="x.y.z">
<verticals>
<list>
<vertical>
<vertical_id>The numerical ID of the vertical</vertical_id>
<vertical_name>The vertical name</vertical_name>
</vertical>
...
</list>
<count>Number of returned verticals</count>
</verticals>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22 January 2013
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
The offset
from where
the limit
should be
applied ( if
you display
10 orders per
page and you
need to get
the 3rd page
offset=20
you should
set offset to
20 and limit to
10 ). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/order/list" api_version="x.y.z">
<order_lies>
<order_line>
<order_line_id>The order line ID</order_line_id>
<order_id>The Order ID</order_id>
<publisher_id>The publisher ID</publisher_id>
<network_id>The Network ID</network_id>
<position>the position</position>
<cost_advertiser>cost for advertiser</cost_advertiser>
<cost_publisher>cost for publisher</cost_publisher>
<cost_publisher_bid>cost for publisher bid</cost_publisher_bid>
<impression>The number of impressions</impression>
<clickthru>The number of clickthroughs</clickthru>
<view100>Number of view100</view100>
<accept>Accept value</accept>
<cost_fees>cost fees</cost_fees>
</order_line>
...
</order_lines>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22 January 2013
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
from where
the limit
should be
applied ( if
you display
10 orders per
page and you
need to get
the 3rd page
offset=20
you should
set offset to
20 and limit to
10 ). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/order/line/list" api_version="x.y.z">
<order_lies>
<order_line>
<order_line_id>The order line ID</order_line_id>
<order_id>The Order ID</order_id>
<publisher_id>The publisher ID</publisher_id>
<network_id>The Network ID</network_id>
<position>the position</position>
<cost_advertiser>cost for advertiser</cost_advertiser>
<cost_publisher>cost for publisher</cost_publisher>
<cost_publisher_bid>cost for publisher bid</cost_publisher_bid>
<impression>The number of impressions</impression>
<clickthru>The number of clickthroughs</clickthru>
<view100>Number of view100</view100>
<accept>Accept value</accept>
<cost_fees>cost fees</cost_fees>
</order_line>
...
</order_lines>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22 January 2013
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
offset
no
int
be applied ( if you
display 10 creatives
per page and you
need to get the 3rd
page you should set offset=20
offset to 20 and limit
to 10 ). This
parameter shouldn't
be given without
giving the limit
parameter as well.
Return
<liverailapi requested="/summary/creative/list" api_version="x.y.z">
<creatives>
<list>
<creative>
<creative_id>The creative ID</creative_id>
<impression>Number of impressions</impression>
<clickthru>Number of clickthroughs</clickthru>
<title>The title</title>
</creative>
...
</list>
<count>Number of returned creatives</count>
</creatives>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22 January 2013
Description
Added method in documentation.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
and limit to 10
). This
parameter
shouldn't be
given without
giving the limit
parameter as
well.
Return
<liverailapi requested="/summary/creative/campaign/list" api_version="x.y.z">
<creative_campaigns>
<list>
<creative_campaign>
<creative_campaign_id>The creative campaign ID</creative_campaign_id>
<impression>Number of impressions</impression>
<clickthru>Number of clickthroughs</clickthru>
<creative_campaign_name>The campaign name</creative_campaign_name>
</creative_campaign>
...
</list>
<count>Number of returned creative campaigns</count>
</creative_campaigns>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
22 January 2013
Description
Added method in documentation.
Reason
Align with API tester
CREATIVES
A creative can only exist within a single creative campaign group. A creative contains several
elements:
A name;
A defined type from the following list:
Linear In-stream (Pre/Mid/Post-Roll)
Overlay with Takeover
Overlay without Takeover
Text Overlay
Linear VPAID
Non-linear VPAID
An uploaded asset, such as an FLV, which will be transcoded automatically by LiveRail into
multiple formats and bit rates; a URL can be provided if the asset is hosted on another server;
A click-thru URL;
A VAST tag trafficked from another ad server can be inputted instead of an asset and a click-thru
URL;
Optional companion banner(s) containing a creative asset and clickthru; if a VAST tag is being
trafficked, then this optional is controlled within the VAST tag and not available for modification;
3rd party trackers, meant for integrating trackers or pixels from tools such as a 3rd party ad server
such as an Atlas or DFA. Thus, creatives are always attached to a creative campaign group;
therefore, ensure that a creative campaign group exists before creating a creative.
Creatives
These are the methods used to handle Creatives:
/creative/add
/creative/duplicate
/creative/edit
/creative/list
/creative/list/owned/orders
/creative/delete
/creative/resolve/name
/creative/set/archived
Video creatives
/creative/video/add
/creative/video/edit
/creative/video/list
/creative/video/upload
/creative/video/delete
Overlay creatives
/creative/overlay/add
/creative/overlay/edit
/creative/overlay/list
/creative/overlay/upload
/creative/overlay/delete
Companions
/creative/companion/add
/creative/companion/edit
/creative/companion/list
/creative/companion/upload
/creative/companion/delete
Trackers
/creative/tracker/add
/creative/tracker/edit
/creative/tracker/list
/creative/tracker/delete
Creative Advertisers
/creative/advertiser/add
/creative/advertiser/list
/creative/advertiser/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
ad_unit_type
no
status
no
search_string
no
creative_id or
entity_id is specified.
Return only the
creatives of this ad
unit type. The
accepted ad unit
types are: in, ov-take,
string ov-bug, ov-text, vpaid- ad_unit_type=in, ov-take
in, vpaid-ov. If you
have multiple types
you can make a single
call by glueing them
together with | or ,
Search based on the
status of the creative.
Possible values are:
active, archived,
enum pending, encoding. If status=pending
you have multiple
types you can make a
single call by glueing
them together with | or
,
Return only the
string creatives that have a search_string=music
title matching the
given search string.
Return
<liverailapi requested="/creative/list" api_version="x.y.z">
<creatives>
<creative>
<creative_id>creative's ID</creative_id>
<creative_campaign_id>creative group's (campaign) ID</creative_campaign_id>
<ad_unit_type>ad unit type of the creative</ad_unit_type>
<creation_time>creative creation full date (YYYY-MM-DD HH:MM:SS)</creation_time>
<title>creative title</title>
<description>creative description</description>
<url_text>creative URL link</url_text>
<clickthru>creative's clickthrough URL, defaults to null on creative creation</clickthru>
<adtag>the adtag</adtag>
<status>active, archive, pending, encoding</status>
<timestamp>internal use</timestamp>
<destination_url>The creative's destination url</destination_url>
<advertiser_id>the advertiser ID</advertiser_id>
<skip_offset>Skip Offset value</skip_offset>
<skip_offset_type>seconds/percentage</skip_offset_type>
<security_code>internal use</security_code>
<preview_security_code>internal use</preview_security_code>
</creative>
...
</creatives>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added more status values, updated several
paramethers.
05 July 2012
Added destination_url.
11 September
2012
Reason
Align with
API.
Align with
API.
Align with
API.
Align with
API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/resolve/name" api_version="X.Y.Z">
<creatives>
<creative>
<creative_id>The numeric ID of the creative</creative_id>
<title>The title</title>
</creative>
...
</creatives>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
status
no
timestamp
no
adtag
no
destination_url
no
skip_offset
no
skip_offset_type
no
archived
creatives),
"pending" (for
enum incomplete
status=pending
creative) or
"encoding" (for
creatives for
which you will
upload an asset
through the
creative's
upload method.
The default
value is
"active".
Optional, the
integer timestamp of timestamp=25
the creative.
Optional, the
creative AD tag
string for creatives adtag=??
trafficked
elsewhere.
The destination
URL for the
creative. If
string "LR_API_NULL" destination_url=www.test.com
is used, the
parameter will
be cleared.
Optional, the
skip offset
value for the
creative. The
integer default value is skip_offset=22
"null". If
"LR_API_NULL"
is used, the
parameter will
be cleared.
Optional, the
skip offset type
for the creative.
Possible values
enum are: "seconds", skip_offset_type=percentage
"percentage".
The default
value is
"seconds".
Return
<liverailapi requested="/creative/add" api_version="X.Y.Z">
<security_code>internal use only</security_code>
<creative_id>the numeric ID of the newly created creative.</creative_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added more status values, updated several
paramethers.
05 July 2012
Added destination_url.
05 December
2012
Reason
Align with
API.
Align with
API.
Align with
API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
creative_id
ad_unit_type
title
description
no
string
url_text
no
string
clickthru
no
string
status
no
enum
the specified
creative. This
parameter is
optional,
description=music
meaning that, if
not given, the
parameter
value is not
altered in any
way.
The new URL
text for the
specified
creative. This
parameter is
optional,
url_text=http://www.test.com
meaning that, if
not given, the
parameter
value is not
altered in any
way.
The new clickthrough URL for
the specified
creative. This
parameter is
optional,
meaning that, if
not given, the
parameter
clickthru=www.test.com
value is not
altered in any
way. If
"LR_API_NULL"
is used, the
clickthru
parameter will
be cleared.
The new status
of the specified
creative.
Possible values
are: "active" (for
active
creatives),
"pending" (for
incomplete
creative) or
"encoding" (for
creatives for
which you will status=pending
upload an asset
through the
creative's
upload method.
This parameter
is optional,
meaning that, if
timestamp
no
adtag
no
destination_url no
skip_offset
no
meaning that, if
not given, the
parameter
value is not
altered in any
way.
The new
timestamp of
the creative.
This parameter
is optional,
integer meaning that, if timestamp=25
not given, the
parameter
value is not
altered in any
way.
The new
creative AD tag
for creatives
trafficked
elsewhere. This
parameter is
string optional,
adtag=??
meaning that, if
not given, the
parameter
value is not
altered in any
way.
The destination
URL for the
creative. This
parameter is
optional,
meaning that, if
not given, the
string parameter
destination_url=www.test.com
value is not
altered in any
way. If
"LR_API_NULL"
is used, the
parameter will
be cleared.
The skip offset
value for the
creative. This
parameter is
optional,
meaning that, if
not given, the
integer parameter
skip_offset=22
value is not
altered in any
way. If
"LR_API_NULL"
is used, the
parameter will
skip_offset_type no
be cleared.
The skip offset
type for the
creative.
Possible values
are: "seconds",
"percentage".
enum This parameter skip_offset_type=percentage
is optional,
meaning that, if
not given, the
parameter
value is not
altered in any
way.
Return
<liverailapi requested="/creative/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added more status values, updated several
paramethers.
05 July 2012
Added destination_url.
05 December
2012
Reason
Align with
API.
Align with
API.
Align with
API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/duplicate" api_version="X.Y.Z">
<creative_id>The duplicate creative's ID</creative_id>
Change History
Date
14 May
2012
Description
Added trackers, media, companions with new
rules
Reason
Align with API
tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/set/archived" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 January 2013
Description
Added page into CHM
Reason
Align with API
VIDEO CREATIVES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/video/list" api_version="X.Y.Z">
<creative>
<videos>
<video>
<type>type of the video asset</type>
<bitrate>bitrate of the video asset</bitrate>
<width>width of the video asset</width>
<height>height of the video asset</height>
<duration>duration of the video asset</duration>
<url>URL of the video asset</url>
</video>
...
</videos>
</creative>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/video/add" api_version="X.Y.Z">
<user> ... </user>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
duration
yes
height
yes
width
yes
url
yes
Return
<liverailapi requested="/creative/video/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/video/upload" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
with this
bitrate.
Return
<liverailapi requested="/creative/video/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
OVERLAY CREATIVES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/overlay/list" api_version="X.Y.Z">
<creative>
<overlays>
<overlay>
<url>the URL of the overlay</url>
<height>the height of the overlay, in pixels</height>
<width>the width of the overlay, in pixels</width>
</overlay>
</overlays>
</creative>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/overlay/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/overlay/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/overlay/upload" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<url>the upload URL to wich the overlay asset must be uploaded through HTTP POST, suffixed with &extension={jpg|png|gif|swf}</url>
<error>error if status=fail, null otherwise</error>
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/overlay/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
COMPANIONS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/companion/list" api_version="X.Y.Z">
<creative>
<companions>
<companion>
<creative_id>the numeric ID of the creative</creative_id>
<creative_companion_id>the numeric ID of the companion</creative_companion_id>
<width>the companion's frame width, in pixels</width>
<height>the companion's frame height, in pixels</height>
<type>the companion type (image, flash, js, iframe, plain)</type>
<content>the companion's URL or content</content>
<clickthru>clickthru URL for the companion</clickthru>
<iframe>yes|no</iframe>
</companion>
...
</companions>
</creative>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/companion/add" api_version="X.Y.Z">
<creative_companion_id>the companion numeric ID for the newly added companion</creative_companion_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
iframe
no
clickthru
no
Return
<liverailapi requested="/creative/companion/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/companion/upload" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<url>the upload URL to which you need to upload the asset for the creative companion using HTTP POST</url>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/companion/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
TRACKERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/tracker/list" api_version="X.Y.Z">
<creative>
<trackers>
<tracker>
<creative_tracker_id>The numeric ID of the tracker</creative_tracker_id>
<creative_id>The numeric ID of the creative</creative_id>
<event>the event of tracker</event>
<url>the URL of the tracker</url>
<redirect>yes/no</redirect>
<order_line>The order line.</order_line>
</tracker>
...
</trackers>
</creative>
<user> ... </user>
Change History
Date
28 May
2012
Description
Added creative_tracker_id, order_line_id, updated xml
response
Reason
Align with
API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
Change History
Date
11 July 2012
11 September 2012
Description
Changed event values
Added 'error' in event values
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
Change History
Date
11 July 2012
11 September 2012
Description
Changed event values
Added 'error' in event values
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/tracker/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
CREATIVE ADVERTISER
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertiser/list" api_version="X.Y.Z">
<advertisers>
<advertiser>
<advertiser_id>The numeric ID of the advertiser.</advertiser_id>
<creative_id>The numeric ID of the creative.</creative_id>
</advertiser>
...
</advertisers>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertiser/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertiser/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to creative advertising categories are displayed here.
/creative/advertising/category/add
/creative/advertising/category/list
/creative/advertising/category/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertising/category/list" api_version="X.Y.Z">
<advertising_categories>
<advertising_category>
<advertising_category_id>The numeric ID of the advertising category.</advertising_category_id>
<creative_id>The numeric ID of the creative.</creative_id>
</advertising_category>
...
</advertising_categories>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertising/category/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/advertising/category/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
CREATIVE CAMPAIGNS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
order_type
no
creative_campaign_name
and creation_time.
The order type that
should be applied. The
supported values are:
string asc and desc. This
order_type=asc
parameter shouldn't be
used without setting
order_by as well.
Return
<liverailapi requested="/creative/campaign/list" api_version="X.Y.Z">
<campaigns>
<campaign>
<creative_campaign_id>creative group's ID</creative_campaign_id>
<entity_id>entity's ID</entity_id>
<creation_time>creative group creation full date (YYYY-MM-DD HH:MM:SS)</creation_time>
<creative_campaign_name>the name of the creative group</creative_campaign_name>
<advertiser_id>advertiser's ID</advertiser_id>
<status>active and/or archived</advertiser_id>
<name>advertiser's name</name>
</campaign>
...
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added status.
Reason
Align with API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/campaign/resolve/name" api_version="X.Y.Z">
<campaigns>
<campaign>
<creative_campaign_id>creative group (campaign) numeric ID</creative_campaign_id>
<creative_campaign_name>creative group (campaign) name</creative_campaign_name>
</campaign>
....
</campaigns>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/campaign/add" api_version="X.Y.Z">
<creative_campaign_id>the numeric ID of the newly created creative group</creative_campaign_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added advertiser_id.
Reason
Align with API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/campaign/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 June 2012
Description
Added advertiser_id, status.
Reason
Align with API.
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/creative/campaign/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ORDER NUMBERS
All the methods related to the order numbers are displayed here.
/order/number/list
/order/number/resolve/name
/order/number/resolve/name/from/order
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/number/list" api_version="X.Y.Z">
<order_numbers>
<order_number>
<id>The id if the order number</id>
</order_number>
...
</order_numbers>
<user>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/number/resolve/name" api_version="X.Y.Z">
<order_numbers>
<order_number>
<order_number_id>the id if the order number</order_number_id>
<order_number>the order number</order_number>
</order_number>
...
</order_numbers>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The order
ID(s). If you
have multiple
ID(s) you can
make a single
call by glueing
them together
with | or , (
examples: if
string you need to order_id = 1|7|120 or order_id = 1,7,120
order_id yes
get the order
names for
order number
ID(s) 1, 7 and
120 you can
use order_id =
1|7|120 or
order_id =
1,7,120 )
Return
<!-<liverailapi requested="/order/name/resolve/name/from/order" api_version="X.Y.Z">
<orders>
<order>
<order_id>the order ID</order_id>
<order_name>the order name</order_name>
</order>
...
</orders>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
15 January 2013
Description
Added page into CHM
Reason
Align with API
ORDER PACKAGES
Preparing order packages for submission to LiveRails system is straightforward and highly
customizable. Each order package contains one or more order lines, or differential delivery
settings for an Order. An order package has a one-to-many relationship with order lines. Naming
orders can follow any convention.
/order/package/add
/order/package/edit
/order/package/list
/order/package/list/stop
/order/package/delete
/order/package/resolve/name
/order/package/archive
/order/package/staging
/order/package/integration/list
/order/package/get/vast
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
order_id
search_string
publisher_id
status
has_waiting
has_refused
is_archived
staging
limit
no
offset
no
owned
no
hide_archived
no
flight_time_start no
flight_time_start no
time_start
no
order_number_id no
owned/targeted
to the current
entity
Limit the number
integer of the returned kimit=20
results.
integer Specify where to offset=1
start the list from.
The accepted
values are:
yes|no|null. If
yes, only owned
orders will be
retuned, if no,
string only targeted
owned=yes
orders will be
retuned, if null,
all the orders,
both owned and
targeted to the
current entity will
be returned.
Hide the archived
orders. The
enum accepted values hide_archived=no
are "yes" or "no".
The default value
is "yes".
Return only
orders with this
flight time start. If
null (not given),
string will return all
flight_time_start=2012-07-17 22:00:00
orders
owned/targeted
to the current
entity
Return only
orders with this
flight time end. If
null (not given),
string will return all
flight_time_end=2013-01-17 22:00:00
orders
owned/targeted
to the current
entity
Return only
orders with this
time start. If null
string (not given), will time_start=2012-12-17 22:00:09
return all orders
owned/targeted
to the current
entity
integer The order
order_number_id=876645342
Return
<liverailapi requested="/order/package/list" api_version="x.y.z">
<orders>
<order>
<order_id>Order Id.</order_id>
<order_ownership>owned|targeted</order_ownership>
<name>Order Name</name>
<comments>Order Comments</comments>
<cost_model>cpm|cpc</cost_model>
<ad_unit_type>ad unit type as defined in /order/package/add</ad_unit_type>
<order_number_id>Order Number Id</order_number_id>
<order_number>Order Number</order_number>
<creation_time>YYYY-MM-DD H:i:s</creation_time>
<time_start>YYYY-MM-DD H:i:s</time_start>
<time_end>YYYY-MM-DD H:i:s the max end_time for the lines attached to this order</time_end>
<network_id>Id for the entity that owns/targeted the order.</network_id>
<organization></organization>
<is_archived>0|1</is_archived>
<is_staging>0|1</is_staging>
<has_waiting>0|1</has_waiting>
<has_refused>0|1</has_refused>
<order_status>completed|active|inactive</order_status>
<order_status_details>Details</order_status_details>
<priority>0|20|50|80|100</priority>
<random_sequencing>1|0 if the order lines in this order are selected randomly or not.</random_sequencing>
<number_of_lines>how many lines are attached to this order</number_of_lines>
<publishers>
<publisher>publisher_id</publisher>
</publishers>
</order>
...
</orders>
<count>number of order packages in the reply without any limit</count>
<user> ... </user>
Change History
Date
21 June 2012
30 July 2012
Description
Added 3 new parameters
Added 1 more parameter
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
name
ad_unit_type
cost_model
priority
random_sequencing
aperture_enabled
inte_adxpose_id
inte_vizu_campaign_id
no
string
inte_vizu_agency_enabled
no
string
inte_doubleverify_client_id
no
string
inte_doubleverify_campaign_id no
string
inte_doubleverify_behavior
no
enum
order_number
no
string
inte_safecount_campaign_id
no
string
inte_safecount_in_enabled
no
enum
the integration
will be cleared.
Specify the Vizu
numerical
campaign ID.
The default
value is null. If
inte_vizu_campaign_id=77
the specified
value is
"LR_API_NULL",
the integration
will be cleared.
Specify if Vizu
Agency is
enabled or not.
The accepted
inte_vizu_agency_enabled=yes
values are "yes"
| "no". The
default value is
"no".
Specify the
DoubleVerify
numerical client
ID. The default
value is null. If
inte_doubleverify_client_id=745
the specified
value is
"LR_API_NULL",
the integration
will be cleared.
Specify the
DoubleVerify
numerical
campaign ID.
The default
value is null. If inte_doubleverify_client_id=112
the specified
value is
"LR_API_NULL",
the integration
will be cleared.
Specify the
DoubleVerify
behavior. The
accepted values
are "R", "B" and
"RB" (Reporting inte_doubleverify_behavior=RB
or Blocking).
The default
value is "R".
This parameter
is optional.
Specify the
order number.
The default
value is null. If
the specified
order_number=72285
value is
"LR_API_NULL",
the integration
will be cleared.
Specify the
Safecount
numerical
campaign ID.
The default
value is null. If inte_safecount_client_id=334
the specified
value is
"LR_API_NULL",
the integration
will be cleared.
Specify if the
Safecount
integration is
enabled or not.
The accepted inte_safecount_in_enabled=yes
values are "yes"
| "no". The
inte_affine_line_item_id
no
string
inte_nielsen_campaign_id
no
string
inte_nielsen_start_age
no
string
inte_nielsen_end_age
no
string
inte_nielsen_alpha_code
no
string
default value is
"no".
Specify the
numerical ID for
the Affine 3rd
party
integration. The
default value is
inte_affine_line_item_id=2346
null. If the
specified value
is
"LR_API_NULL",
the integration
will be cleared.
Specify the
Nielsen
Campaign ID. inte_nielsen_campaign_id=2346
This parameter
is optional.
Specify the
lowest age limit
for the Nielsen
age range
inte_nielsen_start_age=2
report. This
parameter is
optional.
Specify the
highest age limit
for the Nielsen
age range
inte_nielsen_end_age=99
report. This
parameter is
optional.
Specify the
Nielsen alpha
code. This
inte_nielsen_alpha_code=A
parameter is
optional.
Return
<liverailapi requested="/order/package/add" api_version="X.Y.Z">
<order_id>the ID of the order</order_id>
<order_number_id>Order number id if a new order number was created. Can be null</order_number_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
20 March 2012
21 July 2012
30 July 2012
10 September 2012
15 January 2013
Description
Added dv_behavior parameter
Added 3 more parameters
Added 1 more parameter
Added 1 more parameter
Added new params.
Reason
Align with API tester
Align with API
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
order_id
name
priority
random_sequencing
order_number
no
string
inte_adxpose_id
no
string
inte_vizu_campaign_id
no
string
inte_vizu_agency_enabled
no
string
inte_doubleverify_client_id
no
string
inte_doubleverify_campaign_id no
string
inte_doubleverify_behavior
no
enum
order_number
no
string
inte_safecount_campaign_id
no
string
inte_safecount_in_enabled
no
enum
This parameter
is optional,
meaning that, if
not given, the
inte_doubleverify_client_id=112
parameter value
is not altered in
any way. If the
specified value
is
"LR_API_NULL",
the integration
will be cleared.
Specify the
DoubleVerify
behavior. The
accepted values
are "R", "B" and
"RB" (Reporting
or Blocking).
inte_doubleverify_behavior=RB
This parameter
is optional,
meaning that, if
not given, the
parameter value
is not altered in
any way.
Specify the
order number.
This parameter
is optional,
meaning that, if
not given, the
parameter value
order_number=72285
is not altered in
any way. If the
specified value
is
"LR_API_NULL",
the integration
will be cleared.
Specify the
Safecount
numerical
campaign ID.
This parameter
is optional,
meaning that, if
not given, the
inte_safecount_client_id=334
parameter value
is not altered in
any way. If the
specified value
is
"LR_API_NULL",
the integration
will be cleared.
Specify if the
Safecount
integration is
enabled or not.
The accepted
values are "yes"
| "no". This
inte_safecount_in_enabled=yes
parameter is
optional,
meaning that, if
not given, the
inte_affine_line_item_id
no
string
inte_nielsen_campaign_id
no
string
inte_nielsen_start_age
no
string
inte_nielsen_end_age
no
string
inte_nielsen_alpha_code
no
string
parameter value
is not altered in
any way.
Specify the
numerical ID for
the Affine 3rd
party
integration. This
parameter is
optional,
meaning that, if
not given, the inte_affine_line_item_id=2346
parameter value
is not altered in
any way. If the
specified value
is
"LR_API_NULL",
the integration
will be cleared.
Specify the
Nielsen
Campaign ID.
This parameter
is optional,
inte_nielsen_campaign_id=2346
meaning that, if
not given, the
parameter value
is not altered in
any way.
Specify the
lowest age limit
for the Nielsen
age range
report. This
parameter is
inte_nielsen_start_age=2
optional,
meaning that, if
not given, the
parameter value
is not altered in
any way.
Specify the
highest age limit
for the Nielsen
age range
report. This
parameter is
inte_nielsen_end_age=99
optional,
meaning that, if
not given, the
parameter value
is not altered in
any way.
Specify the
Nielsen alpha
code. This
parameter is
optional,
inte_nielsen_alpha_code=A
meaning that, if
not given, the
parameter value
is not altered in
any way.
Add comments
regarding the
comments
no
order package.
This parameter
string is optional,
comments=test package.
meaning that, if
not given, the
parameter value
is not altered in
any way.
Return
<liverailapi requested="/order/package/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
20 March 2012
21 July 2012
30 July 2012
10 September 2012
15 January 2013
Description
Added dv_behavior parameter
Added 3 more parameters
Added 1 more parameter
Added 1 more parameter
Added new params.
Reason
Align with API tester
Align with API
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The numerical
string ID of the order order_id=77654
order_id yes
package to be
deleted.
Return
<liverailapi requested="/order/package/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
order_id
no
order_line_id no
must be
specified if no
publisher_id
or
order_line_id
is given. If
you have
multiple id(s)
you can make
a single call
by gluing
them together
with | or , (
string examples: if order_id=1,7,120
you need to
get the
information for
id(s) 1, 7 and
120 you can
use order_id
= 1|7|120 or
order_id =
1,7,120 ). The
orders must
be all either
owned or
targeted, a
combination
of the two
order types is
not accepted.
TThe numeric
ID of the
order line.
This
parameter
must be
specified if no
publisher_id
or order_id is
given. If you
have multiple
id(s) you can
make a single
call by gluing
them together
with | or , (
examples: if
you need to
string get the
order_line_id=1,7,120
information for
id(s) 1, 7 and
120 you can
use
order_line_id
= 1|7|120 or
order_line_id
= 1,7,120 ).
The order
lines must be
all either
owned or
targeted, a
combination
of the two
order line
types is not
accepted.
Return
<liverailapi requested="/order/package/get/vast" api_version="X.Y.Z">
<tags>
<tag>URL of the VAST</tag>
...
</tags>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/package/archive" api_version="X.Y.Z">
<user> ... </user>
Change History
Date
21 June 2012
Description
Added page into CHM
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/package/staging" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
Change History
Date
15 January 2013
Description
Added page into CHM
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
The ID of the
order(s) for
which the
details will be
returned. If
you have
multiple id(s)
you can make
a single call
by glueing
integer them together order_id=1,7,120
order_id yes
with | or , (
examples: if
you need to
get the order
names for
id(s) 1, 7 and
120 you can
use order_id
= 1|7|120 or
order_id =
1,7,120 ).
Return
<liverailapi requested="/order/package/integration/list" api_version="x.y.z">
<orders>
<order>
<order_id>The order ID</order_id>
<inte_vizu_campaign_id>integration value</inte_vizu_campaign_id>
<inte_vizu_agency_enabled>yes|no</inte_vizu_agency_enabled>
<inte_adxpose_id>integration value</inte_adxpose_id>
<inte_doubleverify_client_id>integration value</inte_doubleverify_client_id>
<inte_doubleverify_campaign_id>integration value</inte_doubleverify_campaign_id>
<inte_doubleverify_behavior>integration value</inte_doubleverify_behavior>
<inte_aperture_enabled>yes|no</inte_aperture_enabled>
<inte_safecount_campaign_id>integration value</inte_safecount_campaign_id>
<inte_safecount_in_enabled>yes|no</inte_safecount_in_enabled>
<inte_affine_line_item_id>integration value</inte_affine_line_item_id>
<inte_evidon_client_id>integration value</inte_evidon_client_id>
<inte_evidon_campaign_id>integration valueL</inte_evidon_campaign_id>
<inte_truste_id>integration value</inte_truste_id>
<inte_nielsen_campaign_id>integration value</inte_nielsen_campaign_id>
<inte_nielsen_start_age>integration value</inte_nielsen_start_age>
<inte_nielsen_end_age>integration value</inte_nielsen_end_age>
<inte_nielsen_alpha_code>integration value</inte_nielsen_alpha_code>
</order>
...
</orders>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
Change History
Date
15 January 2013
Description
Added page into CHM
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The numerical
ID of the order
string package for order_id=77654
order_id yes
which the
name will be
returned.
Return
<liverailapi requested="/order/package/resolve/name" api_version="X.Y.Z">
<orders>
<order>
<order_id>the order id</order_id>
<name>the order name</name>
</order>
...
</orders>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ORDER LINES
A LiveRail ad campaign consists of one or several order lines in an order package. A campaigns
delivery settings are defined in each order line. An order line contains the required delivery
settings, including:
Flight period: start and end calendar date, hour, and minute.;
Frequency capping
Stop policy
Over-delivery policy
Creatives assigned
Costing information
Site (Publisher, Partner, Network, Marketplace) Selection
Targeting
Order Lines
These are the methods used to handle Order Lines:
/order/line/add
/order/line/edit
/order/line/list
/order/line/list/stop
/order/line/delete
/order/line/staging
/order/line/min/start/date
/order/line/max/end/date
/order/line/resolve/name
/order/line/marketplace/attach
/order/line/network/status/set
/order/line/publisher/status/set
/order/line/creative/list
/order/line/publisher/list
Attaching Creatives
/order/line/creative/attach
/order/line/creative/detach
Attaching Sites
/order/line/site/attach
/order/line/site/detach
Targeting
/order/line/targeting/set
/order/line/targeting/list
/order/line/targeting/delete
Marketplace Targeting
/order/line/marketplace/targeting/set
/order/line/marketplace/targeting/list
/order/line/marketplace/targeting/delete
Frequency Capping
/order/line/frequency/set
/order/line/frequency/list
/order/line/frequency/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/list" api_version="X.Y.Z">
<lines>
<line>
<line_type>The type of the order line</line_type>
<line_ownership>Status of the order line (owned/targeted)</line_ownership>
<line_id>Line Id.</line_id>
<order_id>Order Id</order_id>
<network_id>The numerical ID of the network/entity.</network_id>
<network_name>The name of the network/entity</network_name>
<order_line_name>The name of the Order Line</order_line_name>
<is_template>Template OL (yes/no)</is_template>
<time_start>YYYY-MM-DD H:m:s</time_start>
<time_end>YYYY-MM-DD H:m:s</time_end>
<timezone>float</timezone>
<order_line_index>integer</order_line_index>
<creation_time>YYYY-MM-DD H:m:s</creation_time>
<creative_rotation_type>string</creative_rotation_type>
<position>The position of the order line, with returned value as bit mask.</position>
<ad_unit_type>string</ad_unit_type>
<line_status>active|inactive|completed|waiting|refused. This is the full status for all the lines.</line_status>
<global_status>N/A|inactive. If the line is received from someone that received the line from someone else.
Eg, at your level the line is active, but higher up the tree the line is paused.</global_status>
<daytimes>char array</daytimes>
<stop_by>budget/impression</stop_by>
<dynamic_price></dynamic_price>
<over_delivery>yes|no</over_delivery>
<uniform_pacing>yes|no</uniform_pacing>
<uniform_pacing_value>Float value</uniform_pacing_value>
<optimize_by>none|clicks|complete_rate|25_rate|50_rate|75_rate.</optimize_by>
<settings>
<stop_method>string</stop_method>
<stop></stop>
<stop_type></stop_type>
<buffer></buffer>
<marketplace_bid_type>cpm</marketplace_bid_type>
<marketplace_max_bid_value>55.00</marketplace_max_bid_value>
<over_delivery>yes/no</over_delivery>
</settings>
<publishers>
all publishers attached to this line. If you forwarded this line
(eg you also received it) your entity will be among the publishers
and the values from that entry are the settings you received
the line with.
<publisher>
<publisher_id>integer</publisher_id>
<publisher_name>string</publisher_name>
<stop_method>string</stop_method>
<stop>integer</stop>
<stop_type>string</stop_type>
<buffer>float</buffer>
<cost_method>string</cost_method>
<publisher_cost>float</publisher_cost>
<gross_rate>float</gross_rate>
<cost_model>cpm|cpc</cost_model>
<line_site_status>active|inactive|completed|waiting|refused. This is the status for this publisher</line_site_status>
<resumable>1|0 if not auto_paused or completed</resumable>
<over_delivery>yes|no</over_delivery>
<uniform_pacing>yes|no</uniform_pacing>
<uniform_pacing>Float value</uniform_pacing>
<pacing_value>If uniform_pacing is not enabled, the value for this is always 1. If uniform_pacing is enabled,
the value reflects the state of the delivery.</pacing_value>
</publisher>
<statistics_order_line_id>string</statistics_order_line_id>
<statistics_order_id>string</statistics_order_id>
<resumable>0|1</resumable>
<delivery_completed>0|1</delivery_completed>
...
</publishers>
<marketplaces>
<marketplace>
<publisher_id>The numerical ID of the publisher</publisher_id>
<publisher_name>The publisher's ID</publisher_name>
<stop_method>string</stop_method>
<stop>float</stop>
<stop_type>string</stop_type>
<buffer>float</buffer>
<marketplace_bid_type>cpm|cpc</marketplace_bid_type>
<marketplace_max_bid_value>float</marketplace_max_bid_value>
<pacing_value>If uniform_pacing is not enabled, the value for this is always 1. </pacing_value>
<line_site_status>active|inactive|completed|waiting|refused</line_site_status>
<statistics_order_line_id>Order Line ID</statistics_order_line_id>
<statistics_order_id>Order ID</statistics_order_id>
<resumable>1/0</resumable>
</marketplace>
...
</marketplaces>
<creatives>
<creative>
<creative_id>integer</creative_id>
<title>string</title>
<creative_campaign_id>integer</creative_campaign_id>
<creative_rotation_weight>float</creative_rotation_weight>
<status>string</status>
<adtag>string</adtag>
<clickthru>the clickthru for the line-creative attachment.</clickthru>
<creative_click_rate>float</creative_click_rate>
<creative_complete_rate>float</creative_complete_rate>
</creative>
...
</creatives>
</line>
...
</lines>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Related Methods
There are 2 related methods for this method:
/advertiser/list
/creative/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
Overview
Example
Authentication
session
token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after /login).
The order package ID to
string
which this order line will be
order_id=o987365
attached.
Order line flight start full date.
string
Format is: YYYY-MM-DD
time_start=2011-12-01 12:00:00
HH:MM:SS
Order line flight end full date.
string
Format is: YYYY-MM-DD
time_end=2011-12-09 12:00:00
HH:MM:SS
float|integer Timezone for the order line
timezone=2.5
flight start and full date.
The name for the new order
string
order_line_name=testline
line.
The Stop type. Must be
specified when
integer
line_type=marketplace.
stop=876
Default value is
LR_API_NULL.
Specify as "marketplace" if
you want to attach the
orderline to a
marketplace/LRC (possible
enum
line_type=marketplace
values: "site", "marketplace").
Default value is "site". This
parameter cannot be edited
once specified here.
Order line CPM price for cpm
float|integer orders or CPC price for cpc gross_rate=xyz
orders.
Publisher's rate for this order
float|integer line, CPM price for cpm orders net_to_publisher=12.8
or CPC price for cpc orders.
This parameter should be
used when a marketplace is
attached. Only positive values
float|integer are accepted. Must be
max_bid=4.2
specified if
line_type=marketplace.
Default value is "null".
Position of the order line in
relation with the other order
integer
order_line_index=7
lines from the current
package.
The stop level. The possible
values are: line_level,
enum
stop_method=site_level
token
yes
order_id
yes
time_start
yes
time_end
yes
timezone
yes
order_line_name
yes
stop
no
line_type
no
gross_rate
no
net_to_site
no
max_bid
no
order_line_index
no
stop_level
no
stop_level
no
enum
stop_period
no
enum
stop_by
no
enum
over_delivery
no
enum
over_delivery_percent no
percent
uniform_pacing
enum
no
uniform_pacing_value no
float
optimize_by
no
enum
daytimes
no
string
creative_rotation_type no
enum
position
enum
no
stop_method=site_level
site_level. Default value is:
line_level.
The order line's stop period.
The possible values are: daily,
stop_type=daily
total. The default value is
total.
The order line's stop
condition. The possible values
are: impressions, budget. The
stop_by=budget
default value is impressions.
This parameter cannot be
edited once specified here.
Specify if over delivery is
allowed. The possible values over_delivery=no
are: yes, no.
Specify the percent for over
over_delivery_percent=75
delivery, if over_delivery=yes.
Specify if there is uniform
pacing. The possible values uniform_pacing=yes
are: yes, no.
Acceptes values: any float
number from 0 to 100. Default uniform_pacing_value=4.2
value is 0.
Optimization criteria. The
acccepted value is none, and
if the following parameter is
specified as
"line_type=marketplace", the
optimize_by=clicks
following values will be
accepted as well: clicks,
complete_rate, 25_rate,
50_rate, 75_rate. The default
value is "none".
7*24 long character array for
each hour of the week. 1 shows ads in that hour, 0 - do daytimes=22222223333333
not show ads in that hour.
Default = 1...1
The creatives' rotation logic.
The possible values are:
"random", "weighted delivery"
creative_rotation_type=optimize_by_ctr
"optimized_by_ctr",
"optimized_by_complete_rate".
The default value is "random".
The position of the order line,
with accepted values as bit
mask: 1(PRE), 2(MID),
4(POST). The default value is
'null' It becomes mandatory
position=2
when "ad_unit_type=in" for the
order package. To check the
value of "ad_unit_type" in the
OP use /order/package/list.
Return
<liverailapi requested="/order/line/add" api_version="X.Y.Z">
<order_line_id>the ID of the newly added order line</order_line_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Related Methods
There are 2 related methods for this method:
/advertiser/list
/creative/list
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
optuired Type
token
yes
order_line_id
no
time_start
no
time_end
no
timezone
no
gross_rate
no
order_line_name
no
stop
no
gross_rate
no
net_to_site
no
max_bid
no
order_line_index
no
creative_rotation_type no
Overview
Example
Authentication
session
token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after /login).
The numerical ID of the order
string
line to be edited, the same
order_line_id=o9826555
returned by /order/line/list.
Order line flight start full date.
string
Format is: YYYY-MM-DD
time_start=2011-12-01 12:00:00
HH:MM:SS
Order line flight end full date.
string
Format is: YYYY-MM-DD
time_end=2011-12-09 12:00:00
HH:MM:SS
float|integer Timezone for the order line
timezone=o987365
flight start and full date.
Order line CPM price for cpm
float|integer orders or CPC price for cpc gross_rate=2.5
orders.
The name for the new order
string
order_line_name=testline
line.
This parameter is optional,
meaning that, if not given, the
integer
stop=876
parameter value is not altered
in any way.
Order line CPM price for cpm
float|integer orders or CPC price for cpc gross_rate=xyz
orders.
Publisher's rate for this order
float|integer line, CPM price for cpm orders net_to_site=12.8
or CPC price for cpc orders.
Only positive values are
accepted. This parameter is
float
optional, meaning that, if not max_bid=7.3
given, the parameter value is
not altered in any way.
Position of the order line in
relation with the other order
integer
order_line_index=7
lines from the current
package.
The creatives' rotation logic.
The possible values are:
"random", "weighted delivery",
"optimized_by_ctr",
enum
"optimized_by_complete_rate". creative_rotation=random
This parameter is optional,
meaning that, if not given, the
parameter value is not altered
in any way.
The postition of the order line,
position
no
integer
stop_level
no
enum
stop_type
no
enum
over_delivery
no
enum
over_delivery_percent no
percent
uniform_pacing
enum
no
uniform_pacing_value no
float
optimize_by
no
enum
daytimes
no
string
Return
Change History
Date
Description
Reason
Related Methods
There is 1 related method for this method:
/order/line/add
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/list" api_version="X.Y.Z">
<order_line_stops>
<order_line_stop>
<stop>0</stop>
</order_line_stop>
</order_line_stops>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/list/min/start/date" api_version="X.Y.Z">
<min_start_date>Date and time of the minimum start date in format: YYYY-MM-DD HH:MM:SS</min_start_date>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/list/max/end/date" api_version="X.Y.Z">
<max_end_date>Date and time of the maximum end date in format: YYYY-MM-DD HH:MM:SS</max_end_date>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/publisher/list" api_version="X.Y.Z">
<publishers>
<publisher>
<order_line_id>The order line ID</order_line_id>
<publisher_id>The publisher ID</publisher_id>
<net_to_site_method></net_to_site_method>
<net_to_site>Float value</net_to_site>
<max_bid>Max bid value</max_bid>
<stop>Stop time</stop>
<stop_period>Stop period</stop_period>
<line_site_status>Line site status</line_site_status>
<line_site_status_details>Line site status details</line_site_status_details>
<over_delivery_percent>Percent value</over_delivery_percent>
<pacing_value>float value</pacing_value>
</publisher>
</publishers>
<count>Number of returned publishers</count>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/resolve/name" api_version="X.Y.Z">
<order_lines>
<order_line>
<order_line_id>the id of the order line</order_line_id>
<order_line_name>the name of the order line</order_line_name>
</order_line>
...
</order_lines>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/network/status/set" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
<warnings>
<warning>
<message>The reason why the status can't be changed for a publisher.</message>
<code></code>
</warning>
<warning>
<message>If the line status changed successful, the reason why the line status is still inactive.</message>
<code></code>
</warning>
...
</warnings>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/publisher/status/set" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
status.
Return
<liverailapi requested="/order/line/staging" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
21 June 2012
Description
Added page into CHM
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/marketplace/attach" api_version="X.Y.Z">
<emails>
<email></email>
</emails>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/creative/list" api_version="X.Y.Z">
<creatives>
<creative>
<creative_id>the numercical ID of the creative</creative_id>
<order_line_id>the numerical ID of the order line</order_line_id>
<title>creative title</title>
<creative_campaign_id>the numercical ID of the creative campaign</creative_campaign_id>
<creative_rotation_weight>the rotation weight</creative_rotation_weight>
<status>the status</status>
<adtag>the adtag</adtag>
<clickthru>The clickthrough URL</clickthru>
<creative_click_rate>click rate</creative_click_rate>
<creative_complete_rate>complete rate</creative_complete_rate>
</creative>
</creatives>
<count>Number of returned publishers</count>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
24 January 2013
Description
Method added in chm
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<!-<liverailapi requested="/order/line/integration/list" api_version="x.y.z">
<lines>
<line>
<order_line_id>The order line ID/order_line_id>
<inte_nielsen_placement_id>Value of the integration</inte_nielsen_placement_id>
</line>
</lines>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ATTACHING CREATIVES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/creative/attach" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Date
02
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/creative/detach" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ATTACHING SITES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/site/attach" api_version="X.Y.Z">
If the user(s) attached to the publisher have a role of "cust-ro" and they accept emails, the list with emails.
<emails>
<email>email address</email>
...
</emails>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/site/detach" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
</liverailapi>
Change History
Date
Description
Reason
TARGETING
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/targeting/list" api_version="X.Y.Z">
<rules>
<rule>
<order_line_id></order_line_id>
<rule>current level rule</rule>
</rule>
</rules>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/targeting/set" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/targeting/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
MARKETPLACE TARGETING
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/marketplace/targeting/list" api_version="X.Y.Z">
<rules>
<rule>
<marketplace_rule_id>The numerical ID of the marketplace rule</marketplace_rule_id>
<order_line_id>The numerical ID of the order line.</order_line_id>
<entity_id>The numerical ID of the entity</entity_id>
<rule>The marketplace's rule</rule>
</rule>
</rules>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/marketplace/targeting/set" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/marketplace/targeting/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
FREQUENCY CAPPING
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/frequency/list" api_version="X.Y.Z">
<cappings>
<capping>
<order_line_id></order_line_id>
<period></period>
<total></total>
<inherited>1|0</inherited>
</capping>
...
</cappings>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/frequency/set" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/order/line/frequency/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
PARTNERS
Related Methods
Related methods go in here.
this is a test link
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type Overview Example
sample sample
Required
yes
sample example
parameter
type overview
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token
yes
(received
after /login).
sample sample
Optional
no
sample example
parameter
type overview
Return
<liverailapi requested="/connection/resolve/name" api_version="X.Y.Z">
<connections>
<connection>
<connection_id>the id of the connection</connection_id>
<name>the name of the connection</name>
</connection>
...
<connections>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
bla bla 1
bla bla 1
Description
bla bla 2
bla bla 2
Reason
bla bla 2
bla bla 2
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
Specify the
Entity ID. This
parameter is
optional, and if
string it is not given, entity_id=9876
entity_id no
the information
will be
returned for
the current
entity.
Return
<liverailapi requested="/partner/available" api_version="X.Y.Z">
<available>The available partners number remaining for the entity.</available>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/partner/list" api_version="X.Y.Z">
<partners>
<partner>
<partner_id>the numeric ID of the partner</partner_id>
<entity_id>the numeric ID of the entity</entity_id>
<name>the name of the partner</name>
</partner>
....
</partners>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/partner/resolve/name" api_version="X.Y.Z">
<partners>
<partner>
<partner_id>The numeric ID of the partner</partner_id>
<name>The name of the partner</name>
</partner>
...
</partners>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
string The name of the name=testpart
name yes
partner to add.
Return
<liverailapi requested="/partner/add" api_version="X.Y.Z">
<partner_id>the numeric ID for the new added partner</partner_id>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/partner/edit" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/partner/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
REVENUE SHARE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/revenue-share/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
entity.
Return
<liverailapi requested="/revenue-share/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/revenue-share/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ADVERTISERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/advertiser/list" api_version="X.Y.Z">
<advertisers>
<advertiser>
<advertiser_id>The ID of the advertiser</advertiser_id>
<name>The name of the advertiser</name>
</advertiser>
...
</advertisers>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received
after /login).
string The name of name=test123
name yes
the advertiser.
The ID of the
entity for
which you
want to add
the advertiser.
integer If not given, entity_id=545
entity_id no
this
parameter will
automatically
get the value
of the current
entity.
Return
<liverailapi requested="/advertiser/add" api_version="X.Y.Z">
<advertiser_id>The ID of the newly added advertiser</advertiser_id>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/advertiser/resolve/name" api_version="X.Y.Z">
<advertisers>
<advertiser>
<advertiser_id>The ID of the advertiser</advertiser_id>
<entity_id>The ID of the entity</entity_id>
<name>The name of the advertiser</name>
</advertiser>
...
</advertisers>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/advertiser/resolve/name/from/creative" api_version="X.Y.Z">
<advertisers>
<advertiser>
<creative_id>The ID of the creative</creative_id>
<name>The name of the advertising</name>
</advertiser>
...
</advertisers>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
30 August 2012
14 November 2012
Description
Method added into chm.
Added advertiser_id
Reason
Align with API
Align with API
ADVERTISING CATEGORIES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/advertising/category/list" api_version="X.Y.Z">
<advertising_categories>
<list>
<advertising_category>
<advertising_category_id>The numeric ID of the advertising category</advertising_category_id>
<advertising_category_name>string: the advertising category name</advertising_category_name>
</advertising_category>
...
</list>
...
</advertising_categories>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
31 July 2012
Description
Method added into chm.
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/advertising/category/creative/list" api_version="X.Y.Z">
<advertising_categories>
<advertising_category>
<advertising_category_id>The numeric ID of the advertising category.</advertising_category_id>
<creative_id>The numeric ID of the creative.</creative_id>
</advertising_category>
...
</advertising_categories>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
31 July 2012
Description
Method added into chm.
Reason
Align with API
CONNECTIONS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
enabled_publisher no
enabled_network
no
connection_id
no
entity_id
no
entity_filter
no
hide_archived
no
search_string
no
acts as publisher
) and OUTGOING
( the current entity
acts as a network
).
Return only the
connections that
are have this
specific flag value
integer ( 0 ( the
enabled_publisher=1
connection is
disabled ) and 1 (
the connection is
enabled ) ).
Return only the
connections that
are have this
specific flag value
( -1 ( the
integer connection is
enabled_network=1
refused ), 0 ( the
connection is
disabled ) and 1 (
the connection is
enabled ) ).
Return only the
connections that
match the given
ID(s). If you have
integer multiple ID(s) you connection_id = 1|7|120 or connection_id
= 1,7,120
can make a single
call by gluing
them together
with | or ,
The ID of the
entity for which
the connections
integer are returned. If entity_id=123
not given, it will
default to the
current entity.
The ID of the
entity for which
the connection(s)
with the entity_id
integer are returned. If entity_filter = 1|7|120 or entity_filter =
you have multiple 1,7,120
ID(s) you can
make a single call
by gluing them
together with | or ,
yes|no: The
default value is
enum "yes". If set to
hide_archived=no
"no", it will display
the archived
connections.
Return only the
network
organizations or
string connections with search_string=trala
the name that are
LIKE
%search_string%.
Return
<liverailapi requested="/connection/list" api_version="X.Y.Z">
<total>the number of connections</total>
<connections>
<connection>
<connection_id>the id of the connection</connection_id>
<publisher_id>the id of the publisher entity</publisher_id>
<network_id>the id of the network entity</network_id>
<enabled_network>the network "enabled" flag</enabled_network>
<enabled_publisher>the publisher "enabled" flag</enabled_publisher>
<enabled_in>if the connection supports IN orders</enabled_in>
<enabled_ov>if the connection supports OV orders</enabled_ov>
<net_to_site_method>connection's method</net_to_site_method>
<net_to_site_value>the value</net_to_site_value>
<weight>Integer value between 0 and 50 (must be the Publisher in the connection to have this parameter displayed)</weight>
<parameters>the connection parameters</parameters>
<login_username>the login username ( this is not the username for a LiveRail account, but for the account you have on the networks site )</login_username>
<login_password>the login password ( this is not the password for a LiveRail account, but for the account you have on the networks site )</login_password>
<login_info>login info</login_info>
<via_connect>if the connection is done via LiveRail ( in which case it has a 1 value ) or not ( in which case it has a 0 value )</via_connect>
<performance_in>the connection performance for IN orders</performance_in>
<performance_ov>the connection performance for OV orders</performance_ov>
<name>the connection name</name>
<is_marketplace>"yes" | "no"</is_marketplace>
<bid_optimization>enabled | disabled </bid_optimization>
<managed>"yes" | "no"<managed>
<is_archived>"yes" | "no"<is_archived>
<archived_by></archived_by>
<daily_impression_cap>The daily impression cap. (must be the Publisher in the connection to have this parameter displayed).</daily_impression_cap>
<status>active | checking | completed</status>
<rtb_enabled>yes|no</rtb_enabled>
<buy_type></buy_type>
<network_organization>the organization name of the network</network_organization>
<network_description>the description of the network</network_description>
<network_perspective>the perspective of the network; P for Publisher, N for Network, A for Advertiser</network_perspective>
<publisher_organization>the organization name of the publisher</publisher_organization>
<publisher_description>the description of the publisher</publisher_description>
<publisher_perspective>the perspective of the publisher; P for Publisher, N for Network, A for Advertiser</publisher_perspective>
<network_is_parent_for_publisher>flag for tells you if the network is a direct parent for the publisher ( in which case it has a "yes" value ) or not ( in which case it has a "no" value )</network_is_parent_for_publisher>
<network_type>The network type.</network_type>
<is_exchange>flag for tells you if this connection is with LRC ( in which case it has a "yes" value ) or not ( in which case it has a "no" value )</is_exchange>
<gross_rate>the cost</gross_rate>
<impression>The impression count for the connection.</impression>
</connection>
...
</connections>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
28 May 2012
10 August 2012
10 September 2012
08 January 2013
Description
Added bid_optimization
Added managed
Added hide_archived
Added rtb_enabled, buy_type, network_type
Reason
Align with API
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/resolve/name" api_version="X.Y.Z">
<connections>
<connection>
<connection_id>the id of the connection</connection_id>
<name>the name of the connection</name>
</connection>
...
<connections>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
buy_type
no
buy_type=rtb
Return
<liverailapi requested="/connection/add" api_version="X.Y.Z">
<connection_id>the id of the newly added connection</connection_id>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
28 May 2012
10 August 2012
08 January 2013
Description
Added bid_optimization
Added managed
Added rtb_enabled, buy_type
Reason
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
net_to_site_value
no
enabled_in
no
enabled_ov
no
managed
no
parameters
no
weight
no
daily_impression_cap no
login_username
no
login_password
no
login_info
no
enabled_publisher
no
enabled_network
no
rtb_enabled
no
buy_type
no
When net_to_site_method=custom,
the connection value is specified by
the user. Otherwise,
net_to_site_value=7.5
net_to_site_method=site, the
connection value is the site's flat rate.
If the connection supports IN orders.
The supported values are: 0 ( IN
orders are not supported ) and 1 ( IN
enum orders are supported ). This
enabled_in=1
parameter is optional, meaning that, if
not given, the parameter value is not
altered in any way.
If the connection supports OV orders.
The supported values are: 0 ( OV
orders are not supported ) and 1 ( OV
enum orders are supported ). This
enabled_ov=1
parameter is optional, meaning that, if
not given, the parameter value is not
altered in any way.
Specify if the connection is managed
by LiveRail or not. The supported
values are: "yes" (connection is
enum managed by LR) and "no". This
managed=yes
parameter is optional, meaning that, if
not given, the parameter value is not
altered in any way. This parameter
can only be used by root-entities.
The connection parameters. The
parameters should be given as a
GET string. The network parameters
string can be retrieved by using the
DESCRIPTION=my%20description&MY_PARAMETER_1=value1&MY_PARAMETER_2=value2
/entity/network/type/parameter/list
call. If "LR_API_NULL" is used, the
parameter will be cleared.
Specify the connection weight.
integer Accepted values: integer between 0 weight=22
and 50.
integer Specify the daily impression cap.
daily_impression_cap=25
string The login username for the account login_username=test
created on the networks platform.
string The login password for the account login_password=ggg
created on the networks platform.
float
way.
Return
<liverailapi requested="/connection/edit" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
28 May 2012
10 August 2012
08 January 2013
Description
Added bid_optimization
Added managed
Added rtb_enabled, buy_type
Reason
Align with API
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/delete" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/set/archived" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
<warnings>
<warning>
<message>The reason why the status can't be changed for a publisher.</message>
<code></code>
</warning>
<warning>
<message>If the connection status changed successful, the reason why the connection is still not archived.</message>
<code></code>
</warning>
...
</warnings>
...
</liverailapi>
Change History
Date
20 August 2012
Description
Method added in chm
Reason
Align with API.
CONNECTION TRACKERS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/tracker/list" api_version="X.Y.Z">
<connection>
<trackers>
<tracker>
<connection_tracker_id>the numeric ID of the tracker</connection_tracker_id>
<connection_id>the numeric ID of the connection</connection_id>
<event>the event of tracker</event>
<url>the URL of the tracker</url>
</tracker>
...
</trackers>
</connection>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/tracker/add" api_version="X.Y.Z">
<connection_tracker_id>the numeric ID of the new tracker</connection_tracker_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
11 July 2012
11 September 2012
Description
Changed event values
Added 'error' in event values
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/tracker/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
11 July 2012
11 September 2012
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/connection/tracker/delete" api_version="x.y.z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
PRICE FLOOR
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/site/settings/list" api_version="X.Y.Z">
<site_settings>
<site_setting>
<network_id>the id of the current entity</network_id>
<publisher_id>the id of the publisher entity</publisher_id>
<cost_cpc>the cpc cost</cost_cpc>
<cost_cpm>the cpm cost</cost_cpm>
<percentage>the percentage</percentage>
<publisher_name>the organization name of the publisher</publisher_name>
</site_setting>
...
</site_settings>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/site/settings/list" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to pricing floor rules are displayed here.
/pricing/floor/rule/add
/pricing/floor/rule/edit
/pricing/floor/rule/list
/pricing/floor/rule/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/pricing/floor/rule/add" api_version="X.Y.Z">
<pricing_rule_id>the id of the newly created pricing rule.</pricing_rule_id>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
value is "0".
Return
<liverailapi requested="/pricing/floor/rule/edit" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/pricing/floor/rule/list" api_version="X.Y.Z">
<pricing_rules>
<pricing_rule>
<pricing_rule_id>the numeric ID of the pricing rule</pricing_rule_id>
<entity_id>the current entity ID</entity_id>
<name>the rule name</name>
<apply>the rule's application</apply>
<position>the rule's position</position>
<rule>Boolean format</rule>
<floor>float value</floor>
<is_default>0 | 1 </is_default>
<is_disabled>0 | 1 </is_disabled>
<is_deleted>0 | 1 </is_deleted>
</pricing_rule>
...
</pricing_rules>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/pricing/floor/rule/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
PUBLISHERS
PUBLISHER TAGS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
int Optional, the entity_id=965
entity_id no
entity ID.
Return
<liverailapi requested="/publisher/tag/available" api_version="x.y.z">
<available>The available tags number remaining for the publisher.</available>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/publisher/tag/list" api_version="X.Y.Z">
<tags>
<tag>the tag</tag>
...
<tags>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
31 July 2012
Description
Added 2 new parameters
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Example
Authentication
string session token token=f5a81cdde43c6334feffcfc13ad53717
token yes
(received after
/login).
The tag that
string should be added tag=music
tag yes
for the current
entity.
Return
<liverailapi requested="/publisher/tag/add" api_version="X.Y.Z">
<tag_name>The exact tag that was added in the database. If the tag name contains illegal characters, will be sanitized and causing the name to be displayed differently from the value initially sent. </tag_name>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
The tag that
string should be
tag yes
deleted
Example
token=f5a81cdde43c6334feffcfc13ad53717
tag=music
Return
<liverailapi requested="/publisher/tag/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
PUBLISHER FREQUENCY
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/publisher/frequency/list" api_version="X.Y.Z">
<frequency>
<capping>
<type>the type</type>
<interval>the interval ( in seconds )</interval>
<count>the capping</count>
<partner_id>the partner; if null, it's a global capping</partner_id>
<divider>Value in seconds</divider>
</capping>
...
</frequency>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
10 August 2012
Description
Added divider.
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
is null.
Return
<liverailapi requested="/publisher/frequency/add" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
10 August 2012
Description
Added divider.
Reason
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
matching the
given interval
and type.
Return
<liverailapi requested="/publisher/frequency/delete" api_version="X.Y.Z">
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
ALLOCATION RULES
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
allocation_id no
limit
no
after /login).
The
numerical ID
of the
allocation to
string be listed.
allocation_id=6084,6085
Multiple IDs
can be bind
together by "|"
or ","
int The limit for limit=5
the results
Return
<liverailapi requested="/allocation/edit" api_version="X.Y.Z">
<allocation>
<rule>
<allocation_id>the id of the allocation</id>
<code>the code of the allocation</code>
<name>the name of the allocation</name>
<description>the description of the allocation</description>
<is_default> Return values: yes | no. The default allocation rule ( the one that is created when the user creates the entity )
has this flag set on yes. This particular allocation rule cannot be deleted.</is_default>
<position>The position of the allocation.</position>
<name>the name of the allocation</name>
<apply>ov|pre|mid|post</apply>
<targeting_rule>The boolean specification</targeting_rule>
<disabled>yes|no</disabled>
</rule>
...
</allocation>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
Description
Edit XML response
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/add" api_version="X.Y.Z">
<allocation_id>The id of the newly added allocation</allocation_id>
....
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Change History
Date
07 June 2012
Description
Updated paramethers.
Reason
Align with API tester
Parameters
Each API call contains optuired and optional parameters. Here is an overview of the
parameters you can add to this particular API optuest, where optuired parameters are
written in orange:
Name
Return
<liverailapi requested="/allocation/edit" api_version="X.Y.Z">
....
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
07 June 2012
Description
Updated paramethers.
Reason
Align with API tester
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/delete" api_version="X.Y.Z">
....
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/duplicate" api_version="X.Y.Z">
<allocation_id>The newly allocation ID created by duplication</allocation_id>
<user>...</user>
<auth>...</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
17 May 2012
Description
Added method in the help file
Reason
Align with API
GROUPS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/group/list" api_version="X.Y.Z">
<allocation_groups>
<group>
<group_id>The id of the allocation group.</group_id>
<allocation_id>The id of the allocation.</allocation_id>
<priority>Priority of the group.</group>
</group>
</allocation_groups>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/group/add" api_version="X.Y.Z">
<allocation_group_id>The id of the created allocation group</allocation_group_id>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/group/edit" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/group/delete" api_version="X.Y.Z">
....
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
SOURCE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/source/list" api_version="X.Y.Z">
<allocation_sources>
<source>
<allocation_group_id>The id of the allocation group.</allocation_group_id>
<connection_id>The id of the connection.</connection_id>
<name>Connection name.</name>
</source>
</allocation_sources>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/source/add" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/source/edit" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/allocation/source/delete" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to custom macro management are displayed here.
/custom/macro/list
/custom/macro/add
/custom/macro/edit
/custom/macro/delete
/custom/macro/attach
/custom/macro/detach
/custom/macro/edit/attach
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
matching
macro_names.
Return
<liverailapi requested="/custom/macro/list" api_version="X.Y.Z">
<custom_macros>
<custom_macro>
<custom_macro_id>the id of the custom macro</custom_macro_id>
<entity_id>the id of the entity for which it was created</entity_id>
<macro_name>the macro name</macro_name>
<comments>the comments for the macro</comments>
</custom_macro>
...
</custom_macros>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/add" api_version="X.Y.Z">
<custom_macro_id>the id of the newly added custom macro</custom_macro_id>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/edit" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/delete" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/attach" api_version="X.Y.Z">
<custom_macro_j_entity_id>id of the newly created attachment</custom_macro_j_entity_id>
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/edit/attach" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/custom/macro/detach" api_version="X.Y.Z">
<user>
...
</user>
<auth>
...
</auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
LOCATION
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
only_country no
Return
<liverailapi requested="/location/list" api_version="X.Y.Z">
<locations>
<list>
<location>
<location_id>location ID</location_id>
<country>location country or description</country>
<region>location available regions or null</region>
<metro>location available areas or null</metro>
<city>location available city or null</city>
</location>
...
</list>
<count>The total number of locations listed</count>
</locations>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
25 June 2012
Description
Added parameters.
Reason
Align with API.
STATISTICS
All the methods related to statistics and report generation are displayed here.
Statistics
/statistics
Reports Portfolio
/reports/portfolio/add
/reports/portfolio/edit
/reports/portfolio/list
/reports/portfolio/delete
Schedules
/reports/portfolio/schedule/add
/reports/portfolio/schedule/edit
/reports/portfolio/schedule/list
/reports/portfolio/schedule/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
dimension2 no
dimension3 no
small ), 2 ( medium ), 3 (
large )),
content_type_name
(Content Type Name),
content_type_id
(Content Type ID),
autoplay_name
(Autoplay Name),
muted_name (Muted
Name), playersize_name
(Playersize Name),
zipcode (Zip Code).
These dimensions must
be used for a scheduled
report portfolio.
The available
dimensions are: time
dimensions: hour ( Hour
), day ( Day ), week (
Week ), month ( Month ),
publisher_id ( Site ),
connection_id ( Ad
source ), partner_id (
Partner ),
creative_campaign_id (
Creative Group ),
creative_id ( Creative ),
category_id ( Category ),
segment_id (Segment),
location_country (
Country ), domain_name
( Domain ),
order_number_id ( Order
Number ), order_id (
Order ), order_line_id (
Order Line ), network_id
( Network ). For the
location_region (
State/Region ),
location_metro ( Metro
area ), location_city (
City ),
video_publisher_video (
string Media ID ),
...
video_am_video (
Fingerprint ID ),
item_name ( Content tag
), browser_name (
Browser ), os_name (
Operating system ),
autoplay_id (autoplay ID
- 0 ( unknown ), 1 ( Click
to Play ), 2 ( Auto Play )),
muted_id (muted ID 0 (
unknown ), 1 ( Sound on
), 2 ( Sound off )),
playersize_id (playersize
ID 0 ( unknown ), 1 (
small ), 2 ( medium ), 3 (
large )),
content_type_name
(Content Type Name),
content_type_id
(Content Type ID),
autoplay_name
(Autoplay Name),
muted_name (Muted
Name), playersize_name
(Playersize Name),
zipcode (Zip Code).
These dimensions must
be used for a scheduled
report portfolio.
dimension4 no
The available
dimensions are: time
dimensions: hour ( Hour
), day ( Day ), week (
Week ), month ( Month ),
publisher_id ( Site ),
connection_id ( Ad
source ), partner_id (
Partner ),
creative_campaign_id (
Creative Group ),
creative_id ( Creative ),
category_id ( Category ),
segment_id (Segment),
location_country (
Country ), domain_name
( Domain ),
order_number_id ( Order
Number ), order_id (
Order ), order_line_id (
Order Line ), network_id
( Network ). For the
location_region (
State/Region ),
location_metro ( Metro
area ), location_city (
City ),
video_publisher_video (
string Media ID ),
...
video_am_video (
Fingerprint ID ),
item_name ( Content tag
), browser_name (
Browser ), os_name (
Operating system ),
autoplay_id (autoplay ID
- 0 ( unknown ), 1 ( Click
to Play ), 2 ( Auto Play )),
muted_id (muted ID 0 (
unknown ), 1 ( Sound on
), 2 ( Sound off )),
playersize_id (playersize
ID 0 ( unknown ), 1 (
small ), 2 ( medium ), 3 (
large )),
content_type_name
(Content Type Name),
content_type_id
(Content Type ID),
autoplay_name
(Autoplay Name),
muted_name (Muted
Name), playersize_name
(Playersize Name),
zipcode (Zip Code).
These dimensions must
be used for a scheduled
report portfolio.
The available
dimensions are: time
dimensions: hour ( Hour
), day ( Day ), week (
Week ), month ( Month ),
publisher_id ( Site ),
connection_id ( Ad
source ), partner_id (
Partner ),
creative_campaign_id (
Creative Group ),
creative_id ( Creative ),
category_id ( Category ),
segment_id (Segment),
location_country (
dimension5 no
dimension6 no
Country ), domain_name
( Domain ),
order_number_id ( Order
Number ), order_id (
Order ), order_line_id (
Order Line ), network_id
( Network ). For the
location_region (
State/Region ),
location_metro ( Metro
area ), location_city (
City ),
video_publisher_video (
string Media ID ),
...
video_am_video (
Fingerprint ID ),
item_name ( Content tag
), browser_name (
Browser ), os_name (
Operating system ),
autoplay_id (autoplay ID
- 0 ( unknown ), 1 ( Click
to Play ), 2 ( Auto Play )),
muted_id (muted ID 0 (
unknown ), 1 ( Sound on
), 2 ( Sound off )),
playersize_id (playersize
ID 0 ( unknown ), 1 (
small ), 2 ( medium ), 3 (
large )),
content_type_name
(Content Type Name),
content_type_id
(Content Type ID),
autoplay_name
(Autoplay Name),
muted_name (Muted
Name), playersize_name
(Playersize Name),
zipcode (Zip Code).
These dimensions must
be used for a scheduled
report portfolio.
The available
dimensions are: time
dimensions: hour ( Hour
), day ( Day ), week (
Week ), month ( Month ),
publisher_id ( Site ),
connection_id ( Ad
source ), partner_id (
Partner ),
creative_campaign_id (
Creative Group ),
creative_id ( Creative ),
category_id ( Category ),
segment_id (Segment),
location_country (
Country ), domain_name
( Domain ),
order_number_id ( Order
Number ), order_id (
Order ), order_line_id (
Order Line ), network_id
( Network ). For the
location_region (
State/Region ),
location_metro ( Metro
area ), location_city (
City ),
video_publisher_video (
string Media ID ),
...
video_am_video (
time_start yes
time_end
yes
Fingerprint ID ),
item_name ( Content tag
), browser_name (
Browser ), os_name (
Operating system ),
autoplay_id (autoplay ID
- 0 ( unknown ), 1 ( Click
to Play ), 2 ( Auto Play )),
muted_id (muted ID 0 (
unknown ), 1 ( Sound on
), 2 ( Sound off )),
playersize_id (playersize
ID 0 ( unknown ), 1 (
small ), 2 ( medium ), 3 (
large )),
content_type_name
(Content Type Name),
content_type_id
(Content Type ID),
autoplay_name
(Autoplay Name),
muted_name (Muted
Name), playersize_name
(Playersize Name),
zipcode (Zip Code).
These dimensions must
be used for a scheduled
report portfolio.
he start time for the
report. It is given as a
string ( yyyy-mm-dd
hh:ii:ss ); if the "time"
component ( hh:ii:ss ) is
missing, it will be
automatically replaced
with 00:00:00. Examples:
string "2010-12-08" ( it is
...
automatically converted
to 2010-12-08 00:00:00
), "2010-12-08
23:59:59". If
filters[timezone] is not
specified, the system will
automatically use the
timezone for the current
user.
The end time for the
report. It is given as a
string ( yyyy-mm-dd
hh:ii:ss ); if the "time"
component ( hh:ii:ss ) is
missing, it will be
automatically replaced
with 00:00:00. Examples:
string "2010-12-08" ( it is
...
automatically converted
to 2010-12-08 00:00:00
), "2010-12-08
23:59:59". If
filters[timezone] is not
specified, the system will
automatically use the
timezone for the current
user.
An array containing statistic filters. The
available filters are: publisher_id ( Site ),
connection_id ( Ad source ), partner_id (
Partner ), creative_campaign_id ( Creative
Group ), creative_id ( Creative ),
category_id ( Category ), location_country (
Country ), domain_name ( Domain ),
order_number_id ( Order Number )
order_id ( Order ), order_line_id ( Order
filters
yes
Return
<liverailapi requested="/statistics" api_version="X.Y.Z">
<report>
<row>
<dimension1>the value for dimensions1</dimension1>
<dimension2>the value for dimensions2 ( if dimension2 was given )</dimension2>
Change History
Date
21 August 2012
14 September 2012
Description
Added Content Type
Removed Advertiser ID
Reason
Align with API
Align with API
REPORT PORTFOLIOS
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
name
yes
description
yes
start_period_type yes
start
yes
end_period_type yes
end
yes
visibility
yes
last_update_time yes
root_report
yes
Overview
Example
Authentication
session token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after
/login).
Portfolio report
string
name=test
name
Portfolio report
string
description=music
description.
The type of the
report's start time
period. "fixed"
means that that
the start point of
the time period will
enum
be fixed and not start_period_type=fixed
modify over time.
"rolling" means
that the start point
of the time period
will increment
every day.
The start time of
DateTime the report's time start=2011-12-22 00:00:00
period.
The type of the
report's end time
period. "fixed"
means that that
the end point of
the time period will
enum
be fixed and not end_period_type=rolling
modify over time.
"rolling" means
that the end point
of the time period
will increment
every day.
The end time of
string
the report's time end=2011-12-25 00:00:00
period.
The visibility of
the report. It
accepts 2 values:
"public" or
"private". If you
set this to private
only the user that
enum
visibility=public
created it can
access it. If it's
public all users
that can access
that entity can
access the report
portfolio.
DateTime The last update last_update_time=2011-12-25 00:00:00
time of the report.
Specify the type
of the report. The
accepted values
are:
enum
root_report=forecast-in
"normal"|"forecastin"|"forecast-ov".
The default value
is "normal".
A php serialized array containing (the
JSON object structure must be identical to
the array one): The dimensions array can
contain: dimension1, dimension2,
dimension3, dimension4, dimension5 and
dimension6. For the available values
please look at /statistics.
The filters array must contain: from_date (
the start date yyyy-mm-dd format, for
example 2009-11-01 ), from_time ( the start
time in hh:ii format, for example 23:59 ),
to_date( the end date yyyy-mm-dd format,
for example 2009-11-01 ), to_time ( the end
time in hh:ii format, for example 23:59 ).
Filters can also contain the following keys:
publisher_id ( Site ), connection_id ( Ad
source ), partner_id ( Partner ),
creative_campaign_id ( Creative Group ),
creative_id ( Creative ), advertiser_id (
Advertiser ), location_country ( Country ),
domain_name ( Domain ), order_id ( Order
), order_line_id ( Order Line ), network_id (
Network ), timezone ( Timezone ),
location_region ( State/Region ),
location_metro ( Metro area ), location_city
( City ), video_publisher_video ( Media ID ),
video_am_video ( Fingerprint ID ),
item_name ( Content tag ), browser_id (
Browser ID ), os_id ( Operating system ID ),
autoplay_id (autoplay ID - 0 ( unknown ), 1
( Click to Play ), 2 ( Auto Play )), muted_id
(muted ID 0 ( unknown ), 1 ( Sound on ), 2 (
Sound off )), playersize_id (playersize ID 0
( unknown ), 1 ( small ), 2 ( medium ), 3 (
large )), content_type_name (Content Type
Name), content_type_id (Content Type ID),
autoplay_name (Autoplay Name),
muted_name (Muted Name),
playersize_name (Playersize Name),
zipcode (Zip Code). For each of this keys (
except for timezone ) you need to give an
array ( even if there's actually a single
value, for example if you want to apply a
filter for connection_id and you want a
single value ( 150 ), you still have to define
filters[connection_id] = array( 150 ) ).
The columns array must contain at least
one column. The available columns are:
accept-invite ( Accepts ), air ( Accept rate ),
c-clicks ( Companion Click-Through ), cimprs ( Companion Impressions ), clicks (
Click-thru's ), clicks-mid ( Click-thru's (mid)
), clicks-post ( Click-thru's (post) ), clickspre ( Click-thru's (pre) ), close-rate ( Close
rate ), closes ( Closes ), complete-rate (
Complete Rate ), ctr ( CTR ), ctrcompanion ( Companion CTR ), ctr-mid (
CTR (mid) ), ctr-post ( CTR (post) ), ctr-pre
( CTR (pre) ), custom1 ( Custom 1 ),
custom2 ( Custom 2 ), custom3 ( Custom 3
), custom4 ( Custom 4 ), custom5 ( Custom
5 ), custom6 ( Custom 6 ), custom7 (
Custom 7 ), custom8 ( Survey ), ecpm (
Revenue eCPM ), ecpm-for-publisher (
Spending eCPM ), imprs ( Impressions ),
imprs-mid ( Impressions (mid) ), imprs-post
( Impressions (post) ), imprs-pre (
Impressions (pre) ), in-clicks ( Click-thru's
(i) ), in-ctr ( CTR (i) ), in-ecpm ( Revenue
eCPM (i) ), in-ecpm-for-publisher (
Spending eCPM (i) ), in-imprs (
Impressions (i) ), in-revenue-advertiser (
Revenue (i) ), in-revenue-publisher (
Spending (i) ), min-rate ( Minimize Rate ),
minimizes ( Minimizes ), mute-rate ( Mute
Rate ), mutes ( Mutes ), ov-clicks ( Clickthru's (o) ), ov-ctr ( CTR (o) ), ov-ecpm (
Revenue eCPM (o) ), ov-ecpm-for-
report_definition yes
enum
Return
<liverailapi requested="/reports/portfolio/add" api_version="X.Y.Z">
<report_portfolio_id>the numeric ID of the report added to the portfolio</report_portfolio_id>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
21 August 2012
11 September 2012
Description
Added Content Type
Added non-valid parameters
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
token
entity_id
no
report_portfolio_id no
limit
no
offset
no
/login).
Return only
the reports
owned by the
specified
entity(s). You
can send a
single ID or a
integer list of IDs by entity_id=735
glueing them
together with
"|". By default
the method
will return the
reports for the
current entity.
Return only
the reports
from the
specified
report profolio.
integer You can send report_portfolio_id=75
a single ID or
a list of IDs by
glueing them
together with
"|".
Limit the
integer number of
limit=24
records
returned.
Do not return
the first 'offset'
number of
string records (the offset=music
'limit'
status
no
set
running
no
set
output
no
set
canned_report
no
set
parameter
must be
specified).
Return only
the reports
that are
status=active
'active' or
'paused'.
Return only
the reports
that are
running=no
currently
running or not
running.
Return the
data in the
specified
format.
output=json
Possible
values are:
"array", "json"
Return the
portfolios that
are either
canned or not.
The portfolios
canned_report=yes
that have
canned_report
= yes cannot
be deleted or
edited.
Return
<liverailapi requested="/reports/portfolio/list" api_version="X.Y.Z">
<portfolios>
<list>
<portfolio>
<report_portfolio_id>the numeric ID of the report in the report portfolio</report_portfolio_id>
<user_id>the numeric ID of the user who created the report</user_id>
<entity_id>the numeric ID of the entity for which the report was created</entity_id>
<name>the name of the report</name>
<description>the description of the report</description>
<visibility>the visibility of the report ('public' | 'private')</visibility>
<creation_time>the time at which the report was created</creation_time>
<last_update_time>the time at which the report was last updated</last_update_time>
<start_period_type>the type of the period start ('fixed' | 'rolling')</start_period_type>
<start>the start time of the period</start>
<end_period_type>the type of the period end ('fixed' | 'rolling')</end_period_type>
<end>the end time of the period</end>
<report_definition>
serialized definition of the report
e.g. for array: a:4:{s:10:"dimensions";a:2:{s:10:"dimension1";s:13:"advertiser_id";}s:7:"filters";a:1:{s:8:"timezone";s:1:"1";}s:11:"filter_vals";a:0:{}s:7:"columns";a:5:{i:0;s:8:"in-imprs";i:1;s:6:"in-ctr";i:2;s:8:"ov-imprs";i:3;s:9:"ov-clicks";i:4;s:6:"ov-ctr";}}
e.g. for json: {"dimensions":{"dimension1":"day","dimension2":"creative_id"},"filters":{"timezone":"2","creative_campaign_id":["xxxx"]},"filter_vals":{"creative_campaign_id":["xxxx"]},"columns":["u-imprs","u-clicks","u-ctr"]}
</report_definition>
<canned_report>yes | no</canned_report>
<url_callback></url_callback>
<root_report>yes/no</root_report>
<report_type>normal/forecast-in/forecast-ov</report_type>
-- report distribution definition -<to>recipient's email addresses (separated by ||)</to>
<subject>email subject</subject>
<frequency>report frequency (daily | weekly | monthly | asap)</frequency>
<hour>the hour at which the report to be sent</hour>
-- for daily frequency -<day>not relevant</day>
-- for weekly frequency -<day>the day of the week (1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday) </day>
-- for monthly frequency -<day>the day of the month (1 - 31)</day>
<message>aditional message sent inside the email</message>
<status>status of the report (active | paused)</status>
<running>the report is currently being generated</running>
<run_start_timestamp>the time at which the report started generating</run_start_timestamp>
<run_end_timestamp>the time at which the report ended generating</run_end_timestamp>
<export_format>the export format (csv|xls|xlsx)</export_format>
<delayed_timestamp>...<delayed_timestamp/>
<delayed_end_timestamp>...<delayed_end_timestamp/>
<until>0000-00-00 00:00:00</until>
</portfolio>
...
</list>
<count>number of report portfolios</count>
</portfolios>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
report_portfolio_id yes
name
no
description
no
start_period_type no
start
no
end_period_type no
end
no
Overview
Example
Authentication
session token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after
/login).
The numerical ID
integer of the report
report_portfolio_id=75
portfolio to be
edited
Portfolio report
string
name=test
name
Portfolio report
string
description=music
name description.
The type of the
report's start time
period. It accepts
2 values: "fixed"
means that that
the start point of
the time period will
set
be fixed and not start_period_type=fixed
modify over time,
and "rolling"
means that the
start point of the
time period will
increment every
day.
The start time of
DateTime the report's time start=2011-12-22 00:00:00
period.
The type of the
report's end time
period. It accepts
2 values: "fixed"
means that that
the end point of
the time period will
set
be fixed and not end_period_type=rolling
modify over time,
and "rolling"
means that the
end point of the
time period will
increment every
day
The end time of
string
the report's time end=2011-12-25 00:00:00
visibility
no
last_update_time no
root_report
no
period.
The visibility of
the report. It
accepts 2 values:
"public" or
"private". If you
set this to private
only the user that
set
visibility=public
created it can
access it. If it's
public all users
that can access
that entity can
access the report
portfolio.
DateTime The last update last_update_time=2011-12-25 00:00:00
time of the report.
Specify the type
of the report. The
accepted values
are:
enum
root_report=forecast-in
"normal"|"forecastin"|"forecast-ov".
The default value
is "normal".
A php serialized array containing (the
JSON object structure must to be identical
to the array one): The dimensions array
can contain: dimension1, dimension2,
dimension3, dimension4, dimension5 and
dimension6. For the available values
please look at /statistics.
The filters array must contain: from_date (
the start date yyyy-mm-dd format, for
example 2009-11-01 ), from_time ( the start
time in hh:ii format, for example 23:59 ),
to_date( the end date yyyy-mm-dd format,
for example 2009-11-01 ), to_time ( the end
time in hh:ii format, for example 23:59 ).
Filters can also contain the following keys:
publisher_id ( Site ), connection_id ( Ad
source ), partner_id ( Partner ),
creative_campaign_id ( Creative Group ),
creative_id ( Creative ), advertiser_id (
Advertiser ), location_country ( Country ),
domain_name ( Domain ), order_id ( Order
), order_line_id ( Order Line ), network_id (
Network ), timezone ( Timezone ),
location_region ( State/Region ),
location_metro ( Metro area ), location_city
( City ), video_publisher_video ( Media ID ),
video_am_video ( Fingerprint ID ),
item_name ( Content tag ), browser_id (
Browser ID ), os_id ( Operating system ID ),
autoplay_id (autoplay ID - 0 ( unknown ), 1
( Click to Play ), 2 ( Auto Play )), muted_id
(muted ID 0 ( unknown ), 1 ( Sound on ), 2 (
Sound off )), playersize_id (playersize ID 0
( unknown ), 1 ( small ), 2 ( medium ), 3 (
large )), content_type_name (Content Type
Name), content_type_id (Content Type ID),
autoplay_name (Autoplay Name),
report_definition no
set
Return
<liverailapi requested="/reports/portfolio/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
21 August 2012
11 September 2012
Description
Added Content Type
Added non-valid parameters
Reason
Align with API
Align with API
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/reports/portfolio/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to report portfolios schedules are displayed here.
/reports/portfolio/schedule/add
/reports/portfolio/schedule/edit
/reports/portfolio/schedule/list
/reports/portfolio/schedule/delete
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/reports/portfolio/schedule/list" api_version="X.Y.Z">
<schedules>
<schedule>
<report_portfolio_id>the numeric ID of the report in the report portfolio</report_portfolio_id>
<to>recipient's email addresses (separated by ||)</to>
<subject>email subject</subject>
<frequency>report frequency (daily | weekly | monthly | asap)</frequency>
<hour>the hour at which the report to be sent</hour>
-- for daily frequency -<day>not relevant</day>
-- for weekly frequency -<day>the day of the week (1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday) </day>
-- for monthly frequency -<day>the day of the month (1 - 31)</day>
<message>aditional message sent inside the email</message>
<status>status of the report (active | paused)</status>
<running>the report is currently being generated</running>
<run_start_timestamp>the time at which the report started generating</run_start_timestamp>
<run_end_timestamp>the time at which the report ended generating</run_end_timestamp>
<export_format>the export format (csv|xls|xlsx)</export_format>
<url_callback>the POST URL for callback (optional)</url_callback>
<delayed_timestamp>...<delayed_timestamp/>
<delayed_end_timestamp>...<delayed_end_timestamp/>
<until>0000-00-00 00:00:00</until>
</schedule>
...
</schedules>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
report_portfolio_id yes
to
yes
subject
yes
frequency
yes
hour
yes
day
yes
status
yes
until
yes
Overview
Example
Authentication
session
token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after /login).
The numerical ID of the report
integer portfolio for which the schedule report_portfolio_id=75
is added.
The email address to which the
report should be sent. More than
string
one email address can be
[email protected]
specified by glueing them
together with "|"
The subject to be used in the
string
subject=report
email,
The frequency of the report
generation. The possible values
are:
"daily"|"weekly"|"monthly"|"asap".
if frequency = daily --> time
duration of report can only be 1
day max or month to date
enum
frequency=daily
(exception to the rule)
if frequency = weekly --> time
duration of report can only be 7
days max
if frequency = monthy --> time
duration of report can only be 31
days max
DateTime The time of sending the report. hour=12
For daily frequency the value is
not relevant. For weekly
frequency the value represents
the day of the week (1 - Monday,
enum
day=7
2 - Tuesday, 3 - Wednesday ).
For monthly frequency the value
represents the day of the month
(1 - 31)
The report's status. The possible
enum
status=active
values are: "active", "paused"
Specify for "start_period_type"
fixed and "end_period_type"
"rolling". When the 'Until' date is
met, the report will automatically
be 'Paused'. Must be shorter
than 1 year. If both
"start_period_type" and
DateTime "end_period_type" are "fixed", until=2012-06-15 00:00:00
"until" does not have any
function. If both
"start_period_type" and
"end_period_type" are "rolling",
"until" is optional. If
"start_period_type" is fixed and
"end_period_type" is "rolling",
"until" is mandatory.
An URL callback where the
url_callback
yes
string
url_callback=
Return
<liverailapi requested="/reports/portfolio/schedule/add" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Required Type
token
yes
report_portfolio_id yes
to
no
subject
no
frequency
no
hour
no
day
no
status
no
until
no
Overview
Example
Authentication
session
token
string
token=f5a81cdde43c6334feffcfc13ad53717
(received after /login).
The numerical ID of the report
integer portfolio for which the schedule report_portfolio_id=75
is edited.
The email address to which the
report should be sent. More than
string
one email address can be
[email protected]
specified by glueing them
together with "|"
The subject to be used in the
string
subject=report
email,
The frequency of the report
generation. The possible values
are:
"daily"|"weekly"|"monthly"|"asap".
if frequency = daily --> time
duration of report can only be 1
day max or month to date
set
frequency=daily
(exception to the rule)
if frequency = weekly --> time
duration of report can only be 7
days max
if frequency = monthy --> time
duration of report can only be 31
days max
DateTime The time of sending the report. hour=12
For daily frequency the value is
not relevant. For weekly
frequency the value represents
the day of the week (1 - Monday,
set
day=7
2 - Tuesday, 3 - Wednesday ).
For monthly frequency the value
represents the day of the month
(1 - 31)
The report's status. The possible
values are: "active", "paused".
Be aware that when the
set
status=active
schedule status is set to paused,
it will not perform anything else
anymore.
Specify for "start_period_type"
fixed and "end_period_type"
"rolling". When the 'Until' date is
met, the report will automatically
be 'Paused'. Must be shorter
than 1 year. If both
"start_period_type" and
DateTime "end_period_type" are "fixed", until=2012-06-15 00:00:00
"until" does not have any
function. If both
"start_period_type" and
"end_period_type" are "rolling",
"until" is optional. If
url_callback
no
string
Return
<liverailapi requested="/reports/portfolio/schedule/edit" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
The behaviour of the status has been changed when
10.01.2012
set to "paused"
Reason
To ensure the
full...
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/reports/portfolio/schedule/delete" api_version="X.Y.Z">
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
COMSCORE
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name Required Type Overview
Authentication
string session token
token yes
(received after
/login).
Example
token=f5a81cdde43c6334feffcfc13ad53717
Return
<liverailapi requested="/comscore/target/list" api_version="x.y.z">
<targets>
<target>
<target_id></target_id>
<target_name></target_name>
</target>
...
</targets>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/comscore/domain/list" api_version="x.y.z">
<domains>
<domain>
<domain_index></domain_index>
<domain_name></domain_name>
</domain>
...
</domain>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
Description
Reason
All the methods related to 3rd party integration are listed here.
/contextual/segments/get
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/contextual/segment/get" api_version="x.y.x">
<contextual_segment_list>
<contextual_segment>
<segment_id>The numeric ID of the segment</segment_id>
<segment_source>The numeric ID of the segment data</segment_data_id>
Change History
Date
Description
Reason
QC ADVERTISER
Parameters
Each API call contains required and optional parameters. Here is an overview of the
parameters you can add to this particular API request, where required parameters
are written in orange:
Name
Return
<liverailapi requested="/qc/advertiser/list" api_version="X.Y.Z">
<qc_advertisers>
<list>
<qc_advertiser>
<qc_advertiser_id>The numeric ID of the QC Advertiser</qc_advertiser_id>
<qc_advertiser_name>string: the QC Advertiser name</qc_advertiser_name>
</qc_advertiser>
...
</list>
...
</qc_advertisers>
<user> ... </user>
<auth> ... </auth>
<status>success or fail</status>
<error>error if status=fail, null otherwise</error>
...
</liverailapi>
Change History
Date
31 July 2012
Description
Method added into chm.
Reason
Align with API