SlideShare une entreprise Scribd logo
1  sur  10
WebSpectator for Publishers
IntegrationServices Overview

USA (HQ)
100 Wilshire Blvd
Santa Monica CA, 90401
United States
Phone: (+1) 310 566 0340

Brazil
Avenida das Nações Unidas,
11.541, 14º Andar
04578-907 São Paulo
Phone: (+55) 11 5504 3350

United Kingdom
23 Berkeley Square
London, W1J 6HE
Phone: (+44) 2032 869092

Portugal
Rua Fernando Namora, 4
2º Piso A, Ed. Metropolitan
Business Center
2675-487 Odivelas
Phone: (+351) 21 934 03 22
Contents
Summary............................................................................................................................................................ 2
Overview............................................................................................................................................................ 3
API Samples ....................................................................................................................................................... 4
Real-time ....................................................................................................................................................... 4
Get application data .................................................................................................................................. 5
Get campaign data .................................................................................................................................... 6
Integration services ....................................................................................................................................... 7
Auto-monetizer report by date ................................................................................................................. 7
Auto-monetizer report by website ............................................................................................................ 8
Sample dashboard and report ........................................................................................................................... 9

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

1

21-02-2014
Summary
This document presents a high-level overview about the WebSpectator services and integration API to
provide the necessary means for clients and third-parties data consuming.
WebSpectator offers a consistent, reliable and scalable integration infrastructure, so real-time and
reporting data can easily be consumed by any authorized user, despite of the location or the device he is
accessing from.

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

2

21-02-2014
Overview
The figure below shows the overall picture of the WebSpectator, differentiating how real-time and other
type of data can be consumed from the system.

WebSites

BackOffice

Others

Consume real-time data
(dashboards)

ORTC

Consume
reporting data

Integration services

Internal services and
data processing

Data storage
(business data, real-time data,
reports data)

All the data collected from WebSpectator powered applications is processed, aggregated and stored in
databases, using both on-disk and in-memory approaches to persist historically data, as long as offering a
fast access to most recent available data.
Real-time data, typically for dashboards, is queried and consumed using a third-party component called
ORTC, a real-time infrastructure used to accomplish bidirectional communication between WebSpectator
servers and clients, based on a publish/subscribe pattern, providing integration API for several well-known
languages (.Net, Java, Android, iOS, etc.).WebSpectator BackOffice, for example, feeds dashboards realtime data using JavaScript API, sending and receiving JSON messages.
Other type of logged data, used for reports and graphics, can be accessed via WebSpectator Integration
Services, a HTTP based services layer replying with JSON formatted responses.

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

3

21-02-2014
API Samples
The following sections show examples of using each one of the integration API.

Real-time
Prior to present samples on using this API, it is important to explain how authenticationis done and
messages are sent and received in ORTC system.
Each application is given a unique key used to identify it in the ORTC services and to get an authentication
token. The application key and token are then used toconnect the client to the server and authorize each
request. Real-time messages from the server are received in the client subscribing to channels, using
asynchronous callbacks to process each response.
Once the connection is successfully established, client subscribes to real-time channels, sending a message
signaling WebSpectator it wants to be notified on a period basis about certain types of data. Such a request
is sent using aJSON message, with the following structure:
Request
Property
queryName

Description
Real time query to execute and to retrieve data back to client.

action

Action to be performed for the specified query. Client sends a
start message to begin accepting data messages from server.
When no more data is intended to be received (e.g. the user
leaves the page or the application), client sends a stop message.
The identifier of the application client wants to monitor.
The identifier of the entity being queried.
A session identifier generated by the client.
Frequency (seconds) the query will be executed with and data
returned to the client processing callback.
Number of minutes client wants data grouped by (granularity).
Timespan in hours data will be fetched until now, i.e. get data
from the last specified number of hours.

applicationId
entityId
clientId
interval
dataResolution
hours

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

4

Sample values
ApplicationRTDataQuery
AdUnitRTDataQuery
TopZonesForApplicationRTDataQuery
OrderLineRTDataQuery
start | stop

