|
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 AdAccountRoasFields extends AbstractEnum { |
|
39
|
|
|
|
|
40
|
|
|
const ADGROUP_ID = 'adgroup_id'; |
|
41
|
|
|
const ARPU_180D = 'arpu_180d'; |
|
42
|
|
|
const ARPU_1D = 'arpu_1d'; |
|
43
|
|
|
const ARPU_30D = 'arpu_30d'; |
|
44
|
|
|
const ARPU_365D = 'arpu_365d'; |
|
45
|
|
|
const ARPU_3D = 'arpu_3d'; |
|
46
|
|
|
const ARPU_7D = 'arpu_7d'; |
|
47
|
|
|
const ARPU_90D = 'arpu_90d'; |
|
48
|
|
|
const CAMPAIGN_GROUP_ID = 'campaign_group_id'; |
|
49
|
|
|
const CAMPAIGN_ID = 'campaign_id'; |
|
50
|
|
|
const DATE_START = 'date_start'; |
|
51
|
|
|
const DATE_STOP = 'date_stop'; |
|
52
|
|
|
const INSTALLS = 'installs'; |
|
53
|
|
|
const REVENUE = 'revenue'; |
|
54
|
|
|
const REVENUE_180D = 'revenue_180d'; |
|
55
|
|
|
const REVENUE_1D = 'revenue_1d'; |
|
56
|
|
|
const REVENUE_30D = 'revenue_30d'; |
|
57
|
|
|
const REVENUE_365D = 'revenue_365d'; |
|
58
|
|
|
const REVENUE_3D = 'revenue_3d'; |
|
59
|
|
|
const REVENUE_7D = 'revenue_7d'; |
|
60
|
|
|
const REVENUE_90D = 'revenue_90d'; |
|
61
|
|
|
const SPEND = 'spend'; |
|
62
|
|
|
const YIELD_180D = 'yield_180d'; |
|
63
|
|
|
const YIELD_1D = 'yield_1d'; |
|
64
|
|
|
const YIELD_30D = 'yield_30d'; |
|
65
|
|
|
const YIELD_365D = 'yield_365d'; |
|
66
|
|
|
const YIELD_3D = 'yield_3d'; |
|
67
|
|
|
const YIELD_7D = 'yield_7d'; |
|
68
|
|
|
const YIELD_90D = 'yield_90d'; |
|
69
|
|
|
|
|
70
|
|
|
public function getFieldTypes() { |
|
71
|
|
|
return array( |
|
72
|
|
|
'adgroup_id' => 'string', |
|
73
|
|
|
'arpu_180d' => 'float', |
|
74
|
|
|
'arpu_1d' => 'float', |
|
75
|
|
|
'arpu_30d' => 'float', |
|
76
|
|
|
'arpu_365d' => 'float', |
|
77
|
|
|
'arpu_3d' => 'float', |
|
78
|
|
|
'arpu_7d' => 'float', |
|
79
|
|
|
'arpu_90d' => 'float', |
|
80
|
|
|
'campaign_group_id' => 'string', |
|
81
|
|
|
'campaign_id' => 'string', |
|
82
|
|
|
'date_start' => 'string', |
|
83
|
|
|
'date_stop' => 'string', |
|
84
|
|
|
'installs' => 'unsigned int', |
|
85
|
|
|
'revenue' => 'float', |
|
86
|
|
|
'revenue_180d' => 'float', |
|
87
|
|
|
'revenue_1d' => 'float', |
|
88
|
|
|
'revenue_30d' => 'float', |
|
89
|
|
|
'revenue_365d' => 'float', |
|
90
|
|
|
'revenue_3d' => 'float', |
|
91
|
|
|
'revenue_7d' => 'float', |
|
92
|
|
|
'revenue_90d' => 'float', |
|
93
|
|
|
'spend' => 'float', |
|
94
|
|
|
'yield_180d' => 'float', |
|
95
|
|
|
'yield_1d' => 'float', |
|
96
|
|
|
'yield_30d' => 'float', |
|
97
|
|
|
'yield_365d' => 'float', |
|
98
|
|
|
'yield_3d' => 'float', |
|
99
|
|
|
'yield_7d' => 'float', |
|
100
|
|
|
'yield_90d' => 'float', |
|
101
|
|
|
); |
|
102
|
|
|
} |
|
103
|
|
|
} |
|
104
|
|
|
|