|
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 FlexibleTargetingFields extends AbstractEnum { |
|
39
|
|
|
|
|
40
|
|
|
const BEHAVIORS = 'behaviors'; |
|
41
|
|
|
const COLLEGE_YEARS = 'college_years'; |
|
42
|
|
|
const CONNECTIONS = 'connections'; |
|
43
|
|
|
const CUSTOM_AUDIENCES = 'custom_audiences'; |
|
44
|
|
|
const EDUCATION_MAJORS = 'education_majors'; |
|
45
|
|
|
const EDUCATION_SCHOOLS = 'education_schools'; |
|
46
|
|
|
const EDUCATION_STATUSES = 'education_statuses'; |
|
47
|
|
|
const ETHNIC_AFFINITY = 'ethnic_affinity'; |
|
48
|
|
|
const FAMILY_STATUSES = 'family_statuses'; |
|
49
|
|
|
const FRIENDS_OF_CONNECTIONS = 'friends_of_connections'; |
|
50
|
|
|
const GENERATION = 'generation'; |
|
51
|
|
|
const HOME_OWNERSHIP = 'home_ownership'; |
|
52
|
|
|
const HOME_TYPE = 'home_type'; |
|
53
|
|
|
const HOME_VALUE = 'home_value'; |
|
54
|
|
|
const HOUSEHOLD_COMPOSITION = 'household_composition'; |
|
55
|
|
|
const INCOME = 'income'; |
|
56
|
|
|
const INDUSTRIES = 'industries'; |
|
57
|
|
|
const INTERESTED_IN = 'interested_in'; |
|
58
|
|
|
const INTERESTS = 'interests'; |
|
59
|
|
|
const LIFE_EVENTS = 'life_events'; |
|
60
|
|
|
const MOMS = 'moms'; |
|
61
|
|
|
const NET_WORTH = 'net_worth'; |
|
62
|
|
|
const OFFICE_TYPE = 'office_type'; |
|
63
|
|
|
const POLITICS = 'politics'; |
|
64
|
|
|
const RELATIONSHIP_STATUSES = 'relationship_statuses'; |
|
65
|
|
|
const USER_ADCLUSTERS = 'user_adclusters'; |
|
66
|
|
|
const WORK_EMPLOYERS = 'work_employers'; |
|
67
|
|
|
const WORK_POSITIONS = 'work_positions'; |
|
68
|
|
|
|
|
69
|
|
|
public function getFieldTypes() { |
|
70
|
|
|
return array( |
|
71
|
|
|
'behaviors' => 'list<IDName>', |
|
72
|
|
|
'college_years' => 'list<unsigned int>', |
|
73
|
|
|
'connections' => 'list<IDName>', |
|
74
|
|
|
'custom_audiences' => 'list<IDName>', |
|
75
|
|
|
'education_majors' => 'list<IDName>', |
|
76
|
|
|
'education_schools' => 'list<IDName>', |
|
77
|
|
|
'education_statuses' => 'list<unsigned int>', |
|
78
|
|
|
'ethnic_affinity' => 'list<IDName>', |
|
79
|
|
|
'family_statuses' => 'list<IDName>', |
|
80
|
|
|
'friends_of_connections' => 'list<IDName>', |
|
81
|
|
|
'generation' => 'list<IDName>', |
|
82
|
|
|
'home_ownership' => 'list<IDName>', |
|
83
|
|
|
'home_type' => 'list<IDName>', |
|
84
|
|
|
'home_value' => 'list<IDName>', |
|
85
|
|
|
'household_composition' => 'list<IDName>', |
|
86
|
|
|
'income' => 'list<IDName>', |
|
87
|
|
|
'industries' => 'list<IDName>', |
|
88
|
|
|
'interested_in' => 'list<unsigned int>', |
|
89
|
|
|
'interests' => 'list<IDName>', |
|
90
|
|
|
'life_events' => 'list<IDName>', |
|
91
|
|
|
'moms' => 'list<IDName>', |
|
92
|
|
|
'net_worth' => 'list<IDName>', |
|
93
|
|
|
'office_type' => 'list<IDName>', |
|
94
|
|
|
'politics' => 'list<IDName>', |
|
95
|
|
|
'relationship_statuses' => 'list<unsigned int>', |
|
96
|
|
|
'user_adclusters' => 'list<IDName>', |
|
97
|
|
|
'work_employers' => 'list<IDName>', |
|
98
|
|
|
'work_positions' => 'list<IDName>', |
|
99
|
|
|
); |
|
100
|
|
|
} |
|
101
|
|
|
} |
|
102
|
|
|
|