Integer > 0
Integer > 0
String
Integer > 0
Integer >= 0; if 0, no grouping occurs
Integer > 0

21-02-2014
Get application data
Thissample requests application real-time data within the last 24 hours at a 1 second rate.
Request
{
"queryName": “ApplicationRTDataQuery”,
"action": “start”,
"applicationId": “1”,
“entityId”: “1”,
"clientId": “e4r6”,
"interval": 1,
"dataResolution": 0,
"hours": 24
}

Response
{
"identifier":
{
"queryName": "ApplicationRTDataQuery",
"queryInstanceId": 1581393908,
"entityId": 1,
"resolution": 0,
"fromDate": "2014-01-17 17:00:10"
}
"data":
{
"gtsImpressions": 49556,
"activeDuration": 312388.71161436767,
"outOfFocusClosedSessionsDuration": 2670455.4712917875,
"idleDuration": 2381.779970418662,
"traditionalImpressions": 55252,
"engagedUsers": 302,
"potentialSecondPrintGts": 0,
"totalUsers": 2357,
"weeklyVisitors": 268,
"totalUsersMax": 9108,
"idleUsers": 5,
"avgActiveTimeOnApp": 25.189255281403234,
"engagedClosedSessionsDuration": 494618.11867029744,
"closedSessions": 11246,
"totalDuration": 3745416.2629115265,
"monthlyVisitors": 261,
"iabImpressions": 24409,
"totalUsersMin": 1,
"engagedDuration": 562539.3290029807,
"avgTotalTimeOnApp": 306.8555737885075,
"dailyVisitors": 268,
"avgIdleTimeOnApp": 0.2263763088039973,
"activeUsersMin": 0,
"potentialContinuousGts": 0,
"outOfFocusUsersMax": 5925,
"idleUsersMax": 77,
"engagedUsersMin": 0,
"outOfFocusUsersMin": 0,
"engagedUsersMax": 368,
"potentialGts": 0,
"idleUsersMin": 0,
"activeUsers": 677,
"totalClosedSessionsDuration": 3450897.7828255557,
"idleClosedSessionsDuration": 2545.8279688097537,
"outOfFocusDuration": 2868106.44232376,
"activeClosedSessionsDuration": 283278.3648946608,
"avgEngagedTimeOnApp": 43.98169292817868,
"activeUsersMax": 3138,
"outOfFocusUsers": 1373,
"pageviews": 436,
"avgOutOfFocusTimeOnApp": 237.4582492701216,
"anonymousPageviews": 0
},
}

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

5

21-02-2014
Get campaign data
This sample requests campaign real-time data within the last 24 hours at a 1 second rate.
Request
{
"queryName": “OrderLineRTDataQuery”,
"action": “start”,
"applicationId": “1”,
“entityId”: “123”,
"clientId": “e4r6”,
"interval": 1,
"dataResolution": 0,
"hours": 24
}

Response
{
"identifier":
{
"queryName": "OrderLineRTDataQuery",
"queryInstanceId": 1581454523,
"entityId": 123,
"resolution": 0,
"fromDate": "2014-01-17 17:00:10"
}
"data":
{
"gtsImpressions": 49556,
"activeDuration": 312388.71161436767,
"outOfFocusClosedSessionsDuration": 2670455.4712917875,
"idleDuration": 2381.779970418662,
"traditionalImpressions": 55252,
"engagedUsers": 302,
"potentialSecondPrintGts": 0,
"totalUsers": 2357,
"weeklyVisitors": 268,
"totalUsersMax": 9108,
"idleUsers": 5,
"avgActiveTimeOnApp": 25.189255281403234,
"engagedClosedSessionsDuration": 494618.11867029744,
"closedSessions": 11246,
"totalDuration": 3745416.2629115265,
"monthlyVisitors": 261,
"iabImpressions": 24409,
"totalUsersMin": 1,
"engagedDuration": 562539.3290029807,
"avgTotalTimeOnApp": 306.8555737885075,
"dailyVisitors": 268,
"avgIdleTimeOnApp": 0.2263763088039973,
"activeUsersMin": 0,
"potentialContinuousGts": 0,
"outOfFocusUsersMax": 5925,
"idleUsersMax": 77,
"engagedUsersMin": 0,
"outOfFocusUsersMin": 0,
"engagedUsersMax": 368,
"potentialGts": 0,
"idleUsersMin": 0,
"activeUsers": 677,
"totalClosedSessionsDuration": 3450897.7828255557,
"idleClosedSessionsDuration": 2545.8279688097537,
"outOfFocusDuration": 2868106.44232376,
"activeClosedSessionsDuration": 283278.3648946608,
"avgEngagedTimeOnApp": 43.98169292817868,
"activeUsersMax": 3138,
"outOfFocusUsers": 1373,
"pageviews": 436,
"avgOutOfFocusTimeOnApp": 237.4582492701216,
"anonymousPageviews": 0
},
}

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

