1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved. |
4
|
|
|
* |
5
|
|
|
* You are hereby granted a non-exclusive, worldwide, royalty-free license to |
6
|
|
|
* use, copy, modify, and distribute this software in source code or binary |
7
|
|
|
* form for use in connection with the web services and APIs provided by |
8
|
|
|
* Facebook. |
9
|
|
|
* |
10
|
|
|
* As with any software that integrates with the Facebook platform, your use |
11
|
|
|
* of this software is subject to the Facebook Developer Principles and |
12
|
|
|
* Policies [http://developers.facebook.com/policy/]. This copyright notice |
13
|
|
|
* shall be included in all copies or substantial portions of the software. |
14
|
|
|
* |
15
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
16
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
17
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
18
|
|
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
19
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
20
|
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21
|
|
|
* DEALINGS IN THE SOFTWARE. |
22
|
|
|
* |
23
|
|
|
*/ |
24
|
|
|
|
25
|
|
|
namespace FacebookAds\Object\Fields; |
26
|
|
|
|
27
|
|
|
use FacebookAds\Enum\AbstractEnum; |
28
|
|
|
|
29
|
|
|
/** |
30
|
|
|
* This class is auto-genereated. |
31
|
|
|
* |
32
|
|
|
* For any issues or feature requests related to this class, please let us know |
33
|
|
|
* on github and we'll fix in our codegen framework. We'll not be able to accept |
34
|
|
|
* pull request for this class. |
35
|
|
|
* |
36
|
|
|
*/ |
37
|
|
|
|
38
|
|
|
class ReachFrequencyPredictionFields extends AbstractEnum { |
39
|
|
|
|
40
|
|
|
const ACCOUNT_ID = 'account_id'; |
41
|
|
|
const CAMPAIGN_GROUP_ID = 'campaign_group_id'; |
42
|
|
|
const CAMPAIGN_ID = 'campaign_id'; |
43
|
|
|
const CAMPAIGN_TIME_START = 'campaign_time_start'; |
44
|
|
|
const CAMPAIGN_TIME_STOP = 'campaign_time_stop'; |
45
|
|
|
const CURVE_BUDGET_REACH = 'curve_budget_reach'; |
46
|
|
|
const DESTINATION_ID = 'destination_id'; |
47
|
|
|
const EXPIRATION_TIME = 'expiration_time'; |
48
|
|
|
const EXTERNAL_BUDGET = 'external_budget'; |
49
|
|
|
const EXTERNAL_IMPRESSION = 'external_impression'; |
50
|
|
|
const EXTERNAL_MAXIMUM_BUDGET = 'external_maximum_budget'; |
51
|
|
|
const EXTERNAL_MAXIMUM_IMPRESSION = 'external_maximum_impression'; |
52
|
|
|
const EXTERNAL_MAXIMUM_REACH = 'external_maximum_reach'; |
53
|
|
|
const EXTERNAL_MINIMUM_BUDGET = 'external_minimum_budget'; |
54
|
|
|
const EXTERNAL_MINIMUM_IMPRESSION = 'external_minimum_impression'; |
55
|
|
|
const EXTERNAL_MINIMUM_REACH = 'external_minimum_reach'; |
56
|
|
|
const EXTERNAL_REACH = 'external_reach'; |
57
|
|
|
const FREQUENCY_CAP = 'frequency_cap'; |
58
|
|
|
const GRP_DMAS_AUDIENCE_SIZE = 'grp_dmas_audience_size'; |
59
|
|
|
const HOLDOUT_PERCENTAGE = 'holdout_percentage'; |
60
|
|
|
const ID = 'id'; |
61
|
|
|
const INSTAGRAM_DESTINATION_ID = 'instagram_destination_id'; |
62
|
|
|
const INTERVAL_FREQUENCY_CAP_RESET_PERIOD = 'interval_frequency_cap_reset_period'; |
63
|
|
|
const NAME = 'name'; |
64
|
|
|
const PAUSE_PERIODS = 'pause_periods'; |
65
|
|
|
const PREDICTION_MODE = 'prediction_mode'; |
66
|
|
|
const PREDICTION_PROGRESS = 'prediction_progress'; |
67
|
|
|
const RESERVATION_STATUS = 'reservation_status'; |
68
|
|
|
const STATUS = 'status'; |
69
|
|
|
const STORY_EVENT_TYPE = 'story_event_type'; |
70
|
|
|
const TARGET_AUDIENCE_SIZE = 'target_audience_size'; |
71
|
|
|
const TARGET_SPEC = 'target_spec'; |
72
|
|
|
const TIME_CREATED = 'time_created'; |
73
|
|
|
const TIME_UPDATED = 'time_updated'; |
74
|
|
|
const BUDGET = 'budget'; |
75
|
|
|
const DESTINATION_IDS = 'destination_ids'; |
76
|
|
|
const END_TIME = 'end_time'; |
77
|
|
|
const NUM_CURVE_POINTS = 'num_curve_points'; |
78
|
|
|
const OBJECTIVE = 'objective'; |
79
|
|
|
const REACH = 'reach'; |
80
|
|
|
const RF_PREDICTION_ID_TO_SHARE = 'rf_prediction_id_to_share'; |
81
|
|
|
const START_TIME = 'start_time'; |
82
|
|
|
const STOP_TIME = 'stop_time'; |
83
|
|
|
|
84
|
|
|
public function getFieldTypes() { |
85
|
|
|
return array( |
86
|
|
|
'account_id' => 'int', |
87
|
|
|
'campaign_group_id' => 'unsigned int', |
88
|
|
|
'campaign_id' => 'string', |
89
|
|
|
'campaign_time_start' => 'datetime', |
90
|
|
|
'campaign_time_stop' => 'datetime', |
91
|
|
|
'curve_budget_reach' => 'string', |
92
|
|
|
'destination_id' => 'string', |
93
|
|
|
'expiration_time' => 'datetime', |
94
|
|
|
'external_budget' => 'int', |
95
|
|
|
'external_impression' => 'unsigned int', |
96
|
|
|
'external_maximum_budget' => 'int', |
97
|
|
|
'external_maximum_impression' => 'int', |
98
|
|
|
'external_maximum_reach' => 'unsigned int', |
99
|
|
|
'external_minimum_budget' => 'int', |
100
|
|
|
'external_minimum_impression' => 'unsigned int', |
101
|
|
|
'external_minimum_reach' => 'unsigned int', |
102
|
|
|
'external_reach' => 'unsigned int', |
103
|
|
|
'frequency_cap' => 'unsigned int', |
104
|
|
|
'grp_dmas_audience_size' => 'float', |
105
|
|
|
'holdout_percentage' => 'unsigned int', |
106
|
|
|
'id' => 'string', |
107
|
|
|
'instagram_destination_id' => 'string', |
108
|
|
|
'interval_frequency_cap_reset_period' => 'unsigned int', |
109
|
|
|
'name' => 'string', |
110
|
|
|
'pause_periods' => 'string', |
111
|
|
|
'prediction_mode' => 'unsigned int', |
112
|
|
|
'prediction_progress' => 'unsigned int', |
113
|
|
|
'reservation_status' => 'unsigned int', |
114
|
|
|
'status' => 'unsigned int', |
115
|
|
|
'story_event_type' => 'unsigned int', |
116
|
|
|
'target_audience_size' => 'unsigned int', |
117
|
|
|
'target_spec' => 'string', |
118
|
|
|
'time_created' => 'datetime', |
119
|
|
|
'time_updated' => 'datetime', |
120
|
|
|
'budget' => 'unsigned int', |
121
|
|
|
'destination_ids' => 'list<string>', |
122
|
|
|
'end_time' => 'unsigned int', |
123
|
|
|
'num_curve_points' => 'unsigned int', |
124
|
|
|
'objective' => 'string', |
125
|
|
|
'reach' => 'unsigned int', |
126
|
|
|
'rf_prediction_id_to_share' => 'string', |
127
|
|
|
'start_time' => 'unsigned int', |
128
|
|
|
'stop_time' => 'unsigned int', |
129
|
|
|
); |
130
|
|
|
} |
131
|
|
|
} |
132
|
|
|
|