Etarget Api

Methods:

Agency

customersStats
getAccessToken
getCustomers

Customer

extraReach
getAccessToken
getPPCCampaignDailyStats
getPPCCampaignStats
getPPCCampaigns
getPPCCampaignsFull
getRTBCampaignCreatives
getRTBCampaignDailyStats
getRTBCampaignStats
getRTBCampaigns
getRTBCreativeDailyStats
getRTBCreativeStats
getRTBSiteDailyStats
getRTBSiteStats

Partner

getAccessToken
getExternalPublisherStats
getPortalStats

Agency

customersStats

Path: https://api.etarget.cz/agency/customersStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Customers
Error Response:
Status CodeError BodyDescription
400stringError description
customersStats

getAccessToken

Path: https://api.etarget.cz/agency/getAccessToken
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
loginstringY
pswstringY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
getAccessToken

getCustomers

Path: https://api.etarget.cz/agency/getCustomers
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Customers
Error Response:
Status CodeError BodyDescription
400stringError description
getCustomers

CampaignFullStats

Path: https://api.etarget.cz/CampaignFullStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
include_versionsintegerNSet to 1 to retrieve camapign versinon stats. Default 0
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
CampaignFullStats

CustomOMGStats

Path: https://api.etarget.cz/CustomOMGStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
include_versionsintegerNSet to 1 to retrieve camapign versinon stats. Default 0
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
CustomOMGStats

Customer

extraReach

Path: https://api.etarget.cz/customer/extraReach
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
campaign_namestringY
actionstringY
sourcestringY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
extraReach

getAccessToken

Path: https://api.etarget.cz/customer/getAccessToken
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
loginstringY
pswstringY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
getAccessToken

getPPCCampaignDailyStats

Path: https://api.etarget.cz/customer/getPPCCampaignDailyStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
include_versionsintegerNSet to 1 to retrieve camapign versinon stats. Default 0
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getPPCCampaignDailyStats

getPPCCampaignStats

Path: https://api.etarget.cz/customer/getPPCCampaignStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
include_versionsintegerNSet to 1 to retrieve camapign versinon stats. Default 0
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getPPCCampaignStats

getPPCCampaigns

Path: https://api.etarget.cz/customer/getPPCCampaigns
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Campaigns (Basic view)
Error Response:
Status CodeError BodyDescription
400stringError description
getPPCCampaigns

getPPCCampaignsFull

Path: https://api.etarget.cz/customer/getPPCCampaignsFull
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaigns (Full view)
Error Response:
Status CodeError BodyDescription
400stringError description
getPPCCampaignsFull

getRTBCampaignCreatives

Path: https://api.etarget.cz/customer/getRTBCampaignCreatives
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idintegerYCampaign ID.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Creatives
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCampaignCreatives

getRTBCampaignDailyStats

Path: https://api.etarget.cz/customer/getRTBCampaignDailyStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCampaignDailyStats

getRTBCampaignStats

Path: https://api.etarget.cz/customer/getRTBCampaignStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCampaignStats

getRTBCampaigns

Path: https://api.etarget.cz/customer/getRTBCampaigns
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Campaigns (Basic view)
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCampaigns

getRTBCreativeDailyStats

Path: https://api.etarget.cz/customer/getRTBCreativeDailyStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
creative_idsstringNComma-separated list of integers.
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCreativeDailyStats

getRTBCreativeStats

Path: https://api.etarget.cz/customer/getRTBCreativeStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
creative_idsstringNComma-separated list of integers.
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBCreativeStats

getRTBSiteDailyStats

Path: https://api.etarget.cz/customer/getRTBSiteDailyStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
site_refsstringNComma-separated list of integers.
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBSiteDailyStats

getRTBSiteStats

Path: https://api.etarget.cz/customer/getRTBSiteStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
site_refsstringNComma-separated list of integers.
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of RTB Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
getRTBSiteStats

KeywordFullStats

Path: https://api.etarget.cz/KeywordFullStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
customer_idintegerYCustomer ID.
campaign_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
include_versionsintegerNSet to 1 to retrieve camapign versinon stats. Default 0
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of PPC Campaign stats
Error Response:
Status CodeError BodyDescription
400stringError description
KeywordFullStats