6

21-02-2014
Integration services
All the available services included in this API accept as the first required parameter the account private key
associated with each publisher. This key is validated and processed by the WebSpectator servers to
authenticate and ensure authorized access to the requested information.
Invalid authentication or unauthorized access result in an error being returned, as also invalid parameters
specification (for example, inexistent website or start date greater than end date).

Auto-monetizer report by date
Arguments
Key – Account private key
DateStart – Report interval start date in the format “yyyy-MM-dd”, example: 2013-12-24
DateEnd – Report interval end date in the format “yyyy-MM-dd”, example: 2013-12-31
Websites – Optional argument, list of websites public keys separated by comma
Request
http://wsp.webspectator.com/PublicServices/GetAutoMonetizerReportByDate?key=[accountkey]&
dateStart=[yyyy-mm-dd]&dateEnd=[yyyy-mm-dd]&websites=[websites-public-key]

Response
{
"result": [
{
"date": "2013-12-29",
"revenue": 106.505,
"click": 890,
"print": 98155,
"ctr": 0.907,
"ecpm": 1.085
},
{
"date": "2013-12-30",
"revenue": 127.86,
"click": 1151,
"print": 120025,
"ctr": 0.959,
"ecpm": 1.065
}
],
"total": {
"revenue": 234.365,
"click": 2041,
"print": 218180,
"ctr": 0.935,
"ecpm": 1.074
}
}

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

7

21-02-2014
Auto-monetizer report by website
Arguments
Key – Account private key
DateStart – Report interval start date in the format “yyyy-MM-dd”, example: 2013-12-24
DateEnd – Report interval end date in the format “yyyy-MM-dd”, example: 2013-12-31
Websites – Optional argument, list of websites public keys separated by comma
Request
http://wsp.webspectator.com/PublicServices/GetAutoMonetizerReportByWebsite?key=[accountke
y]&dateStart=[yyyy-mm-dd]&dateEnd=[yyyy-mm-dd]&websites=[websites-public-key]

Response
{
"result": [
{
"website": "xpto.org",
"revenue": 30.54,
"click": 317,
"print": 21177,
"ctr": 1.497,
"ecpm": 1.442
},
{
"website": "example.com",
"revenue": 13.47,
"click": 75,
"print": 13713,
"ctr": 0.547,
"ecpm": 0.982
}
],
"total": {
"revenue": 44.01,
"click": 392,
"print": 34890,
"ctr": 1.124,
"ecpm": 1.261
}
}

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

8

21-02-2014
Sample dashboard and report
The figures show examples of how real-time and reporting data can be organized to present a complete
overview about an application or campaign.

WSP v2.0 –Integration Services Overview
Ref:#WS- 201401RF-NP

9

21-02-2014

Contenu connexe

En vedette

2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"
2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"
2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"Robert Rodenbaugh
 
WebSpectator - Time as a measurement
WebSpectator - Time as a measurementWebSpectator - Time as a measurement
WebSpectator - Time as a measurementDavid Facter
 
Milieuprestatie Bouwbesluit 2012
Milieuprestatie Bouwbesluit 2012Milieuprestatie Bouwbesluit 2012
Milieuprestatie Bouwbesluit 2012gijrath
 
