enqueueCampaignPrototypeForecasttop
Description
int enqueueCampaignPrototypeForecast(CampaignPrototypeForecastSettings $campaign_prototype_forecast_settings)
Parameters
CampaignPrototypeForecastSettings | $campaign_prototype_forecast_settings |
Return Values
int | Forecast ID |
Faults
getForecastResulttop
Description
ForecastResult getForecastResult(int $forecast_id)
Parameters
int | $forecast_id |
Return Values
ForecastResult |
getWaitTimeInMStop
Description
Returns:
- 0 - forecast is finished; the result can be fetched via getForecastResult().
- > 0 - forecast is not finished; please wait the given number of milliseconds before checking again.
Throws for forecast generation error or checking the status of a non-queued forecast.
int getWaitTimeInMS(int $forecast_id)
Parameters
int | $forecast_id |
Return Values
int |
logintop
Description
Initializes a new session with given information
boolean login(string $user, string $pass, int $network)
Parameters
string | $user | Username |
string | $pass | Password |
int | $network | $network Network ID |
Return Values
boolean | true on success, false on fail |
logouttop
Description
Destroys the active session, logging out the user.
boolean logout()
Return Values
boolean | true on success, false on fail |
BrowserFiltertop
Definition
CampaignPrototypeForecastSettingstop
Definition
- - string $reportName
-
optional
- - string $startDate
-
required
Y-m-d format
- - string $endDate
-
required
Y-m-d format
- - int $campaignPriority
-
required
- - Array <ForecastFilter> $filters
-
optional
- - Array <int> $inventoriedFilterIds
-
optional
CappingFiltertop
Definition
- - int $requests
-
required
- - int $time
-
required
Seconds
ChannelFiltertop
Definition
CityFiltertop
Definition
CompetitiveExclusionFiltertop
Definition
- - Array <int> $competitiveSegmentIds
-
required
ContentunitFiltertop
Definition
CountryFiltertop
Definition
ForecastCompetingCampaignEntrytop
Definition
- - string $campaignId
-
required
- - string $inventory
-
required
ForecastDailyResultEntrytop
Definition
- - string $date
-
required
- - int $unavailable_inventory
-
required
- - int $available_inventory
-
required
- - int $total_inventory
-
required
ForecastFiltertop
Definition
Inheriting types:
- BrowserFilter
- CappingFilter
- MultiDeviceFrequencyCappingFilter
- ChannelFilter
- CityFilter
- CompetitiveExclusionFilter
- ContentunitFilter
- CountryFilter
- LearningTagFilter
- OperatingSystemFilter
- ProfileFilter
- ResolutionFilter
- ScheduleFilter
- StateFilter
- TagFilter
ForecastResulttop
Definition
- - ForecastSummaryEntry $summaryEntry
-
required
- - Array <ForecastDailyResultEntry> $dailyResultEntries
-
optional
- - Array <ForecastCompetingCampaignEntry> $competingCampaignEntries
-
optional
ForecastSummaryEntrytop
Definition
- - int $totalCapacity
-
required
- - int $unavailable
-
required
- - int $available
-
required
LearningTagFiltertop
Definition
MultiDeviceFrequencyCappingFiltertop
Definition
- - int $requests
-
required
- - int $time
-
required
Seconds
- - int $graphId
-
optional
OperatingSystemFiltertop
ProfileFiltertop
Definition
ResolutionFiltertop
Definition
ScheduleFiltertop
Definition
StateFiltertop
Definition
TagFiltertop
Definition
ValidationErrorMessagetop
Definition
- - string $identifier
-
required
- - Array <string> $messages
-
required
ValidationErrorMessageListtop
Definition
WeekScheduletop
Definition
Schedule for the week. Hours can be defined per day.
Values in 24-hour format without leading zeros. 0 through 23.
- - Array <int> $mon
-
optional
Hours for monday.
- - Array <int> $tue
-
optional
Hours for tuesday.
- - Array <int> $wed
-
optional
Hours for wednesday.
- - Array <int> $thu
-
optional
Hours for thursday.
- - Array <int> $fri
-
optional
Hours for friday.
- - Array <int> $sat
-
optional
Hours for saturday.
- - Array <int> $sun
-
optional
Hours for sunday.