MarvaxCleanDB

Path: https://api.etarget.cz/MarvaxCleanDB
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxCleanDB

MarvaxCreateBanner

Path: https://api.etarget.cz/MarvaxCreateBanner
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
urlstringY
namestringN
marvax_customer_idintegerN
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxCreateBanner

MarvaxCreateCustomer

Path: https://api.etarget.cz/MarvaxCreateCustomer
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idintegerY
namestringN
emailstringN
sexintegerN
telephonestringN
urlstringN
first_namestringN
last_namestringN
streetstringN
zipstringN
citystringN
countrystringN
icostringN
icdphstringN
dicstringN
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxCreateCustomer

MarvaxGetBanner

Path: https://api.etarget.cz/MarvaxGetBanner
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
banner_idintegerY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetBanner

MarvaxGetBannerInteractionStats

Path: https://api.etarget.cz/MarvaxGetBannerInteractionStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idsstringNComma-separated list of integers.
banner_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetBannerInteractionStats

MarvaxGetBanners

Path: https://api.etarget.cz/MarvaxGetBanners
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idsstringNComma-separated list of integers.
banner_idsstringNComma-separated list of integers.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetBanners

MarvaxGetCRCInteractionStats

Path: https://api.etarget.cz/MarvaxGetCRCInteractionStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idsstringNComma-separated list of integers.
banner_idsstringNComma-separated list of integers.
post_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetCRCInteractionStats

MarvaxGetCustomer

Path: https://api.etarget.cz/MarvaxGetCustomer
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idintegerY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetCustomer

MarvaxGetCustomerInteractionStats

Path: https://api.etarget.cz/MarvaxGetCustomerInteractionStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetCustomerInteractionStats

MarvaxGetCustomers

Path: https://api.etarget.cz/MarvaxGetCustomers
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idsstringNComma-separated list of integers.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetCustomers

MarvaxGetFeed

Path: https://api.etarget.cz/MarvaxGetFeed
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
feed_idintegerY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetFeed

MarvaxGetFeeds

Path: https://api.etarget.cz/MarvaxGetFeeds
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
feed_idsstringNComma-separated list of integers.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxGetFeeds

MarvaxLinkBannerToCustomer

Path: https://api.etarget.cz/MarvaxLinkBannerToCustomer
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
banner_idintegerY
marvax_customer_idintegerY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxLinkBannerToCustomer

MarvaxUpdateBanner

Path: https://api.etarget.cz/MarvaxUpdateBanner
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
banner_idintegerY
marvax_customer_idintegerY
namestringN
is_fixedboolN
post_idsstringNComma-separated list of integers.
show_last_post_cntintegerN
show_post_without_imgboolN
statusintegerN1 - active, 2 - inactive
click_urlstringN
show_max_daysintegerN
new_post_notifyboolN
new_post_notify_emailstringN
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxUpdateBanner

MarvaxUpdateCustomer

Path: https://api.etarget.cz/MarvaxUpdateCustomer
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
marvax_customer_idintegerY
namestringN
emailstringN
sexintegerN
telephonestringN
urlstringN
first_namestringN
last_namestringN
streetstringN
zipstringN
citystringN
countrystringN
icostringN
icdphstringN
dicstringN
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxUpdateCustomer

MarvaxUpdateUserInteraction

Path: https://api.etarget.cz/MarvaxUpdateUserInteraction
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
banner_idintegerY
marvax_customer_idintegerY
interaction_typeintegerY1 - VIEW, 2 - MOUSE_OVER, 3 - ARROW, 4 - CLICK, 5 - MEASURABLE_VIEW, 6 - MEASURED_VIEW
interaction_urlstringY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
MarvaxUpdateUserInteraction

Partner

getAccessToken

Path: https://api.etarget.cz/partner/getAccessToken
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
loginstringY
pswstringY
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonstring
Error Response:
Status CodeError BodyDescription
400stringError description
getAccessToken

getExternalPublisherStats