Arpita mehta mphil(0930006)
Arpita mehta mphil(0930006)Arpita mehta mphil(0930006)
Arpita mehta mphil(0930006)Ravi Prakash
 
Web spectator time as a measurement
Web spectator   time as a measurementWeb spectator   time as a measurement
Web spectator time as a measurementDavid Facter
 

En vedette (17)

2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"
2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"
2013 Presidents' Forum of St. Louis "The Future of Knowledge Work"
 
Best examples of reputation management: international experience
Best examples of reputation management: international experienceBest examples of reputation management: international experience
Best examples of reputation management: international experience
 
Reasons and Emotions that Guide Stakeholder´s Decisions and Have an Impact on...
Reasons and Emotions that Guide Stakeholder´s Decisions and Have an Impact on...Reasons and Emotions that Guide Stakeholder´s Decisions and Have an Impact on...
Reasons and Emotions that Guide Stakeholder´s Decisions and Have an Impact on...
 
Economic Update Boston 2011
Economic Update Boston 2011Economic Update Boston 2011
Economic Update Boston 2011
 
Executive summary global issues 2014
Executive summary   global issues 2014Executive summary   global issues 2014
Executive summary global issues 2014
 
From Corporate Brand to Company Brand: Authenticity, Transparency and Origin
From Corporate Brand to Company Brand: Authenticity, Transparency and OriginFrom Corporate Brand to Company Brand: Authenticity, Transparency and Origin
From Corporate Brand to Company Brand: Authenticity, Transparency and Origin
 
New Horizons and prospects in strategic management of Corporate Reputation
New Horizons and prospects in strategic management of Corporate ReputationNew Horizons and prospects in strategic management of Corporate Reputation
New Horizons and prospects in strategic management of Corporate Reputation
 
Becoming a citizen brands
Becoming a citizen brandsBecoming a citizen brands
Becoming a citizen brands
 
A quality analysis of relationships within the field of PR
A quality analysis of relationships within the field of PRA quality analysis of relationships within the field of PR
A quality analysis of relationships within the field of PR
 
Making sense of business
Making sense of businessMaking sense of business
Making sense of business
 
WebSpectator - Time as a measurement
WebSpectator - Time as a measurementWebSpectator - Time as a measurement
WebSpectator - Time as a measurement
 
Lincoln
LincolnLincoln
Lincoln
 
David jacobs
David jacobsDavid jacobs
David jacobs
 
Milieuprestatie Bouwbesluit 2012
Milieuprestatie Bouwbesluit 2012Milieuprestatie Bouwbesluit 2012
Milieuprestatie Bouwbesluit 2012
 
Arpita mehta mphil(0930006)
Arpita mehta mphil(0930006)Arpita mehta mphil(0930006)
Arpita mehta mphil(0930006)
 
Web spectator time as a measurement
Web spectator   time as a measurementWeb spectator   time as a measurement
Web spectator time as a measurement
 
Replikacija u bazama podataka
Replikacija u bazama podatakaReplikacija u bazama podataka
Replikacija u bazama podataka
 

Similaire à Integration Overview

Salesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic EventsSalesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic EventsDhanik Sahni
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)David McCarter
 
Supporting Enterprise System Rollouts with Splunk
Supporting Enterprise System Rollouts with SplunkSupporting Enterprise System Rollouts with Splunk
Supporting Enterprise System Rollouts with SplunkErin Sweeney
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)David McCarter
 
Elewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte
 
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...HostedbyConfluent
 
How build scalable IoT cloud applications with microservices
How build scalable IoT cloud applications with microservicesHow build scalable IoT cloud applications with microservices
How build scalable IoT cloud applications with microservicesDave Chen
 
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...MSDEVMTL
 
SharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelSharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelG. Scott Singleton
 
AWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel AvivAWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel AvivAmazon Web Services
 
Inter process communication
Inter process communicationInter process communication
Inter process communicationTamer Rezk
 
