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 AdSetFields extends AbstractEnum { |
39
|
|
|
|
40
|
|
|
const ACCOUNT_ID = 'account_id'; |
41
|
|
|
const ADLABELS = 'adlabels'; |
42
|
|
|
const ADSET_SCHEDULE = 'adset_schedule'; |
43
|
|
|
const BID_AMOUNT = 'bid_amount'; |
44
|
|
|
const BID_INFO = 'bid_info'; |
45
|
|
|
const BILLING_EVENT = 'billing_event'; |
46
|
|
|
const BUDGET_REMAINING = 'budget_remaining'; |
47
|
|
|
const CAMPAIGN = 'campaign'; |
48
|
|
|
const CAMPAIGN_ID = 'campaign_id'; |
49
|
|
|
const CONFIGURED_STATUS = 'configured_status'; |
50
|
|
|
const CREATED_TIME = 'created_time'; |
51
|
|
|
const CREATIVE_SEQUENCE = 'creative_sequence'; |
52
|
|
|
const DAILY_BUDGET = 'daily_budget'; |
53
|
|
|
const EFFECTIVE_STATUS = 'effective_status'; |
54
|
|
|
const END_TIME = 'end_time'; |
55
|
|
|
const FREQUENCY_CAP = 'frequency_cap'; |
56
|
|
|
const FREQUENCY_CAP_RESET_PERIOD = 'frequency_cap_reset_period'; |
57
|
|
|
const FREQUENCY_CONTROL_SPECS = 'frequency_control_specs'; |
58
|
|
|
const ID = 'id'; |
59
|
|
|
const IS_AUTOBID = 'is_autobid'; |
60
|
|
|
const LIFETIME_BUDGET = 'lifetime_budget'; |
61
|
|
|
const LIFETIME_FREQUENCY_CAP = 'lifetime_frequency_cap'; |
62
|
|
|
const LIFETIME_IMPS = 'lifetime_imps'; |
63
|
|
|
const NAME = 'name'; |
64
|
|
|
const OPTIMIZATION_GOAL = 'optimization_goal'; |
65
|
|
|
const PACING_TYPE = 'pacing_type'; |
66
|
|
|
const PROMOTED_OBJECT = 'promoted_object'; |
67
|
|
|
const RECOMMENDATIONS = 'recommendations'; |
68
|
|
|
const RF_PREDICTION_ID = 'rf_prediction_id'; |
69
|
|
|
const RTB_FLAG = 'rtb_flag'; |
70
|
|
|
const START_TIME = 'start_time'; |
71
|
|
|
const STATUS = 'status'; |
72
|
|
|
const TARGETING = 'targeting'; |
73
|
|
|
const UPDATED_TIME = 'updated_time'; |
74
|
|
|
const USE_NEW_APP_CLICK = 'use_new_app_click'; |
75
|
|
|
const DAILY_IMPS = 'daily_imps'; |
76
|
|
|
const EXECUTION_OPTIONS = 'execution_options'; |
77
|
|
|
const REDOWNLOAD = 'redownload'; |
78
|
|
|
|
79
|
|
|
public function getFieldTypes() { |
80
|
|
|
return array( |
81
|
|
|
'account_id' => 'string', |
82
|
|
|
'adlabels' => 'list<AdLabel>', |
83
|
|
|
'adset_schedule' => 'list<DayPart>', |
84
|
|
|
'bid_amount' => 'unsigned int', |
85
|
|
|
'bid_info' => 'map<string, unsigned int>', |
86
|
|
|
'billing_event' => 'BillingEvent', |
87
|
|
|
'budget_remaining' => 'string', |
88
|
|
|
'campaign' => 'Campaign', |
89
|
|
|
'campaign_id' => 'string', |
90
|
|
|
'configured_status' => 'ConfiguredStatus', |
91
|
|
|
'created_time' => 'datetime', |
92
|
|
|
'creative_sequence' => 'list<string>', |
93
|
|
|
'daily_budget' => 'string', |
94
|
|
|
'effective_status' => 'EffectiveStatus', |
95
|
|
|
'end_time' => 'datetime', |
96
|
|
|
'frequency_cap' => 'unsigned int', |
97
|
|
|
'frequency_cap_reset_period' => 'unsigned int', |
98
|
|
|
'frequency_control_specs' => 'list<Object>', |
99
|
|
|
'id' => 'string', |
100
|
|
|
'is_autobid' => 'bool', |
101
|
|
|
'lifetime_budget' => 'string', |
102
|
|
|
'lifetime_frequency_cap' => 'unsigned int', |
103
|
|
|
'lifetime_imps' => 'int', |
104
|
|
|
'name' => 'string', |
105
|
|
|
'optimization_goal' => 'OptimizationGoal', |
106
|
|
|
'pacing_type' => 'list<string>', |
107
|
|
|
'promoted_object' => 'AdPromotedObject', |
108
|
|
|
'recommendations' => 'list<AdRecommendation>', |
109
|
|
|
'rf_prediction_id' => 'string', |
110
|
|
|
'rtb_flag' => 'bool', |
111
|
|
|
'start_time' => 'datetime', |
112
|
|
|
'status' => 'Status', |
113
|
|
|
'targeting' => 'Targeting', |
114
|
|
|
'updated_time' => 'datetime', |
115
|
|
|
'use_new_app_click' => 'bool', |
116
|
|
|
'daily_imps' => 'unsigned int', |
117
|
|
|
'execution_options' => 'ExecutionOptions', |
118
|
|
|
'redownload' => 'bool', |
119
|
|
|
); |
120
|
|
|
} |
121
|
|
|
} |
122
|
|
|
|