Path: https://api.etarget.cz/partner/getExternalPublisherStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
partner_idintegerNPartner ID
publisher_idintegerN
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonExternal Publisher stats
Error Response:
Status CodeError BodyDescription
400stringError description
getExternalPublisherStats

getPortalStats

Path: https://api.etarget.cz/partner/getPortalStats
HTTP Method: GET
Accept: application/json
Query Parameters:
ParameterTypeRequiredDescription
access_tokenstringYObtained by getAccessToken call
partner_idintegerNPartner ID
portal_idsstringNComma-separated list of integers.
time_fromtimestampYStart date of the statistics.
time_totimestampYEnd date of the statistics.
pageintegerNPage number. If not provided, defaults to 1.
page_sizeintegerNNumber of records per page. If not provided, defaults to 100. Maximum value is 1000.
Successful Response:
Status CodeContent-TypeRepresentation
200application/jsonPaginated List of Portal stats
Error Response:
Status CodeError BodyDescription
400stringError description
getPortalStats

Representation:

Paginated List

FieldTypeDescription
totalCountintegerTotal number of items in the list, for all pages
paginationPaginationPagination information
resultsArray of Entity StatisticsArray of returned statistics paired with respective entities

Pagination

FieldTypeDescription
pageintegerPage number
page_sizeintegerNumber of items per page

PPC Campaign stats

FieldTypeDescription
timetimestampOnly in daily stats.
customer_idintegerCustomer ID
campaign_idintegerCampaign ID
viewsinteger
clicksinteger
ctrfloatClick-Through Rate
cpmfloatCost per 1000 views
cpcfloatCost per click
amountfloatCost in local currency
version_statsarrayCampaign version stats

RTB Campaign stats

FieldTypeDescription
timetimestampOnly in daily stats.
customer_idintegerCustomer ID
campaign_idintegerCampaign ID
creative_idintegerCreative ID. Only in Creative stats.
site_reftextSite ID.Only in Site stats.
domaintextDomian, only in Site stats.
impressions_bidintegerNumber of bids
impressions_wonintegerNumber of won bids(views)
clicksinteger
ctrfloatClick-Through Rate
cpmfloatCost per 1000 views
cpcfloatCost per click
amountfloatCost in local currency

Customer

FieldTypeDescription
customer_idintegerCustomer ID
namestringCustomer name.
statusintegerCustomer status 1-online, 2-offline, 3-banned, 255-deleted

Campaign (Basic view)

FieldTypeDescription
campaign_idintegerCampaign ID
namestringCampaign name.
statusintegerCampaign status 1-online, 2-offline, 3-banned, 4-deleted

Creative

FieldTypeDescription
creative_idintegerCreative ID
statusintegerCreative status 1-online, 2-offline, 3-banned, 4-deleted
widthinteger
heightinteger
img_urlstringURL of the image, Flash movie

PPC Campaign (Full view)

FieldTypeDescription
campaign_idintegerCampaign ID
namestringCampaign name.
campaign_bodyarrayArray of Campaign Ads
statusintegerCampaign status 1-online, 2-offline, 3-banned, 4-deleted
targeting_typeintegerCampaign targeting type, 1-broad, 2-retarget, 3-keyword, 4-category

Campaign Ad

FieldTypeDescription
titlestringAd title
line1stringFirst line of the Ad.
line2stringSecond line of the Ad.
urlstringShown url
real_urlstringClick url
version_statusintegerAd status 1-online, 2-offline
logoarrayArray containing Logo data.

Logo

FieldTypeDescription
logo_idintegerId
urlstringImage url

Portal Stats

FieldTypeDescription
partner_idintegerPartner ID
portal_idintegerPortal ID
nameintegerPortal name
urlintegerPortal url
viewsinteger
clicksinteger
ctrfloatClick-Through Rate
cpcfloatCost per click
cpmfloatCost per 1000 views
amountfloatCost in local currency

External Publisher Stats

FieldTypeDescription
statusstringPending/Ready
messagestring
reportcsvstats
Kontakt

ETARGET SE Na Folimance 2155/15 120 00 Praha 2

obchod@etarget.cz

+420 222 352 303