Topic2 Understanding Middleware
Topic2 Understanding MiddlewareTopic2 Understanding Middleware
Topic2 Understanding Middlewaresanjoysanyal
 
2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_iocPierre Souchay
 
Building a web application with ontinuation monads
Building a web application with ontinuation monadsBuilding a web application with ontinuation monads
Building a web application with ontinuation monadsSeitaro Yuuki
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & AzureSam Basu
 
4Developers: Time series databases
4Developers: Time series databases4Developers: Time series databases
4Developers: Time series databasesPROIDEA
 
Project Business Case and Capital Justification for Implementation of Applica...
Project Business Case and Capital Justification for Implementation of Applica...Project Business Case and Capital Justification for Implementation of Applica...
Project Business Case and Capital Justification for Implementation of Applica...Duane Bodle
 

Similaire à Integration Overview (20)

Salesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic EventsSalesforce Streaming event - PushTopic and Generic Events
Salesforce Streaming event - PushTopic and Generic Events
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)
 
Supporting Enterprise System Rollouts with Splunk
Supporting Enterprise System Rollouts with SplunkSupporting Enterprise System Rollouts with Splunk
Supporting Enterprise System Rollouts with Splunk
 
Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)Building nTier Applications with Entity Framework Services (Part 2)
Building nTier Applications with Entity Framework Services (Part 2)
 
Elewayte Cloud Computing Advancements
Elewayte Cloud Computing AdvancementsElewayte Cloud Computing Advancements
Elewayte Cloud Computing Advancements
 
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...A Practical Deep Dive into Observability of Streaming Applications with Kosta...
A Practical Deep Dive into Observability of Streaming Applications with Kosta...
 
How build scalable IoT cloud applications with microservices
How build scalable IoT cloud applications with microservicesHow build scalable IoT cloud applications with microservices
How build scalable IoT cloud applications with microservices
 
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
Stephane Lapointe, Frank Boucher & Alexandre Brisebois: Les micro-services et...
 
SharePoint 2010 Client Object Model
SharePoint 2010 Client Object ModelSharePoint 2010 Client Object Model
SharePoint 2010 Client Object Model
 
AWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel AvivAWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel Aviv
 
Inter process communication
Inter process communicationInter process communication
Inter process communication
 
Topic2 Understanding Middleware
Topic2 Understanding MiddlewareTopic2 Understanding Middleware
Topic2 Understanding Middleware
 
No Refresh Needed
No Refresh NeededNo Refresh Needed
No Refresh Needed
 
2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc2019 hashiconf seattle_consul_ioc
2019 hashiconf seattle_consul_ioc
 
Building a web application with ontinuation monads
Building a web application with ontinuation monadsBuilding a web application with ontinuation monads
Building a web application with ontinuation monads
 
WP7 & Azure
WP7 & AzureWP7 & Azure
WP7 & Azure
 
senior software developer .net
senior software developer .netsenior software developer .net
senior software developer .net
 
Time series databases
Time series databasesTime series databases
Time series databases
 
4Developers: Time series databases
4Developers: Time series databases4Developers: Time series databases
4Developers: Time series databases
 
Project Business Case and Capital Justification for Implementation of Applica...
Project Business Case and Capital Justification for Implementation of Applica...Project Business Case and Capital Justification for Implementation of Applica...
Project Business Case and Capital Justification for Implementation of Applica...
 

Dernier

reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfreStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfKen Fuller
 
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen DatingDubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Datingkojalkojal131
 
Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Masuk Ahmed
 
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubai
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur DubaiBur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubai
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubaiparisharma5056
 
CFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceCFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceSanjay Bokadia
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubaikojalkojal131
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Pooja Nehwal
 
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...Call Girls in Nagpur High Profile
 
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...robinsonayot
 
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdfssuserded2d4
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...amitlee9823
 
Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''Lauren Prophet-Bryant
 
Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.GabrielaMiletti
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big BoodyDubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boodykojalkojal131
 
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineBruce Bennett
 
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳anilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceanilsa9823
 

Dernier (20)

reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdfreStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
reStartEvents 5:9 DC metro & Beyond V-Career Fair Employer Directory.pdf
 
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen DatingDubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
Dubai Call Girls Starlet O525547819 Call Girls Dubai Showen Dating
 
Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..Presentation on Workplace Politics.ppt..
Presentation on Workplace Politics.ppt..
 
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubai
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur DubaiBur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubai
Bur Dubai Call Girl Service #$# O56521286O Call Girls In Bur Dubai
 
CFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector ExperienceCFO_SB_Career History_Multi Sector Experience
CFO_SB_Career History_Multi Sector Experience
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
 
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...Booking open Available Pune Call Girls Ambegaon Khurd  6297143586 Call Hot In...
Booking open Available Pune Call Girls Ambegaon Khurd 6297143586 Call Hot In...
 
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...
TEST BANK For Evidence-Based Practice for Nurses Appraisal and Application of...
 
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf0425-GDSC-TMU.pdf
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''
 
Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big BoodyDubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
Dubai Call Girls Demons O525547819 Call Girls IN DUbai Natural Big Boody
 
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Bidadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
 

Integration Overview

  • 1. WebSpectator for Publishers IntegrationServices Overview USA (HQ) 100 Wilshire Blvd Santa Monica CA, 90401 United States Phone: (+1) 310 566 0340 Brazil Avenida das Nações Unidas, 11.541, 14º Andar 04578-907 São Paulo Phone: (+55) 11 5504 3350 United Kingdom 23 Berkeley Square London, W1J 6HE Phone: (+44) 2032 869092 Portugal Rua Fernando Namora, 4 2º Piso A, Ed. Metropolitan Business Center 2675-487 Odivelas Phone: (+351) 21 934 03 22
  • 2. Contents Summary............................................................................................................................................................ 2 Overview............................................................................................................................................................ 3 API Samples ....................................................................................................................................................... 4 Real-time ....................................................................................................................................................... 4 Get application data .................................................................................................................................. 5 Get campaign data .................................................................................................................................... 6 Integration services ....................................................................................................................................... 7 Auto-monetizer report by date ................................................................................................................. 7 Auto-monetizer report by website ............................................................................................................ 8 Sample dashboard and report ........................................................................................................................... 9 WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 1 21-02-2014
  • 3. Summary This document presents a high-level overview about the WebSpectator services and integration API to provide the necessary means for clients and third-parties data consuming. WebSpectator offers a consistent, reliable and scalable integration infrastructure, so real-time and reporting data can easily be consumed by any authorized user, despite of the location or the device he is accessing from. WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 2 21-02-2014
  • 4. Overview The figure below shows the overall picture of the WebSpectator, differentiating how real-time and other type of data can be consumed from the system. WebSites BackOffice Others Consume real-time data (dashboards) ORTC Consume reporting data Integration services Internal services and data processing Data storage (business data, real-time data, reports data) All the data collected from WebSpectator powered applications is processed, aggregated and stored in databases, using both on-disk and in-memory approaches to persist historically data, as long as offering a fast access to most recent available data. Real-time data, typically for dashboards, is queried and consumed using a third-party component called ORTC, a real-time infrastructure used to accomplish bidirectional communication between WebSpectator servers and clients, based on a publish/subscribe pattern, providing integration API for several well-known languages (.Net, Java, Android, iOS, etc.).WebSpectator BackOffice, for example, feeds dashboards realtime data using JavaScript API, sending and receiving JSON messages. Other type of logged data, used for reports and graphics, can be accessed via WebSpectator Integration Services, a HTTP based services layer replying with JSON formatted responses. WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 3 21-02-2014
  • 5. API Samples The following sections show examples of using each one of the integration API. Real-time Prior to present samples on using this API, it is important to explain how authenticationis done and messages are sent and received in ORTC system. Each application is given a unique key used to identify it in the ORTC services and to get an authentication token. The application key and token are then used toconnect the client to the server and authorize each request. Real-time messages from the server are received in the client subscribing to channels, using asynchronous callbacks to process each response. Once the connection is successfully established, client subscribes to real-time channels, sending a message signaling WebSpectator it wants to be notified on a period basis about certain types of data. Such a request is sent using aJSON message, with the following structure: Request Property queryName Description Real time query to execute and to retrieve data back to client. action Action to be performed for the specified query. Client sends a start message to begin accepting data messages from server. When no more data is intended to be received (e.g. the user leaves the page or the application), client sends a stop message. The identifier of the application client wants to monitor. The identifier of the entity being queried. A session identifier generated by the client. Frequency (seconds) the query will be executed with and data returned to the client processing callback. Number of minutes client wants data grouped by (granularity). Timespan in hours data will be fetched until now, i.e. get data from the last specified number of hours. applicationId entityId clientId interval dataResolution hours WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 4 Sample values ApplicationRTDataQuery AdUnitRTDataQuery TopZonesForApplicationRTDataQuery OrderLineRTDataQuery start | stop Integer > 0 Integer > 0 String Integer > 0 Integer >= 0; if 0, no grouping occurs Integer > 0 21-02-2014
  • 6. Get application data Thissample requests application real-time data within the last 24 hours at a 1 second rate. Request { "queryName": “ApplicationRTDataQuery”, "action": “start”, "applicationId": “1”, “entityId”: “1”, "clientId": “e4r6”, "interval": 1, "dataResolution": 0, "hours": 24 } Response { "identifier": { "queryName": "ApplicationRTDataQuery", "queryInstanceId": 1581393908, "entityId": 1, "resolution": 0, "fromDate": "2014-01-17 17:00:10" } "data": { "gtsImpressions": 49556, "activeDuration": 312388.71161436767, "outOfFocusClosedSessionsDuration": 2670455.4712917875, "idleDuration": 2381.779970418662, "traditionalImpressions": 55252, "engagedUsers": 302, "potentialSecondPrintGts": 0, "totalUsers": 2357, "weeklyVisitors": 268, "totalUsersMax": 9108, "idleUsers": 5, "avgActiveTimeOnApp": 25.189255281403234, "engagedClosedSessionsDuration": 494618.11867029744, "closedSessions": 11246, "totalDuration": 3745416.2629115265, "monthlyVisitors": 261, "iabImpressions": 24409, "totalUsersMin": 1, "engagedDuration": 562539.3290029807, "avgTotalTimeOnApp": 306.8555737885075, "dailyVisitors": 268, "avgIdleTimeOnApp": 0.2263763088039973, "activeUsersMin": 0, "potentialContinuousGts": 0, "outOfFocusUsersMax": 5925, "idleUsersMax": 77, "engagedUsersMin": 0, "outOfFocusUsersMin": 0, "engagedUsersMax": 368, "potentialGts": 0, "idleUsersMin": 0, "activeUsers": 677, "totalClosedSessionsDuration": 3450897.7828255557, "idleClosedSessionsDuration": 2545.8279688097537, "outOfFocusDuration": 2868106.44232376, "activeClosedSessionsDuration": 283278.3648946608, "avgEngagedTimeOnApp": 43.98169292817868, "activeUsersMax": 3138, "outOfFocusUsers": 1373, "pageviews": 436, "avgOutOfFocusTimeOnApp": 237.4582492701216, "anonymousPageviews": 0 }, } WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 5 21-02-2014
  • 7. Get campaign data This sample requests campaign real-time data within the last 24 hours at a 1 second rate. Request { "queryName": “OrderLineRTDataQuery”, "action": “start”, "applicationId": “1”, “entityId”: “123”, "clientId": “e4r6”, "interval": 1, "dataResolution": 0, "hours": 24 } Response { "identifier": { "queryName": "OrderLineRTDataQuery", "queryInstanceId": 1581454523, "entityId": 123, "resolution": 0, "fromDate": "2014-01-17 17:00:10" } "data": { "gtsImpressions": 49556, "activeDuration": 312388.71161436767, "outOfFocusClosedSessionsDuration": 2670455.4712917875, "idleDuration": 2381.779970418662, "traditionalImpressions": 55252, "engagedUsers": 302, "potentialSecondPrintGts": 0, "totalUsers": 2357, "weeklyVisitors": 268, "totalUsersMax": 9108, "idleUsers": 5, "avgActiveTimeOnApp": 25.189255281403234, "engagedClosedSessionsDuration": 494618.11867029744, "closedSessions": 11246, "totalDuration": 3745416.2629115265, "monthlyVisitors": 261, "iabImpressions": 24409, "totalUsersMin": 1, "engagedDuration": 562539.3290029807, "avgTotalTimeOnApp": 306.8555737885075, "dailyVisitors": 268, "avgIdleTimeOnApp": 0.2263763088039973, "activeUsersMin": 0, "potentialContinuousGts": 0, "outOfFocusUsersMax": 5925, "idleUsersMax": 77, "engagedUsersMin": 0, "outOfFocusUsersMin": 0, "engagedUsersMax": 368, "potentialGts": 0, "idleUsersMin": 0, "activeUsers": 677, "totalClosedSessionsDuration": 3450897.7828255557, "idleClosedSessionsDuration": 2545.8279688097537, "outOfFocusDuration": 2868106.44232376, "activeClosedSessionsDuration": 283278.3648946608, "avgEngagedTimeOnApp": 43.98169292817868, "activeUsersMax": 3138, "outOfFocusUsers": 1373, "pageviews": 436, "avgOutOfFocusTimeOnApp": 237.4582492701216, "anonymousPageviews": 0 }, } WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 6 21-02-2014
  • 8. Integration services All the available services included in this API accept as the first required parameter the account private key associated with each publisher. This key is validated and processed by the WebSpectator servers to authenticate and ensure authorized access to the requested information. Invalid authentication or unauthorized access result in an error being returned, as also invalid parameters specification (for example, inexistent website or start date greater than end date). Auto-monetizer report by date Arguments Key – Account private key DateStart – Report interval start date in the format “yyyy-MM-dd”, example: 2013-12-24 DateEnd – Report interval end date in the format “yyyy-MM-dd”, example: 2013-12-31 Websites – Optional argument, list of websites public keys separated by comma Request http://wsp.webspectator.com/PublicServices/GetAutoMonetizerReportByDate?key=[accountkey]& dateStart=[yyyy-mm-dd]&dateEnd=[yyyy-mm-dd]&websites=[websites-public-key] Response { "result": [ { "date": "2013-12-29", "revenue": 106.505, "click": 890, "print": 98155, "ctr": 0.907, "ecpm": 1.085 }, { "date": "2013-12-30", "revenue": 127.86, "click": 1151, "print": 120025, "ctr": 0.959, "ecpm": 1.065 } ], "total": { "revenue": 234.365, "click": 2041, "print": 218180, "ctr": 0.935, "ecpm": 1.074 } } WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 7 21-02-2014
  • 9. Auto-monetizer report by website Arguments Key – Account private key DateStart – Report interval start date in the format “yyyy-MM-dd”, example: 2013-12-24 DateEnd – Report interval end date in the format “yyyy-MM-dd”, example: 2013-12-31 Websites – Optional argument, list of websites public keys separated by comma Request http://wsp.webspectator.com/PublicServices/GetAutoMonetizerReportByWebsite?key=[accountke y]&dateStart=[yyyy-mm-dd]&dateEnd=[yyyy-mm-dd]&websites=[websites-public-key] Response { "result": [ { "website": "xpto.org", "revenue": 30.54, "click": 317, "print": 21177, "ctr": 1.497, "ecpm": 1.442 }, { "website": "example.com", "revenue": 13.47, "click": 75, "print": 13713, "ctr": 0.547, "ecpm": 0.982 } ], "total": { "revenue": 44.01, "click": 392, "print": 34890, "ctr": 1.124, "ecpm": 1.261 } } WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 8 21-02-2014
  • 10. Sample dashboard and report The figures show examples of how real-time and reporting data can be organized to present a complete overview about an application or campaign. WSP v2.0 –Integration Services Overview Ref:#WS- 201401RF-NP 9 21-02-2014