Official Facebook Pixel - Version 3.0.4

Version Description

Download this release

Release Info

Developer Facebook
Plugin Icon Official Facebook Pixel
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

Files changed (99) hide show
  1. changelog.txt +4 -0
  2. composer.json +1 -1
  3. composer.lock +9 -6
  4. core/FacebookPluginConfig.php +2 -2
  5. core/FacebookWordpressSettingsPage.php +7 -3
  6. core/FacebookWordpressSettingsRecorder.php +19 -3
  7. facebook-for-wordpress.php +1 -1
  8. languages/official-facebook-pixel-ar_AR.po +1 -1
  9. languages/official-facebook-pixel-cs_CZ.po +1 -1
  10. languages/official-facebook-pixel-da_DK.po +1 -1
  11. languages/official-facebook-pixel-de_DE.po +1 -1
  12. languages/official-facebook-pixel-en_GB.po +1 -1
  13. languages/official-facebook-pixel-es_ES.po +1 -1
  14. languages/official-facebook-pixel-es_LA.po +1 -1
  15. languages/official-facebook-pixel-fi_FI.po +1 -1
  16. languages/official-facebook-pixel-fr_CA.po +1 -1
  17. languages/official-facebook-pixel-fr_FR.po +1 -1
  18. languages/official-facebook-pixel-he_IL.po +1 -1
  19. languages/official-facebook-pixel-it_IT.po +1 -1
  20. languages/official-facebook-pixel-ja_JP.po +1 -1
  21. languages/official-facebook-pixel-ko_KR.po +1 -1
  22. languages/official-facebook-pixel-nb_NO.po +1 -1
  23. languages/official-facebook-pixel-nl_NL.po +1 -1
  24. languages/official-facebook-pixel-pl_PL.po +1 -1
  25. languages/official-facebook-pixel-pt_BR.po +1 -1
  26. languages/official-facebook-pixel-pt_PT.po +1 -1
  27. languages/official-facebook-pixel-ru_RU.po +1 -1
  28. languages/official-facebook-pixel-sv_SE.po +1 -1
  29. languages/official-facebook-pixel-th_TH.po +1 -1
  30. languages/official-facebook-pixel-tr_TR.po +1 -1
  31. languages/official-facebook-pixel-vi_VN.po +1 -1
  32. languages/official-facebook-pixel-zh_CN.po +1 -1
  33. languages/official-facebook-pixel-zh_TW.po +1 -1
  34. readme.txt +6 -1
  35. vendor/autoload.php +1 -1
  36. vendor/composer/autoload_real.php +4 -4
  37. vendor/composer/autoload_static.php +4 -4
  38. vendor/composer/installed.json +10 -7
  39. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php +2 -2
  40. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php +2 -2
  41. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php +2 -2
  42. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php +2 -2
  43. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php +2 -2
  44. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php +2 -2
  45. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php +2 -2
  46. vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php +1 -1
  47. vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php +1 -1
  48. vendor/facebook/php-business-sdk/examples/AdsPixelEventsPostCustom.php +8 -6
  49. vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +1 -1
  50. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +1 -28
  51. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php +0 -34
  52. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +0 -23
  53. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdsPixel.php +23 -0
  54. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AutomotiveModel.php +9 -0
  55. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +91 -0
  56. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUser.php +7 -0
  57. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdAccountRoas.php → ContextualBundlingSpec.php} +4 -4
  58. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountRoasFields.php +0 -103
  59. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php +2 -0
  60. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php +2 -0
  61. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsActionStatsFields.php +4 -0
  62. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php +2 -0
  63. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php +6 -0
  64. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +2 -0
  65. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{ReadOnlyAnalyticsUserPropertyConfigFields.php → ContextualBundlingSpecFields.php} +3 -5
  66. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ImageCopyrightFields.php +75 -0
  67. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Values/GroupSuggestionCategoryValues.php → Fields/PageCommerceEligibilityFields.php} +12 -9
  68. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php +2 -0
  69. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductFeedFields.php +2 -2
  70. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemARDataFields.php +59 -0
  71. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php +2 -2
  72. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +0 -6
  73. vendor/facebook/php-business-sdk/src/FacebookAds/Object/IGUser.php +24 -0
  74. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ImageCopyright.php +136 -0
  75. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +81 -1
  76. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{ReadOnlyAnalyticsUserPropertyConfig.php → PageCommerceEligibility.php} +4 -27
  77. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +37 -2
  78. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductGroup.php +0 -37
  79. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php +0 -30
  80. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItemARData.php +59 -0
  81. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php +1 -1
  82. vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php +49 -1
  83. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedObjectiveValues.php +0 -1
  84. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityBillingEventNewValues.php +2 -0
  85. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityBillingEventOldValues.php +2 -0
  86. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +3 -0
  87. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetBillingEventValues.php +2 -0
  88. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +2 -0
  89. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AutomotiveModelBodyStyleValues.php +62 -0
  90. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignObjectiveValues.php +0 -1
  91. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommentCommentPrivacyValueValues.php +1 -0
  92. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ImageCopyrightGeoOwnershipValues.php +292 -0
  93. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php +1 -0
  94. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php +1 -0
  95. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionWebDestinationTypeValues.php +1 -0
  96. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogItemSubTypeValues.php +1 -0
  97. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedItemSubTypeValues.php +1 -0
  98. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemARDataSurfacesValues.php +52 -0
  99. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php +55 -0
changelog.txt CHANGED
@@ -1,4 +1,8 @@
1
  *** Facebook for WordPress Changelog ***
 
 
 
 
2
  2021-02-12 version 3.0.3
3
  * Adding nonce parameter to requests changing plugin settings
4
 
1
  *** Facebook for WordPress Changelog ***
2
+ 2021-02-17 version 3.0.4
3
+ * Update Facebook Business SDK to v9.0.4
4
+ * Validating, sanitizing and escaping plugin settings
5
+
6
  2021-02-12 version 3.0.3
7
  * Adding nonce parameter to requests changing plugin settings
8
 
composer.json CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  "license": "GPL",
11
  "require": {
12
- "facebook/php-business-sdk": "9.0.3",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
9
  },
10
  "license": "GPL",
11
  "require": {
12
+ "facebook/php-business-sdk": "9.0.4",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
composer.lock CHANGED
@@ -4,20 +4,20 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "8f4e59db4fb83d9835136e3e476bfcb3",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
- "version": "9.0.3",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
- "reference": "4d39da6c1e1cdc9916082d97a5191a549e127b0f"
16
  },
17
  "dist": {
18
  "type": "zip",
19
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/4d39da6c1e1cdc9916082d97a5191a549e127b0f",
20
- "reference": "4d39da6c1e1cdc9916082d97a5191a549e127b0f",
21
  "shasum": ""
22
  },
23
  "require": {
@@ -45,7 +45,10 @@
45
  "page",
46
  "sdk"
47
  ],
48
- "time": "2021-01-14T00:20:35+00:00"
 
 
 
49
  },
50
  {
51
  "name": "techcrunch/wp-async-task",
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "573acfcd8c3b5b5a23cbb2b27cc52df2",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
+ "version": "9.0.4",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
+ "reference": "c29498ee7f180583cb16873e5047eeeada834067"
16
  },
17
  "dist": {
18
  "type": "zip",
19
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/c29498ee7f180583cb16873e5047eeeada834067",
20
+ "reference": "c29498ee7f180583cb16873e5047eeeada834067",
21
  "shasum": ""
22
  },
23
  "require": {
45
  "page",
46
  "sdk"
47
  ],
48
+ "support": {
49
+ "source": "https://github.com/facebook/facebook-php-business-sdk/tree/9.0.4"
50
+ },
51
+ "time": "2021-02-16T22:35:02+00:00"
52
  },
53
  {
54
  "name": "techcrunch/wp-async-task",
core/FacebookPluginConfig.php CHANGED
@@ -20,7 +20,7 @@ namespace FacebookPixelPlugin\Core;
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
- const PLUGIN_VERSION = '3.0.3';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
  const PLUGIN_NAME = 'Facebook for WordPress';
@@ -40,7 +40,7 @@ class FacebookPluginConfig {
40
  const ADMIN_IGNORE_PLUGIN_REVIEW_NOTICE =
41
  'ignore_plugin_review_notice';
42
  const ADMIN_MENU_SLUG = 'facebook_pixel_options';
43
- const ADMIN_MENU_TITLE = 'Facebook Pixel';
44
  const ADMIN_OPTION_GROUP = 'facebook_option_group';
45
  const ADMIN_PAGE_TITLE = 'Facebook Pixel Settings';
46
  const ADMIN_PRIVACY_URL = 'https://developers.facebook.com/docs/privacy/';
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
+ const PLUGIN_VERSION = '3.0.4';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
  const PLUGIN_NAME = 'Facebook for WordPress';
40
  const ADMIN_IGNORE_PLUGIN_REVIEW_NOTICE =
41
  'ignore_plugin_review_notice';
42
  const ADMIN_MENU_SLUG = 'facebook_pixel_options';
43
+ const ADMIN_MENU_TITLE = 'Facebook';
44
  const ADMIN_OPTION_GROUP = 'facebook_option_group';
45
  const ADMIN_PAGE_TITLE = 'Facebook Pixel Settings';
46
  const ADMIN_PRIVACY_URL = 'https://developers.facebook.com/docs/privacy/';
core/FacebookWordpressSettingsPage.php CHANGED
@@ -92,16 +92,20 @@ class FacebookWordpressSettingsPage {
92
 
93
  <script>
94
  window.facebookBusinessExtensionConfig = {
95
- pixelId: '<?php echo FacebookWordpressOptions::getPixelId() ?>'
96
  ,popupOrigin: "https://business.facebook.com"
97
  ,setSaveSettingsRoute: '<?php echo $this->getFbeSaveSettingsAjaxRoute() ?>'
98
- ,externalBusinessId: '<?php echo FacebookWordpressOptions::getExternalBusinessId() ?>'
 
 
99
  ,fbeLoginUrl: "https://business.facebook.com/fbe-iframe-get-started/?"
100
  ,deleteConfigKeys: '<?php echo $this->getDeleteFbeSettingsAjaxRoute() ?>'
101
  ,appId: '221646389321681'
102
  ,timeZone: 'America/Los_Angeles'
103
  ,installed: '<?php echo FacebookWordpressOptions::getIsFbeInstalled() ?>'
104
- ,systemUserName: '<?php echo FacebookWordpressOptions::getExternalBusinessId() ?>' + '_system_user'
 
 
105
  ,businessVertical: 'ECOMMERCE'
106
  ,version: 'v8.0'
107
  ,currency: 'USD'
92
 
93
  <script>
94
  window.facebookBusinessExtensionConfig = {
95
+ pixelId: '<?php echo esc_html(FacebookWordpressOptions::getPixelId()) ?>'
96
  ,popupOrigin: "https://business.facebook.com"
97
  ,setSaveSettingsRoute: '<?php echo $this->getFbeSaveSettingsAjaxRoute() ?>'
98
+ ,externalBusinessId: '<?php echo esc_html(
99
+ FacebookWordpressOptions::getExternalBusinessId()
100
+ )?>'
101
  ,fbeLoginUrl: "https://business.facebook.com/fbe-iframe-get-started/?"
102
  ,deleteConfigKeys: '<?php echo $this->getDeleteFbeSettingsAjaxRoute() ?>'
103
  ,appId: '221646389321681'
104
  ,timeZone: 'America/Los_Angeles'
105
  ,installed: '<?php echo FacebookWordpressOptions::getIsFbeInstalled() ?>'
106
+ ,systemUserName: '<?php echo esc_html(
107
+ FacebookWordpressOptions::getExternalBusinessId()
108
+ ) ?>' + '_system_user'
109
  ,businessVertical: 'ECOMMERCE'
110
  ,version: 'v8.0'
111
  ,currency: 'USD'
core/FacebookWordpressSettingsRecorder.php CHANGED
@@ -28,6 +28,15 @@ class FacebookWordpressSettingsRecorder {
28
  return $res;
29
  }
30
 
 
 
 
 
 
 
 
 
 
31
  public function saveFbeSettings(){
32
  if (!current_user_can('administrator')) {
33
  return $this->handleUnauthorizedRequest();
@@ -35,9 +44,16 @@ class FacebookWordpressSettingsRecorder {
35
  check_admin_referer(
36
  FacebookPluginConfig::SAVE_FBE_SETTINGS_ACTION_NAME
37
  );
38
- $pixel_id = $_POST['pixelId'];
39
- $access_token = $_POST['accessToken'];
40
- $external_business_id = $_POST['externalBusinessId'];
 
 
 
 
 
 
 
41
  $settings = array(
42
  FacebookPluginConfig::PIXEL_ID_KEY => $pixel_id,
43
  FacebookPluginConfig::ACCESS_TOKEN_KEY => $access_token,
28
  return $res;
29
  }
30
 
31
+ private function handleInvalidRequest(){
32
+ $res = array(
33
+ 'success' => false,
34
+ 'msg' => 'Invalid values',
35
+ );
36
+ wp_send_json($res, 400);
37
+ return $res;
38
+ }
39
+
40
  public function saveFbeSettings(){
41
  if (!current_user_can('administrator')) {
42
  return $this->handleUnauthorizedRequest();
44
  check_admin_referer(
45
  FacebookPluginConfig::SAVE_FBE_SETTINGS_ACTION_NAME
46
  );
47
+ $pixel_id = sanitize_text_field($_POST['pixelId']);
48
+ $access_token = sanitize_text_field($_POST['accessToken']);
49
+ $external_business_id = sanitize_text_field(
50
+ $_POST['externalBusinessId']
51
+ );
52
+ if(empty($pixel_id)
53
+ || empty($access_token)
54
+ || empty($external_business_id)){
55
+ return $this->handleInvalidRequest();
56
+ }
57
  $settings = array(
58
  FacebookPluginConfig::PIXEL_ID_KEY => $pixel_id,
59
  FacebookPluginConfig::ACCESS_TOKEN_KEY => $access_token,
facebook-for-wordpress.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
- * Version: 3.0.3
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
+ * Version: 3.0.4
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
languages/official-facebook-pixel-ar_AR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-cs_CZ.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-da_DK.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-en_GB.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_ES.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_LA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fi_FI.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_CA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_FR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-he_IL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ja_JP.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ko_KR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nb_NO.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nl_NL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pl_PL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_BR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_PT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ru_RU.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-sv_SE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-th_TH.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
languages/official-facebook-pixel-tr_TR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-vi_VN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_CN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_TW.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WordPress 3.0.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WordPress 3.0.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events
4
  Requires at least: 4.4
5
  Tested up to: 5.6
6
  Requires PHP: 5.6
7
- Stable tag: 3.0.2
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -57,6 +57,11 @@ If you get stuck, or have any questions, you can ask for help in the [Facebook f
57
  Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
58
 
59
  == Changelog ==
 
 
 
 
 
60
  = 2021-02-12 version 3.0.3 =
61
  * Adding nonce parameter to requests changing plugin settings
62
 
4
  Requires at least: 4.4
5
  Tested up to: 5.6
6
  Requires PHP: 5.6
7
+ Stable tag: 3.0.3
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
57
  Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
58
 
59
  == Changelog ==
60
+
61
+ = 2021-02-17 version 3.0.4 =
62
+ * Update Facebook Business SDK to v9.0.4
63
+ * Validating, sanitizing and escaping plugin settings
64
+
65
  = 2021-02-12 version 3.0.3 =
66
  * Adding nonce parameter to requests changing plugin settings
67
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit6bd063041f2e1499890a9efb35195894::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit6bd063041f2e1499890a9efb35195894
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit6bd063041f2e1499890a9efb35195894
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit6bd063041f2e1499890a9efb35195894', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit6bd063041f2e1499890a9efb35195894', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit6bd063041f2e1499890a9efb35195894::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit6f169657b09dc277914a13b6755ec055', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit6f169657b09dc277914a13b6755ec055::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit6bd063041f2e1499890a9efb35195894
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -42,9 +42,9 @@ class ComposerStaticInit6bd063041f2e1499890a9efb35195894
42
  public static function getInitializer(ClassLoader $loader)
43
  {
44
  return \Closure::bind(function () use ($loader) {
45
- $loader->prefixLengthsPsr4 = ComposerStaticInit6bd063041f2e1499890a9efb35195894::$prefixLengthsPsr4;
46
- $loader->prefixDirsPsr4 = ComposerStaticInit6bd063041f2e1499890a9efb35195894::$prefixDirsPsr4;
47
- $loader->classMap = ComposerStaticInit6bd063041f2e1499890a9efb35195894::$classMap;
48
 
49
  }, null, ClassLoader::class);
50
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit6f169657b09dc277914a13b6755ec055
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
42
  public static function getInitializer(ClassLoader $loader)
43
  {
44
  return \Closure::bind(function () use ($loader) {
45
+ $loader->prefixLengthsPsr4 = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$prefixLengthsPsr4;
46
+ $loader->prefixDirsPsr4 = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$prefixDirsPsr4;
47
+ $loader->classMap = ComposerStaticInit6f169657b09dc277914a13b6755ec055::$classMap;
48
 
49
  }, null, ClassLoader::class);
50
  }
vendor/composer/installed.json CHANGED
@@ -1,17 +1,17 @@
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
- "version": "9.0.3",
5
- "version_normalized": "9.0.3.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
- "reference": "4d39da6c1e1cdc9916082d97a5191a549e127b0f"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/4d39da6c1e1cdc9916082d97a5191a549e127b0f",
14
- "reference": "4d39da6c1e1cdc9916082d97a5191a549e127b0f",
15
  "shasum": ""
16
  },
17
  "require": {
@@ -22,7 +22,7 @@
22
  "phpunit/phpunit": "~8",
23
  "symfony/finder": "~2.6"
24
  },
25
- "time": "2021-01-14T00:20:35+00:00",
26
  "type": "library",
27
  "installation-source": "dist",
28
  "autoload": {
@@ -40,7 +40,10 @@
40
  "instagram",
41
  "page",
42
  "sdk"
43
- ]
 
 
 
44
  },
45
  {
46
  "name": "techcrunch/wp-async-task",
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
+ "version": "9.0.4",
5
+ "version_normalized": "9.0.4.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
+ "reference": "c29498ee7f180583cb16873e5047eeeada834067"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/c29498ee7f180583cb16873e5047eeeada834067",
14
+ "reference": "c29498ee7f180583cb16873e5047eeeada834067",
15
  "shasum": ""
16
  },
17
  "require": {
22
  "phpunit/phpunit": "~8",
23
  "symfony/finder": "~2.6"
24
  },
25
+ "time": "2021-02-16T22:35:02+00:00",
26
  "type": "library",
27
  "installation-source": "dist",
28
  "autoload": {
40
  "instagram",
41
  "page",
42
  "sdk"
43
+ ],
44
+ "support": {
45
+ "source": "https://github.com/facebook/facebook-php-business-sdk/tree/9.0.4"
46
+ }
47
  },
48
  {
49
  "name": "techcrunch/wp-async-task",
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php CHANGED
@@ -42,8 +42,8 @@ $params = array(
42
  'name' => 'A CPA Ad Set',
43
  'campaign_id' => '<adCampaignLinkClicksID>',
44
  'daily_budget' => '5000',
45
- 'start_time' => '2020-12-24T10:13:33-0800',
46
- 'end_time' => '2020-12-31T10:13:33-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'REACH',
49
  'bid_amount' => '1000',
42
  'name' => 'A CPA Ad Set',
43
  'campaign_id' => '<adCampaignLinkClicksID>',
44
  'daily_budget' => '5000',
45
+ 'start_time' => '2021-01-26T14:02:25-0800',
46
+ 'end_time' => '2021-02-02T14:02:25-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'REACH',
49
  'bid_amount' => '1000',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php CHANGED
@@ -42,8 +42,8 @@ $params = array(
42
  'name' => 'A CPA Ad Set optimized for App Events',
43
  'campaign_id' => '<adCampaignAppInstallsID>',
44
  'daily_budget' => '300',
45
- 'start_time' => '2020-12-24T10:14:29-0800',
46
- 'end_time' => '2020-12-31T10:14:29-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'OFFSITE_CONVERSIONS',
49
  'bid_amount' => '100',
42
  'name' => 'A CPA Ad Set optimized for App Events',
43
  'campaign_id' => '<adCampaignAppInstallsID>',
44
  'daily_budget' => '300',
45
+ 'start_time' => '2021-01-26T14:03:20-0800',
46
+ 'end_time' => '2021-02-02T14:03:20-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'OFFSITE_CONVERSIONS',
49
  'bid_amount' => '100',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First AdSet',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2020-12-24T10:12:46-0800',
45
- 'end_time' => '2020-12-31T10:12:46-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
41
  $params = array(
42
  'name' => 'My First AdSet',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2021-01-26T14:01:38-0800',
45
+ 'end_time' => '2021-02-02T14:01:38-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'daily_budget' => '2000',
44
- 'start_time' => '2020-12-17T10:14:01-0800',
45
- 'end_time' => '2020-12-24T10:14:01-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'daily_budget' => '2000',
44
+ 'start_time' => '2021-01-19T14:02:53-0800',
45
+ 'end_time' => '2021-01-26T14:02:53-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2020-12-17T10:14:10-0800',
45
- 'end_time' => '2020-12-27T10:14:10-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2021-01-19T14:03:02-0800',
45
+ 'end_time' => '2021-01-29T14:03:02-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My Offer Claim AdSet',
43
  'lifetime_budget' => '56000',
44
- 'start_time' => '2020-12-17T10:13:52-0800',
45
- 'end_time' => '2020-12-24T10:13:52-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'billing_event' => 'LINK_CLICKS',
48
  'optimization_goal' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My Offer Claim AdSet',
43
  'lifetime_budget' => '56000',
44
+ 'start_time' => '2021-01-19T14:02:43-0800',
45
+ 'end_time' => '2021-01-26T14:02:43-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'billing_event' => 'LINK_CLICKS',
48
  'optimization_goal' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2020-12-17T10:14:20-0800',
45
- 'end_time' => '2020-12-27T10:14:20-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2021-01-19T14:03:11-0800',
45
+ 'end_time' => '2021-01-29T14:03:11-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php CHANGED
@@ -39,7 +39,7 @@ $api->setLogger(new CurlLogger());
39
  $fields = array(
40
  );
41
  $params = array(
42
- 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1607393319)),
43
  );
44
  echo json_encode((new Ad($id))->getLeads(
45
  $fields,
39
  $fields = array(
40
  );
41
  $params = array(
42
+ 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1610489349)),
43
  );
44
  echo json_encode((new Ad($id))->getLeads(
45
  $fields,
vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php CHANGED
@@ -38,7 +38,7 @@ $api->setLogger(new CurlLogger());
38
  $fields = array(
39
  );
40
  $params = array(
41
- 'data' => array(array('event_name' => 'PageView','event_time' => 1607998596,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))),
42
  );
43
  echo json_encode((new AdsPixel($id))->createEvent(
44
  $fields,
38
  $fields = array(
39
  );
40
  $params = array(
41
+ 'data' => array(array('event_name' => 'PageView','event_time' => 1610578702,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))),
42
  );
43
  echo json_encode((new AdsPixel($id))->createEvent(
44
  $fields,
vendor/facebook/php-business-sdk/examples/AdsPixelEventsPostCustom.php CHANGED
@@ -25,10 +25,11 @@ require __DIR__ . '/vendor/autoload.php';
25
 
26
  use FacebookAds\Api;
27
  use FacebookAds\Logger\CurlLogger;
 
 
28
  use FacebookAds\Object\ServerSide\Event;
29
  use FacebookAds\Object\ServerSide\EventRequest;
30
  use FacebookAds\Object\ServerSide\UserData;
31
- use FacebookAds\Object\ServerSide\CustomData;
32
 
33
  $access_token = '<ACCESS_TOKEN>';
34
  $pixel_id = '<ADS_PIXEL_ID>';
@@ -37,12 +38,12 @@ $api = Api::init(null, null, $access_token);
37
  $api->setLogger(new CurlLogger());
38
 
39
  $user_data = (new UserData())
40
- ->setFbc('fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890')
41
- // It is recommended to send Client IP and User Agent for ServerSide API Events.
42
  ->setClientIpAddress($_SERVER['REMOTE_ADDR'])
43
  ->setClientUserAgent($_SERVER['HTTP_USER_AGENT'])
44
- ->setFbp('fb.1.1558571054389.1098115397')
45
- ->setEmail('joe@eg.com');
46
 
47
  $custom_data = (new CustomData())
48
  ->setCurrency('usd')
@@ -53,7 +54,8 @@ $event = (new Event())
53
  ->setEventTime(time())
54
  ->setEventSourceUrl('http://jaspers-market.com/product/123')
55
  ->setUserData($user_data)
56
- ->setCustomData($custom_data);
 
57
 
58
  $events = array();
59
  array_push($events, $event);
25
 
26
  use FacebookAds\Api;
27
  use FacebookAds\Logger\CurlLogger;
28
+ use FacebookAds\Object\ServerSide\ActionSource;
29
+ use FacebookAds\Object\ServerSide\CustomData;
30
  use FacebookAds\Object\ServerSide\Event;
31
  use FacebookAds\Object\ServerSide\EventRequest;
32
  use FacebookAds\Object\ServerSide\UserData;
 
33
 
34
  $access_token = '<ACCESS_TOKEN>';
35
  $pixel_id = '<ADS_PIXEL_ID>';
38
  $api->setLogger(new CurlLogger());
39
 
40
  $user_data = (new UserData())
41
+ ->setEmail('joe@eg.com')
42
+ // It is recommended to send Client IP and User Agent for Conversions API Events.
43
  ->setClientIpAddress($_SERVER['REMOTE_ADDR'])
44
  ->setClientUserAgent($_SERVER['HTTP_USER_AGENT'])
45
+ ->setFbc('fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890')
46
+ ->setFbp('fb.1.1558571054389.1098115397');
47
 
48
  $custom_data = (new CustomData())
49
  ->setCurrency('usd')
54
  ->setEventTime(time())
55
  ->setEventSourceUrl('http://jaspers-market.com/product/123')
56
  ->setUserData($user_data)
57
+ ->setCustomData($custom_data)
58
+ ->setActionSource(ActionSource::WEBSITE);
59
 
60
  $events = array();
61
  array_push($events, $event);
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php CHANGED
@@ -24,6 +24,6 @@
24
  namespace FacebookAds;
25
  class ApiConfig {
26
  const APIVersion = '9.0';
27
- const SDKVersion = '9.0.3';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
24
  namespace FacebookAds;
25
  class ApiConfig {
26
  const APIVersion = '9.0';
27
+ const SDKVersion = '9.0.4';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php CHANGED
@@ -359,6 +359,7 @@ class AdAccount extends AbstractCrudObject {
359
  'object_story_spec' => 'AdCreativeObjectStorySpec',
360
  'object_type' => 'string',
361
  'object_url' => 'string',
 
362
  'platform_customizations' => 'Object',
363
  'playable_asset_id' => 'string',
364
  'portrait_customizations' => 'map',
@@ -1080,7 +1081,6 @@ class AdAccount extends AbstractCrudObject {
1080
  'animated_effect_id' => 'unsigned int',
1081
  'application_id' => 'string',
1082
  'asked_fun_fact_prompt_id' => 'unsigned int',
1083
- 'attribution_app_id' => 'string',
1084
  'audio_story_wave_animation_handle' => 'string',
1085
  'chunk_session_id' => 'string',
1086
  'composer_entry_picker' => 'string',
@@ -2568,33 +2568,6 @@ class AdAccount extends AbstractCrudObject {
2568
  return $pending ? $request : $request->execute();
2569
  }
2570
 
2571
- public function getRoas(array $fields = array(), array $params = array(), $pending = false) {
2572
- $this->assureId();
2573
-
2574
- $param_types = array(
2575
- 'fields' => 'list<string>',
2576
- 'filtering' => 'list<Object>',
2577
- 'time_increment' => 'string',
2578
- 'time_range' => 'Object',
2579
- );
2580
- $enums = array(
2581
- );
2582
-
2583
- $request = new ApiRequest(
2584
- $this->api,
2585
- $this->data['id'],
2586
- RequestInterface::METHOD_GET,
2587
- '/roas',
2588
- new AdAccountRoas(),
2589
- 'EDGE',
2590
- AdAccountRoas::getFieldsEnum()->getValues(),
2591
- new TypeChecker($param_types, $enums)
2592
- );
2593
- $request->addParams($params);
2594
- $request->addFields($fields);
2595
- return $pending ? $request : $request->execute();
2596
- }
2597
-
2598
  public function getSavedAudiences(array $fields = array(), array $params = array(), $pending = false) {
2599
  $this->assureId();
2600
 
359
  'object_story_spec' => 'AdCreativeObjectStorySpec',
360
  'object_type' => 'string',
361
  'object_url' => 'string',
362
+ 'place_page_set_id' => 'string',
363
  'platform_customizations' => 'Object',
364
  'playable_asset_id' => 'string',
365
  'portrait_customizations' => 'map',
1081
  'animated_effect_id' => 'unsigned int',
1082
  'application_id' => 'string',
1083
  'asked_fun_fact_prompt_id' => 'unsigned int',
 
1084
  'audio_story_wave_animation_handle' => 'string',
1085
  'chunk_session_id' => 'string',
1086
  'composer_entry_picker' => 'string',
2568
  return $pending ? $request : $request->execute();
2569
  }
2570
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2571
  public function getSavedAudiences(array $fields = array(), array $params = array(), $pending = false) {
2572
  $this->assureId();
2573
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php CHANGED
@@ -29,7 +29,6 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdStudyFields;
32
- use FacebookAds\Object\Values\AdStudyObjectiveTypeValues;
33
  use FacebookAds\Object\Values\AdStudyTypeValues;
34
 
35
  /**
@@ -110,39 +109,6 @@ class AdStudy extends AbstractCrudObject {
110
  return $pending ? $request : $request->execute();
111
  }
112
 
113
- public function createObjective(array $fields = array(), array $params = array(), $pending = false) {
114
- $this->assureId();
115
-
116
- $param_types = array(
117
- 'adspixels' => 'list<Object>',
118
- 'applications' => 'list<Object>',
119
- 'customconversions' => 'list<Object>',
120
- 'is_primary' => 'bool',
121
- 'name' => 'string',
122
- 'offline_conversion_data_sets' => 'list<Object>',
123
- 'product_catalogs' => 'list<Object>',
124
- 'product_sets' => 'list<Object>',
125
- 'type' => 'type_enum',
126
- );
127
- $enums = array(
128
- 'type_enum' => AdStudyObjectiveTypeValues::getInstance()->getValues(),
129
- );
130
-
131
- $request = new ApiRequest(
132
- $this->api,
133
- $this->data['id'],
134
- RequestInterface::METHOD_POST,
135
- '/objectives',
136
- new AdStudyObjective(),
137
- 'EDGE',
138
- AdStudyObjective::getFieldsEnum()->getValues(),
139
- new TypeChecker($param_types, $enums)
140
- );
141
- $request->addParams($params);
142
- $request->addFields($fields);
143
- return $pending ? $request : $request->execute();
144
- }
145
-
146
  public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
147
  $this->assureId();
148
 
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdStudyFields;
 
32
  use FacebookAds\Object\Values\AdStudyTypeValues;
33
 
34
  /**
109
  return $pending ? $request : $request->execute();
110
  }
111
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
  public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
113
  $this->assureId();
114
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php CHANGED
@@ -194,29 +194,6 @@ class AdStudyObjective extends AbstractCrudObject {
194
  return $pending ? $request : $request->execute();
195
  }
196
 
197
- public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
198
- $this->assureId();
199
-
200
- $param_types = array(
201
- );
202
- $enums = array(
203
- );
204
-
205
- $request = new ApiRequest(
206
- $this->api,
207
- $this->data['id'],
208
- RequestInterface::METHOD_DELETE,
209
- '/',
210
- new AbstractCrudObject(),
211
- 'NODE',
212
- array(),
213
- new TypeChecker($param_types, $enums)
214
- );
215
- $request->addParams($params);
216
- $request->addFields($fields);
217
- return $pending ? $request : $request->execute();
218
- }
219
-
220
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
221
  $this->assureId();
222
 
194
  return $pending ? $request : $request->execute();
195
  }
196
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
198
  $this->assureId();
199
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdsPixel.php CHANGED
@@ -180,6 +180,29 @@ class AdsPixel extends AbstractCrudObject {
180
  return $pending ? $request : $request->execute();
181
  }
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  public function deleteSharedAccounts(array $fields = array(), array $params = array(), $pending = false) {
184
  $this->assureId();
185
 
180
  return $pending ? $request : $request->execute();
181
  }
182
 
183
+ public function createShadowTrafficHelper(array $fields = array(), array $params = array(), $pending = false) {
184
+ $this->assureId();
185
+
186
+ $param_types = array(
187
+ );
188
+ $enums = array(
189
+ );
190
+
191
+ $request = new ApiRequest(
192
+ $this->api,
193
+ $this->data['id'],
194
+ RequestInterface::METHOD_POST,
195
+ '/shadowtraffichelper',
196
+ new AbstractCrudObject(),
197
+ 'EDGE',
198
+ array(),
199
+ new TypeChecker($param_types, $enums)
200
+ );
201
+ $request->addParams($params);
202
+ $request->addFields($fields);
203
+ return $pending ? $request : $request->execute();
204
+ }
205
+
206
  public function deleteSharedAccounts(array $fields = array(), array $params = array(), $pending = false) {
207
  $this->assureId();
208
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AutomotiveModel.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AutomotiveModelFields;
 
32
 
33
  /**
34
  * This class is auto-generated.
@@ -41,6 +42,13 @@ use FacebookAds\Object\Fields\AutomotiveModelFields;
41
 
42
  class AutomotiveModel extends AbstractCrudObject {
43
 
 
 
 
 
 
 
 
44
  /**
45
  * @return AutomotiveModelFields
46
  */
@@ -50,6 +58,7 @@ class AutomotiveModel extends AbstractCrudObject {
50
 
51
  protected static function getReferencedEnums() {
52
  $ref_enums = array();
 
53
  return $ref_enums;
54
  }
55
 
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AutomotiveModelFields;
32
+ use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
33
 
34
  /**
35
  * This class is auto-generated.
42
 
43
  class AutomotiveModel extends AbstractCrudObject {
44
 
45
+ /**
46
+ * @deprecated getEndpoint function is deprecated
47
+ */
48
+ protected function getEndpoint() {
49
+ return 'automotive_models';
50
+ }
51
+
52
  /**
53
  * @return AutomotiveModelFields
54
  */
58
 
59
  protected static function getReferencedEnums() {
60
  $ref_enums = array();
61
+ $ref_enums['BodyStyle'] = AutomotiveModelBodyStyleValues::getInstance()->getValues();
62
  return $ref_enums;
63
  }
64
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php CHANGED
@@ -42,6 +42,7 @@ use FacebookAds\Object\Values\BusinessPagePermittedTasksValues;
42
  use FacebookAds\Object\Values\BusinessPermittedTasksValues;
43
  use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
44
  use FacebookAds\Object\Values\BusinessTwoFactorTypeValues;
 
45
  use FacebookAds\Object\Values\BusinessVerticalValues;
46
  use FacebookAds\Object\Values\CPASCollaborationRequestRequesterAgencyOrBrandValues;
47
  use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
@@ -56,6 +57,7 @@ use FacebookAds\Object\Values\OracleTransactionTypeValues;
56
  use FacebookAds\Object\Values\ProductCatalogVerticalValues;
57
  use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
58
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
 
59
 
60
  /**
61
  * This class is auto-generated.
@@ -625,6 +627,32 @@ class Business extends AbstractCrudObject {
625
  return $pending ? $request : $request->execute();
626
  }
627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  public function createClaimCustomConversion(array $fields = array(), array $params = array(), $pending = false) {
629
  $this->assureId();
630
 
@@ -1172,6 +1200,42 @@ class Business extends AbstractCrudObject {
1172
  return $pending ? $request : $request->execute();
1173
  }
1174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1175
  public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
1176
  $this->assureId();
1177
 
@@ -2071,6 +2135,33 @@ class Business extends AbstractCrudObject {
2071
  return $pending ? $request : $request->execute();
2072
  }
2073
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2074
  public function getThirdPartyMeasurementReportDataset(array $fields = array(), array $params = array(), $pending = false) {
2075
  $this->assureId();
2076
 
42
  use FacebookAds\Object\Values\BusinessPermittedTasksValues;
43
  use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
44
  use FacebookAds\Object\Values\BusinessTwoFactorTypeValues;
45
+ use FacebookAds\Object\Values\BusinessUserRoleValues;
46
  use FacebookAds\Object\Values\BusinessVerticalValues;
47
  use FacebookAds\Object\Values\CPASCollaborationRequestRequesterAgencyOrBrandValues;
48
  use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
57
  use FacebookAds\Object\Values\ProductCatalogVerticalValues;
58
  use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
59
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
60
+ use FacebookAds\Object\Values\SystemUserRoleValues;
61
 
62
  /**
63
  * This class is auto-generated.
627
  return $pending ? $request : $request->execute();
628
  }
629
 
630
+ public function createBusinessUser(array $fields = array(), array $params = array(), $pending = false) {
631
+ $this->assureId();
632
+
633
+ $param_types = array(
634
+ 'email' => 'string',
635
+ 'role' => 'role_enum',
636
+ );
637
+ $enums = array(
638
+ 'role_enum' => BusinessUserRoleValues::getInstance()->getValues(),
639
+ );
640
+
641
+ $request = new ApiRequest(
642
+ $this->api,
643
+ $this->data['id'],
644
+ RequestInterface::METHOD_POST,
645
+ '/business_users',
646
+ new BusinessUser(),
647
+ 'EDGE',
648
+ BusinessUser::getFieldsEnum()->getValues(),
649
+ new TypeChecker($param_types, $enums)
650
+ );
651
+ $request->addParams($params);
652
+ $request->addFields($fields);
653
+ return $pending ? $request : $request->execute();
654
+ }
655
+
656
  public function createClaimCustomConversion(array $fields = array(), array $params = array(), $pending = false) {
657
  $this->assureId();
658
 
1200
  return $pending ? $request : $request->execute();
1201
  }
1202
 
1203
+ public function createFranchiseProgram(array $fields = array(), array $params = array(), $pending = false) {
1204
+ $this->assureId();
1205
+
1206
+ $param_types = array(
1207
+ 'business_asset_group' => 'string',
1208
+ 'creative_folder' => 'string',
1209
+ 'creative_spec_template_data' => 'map',
1210
+ 'description' => 'string',
1211
+ 'end_date' => 'datetime',
1212
+ 'name' => 'string',
1213
+ 'program_approval_type' => 'program_approval_type_enum',
1214
+ 'shared_custom_audience' => 'string',
1215
+ 'start_date' => 'datetime',
1216
+ );
1217
+ $enums = array(
1218
+ 'program_approval_type_enum' => array(
1219
+ 'APPROVAL',
1220
+ 'PUBLIC',
1221
+ ),
1222
+ );
1223
+
1224
+ $request = new ApiRequest(
1225
+ $this->api,
1226
+ $this->data['id'],
1227
+ RequestInterface::METHOD_POST,
1228
+ '/franchise_programs',
1229
+ new AbstractCrudObject(),
1230
+ 'EDGE',
1231
+ array(),
1232
+ new TypeChecker($param_types, $enums)
1233
+ );
1234
+ $request->addParams($params);
1235
+ $request->addFields($fields);
1236
+ return $pending ? $request : $request->execute();
1237
+ }
1238
+
1239
  public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
1240
  $this->assureId();
1241
 
2135
  return $pending ? $request : $request->execute();
2136
  }
2137
 
2138
+ public function createSystemUser(array $fields = array(), array $params = array(), $pending = false) {
2139
+ $this->assureId();
2140
+
2141
+ $param_types = array(
2142
+ 'name' => 'string',
2143
+ 'role' => 'role_enum',
2144
+ 'system_user_id' => 'int',
2145
+ );
2146
+ $enums = array(
2147
+ 'role_enum' => SystemUserRoleValues::getInstance()->getValues(),
2148
+ );
2149
+
2150
+ $request = new ApiRequest(
2151
+ $this->api,
2152
+ $this->data['id'],
2153
+ RequestInterface::METHOD_POST,
2154
+ '/system_users',
2155
+ new SystemUser(),
2156
+ 'EDGE',
2157
+ SystemUser::getFieldsEnum()->getValues(),
2158
+ new TypeChecker($param_types, $enums)
2159
+ );
2160
+ $request->addParams($params);
2161
+ $request->addFields($fields);
2162
+ return $pending ? $request : $request->execute();
2163
+ }
2164
+
2165
  public function getThirdPartyMeasurementReportDataset(array $fields = array(), array $params = array(), $pending = false) {
2166
  $this->assureId();
2167
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUser.php CHANGED
@@ -42,6 +42,13 @@ use FacebookAds\Object\Values\BusinessUserRoleValues;
42
 
43
  class BusinessUser extends AbstractCrudObject {
44
 
 
 
 
 
 
 
 
45
  /**
46
  * @return BusinessUserFields
47
  */
42
 
43
  class BusinessUser extends AbstractCrudObject {
44
 
45
+ /**
46
+ * @deprecated getEndpoint function is deprecated
47
+ */
48
+ protected function getEndpoint() {
49
+ return 'business_users';
50
+ }
51
+
52
  /**
53
  * @return BusinessUserFields
54
  */
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdAccountRoas.php → ContextualBundlingSpec.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\AdAccountRoasFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\AdAccountRoasFields;
39
  *
40
  */
41
 
42
- class AdAccountRoas extends AbstractObject {
43
 
44
  /**
45
- * @return AdAccountRoasFields
46
  */
47
  public static function getFieldsEnum() {
48
- return AdAccountRoasFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\ContextualBundlingSpecFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class ContextualBundlingSpec extends AbstractObject {
43
 
44
  /**
45
+ * @return ContextualBundlingSpecFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return ContextualBundlingSpecFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountRoasFields.php DELETED
@@ -1,103 +0,0 @@
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-generated.
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
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php CHANGED
@@ -50,6 +50,7 @@ class AdAssetFeedSpecFields extends AbstractEnum {
50
  const GROUPS = 'groups';
51
  const IMAGES = 'images';
52
  const LINK_URLS = 'link_urls';
 
53
  const OPTIMIZATION_TYPE = 'optimization_type';
54
  const POSTS = 'posts';
55
  const TITLES = 'titles';
@@ -70,6 +71,7 @@ class AdAssetFeedSpecFields extends AbstractEnum {
70
  'groups' => 'list<AdAssetFeedSpecGroupRule>',
71
  'images' => 'list<AdAssetFeedSpecImage>',
72
  'link_urls' => 'list<AdAssetFeedSpecLinkURL>',
 
73
  'optimization_type' => 'string',
74
  'posts' => 'list<Object>',
75
  'titles' => 'list<AdAssetFeedSpecTitle>',
50
  const GROUPS = 'groups';
51
  const IMAGES = 'images';
52
  const LINK_URLS = 'link_urls';
53
+ const ONSITE_DESTINATIONS = 'onsite_destinations';
54
  const OPTIMIZATION_TYPE = 'optimization_type';
55
  const POSTS = 'posts';
56
  const TITLES = 'titles';
71
  'groups' => 'list<AdAssetFeedSpecGroupRule>',
72
  'images' => 'list<AdAssetFeedSpecImage>',
73
  'link_urls' => 'list<AdAssetFeedSpecLinkURL>',
74
+ 'onsite_destinations' => 'list<Object>',
75
  'optimization_type' => 'string',
76
  'posts' => 'list<Object>',
77
  'titles' => 'list<AdAssetFeedSpecTitle>',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php CHANGED
@@ -54,6 +54,7 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
54
  const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
55
  const INSTAGRAM = 'instagram';
56
  const INSTAGRAM_SHOP = 'instagram_shop';
 
57
  const LEAD_GEN_HONEYPOT = 'lead_gen_honeypot';
58
  const MARKETPLACE = 'marketplace';
59
  const MARKETPLACE_HOME_RENTALS = 'marketplace_home_rentals';
@@ -89,6 +90,7 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
89
  'facebook_pages_live_shopping' => 'map<string, string>',
90
  'instagram' => 'map<string, string>',
91
  'instagram_shop' => 'map<string, string>',
 
92
  'lead_gen_honeypot' => 'map<string, string>',
93
  'marketplace' => 'map<string, string>',
94
  'marketplace_home_rentals' => 'map<string, string>',
54
  const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
55
  const INSTAGRAM = 'instagram';
56
  const INSTAGRAM_SHOP = 'instagram_shop';
57
+ const JOB_SEARCH = 'job_search';
58
  const LEAD_GEN_HONEYPOT = 'lead_gen_honeypot';
59
  const MARKETPLACE = 'marketplace';
60
  const MARKETPLACE_HOME_RENTALS = 'marketplace_home_rentals';
90
  'facebook_pages_live_shopping' => 'map<string, string>',
91
  'instagram' => 'map<string, string>',
92
  'instagram_shop' => 'map<string, string>',
93
+ 'job_search' => 'map<string, string>',
94
  'lead_gen_honeypot' => 'map<string, string>',
95
  'marketplace' => 'map<string, string>',
96
  'marketplace_home_rentals' => 'map<string, string>',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsActionStatsFields.php CHANGED
@@ -43,10 +43,12 @@ class AdsActionStatsFields extends AbstractEnum {
43
  const FIELD_28D_VIEW = '28d_view';
44
  const FIELD_7D_CLICK = '7d_click';
45
  const FIELD_7D_VIEW = '7d_view';
 
46
  const ACTION_CANVAS_COMPONENT_ID = 'action_canvas_component_id';
47
  const ACTION_CANVAS_COMPONENT_NAME = 'action_canvas_component_name';
48
  const ACTION_CAROUSEL_CARD_ID = 'action_carousel_card_id';
49
  const ACTION_CAROUSEL_CARD_NAME = 'action_carousel_card_name';
 
50
  const ACTION_CONVERTED_PRODUCT_ID = 'action_converted_product_id';
51
  const ACTION_DESTINATION = 'action_destination';
52
  const ACTION_DEVICE = 'action_device';
@@ -73,10 +75,12 @@ class AdsActionStatsFields extends AbstractEnum {
73
  '28d_view' => 'string',
74
  '7d_click' => 'string',
75
  '7d_view' => 'string',
 
76
  'action_canvas_component_id' => 'string',
77
  'action_canvas_component_name' => 'string',
78
  'action_carousel_card_id' => 'string',
79
  'action_carousel_card_name' => 'string',
 
80
  'action_converted_product_id' => 'string',
81
  'action_destination' => 'string',
82
  'action_device' => 'string',
43
  const FIELD_28D_VIEW = '28d_view';
44
  const FIELD_7D_CLICK = '7d_click';
45
  const FIELD_7D_VIEW = '7d_view';
46
+ const ACTION_BRAND = 'action_brand';
47
  const ACTION_CANVAS_COMPONENT_ID = 'action_canvas_component_id';
48
  const ACTION_CANVAS_COMPONENT_NAME = 'action_canvas_component_name';
49
  const ACTION_CAROUSEL_CARD_ID = 'action_carousel_card_id';
50
  const ACTION_CAROUSEL_CARD_NAME = 'action_carousel_card_name';
51
+ const ACTION_CATEGORY = 'action_category';
52
  const ACTION_CONVERTED_PRODUCT_ID = 'action_converted_product_id';
53
  const ACTION_DESTINATION = 'action_destination';
54
  const ACTION_DEVICE = 'action_device';
75
  '28d_view' => 'string',
76
  '7d_click' => 'string',
77
  '7d_view' => 'string',
78
+ 'action_brand' => 'string',
79
  'action_canvas_component_id' => 'string',
80
  'action_canvas_component_name' => 'string',
81
  'action_carousel_card_id' => 'string',
82
  'action_carousel_card_name' => 'string',
83
+ 'action_category' => 'string',
84
  'action_converted_product_id' => 'string',
85
  'action_destination' => 'string',
86
  'action_device' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php CHANGED
@@ -59,6 +59,7 @@ class AdsInsightsFields extends AbstractEnum {
59
  const ADSET_NAME = 'adset_name';
60
  const ADSET_START = 'adset_start';
61
  const AGE_TARGETING = 'age_targeting';
 
62
  const AUCTION_BID = 'auction_bid';
63
  const AUCTION_COMPETITIVENESS = 'auction_competitiveness';
64
  const AUCTION_MAX_COMPETITOR_BID = 'auction_max_competitor_bid';
@@ -196,6 +197,7 @@ class AdsInsightsFields extends AbstractEnum {
196
  'adset_name' => 'string',
197
  'adset_start' => 'string',
198
  'age_targeting' => 'string',
 
199
  'auction_bid' => 'string',
200
  'auction_competitiveness' => 'string',
201
  'auction_max_competitor_bid' => 'string',
59
  const ADSET_NAME = 'adset_name';
60
  const ADSET_START = 'adset_start';
61
  const AGE_TARGETING = 'age_targeting';
62
+ const ATTRIBUTION_SETTING = 'attribution_setting';
63
  const AUCTION_BID = 'auction_bid';
64
  const AUCTION_COMPETITIVENESS = 'auction_competitiveness';
65
  const AUCTION_MAX_COMPETITOR_BID = 'auction_max_competitor_bid';
197
  'adset_name' => 'string',
198
  'adset_start' => 'string',
199
  'age_targeting' => 'string',
200
+ 'attribution_setting' => 'string',
201
  'auction_bid' => 'string',
202
  'auction_competitiveness' => 'string',
203
  'auction_max_competitor_bid' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php CHANGED
@@ -54,6 +54,7 @@ class CatalogSubVerticalListFields extends AbstractEnum {
54
  const COMPUTERS_AND_TABLETS = 'computers_and_tablets';
55
  const COMPUTERS_LAPTOPS_AND_TABLETS = 'computers_laptops_and_tablets';
56
  const DIAPERING_AND_POTTY_TRAINING = 'diapering_and_potty_training';
 
57
  const ELECTRONIC_ACCESSORIES_AND_CABLES = 'electronic_accessories_and_cables';
58
  const ELECTRONICS_ACCESSORIES = 'electronics_accessories';
59
  const FURNITURE = 'furniture';
@@ -63,6 +64,8 @@ class CatalogSubVerticalListFields extends AbstractEnum {
63
  const HOUSEHOLD_AND_CLEANING_SUPPLIES = 'household_and_cleaning_supplies';
64
  const JEWELRY = 'jewelry';
65
  const LARGE_APPLIANCES = 'large_appliances';
 
 
66
  const LOYALTY_OFFER = 'loyalty_offer';
67
  const MEETUP_SPACE = 'meetup_space';
68
  const NURSERY = 'nursery';
@@ -109,6 +112,7 @@ class CatalogSubVerticalListFields extends AbstractEnum {
109
  'computers_and_tablets' => 'Object',
110
  'computers_laptops_and_tablets' => 'Object',
111
  'diapering_and_potty_training' => 'Object',
 
112
  'electronic_accessories_and_cables' => 'Object',
113
  'electronics_accessories' => 'Object',
114
  'furniture' => 'Object',
@@ -118,6 +122,8 @@ class CatalogSubVerticalListFields extends AbstractEnum {
118
  'household_and_cleaning_supplies' => 'Object',
119
  'jewelry' => 'Object',
120
  'large_appliances' => 'Object',
 
 
121
  'loyalty_offer' => 'Object',
122
  'meetup_space' => 'Object',
123
  'nursery' => 'Object',
54
  const COMPUTERS_AND_TABLETS = 'computers_and_tablets';
55
  const COMPUTERS_LAPTOPS_AND_TABLETS = 'computers_laptops_and_tablets';
56
  const DIAPERING_AND_POTTY_TRAINING = 'diapering_and_potty_training';
57
+ const DIGITAL_PRODUCT_OFFER = 'digital_product_offer';
58
  const ELECTRONIC_ACCESSORIES_AND_CABLES = 'electronic_accessories_and_cables';
59
  const ELECTRONICS_ACCESSORIES = 'electronics_accessories';
60
  const FURNITURE = 'furniture';
64
  const HOUSEHOLD_AND_CLEANING_SUPPLIES = 'household_and_cleaning_supplies';
65
  const JEWELRY = 'jewelry';
66
  const LARGE_APPLIANCES = 'large_appliances';
67
+ const LOCAL_SERVICE_BUSINESS_ITEM = 'local_service_business_item';
68
+ const LOCAL_SERVICE_BUSINESS_RESTAURANT = 'local_service_business_restaurant';
69
  const LOYALTY_OFFER = 'loyalty_offer';
70
  const MEETUP_SPACE = 'meetup_space';
71
  const NURSERY = 'nursery';
112
  'computers_and_tablets' => 'Object',
113
  'computers_laptops_and_tablets' => 'Object',
114
  'diapering_and_potty_training' => 'Object',
115
+ 'digital_product_offer' => 'Object',
116
  'electronic_accessories_and_cables' => 'Object',
117
  'electronics_accessories' => 'Object',
118
  'furniture' => 'Object',
122
  'household_and_cleaning_supplies' => 'Object',
123
  'jewelry' => 'Object',
124
  'large_appliances' => 'Object',
125
+ 'local_service_business_item' => 'Object',
126
+ 'local_service_business_restaurant' => 'Object',
127
  'loyalty_offer' => 'Object',
128
  'meetup_space' => 'Object',
129
  'nursery' => 'Object',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php CHANGED
@@ -46,6 +46,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
46
  const EXTERNAL_MERCHANT_ID = 'external_merchant_id';
47
  const FACEBOOK_CHANNEL = 'facebook_channel';
48
  const HAS_DISCOUNT_CODE = 'has_discount_code';
 
49
  const ID = 'id';
50
  const INSTAGRAM_CHANNEL = 'instagram_channel';
51
  const MERCHANT_ALERT_EMAIL = 'merchant_alert_email';
@@ -73,6 +74,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
73
  'external_merchant_id' => 'string',
74
  'facebook_channel' => 'Object',
75
  'has_discount_code' => 'bool',
 
76
  'id' => 'string',
77
  'instagram_channel' => 'Object',
78
  'merchant_alert_email' => 'string',
46
  const EXTERNAL_MERCHANT_ID = 'external_merchant_id';
47
  const FACEBOOK_CHANNEL = 'facebook_channel';
48
  const HAS_DISCOUNT_CODE = 'has_discount_code';
49
+ const HAS_ONSITE_INTENT = 'has_onsite_intent';
50
  const ID = 'id';
51
  const INSTAGRAM_CHANNEL = 'instagram_channel';
52
  const MERCHANT_ALERT_EMAIL = 'merchant_alert_email';
74
  'external_merchant_id' => 'string',
75
  'facebook_channel' => 'Object',
76
  'has_discount_code' => 'bool',
77
+ 'has_onsite_intent' => 'bool',
78
  'id' => 'string',
79
  'instagram_channel' => 'Object',
80
  'merchant_alert_email' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{ReadOnlyAnalyticsUserPropertyConfigFields.php → ContextualBundlingSpecFields.php} RENAMED
@@ -35,15 +35,13 @@ use FacebookAds\Enum\AbstractEnum;
35
  *
36
  */
37
 
38
- class ReadOnlyAnalyticsUserPropertyConfigFields extends AbstractEnum {
39
 
40
- const ACTIVE_PROPERTIES = 'active_properties';
41
- const ID = 'id';
42
 
43
  public function getFieldTypes() {
44
  return array(
45
- 'active_properties' => 'list<string>',
46
- 'id' => 'string',
47
  );
48
  }
49
  }
35
  *
36
  */
37
 
38
+ class ContextualBundlingSpecFields extends AbstractEnum {
39
 
40
+ const STATUS = 'status';
 
41
 
42
  public function getFieldTypes() {
43
  return array(
44
+ 'status' => 'string',
 
45
  );
46
  }
47
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ImageCopyrightFields.php ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-generated.
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 ImageCopyrightFields extends AbstractEnum {
39
+
40
+ const ARTIST = 'artist';
41
+ const COPYRIGHT_MONITORING_STATUS = 'copyright_monitoring_status';
42
+ const CREATION_TIME = 'creation_time';
43
+ const CREATOR = 'creator';
44
+ const CUSTOM_ID = 'custom_id';
45
+ const DESCRIPTION = 'description';
46
+ const FILENAME = 'filename';
47
+ const ID = 'id';
48
+ const IMAGE = 'image';
49
+ const MATCHES_COUNT = 'matches_count';
50
+ const ORIGINAL_CONTENT_CREATION_DATE = 'original_content_creation_date';
51
+ const OWNERSHIP_COUNTRIES = 'ownership_countries';
52
+ const TAGS = 'tags';
53
+ const TITLE = 'title';
54
+ const UPDATE_TIME = 'update_time';
55
+
56
+ public function getFieldTypes() {
57
+ return array(
58
+ 'artist' => 'string',
59
+ 'copyright_monitoring_status' => 'string',
60
+ 'creation_time' => 'datetime',
61
+ 'creator' => 'string',
62
+ 'custom_id' => 'string',
63
+ 'description' => 'string',
64
+ 'filename' => 'string',
65
+ 'id' => 'string',
66
+ 'image' => 'Photo',
67
+ 'matches_count' => 'unsigned int',
68
+ 'original_content_creation_date' => 'datetime',
69
+ 'ownership_countries' => 'VideoCopyrightGeoGate',
70
+ 'tags' => 'list<string>',
71
+ 'title' => 'string',
72
+ 'update_time' => 'datetime',
73
+ );
74
+ }
75
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Values/GroupSuggestionCategoryValues.php → Fields/PageCommerceEligibilityFields.php} RENAMED
@@ -22,7 +22,7 @@
22
  *
23
  */
24
 
25
- namespace FacebookAds\Object\Values;
26
 
27
  use FacebookAds\Enum\AbstractEnum;
28
 
@@ -33,14 +33,17 @@ use FacebookAds\Enum\AbstractEnum;
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
- * @method static GroupSuggestionCategoryValues getInstance()
37
  */
38
- class GroupSuggestionCategoryValues extends AbstractEnum {
39
 
40
- const EVENT = 'EVENT';
41
- const MESSENGER = 'MESSENGER';
42
- const WORK = 'WORK';
43
- const WORKPLACE = 'WORKPLACE';
44
- const WORKPLACE_1_1 = 'WORKPLACE_1_1';
45
- const WORKPLACE_MANAGER = 'WORKPLACE_MANAGER';
 
 
 
 
 
46
  }
22
  *
23
  */
24
 
25
+ namespace FacebookAds\Object\Fields;
26
 
27
  use FacebookAds\Enum\AbstractEnum;
28
 
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 PageCommerceEligibilityFields extends AbstractEnum {
39
+
40
+ const OFFSITE = 'offsite';
41
+ const ONSITE = 'onsite';
42
+
43
+ public function getFieldTypes() {
44
+ return array(
45
+ 'offsite' => 'Object',
46
+ 'onsite' => 'Object',
47
+ );
48
+ }
49
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php CHANGED
@@ -79,6 +79,7 @@ class PageFields extends AbstractEnum {
79
  const FAN_COUNT = 'fan_count';
80
  const FEATURED_VIDEO = 'featured_video';
81
  const FEATURES = 'features';
 
82
  const FOOD_STYLES = 'food_styles';
83
  const FOUNDED = 'founded';
84
  const GENERAL_INFO = 'general_info';
@@ -224,6 +225,7 @@ class PageFields extends AbstractEnum {
224
  'fan_count' => 'unsigned int',
225
  'featured_video' => 'AdVideo',
226
  'features' => 'string',
 
227
  'food_styles' => 'list<string>',
228
  'founded' => 'string',
229
  'general_info' => 'string',
79
  const FAN_COUNT = 'fan_count';
80
  const FEATURED_VIDEO = 'featured_video';
81
  const FEATURES = 'features';
82
+ const FOLLOWERS_COUNT = 'followers_count';
83
  const FOOD_STYLES = 'food_styles';
84
  const FOUNDED = 'founded';
85
  const GENERAL_INFO = 'general_info';
225
  'fan_count' => 'unsigned int',
226
  'featured_video' => 'AdVideo',
227
  'features' => 'string',
228
+ 'followers_count' => 'unsigned int',
229
  'food_styles' => 'list<string>',
230
  'founded' => 'string',
231
  'general_info' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductFeedFields.php CHANGED
@@ -57,7 +57,7 @@ class ProductFeedFields extends AbstractEnum {
57
  const FEED_TYPE = 'feed_type';
58
  const OVERRIDE_VALUE = 'override_value';
59
  const RULES = 'rules';
60
- const WHITELISTED_PROPERTIES = 'whitelisted_properties';
61
 
62
  public function getFieldTypes() {
63
  return array(
@@ -81,7 +81,7 @@ class ProductFeedFields extends AbstractEnum {
81
  'feed_type' => 'FeedType',
82
  'override_value' => 'string',
83
  'rules' => 'list<string>',
84
- 'whitelisted_properties' => 'list<string>',
85
  );
86
  }
87
  }
57
  const FEED_TYPE = 'feed_type';
58
  const OVERRIDE_VALUE = 'override_value';
59
  const RULES = 'rules';
60
+ const SELECTED_OVERRIDE_FIELDS = 'selected_override_fields';
61
 
62
  public function getFieldTypes() {
63
  return array(
81
  'feed_type' => 'FeedType',
82
  'override_value' => 'string',
83
  'rules' => 'list<string>',
84
+ 'selected_override_fields' => 'list<string>',
85
  );
86
  }
87
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemARDataFields.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-generated.
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 ProductItemARDataFields extends AbstractEnum {
39
+
40
+ const CONTAINER_EFFECT = 'container_effect';
41
+ const EFFECT_ICON = 'effect_icon';
42
+ const EFFECT_PARAMETERS = 'effect_parameters';
43
+ const PICKER_ICON = 'picker_icon';
44
+ const PRODUCT_AR_LINK = 'product_ar_link';
45
+ const STATE = 'state';
46
+ const SURFACES = 'surfaces';
47
+
48
+ public function getFieldTypes() {
49
+ return array(
50
+ 'container_effect' => 'string',
51
+ 'effect_icon' => 'string',
52
+ 'effect_parameters' => 'Object',
53
+ 'picker_icon' => 'string',
54
+ 'product_ar_link' => 'Object',
55
+ 'state' => 'string',
56
+ 'surfaces' => 'list<Surfaces>',
57
+ );
58
+ }
59
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php CHANGED
@@ -42,6 +42,7 @@ class ProductItemFields extends AbstractEnum {
42
  const ADDITIONAL_VARIANT_ATTRIBUTES = 'additional_variant_attributes';
43
  const AGE_GROUP = 'age_group';
44
  const APPLINKS = 'applinks';
 
45
  const AVAILABILITY = 'availability';
46
  const BRAND = 'brand';
47
  const CAPABILITY_TO_REVIEW_STATUS = 'capability_to_review_status';
@@ -93,7 +94,6 @@ class ProductItemFields extends AbstractEnum {
93
  const START_DATE = 'start_date';
94
  const URL = 'url';
95
  const VISIBILITY = 'visibility';
96
- const ADDITIONAL_IMAGE_FILES = 'additional_image_files';
97
  const ADDITIONAL_UPLOADED_IMAGE_IDS = 'additional_uploaded_image_ids';
98
  const ANDROID_APP_NAME = 'android_app_name';
99
  const ANDROID_CLASS = 'android_class';
@@ -126,6 +126,7 @@ class ProductItemFields extends AbstractEnum {
126
  'additional_variant_attributes' => 'map<string, string>',
127
  'age_group' => 'AgeGroup',
128
  'applinks' => 'CatalogItemAppLinks',
 
129
  'availability' => 'Availability',
130
  'brand' => 'string',
131
  'capability_to_review_status' => 'map<Object, Object>',
@@ -177,7 +178,6 @@ class ProductItemFields extends AbstractEnum {
177
  'start_date' => 'string',
178
  'url' => 'string',
179
  'visibility' => 'Visibility',
180
- 'additional_image_files' => 'list<file>',
181
  'additional_uploaded_image_ids' => 'list<string>',
182
  'android_app_name' => 'string',
183
  'android_class' => 'string',
42
  const ADDITIONAL_VARIANT_ATTRIBUTES = 'additional_variant_attributes';
43
  const AGE_GROUP = 'age_group';
44
  const APPLINKS = 'applinks';
45
+ const AR_DATA = 'ar_data';
46
  const AVAILABILITY = 'availability';
47
  const BRAND = 'brand';
48
  const CAPABILITY_TO_REVIEW_STATUS = 'capability_to_review_status';
94
  const START_DATE = 'start_date';
95
  const URL = 'url';
96
  const VISIBILITY = 'visibility';
 
97
  const ADDITIONAL_UPLOADED_IMAGE_IDS = 'additional_uploaded_image_ids';
98
  const ANDROID_APP_NAME = 'android_app_name';
99
  const ANDROID_CLASS = 'android_class';
126
  'additional_variant_attributes' => 'map<string, string>',
127
  'age_group' => 'AgeGroup',
128
  'applinks' => 'CatalogItemAppLinks',
129
+ 'ar_data' => 'ProductItemARData',
130
  'availability' => 'Availability',
131
  'brand' => 'string',
132
  'capability_to_review_status' => 'map<Object, Object>',
178
  'start_date' => 'string',
179
  'url' => 'string',
180
  'visibility' => 'Visibility',
 
181
  'additional_uploaded_image_ids' => 'list<string>',
182
  'android_app_name' => 'string',
183
  'android_class' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php CHANGED
@@ -41,7 +41,6 @@ use FacebookAds\Object\Values\GroupGroupTypeValues;
41
  use FacebookAds\Object\Values\GroupJoinSettingValues;
42
  use FacebookAds\Object\Values\GroupPostPermissionsValues;
43
  use FacebookAds\Object\Values\GroupPurposeValues;
44
- use FacebookAds\Object\Values\GroupSuggestionCategoryValues;
45
  use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues;
46
  use FacebookAds\Object\Values\LiveVideoProjectionValues;
47
  use FacebookAds\Object\Values\LiveVideoSourceValues;
@@ -86,7 +85,6 @@ class Group extends AbstractCrudObject {
86
  $ref_enums['PostPermissions'] = GroupPostPermissionsValues::getInstance()->getValues();
87
  $ref_enums['Purpose'] = GroupPurposeValues::getInstance()->getValues();
88
  $ref_enums['GroupType'] = GroupGroupTypeValues::getInstance()->getValues();
89
- $ref_enums['SuggestionCategory'] = GroupSuggestionCategoryValues::getInstance()->getValues();
90
  return $ref_enums;
91
  }
92
 
@@ -475,14 +473,11 @@ class Group extends AbstractCrudObject {
475
  'post_requires_admin_approval' => 'bool',
476
  'privacy' => 'string',
477
  'ref' => 'string',
478
- 'suggestion_category' => 'suggestion_category_enum',
479
- 'suggestion_identifier' => 'string',
480
  );
481
  $enums = array(
482
  'group_type_enum' => GroupGroupTypeValues::getInstance()->getValues(),
483
  'join_setting_enum' => GroupJoinSettingValues::getInstance()->getValues(),
484
  'post_permissions_enum' => GroupPostPermissionsValues::getInstance()->getValues(),
485
- 'suggestion_category_enum' => GroupSuggestionCategoryValues::getInstance()->getValues(),
486
  );
487
 
488
  $request = new ApiRequest(
@@ -792,7 +787,6 @@ class Group extends AbstractCrudObject {
792
  'animated_effect_id' => 'unsigned int',
793
  'application_id' => 'string',
794
  'asked_fun_fact_prompt_id' => 'unsigned int',
795
- 'attribution_app_id' => 'string',
796
  'audio_story_wave_animation_handle' => 'string',
797
  'composer_entry_picker' => 'string',
798
  'composer_entry_point' => 'string',
41
  use FacebookAds\Object\Values\GroupJoinSettingValues;
42
  use FacebookAds\Object\Values\GroupPostPermissionsValues;
43
  use FacebookAds\Object\Values\GroupPurposeValues;
 
44
  use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues;
45
  use FacebookAds\Object\Values\LiveVideoProjectionValues;
46
  use FacebookAds\Object\Values\LiveVideoSourceValues;
85
  $ref_enums['PostPermissions'] = GroupPostPermissionsValues::getInstance()->getValues();
86
  $ref_enums['Purpose'] = GroupPurposeValues::getInstance()->getValues();
87
  $ref_enums['GroupType'] = GroupGroupTypeValues::getInstance()->getValues();
 
88
  return $ref_enums;
89
  }
90
 
473
  'post_requires_admin_approval' => 'bool',
474
  'privacy' => 'string',
475
  'ref' => 'string',
 
 
476
  );
477
  $enums = array(
478
  'group_type_enum' => GroupGroupTypeValues::getInstance()->getValues(),
479
  'join_setting_enum' => GroupJoinSettingValues::getInstance()->getValues(),
480
  'post_permissions_enum' => GroupPostPermissionsValues::getInstance()->getValues(),
 
481
  );
482
 
483
  $request = new ApiRequest(
787
  'animated_effect_id' => 'unsigned int',
788
  'application_id' => 'string',
789
  'asked_fun_fact_prompt_id' => 'unsigned int',
 
790
  'audio_story_wave_animation_handle' => 'string',
791
  'composer_entry_picker' => 'string',
792
  'composer_entry_point' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/IGUser.php CHANGED
@@ -56,6 +56,30 @@ class IGUser extends AbstractCrudObject {
56
  }
57
 
58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  public function getInsights(array $fields = array(), array $params = array(), $pending = false) {
60
  $this->assureId();
61
 
56
  }
57
 
58
 
59
+ public function getContentPublishingLimit(array $fields = array(), array $params = array(), $pending = false) {
60
+ $this->assureId();
61
+
62
+ $param_types = array(
63
+ 'since' => 'datetime',
64
+ );
65
+ $enums = array(
66
+ );
67
+
68
+ $request = new ApiRequest(
69
+ $this->api,
70
+ $this->data['id'],
71
+ RequestInterface::METHOD_GET,
72
+ '/content_publishing_limit',
73
+ new AbstractCrudObject(),
74
+ 'EDGE',
75
+ array(),
76
+ new TypeChecker($param_types, $enums)
77
+ );
78
+ $request->addParams($params);
79
+ $request->addFields($fields);
80
+ return $pending ? $request : $request->execute();
81
+ }
82
+
83
  public function getInsights(array $fields = array(), array $params = array(), $pending = false) {
84
  $this->assureId();
85
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ImageCopyright.php ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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;
26
+
27
+ use FacebookAds\ApiRequest;
28
+ use FacebookAds\Cursor;
29
+ use FacebookAds\Http\RequestInterface;
30
+ use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\ImageCopyrightFields;
32
+ use FacebookAds\Object\Values\ImageCopyrightGeoOwnershipValues;
33
+
34
+ /**
35
+ * This class is auto-generated.
36
+ *
37
+ * For any issues or feature requests related to this class, please let us know
38
+ * on github and we'll fix in our codegen framework. We'll not be able to accept
39
+ * pull request for this class.
40
+ *
41
+ */
42
+
43
+ class ImageCopyright extends AbstractCrudObject {
44
+
45
+ /**
46
+ * @return ImageCopyrightFields
47
+ */
48
+ public static function getFieldsEnum() {
49
+ return ImageCopyrightFields::getInstance();
50
+ }
51
+
52
+ protected static function getReferencedEnums() {
53
+ $ref_enums = array();
54
+ $ref_enums['GeoOwnership'] = ImageCopyrightGeoOwnershipValues::getInstance()->getValues();
55
+ return $ref_enums;
56
+ }
57
+
58
+
59
+ public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
60
+ $this->assureId();
61
+
62
+ $param_types = array(
63
+ );
64
+ $enums = array(
65
+ );
66
+
67
+ $request = new ApiRequest(
68
+ $this->api,
69
+ $this->data['id'],
70
+ RequestInterface::METHOD_DELETE,
71
+ '/',
72
+ new AbstractCrudObject(),
73
+ 'NODE',
74
+ array(),
75
+ new TypeChecker($param_types, $enums)
76
+ );
77
+ $request->addParams($params);
78
+ $request->addFields($fields);
79
+ return $pending ? $request : $request->execute();
80
+ }
81
+
82
+ public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
83
+ $this->assureId();
84
+
85
+ $param_types = array(
86
+ );
87
+ $enums = array(
88
+ );
89
+
90
+ $request = new ApiRequest(
91
+ $this->api,
92
+ $this->data['id'],
93
+ RequestInterface::METHOD_GET,
94
+ '/',
95
+ new ImageCopyright(),
96
+ 'NODE',
97
+ ImageCopyright::getFieldsEnum()->getValues(),
98
+ new TypeChecker($param_types, $enums)
99
+ );
100
+ $request->addParams($params);
101
+ $request->addFields($fields);
102
+ return $pending ? $request : $request->execute();
103
+ }
104
+
105
+ public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
106
+ $this->assureId();
107
+
108
+ $param_types = array(
109
+ 'artist' => 'string',
110
+ 'creator' => 'string',
111
+ 'custom_id' => 'string',
112
+ 'description' => 'string',
113
+ 'geo_ownership' => 'list<geo_ownership_enum>',
114
+ 'original_content_creation_date' => 'unsigned int',
115
+ 'title' => 'string',
116
+ );
117
+ $enums = array(
118
+ 'geo_ownership_enum' => ImageCopyrightGeoOwnershipValues::getInstance()->getValues(),
119
+ );
120
+
121
+ $request = new ApiRequest(
122
+ $this->api,
123
+ $this->data['id'],
124
+ RequestInterface::METHOD_POST,
125
+ '/',
126
+ new ImageCopyright(),
127
+ 'NODE',
128
+ ImageCopyright::getFieldsEnum()->getValues(),
129
+ new TypeChecker($param_types, $enums)
130
+ );
131
+ $request->addParams($params);
132
+ $request->addFields($fields);
133
+ return $pending ? $request : $request->execute();
134
+ }
135
+
136
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php CHANGED
@@ -42,6 +42,7 @@ use FacebookAds\Object\Values\CommerceOrderStateValues;
42
  use FacebookAds\Object\Values\EventEventStateFilterValues;
43
  use FacebookAds\Object\Values\EventTimeFilterValues;
44
  use FacebookAds\Object\Values\EventTypeValues;
 
45
  use FacebookAds\Object\Values\InsightsResultDatePresetValues;
46
  use FacebookAds\Object\Values\InsightsResultPeriodValues;
47
  use FacebookAds\Object\Values\InstantArticleInsightsQueryResultBreakdownValues;
@@ -621,6 +622,29 @@ class Page extends AbstractCrudObject {
621
  return $pending ? $request : $request->execute();
622
  }
623
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
624
  public function getCommerceMerchantSettings(array $fields = array(), array $params = array(), $pending = false) {
625
  $this->assureId();
626
 
@@ -1220,6 +1244,62 @@ class Page extends AbstractCrudObject {
1220
  return $pending ? $request : $request->execute();
1221
  }
1222
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1223
  public function getIndexedVideos(array $fields = array(), array $params = array(), $pending = false) {
1224
  $this->assureId();
1225
 
@@ -1681,6 +1761,7 @@ class Page extends AbstractCrudObject {
1681
  'location' => 'Object',
1682
  'location_page_id' => 'string',
1683
  'old_store_number' => 'unsigned int',
 
1684
  'permanently_closed' => 'bool',
1685
  'phone' => 'string',
1686
  'pickup_options' => 'list<pickup_options_enum>',
@@ -3122,7 +3203,6 @@ class Page extends AbstractCrudObject {
3122
  'animated_effect_id' => 'unsigned int',
3123
  'application_id' => 'string',
3124
  'asked_fun_fact_prompt_id' => 'unsigned int',
3125
- 'attribution_app_id' => 'string',
3126
  'audio_story_wave_animation_handle' => 'string',
3127
  'backdated_post' => 'list',
3128
  'call_to_action' => 'Object',
42
  use FacebookAds\Object\Values\EventEventStateFilterValues;
43
  use FacebookAds\Object\Values\EventTimeFilterValues;
44
  use FacebookAds\Object\Values\EventTypeValues;
45
+ use FacebookAds\Object\Values\ImageCopyrightGeoOwnershipValues;
46
  use FacebookAds\Object\Values\InsightsResultDatePresetValues;
47
  use FacebookAds\Object\Values\InsightsResultPeriodValues;
48
  use FacebookAds\Object\Values\InstantArticleInsightsQueryResultBreakdownValues;
622
  return $pending ? $request : $request->execute();
623
  }
624
 
625
+ public function getCommerceEligibility(array $fields = array(), array $params = array(), $pending = false) {
626
+ $this->assureId();
627
+
628
+ $param_types = array(
629
+ );
630
+ $enums = array(
631
+ );
632
+
633
+ $request = new ApiRequest(
634
+ $this->api,
635
+ $this->data['id'],
636
+ RequestInterface::METHOD_GET,
637
+ '/commerce_eligibility',
638
+ new PageCommerceEligibility(),
639
+ 'EDGE',
640
+ PageCommerceEligibility::getFieldsEnum()->getValues(),
641
+ new TypeChecker($param_types, $enums)
642
+ );
643
+ $request->addParams($params);
644
+ $request->addFields($fields);
645
+ return $pending ? $request : $request->execute();
646
+ }
647
+
648
  public function getCommerceMerchantSettings(array $fields = array(), array $params = array(), $pending = false) {
649
  $this->assureId();
650
 
1244
  return $pending ? $request : $request->execute();
1245
  }
1246
 
1247
+ public function getImageCopyrights(array $fields = array(), array $params = array(), $pending = false) {
1248
+ $this->assureId();
1249
+
1250
+ $param_types = array(
1251
+ );
1252
+ $enums = array(
1253
+ );
1254
+
1255
+ $request = new ApiRequest(
1256
+ $this->api,
1257
+ $this->data['id'],
1258
+ RequestInterface::METHOD_GET,
1259
+ '/image_copyrights',
1260
+ new ImageCopyright(),
1261
+ 'EDGE',
1262
+ ImageCopyright::getFieldsEnum()->getValues(),
1263
+ new TypeChecker($param_types, $enums)
1264
+ );
1265
+ $request->addParams($params);
1266
+ $request->addFields($fields);
1267
+ return $pending ? $request : $request->execute();
1268
+ }
1269
+
1270
+ public function createImageCopyright(array $fields = array(), array $params = array(), $pending = false) {
1271
+ $this->assureId();
1272
+
1273
+ $param_types = array(
1274
+ 'artist' => 'string',
1275
+ 'creator' => 'string',
1276
+ 'custom_id' => 'string',
1277
+ 'description' => 'string',
1278
+ 'filename' => 'string',
1279
+ 'geo_ownership' => 'list<geo_ownership_enum>',
1280
+ 'original_content_creation_date' => 'unsigned int',
1281
+ 'reference_photo' => 'string',
1282
+ 'title' => 'string',
1283
+ );
1284
+ $enums = array(
1285
+ 'geo_ownership_enum' => ImageCopyrightGeoOwnershipValues::getInstance()->getValues(),
1286
+ );
1287
+
1288
+ $request = new ApiRequest(
1289
+ $this->api,
1290
+ $this->data['id'],
1291
+ RequestInterface::METHOD_POST,
1292
+ '/image_copyrights',
1293
+ new ImageCopyright(),
1294
+ 'EDGE',
1295
+ ImageCopyright::getFieldsEnum()->getValues(),
1296
+ new TypeChecker($param_types, $enums)
1297
+ );
1298
+ $request->addParams($params);
1299
+ $request->addFields($fields);
1300
+ return $pending ? $request : $request->execute();
1301
+ }
1302
+
1303
  public function getIndexedVideos(array $fields = array(), array $params = array(), $pending = false) {
1304
  $this->assureId();
1305
 
1761
  'location' => 'Object',
1762
  'location_page_id' => 'string',
1763
  'old_store_number' => 'unsigned int',
1764
+ 'page_username' => 'string',
1765
  'permanently_closed' => 'bool',
1766
  'phone' => 'string',
1767
  'pickup_options' => 'list<pickup_options_enum>',
3203
  'animated_effect_id' => 'unsigned int',
3204
  'application_id' => 'string',
3205
  'asked_fun_fact_prompt_id' => 'unsigned int',
 
3206
  'audio_story_wave_animation_handle' => 'string',
3207
  'backdated_post' => 'list',
3208
  'call_to_action' => 'Object',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{ReadOnlyAnalyticsUserPropertyConfig.php → PageCommerceEligibility.php} RENAMED
@@ -28,7 +28,7 @@ use FacebookAds\ApiRequest;
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
- use FacebookAds\Object\Fields\ReadOnlyAnalyticsUserPropertyConfigFields;
32
 
33
  /**
34
  * This class is auto-generated.
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\ReadOnlyAnalyticsUserPropertyConfigFields;
39
  *
40
  */
41
 
42
- class ReadOnlyAnalyticsUserPropertyConfig extends AbstractCrudObject {
43
 
44
  /**
45
- * @return ReadOnlyAnalyticsUserPropertyConfigFields
46
  */
47
  public static function getFieldsEnum() {
48
- return ReadOnlyAnalyticsUserPropertyConfigFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
@@ -54,27 +54,4 @@ class ReadOnlyAnalyticsUserPropertyConfig extends AbstractCrudObject {
54
  }
55
 
56
 
57
- public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
58
- $this->assureId();
59
-
60
- $param_types = array(
61
- );
62
- $enums = array(
63
- );
64
-
65
- $request = new ApiRequest(
66
- $this->api,
67
- $this->data['id'],
68
- RequestInterface::METHOD_GET,
69
- '/',
70
- new ReadOnlyAnalyticsUserPropertyConfig(),
71
- 'NODE',
72
- ReadOnlyAnalyticsUserPropertyConfig::getFieldsEnum()->getValues(),
73
- new TypeChecker($param_types, $enums)
74
- );
75
- $request->addParams($params);
76
- $request->addFields($fields);
77
- return $pending ? $request : $request->execute();
78
- }
79
-
80
  }
28
  use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\PageCommerceEligibilityFields;
32
 
33
  /**
34
  * This class is auto-generated.
39
  *
40
  */
41
 
42
+ class PageCommerceEligibility extends AbstractObject {
43
 
44
  /**
45
+ * @return PageCommerceEligibilityFields
46
  */
47
  public static function getFieldsEnum() {
48
+ return PageCommerceEligibilityFields::getInstance();
49
  }
50
 
51
  protected static function getReferencedEnums() {
54
  }
55
 
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProductCatalogFields;
 
32
  use FacebookAds\Object\Values\ProductCatalogCategoryCategorizationCriteriaValues;
33
  use FacebookAds\Object\Values\ProductCatalogItemSubTypeValues;
34
  use FacebookAds\Object\Values\ProductCatalogPermittedRolesValues;
@@ -269,6 +270,41 @@ class ProductCatalog extends AbstractCrudObject {
269
  return $pending ? $request : $request->execute();
270
  }
271
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  public function createBatch(array $fields = array(), array $params = array(), $pending = false) {
273
  $this->assureId();
274
 
@@ -841,8 +877,8 @@ class ProductCatalog extends AbstractCrudObject {
841
  'quoted_fields_mode' => 'quoted_fields_mode_enum',
842
  'rules' => 'list<string>',
843
  'schedule' => 'string',
 
844
  'update_schedule' => 'string',
845
- 'whitelisted_properties' => 'list<string>',
846
  );
847
  $enums = array(
848
  'delimiter_enum' => ProductFeedDelimiterValues::getInstance()->getValues(),
@@ -1024,7 +1060,6 @@ class ProductCatalog extends AbstractCrudObject {
1024
  $this->assureId();
1025
 
1026
  $param_types = array(
1027
- 'additional_image_files' => 'list<file>',
1028
  'additional_image_urls' => 'list<string>',
1029
  'additional_uploaded_image_ids' => 'list<string>',
1030
  'additional_variant_attributes' => 'map',
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\ProductCatalogFields;
32
+ use FacebookAds\Object\Values\AutomotiveModelBodyStyleValues;
33
  use FacebookAds\Object\Values\ProductCatalogCategoryCategorizationCriteriaValues;
34
  use FacebookAds\Object\Values\ProductCatalogItemSubTypeValues;
35
  use FacebookAds\Object\Values\ProductCatalogPermittedRolesValues;
270
  return $pending ? $request : $request->execute();
271
  }
272
 
273
+ public function createAutomotiveModel(array $fields = array(), array $params = array(), $pending = false) {
274
+ $this->assureId();
275
+
276
+ $param_types = array(
277
+ 'automotive_model_id' => 'string',
278
+ 'body_style' => 'body_style_enum',
279
+ 'currency' => 'string',
280
+ 'description' => 'string',
281
+ 'images' => 'list<Object>',
282
+ 'make' => 'string',
283
+ 'model' => 'string',
284
+ 'price' => 'unsigned int',
285
+ 'title' => 'string',
286
+ 'url' => 'string',
287
+ 'year' => 'unsigned int',
288
+ );
289
+ $enums = array(
290
+ 'body_style_enum' => AutomotiveModelBodyStyleValues::getInstance()->getValues(),
291
+ );
292
+
293
+ $request = new ApiRequest(
294
+ $this->api,
295
+ $this->data['id'],
296
+ RequestInterface::METHOD_POST,
297
+ '/automotive_models',
298
+ new AutomotiveModel(),
299
+ 'EDGE',
300
+ AutomotiveModel::getFieldsEnum()->getValues(),
301
+ new TypeChecker($param_types, $enums)
302
+ );
303
+ $request->addParams($params);
304
+ $request->addFields($fields);
305
+ return $pending ? $request : $request->execute();
306
+ }
307
+
308
  public function createBatch(array $fields = array(), array $params = array(), $pending = false) {
309
  $this->assureId();
310
 
877
  'quoted_fields_mode' => 'quoted_fields_mode_enum',
878
  'rules' => 'list<string>',
879
  'schedule' => 'string',
880
+ 'selected_override_fields' => 'list<string>',
881
  'update_schedule' => 'string',
 
882
  );
883
  $enums = array(
884
  'delimiter_enum' => ProductFeedDelimiterValues::getInstance()->getValues(),
1060
  $this->assureId();
1061
 
1062
  $param_types = array(
 
1063
  'additional_image_urls' => 'list<string>',
1064
  'additional_uploaded_image_ids' => 'list<string>',
1065
  'additional_variant_attributes' => 'map',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductGroup.php CHANGED
@@ -66,43 +66,6 @@ class ProductGroup extends AbstractCrudObject {
66
  }
67
 
68
 
69
- public function createArDatum(array $fields = array(), array $params = array(), $pending = false) {
70
- $this->assureId();
71
-
72
- $param_types = array(
73
- 'effect_icon' => 'file',
74
- 'state' => 'state_enum',
75
- 'surfaces' => 'list<surfaces_enum>',
76
- );
77
- $enums = array(
78
- 'state_enum' => array(
79
- 'DISABLED',
80
- 'ENABLED',
81
- 'TEST',
82
- ),
83
- 'surfaces_enum' => array(
84
- 'SHOPS',
85
- 'TEST_CAPABILITY',
86
- 'UNIVERSAL_CHECKOUT',
87
- 'US_MARKETPLACE',
88
- ),
89
- );
90
-
91
- $request = new ApiRequest(
92
- $this->api,
93
- $this->data['id'],
94
- RequestInterface::METHOD_POST,
95
- '/ar_data',
96
- new AbstractCrudObject(),
97
- 'EDGE',
98
- array(),
99
- new TypeChecker($param_types, $enums)
100
- );
101
- $request->addParams($params);
102
- $request->addFields($fields);
103
- return $pending ? $request : $request->execute();
104
- }
105
-
106
  public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
107
  $this->assureId();
108
 
66
  }
67
 
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  public function getProducts(array $fields = array(), array $params = array(), $pending = false) {
70
  $this->assureId();
71
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php CHANGED
@@ -77,35 +77,6 @@ class ProductItem extends AbstractCrudObject {
77
  }
78
 
79
 
80
- public function createArDatum(array $fields = array(), array $params = array(), $pending = false) {
81
- $this->assureId();
82
-
83
- $param_types = array(
84
- 'container_effect' => 'container_effect_enum',
85
- 'effect_parameters' => 'map',
86
- 'picker_icon' => 'file',
87
- );
88
- $enums = array(
89
- 'container_effect_enum' => array(
90
- 'MAKEUP',
91
- ),
92
- );
93
-
94
- $request = new ApiRequest(
95
- $this->api,
96
- $this->data['id'],
97
- RequestInterface::METHOD_POST,
98
- '/ar_data',
99
- new AbstractCrudObject(),
100
- 'EDGE',
101
- array(),
102
- new TypeChecker($param_types, $enums)
103
- );
104
- $request->addParams($params);
105
- $request->addFields($fields);
106
- return $pending ? $request : $request->execute();
107
- }
108
-
109
  public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
110
  $this->assureId();
111
 
@@ -204,7 +175,6 @@ class ProductItem extends AbstractCrudObject {
204
  $this->assureId();
205
 
206
  $param_types = array(
207
- 'additional_image_files' => 'list<file>',
208
  'additional_image_urls' => 'list<string>',
209
  'additional_uploaded_image_ids' => 'list<string>',
210
  'additional_variant_attributes' => 'map',
77
  }
78
 
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  public function getChannelsToIntegrityStatus(array $fields = array(), array $params = array(), $pending = false) {
81
  $this->assureId();
82
 
175
  $this->assureId();
176
 
177
  $param_types = array(
 
178
  'additional_image_urls' => 'list<string>',
179
  'additional_uploaded_image_ids' => 'list<string>',
180
  'additional_variant_attributes' => 'map',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItemARData.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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;
26
+
27
+ use FacebookAds\ApiRequest;
28
+ use FacebookAds\Cursor;
29
+ use FacebookAds\Http\RequestInterface;
30
+ use FacebookAds\TypeChecker;
31
+ use FacebookAds\Object\Fields\ProductItemARDataFields;
32
+ use FacebookAds\Object\Values\ProductItemARDataSurfacesValues;
33
+
34
+ /**
35
+ * This class is auto-generated.
36
+ *
37
+ * For any issues or feature requests related to this class, please let us know
38
+ * on github and we'll fix in our codegen framework. We'll not be able to accept
39
+ * pull request for this class.
40
+ *
41
+ */
42
+
43
+ class ProductItemARData extends AbstractObject {
44
+
45
+ /**
46
+ * @return ProductItemARDataFields
47
+ */
48
+ public static function getFieldsEnum() {
49
+ return ProductItemARDataFields::getInstance();
50
+ }
51
+
52
+ protected static function getReferencedEnums() {
53
+ $ref_enums = array();
54
+ $ref_enums['Surfaces'] = ProductItemARDataSurfacesValues::getInstance()->getValues();
55
+ return $ref_enums;
56
+ }
57
+
58
+
59
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php CHANGED
@@ -100,7 +100,7 @@ class EventRequest implements ArrayAccess {
100
  * @param string $pixel_id pixel id
101
  * @param mixed[] $data Associated array of property value initializing the model
102
  */
103
- public function __construct(string $pixel_id, array $data = null) {
104
  $this->container['pixel_id'] = $pixel_id;
105
  $this->container['events'] = isset($data['events']) ? $data['events'] : null;
106
  $this->container['test_event_code'] = isset($data['test_event_code']) ? $data['test_event_code'] : null;
100
  * @param string $pixel_id pixel id
101
  * @param mixed[] $data Associated array of property value initializing the model
102
  */
103
+ public function __construct($pixel_id, array $data = null) {
104
  $this->container['pixel_id'] = $pixel_id;
105
  $this->container['events'] = isset($data['events']) ? $data['events'] : null;
106
  $this->container['test_event_code'] = isset($data['test_event_code']) ? $data['test_event_code'] : null;
vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php CHANGED
@@ -118,6 +118,32 @@ class User extends AbstractCrudObject {
118
  return $pending ? $request : $request->execute();
119
  }
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  public function getAccounts(array $fields = array(), array $params = array(), $pending = false) {
122
  $this->assureId();
123
 
@@ -581,6 +607,29 @@ class User extends AbstractCrudObject {
581
  return $pending ? $request : $request->execute();
582
  }
583
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
584
  public function getEvents(array $fields = array(), array $params = array(), $pending = false) {
585
  $this->assureId();
586
 
@@ -1563,7 +1612,6 @@ class User extends AbstractCrudObject {
1563
  'animated_effect_id' => 'unsigned int',
1564
  'application_id' => 'string',
1565
  'asked_fun_fact_prompt_id' => 'unsigned int',
1566
- 'attribution_app_id' => 'string',
1567
  'audio_story_wave_animation_handle' => 'string',
1568
  'composer_entry_picker' => 'string',
1569
  'composer_entry_point' => 'string',
118
  return $pending ? $request : $request->execute();
119
  }
120
 
121
+ public function createAccessToken(array $fields = array(), array $params = array(), $pending = false) {
122
+ $this->assureId();
123
+
124
+ $param_types = array(
125
+ 'business_app' => 'int',
126
+ 'page_id' => 'string',
127
+ 'scope' => 'list<Permission>',
128
+ );
129
+ $enums = array(
130
+ );
131
+
132
+ $request = new ApiRequest(
133
+ $this->api,
134
+ $this->data['id'],
135
+ RequestInterface::METHOD_POST,
136
+ '/access_tokens',
137
+ new User(),
138
+ 'EDGE',
139
+ User::getFieldsEnum()->getValues(),
140
+ new TypeChecker($param_types, $enums)
141
+ );
142
+ $request->addParams($params);
143
+ $request->addFields($fields);
144
+ return $pending ? $request : $request->execute();
145
+ }
146
+
147
  public function getAccounts(array $fields = array(), array $params = array(), $pending = false) {
148
  $this->assureId();
149
 
607
  return $pending ? $request : $request->execute();
608
  }
609
 
610
+ public function getCustomLabels(array $fields = array(), array $params = array(), $pending = false) {
611
+ $this->assureId();
612
+
613
+ $param_types = array(
614
+ );
615
+ $enums = array(
616
+ );
617
+
618
+ $request = new ApiRequest(
619
+ $this->api,
620
+ $this->data['id'],
621
+ RequestInterface::METHOD_GET,
622
+ '/custom_labels',
623
+ new PageUserMessageThreadLabel(),
624
+ 'EDGE',
625
+ PageUserMessageThreadLabel::getFieldsEnum()->getValues(),
626
+ new TypeChecker($param_types, $enums)
627
+ );
628
+ $request->addParams($params);
629
+ $request->addFields($fields);
630
+ return $pending ? $request : $request->execute();
631
+ }
632
+
633
  public function getEvents(array $fields = array(), array $params = array(), $pending = false) {
634
  $this->assureId();
635
 
1612
  'animated_effect_id' => 'unsigned int',
1613
  'application_id' => 'string',
1614
  'asked_fun_fact_prompt_id' => 'unsigned int',
 
1615
  'audio_story_wave_animation_handle' => 'string',
1616
  'composer_entry_picker' => 'string',
1617
  'composer_entry_point' => 'string',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedObjectiveValues.php CHANGED
@@ -46,7 +46,6 @@ class AdAccountTargetingUnifiedObjectiveValues extends AbstractEnum {
46
  const LOCAL_AWARENESS = 'LOCAL_AWARENESS';
47
  const MESSAGES = 'MESSAGES';
48
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
49
- const OUTCOME_LEADS = 'OUTCOME_LEADS';
50
  const PAGE_LIKES = 'PAGE_LIKES';
51
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
52
  const PRODUCT_CATALOG_SALES = 'PRODUCT_CATALOG_SALES';
46
  const LOCAL_AWARENESS = 'LOCAL_AWARENESS';
47
  const MESSAGES = 'MESSAGES';
48
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
 
49
  const PAGE_LIKES = 'PAGE_LIKES';
50
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
51
  const PRODUCT_CATALOG_SALES = 'PRODUCT_CATALOG_SALES';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityBillingEventNewValues.php CHANGED
@@ -41,9 +41,11 @@ class AdCampaignActivityBillingEventNewValues extends AbstractEnum {
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
 
44
  const NONE = 'NONE';
45
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
46
  const PAGE_LIKES = 'PAGE_LIKES';
47
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
48
  const THRUPLAY = 'THRUPLAY';
49
  }
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
44
+ const LISTING_INTERACTION = 'LISTING_INTERACTION';
45
  const NONE = 'NONE';
46
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
47
  const PAGE_LIKES = 'PAGE_LIKES';
48
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
49
+ const PURCHASE = 'PURCHASE';
50
  const THRUPLAY = 'THRUPLAY';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityBillingEventOldValues.php CHANGED
@@ -41,9 +41,11 @@ class AdCampaignActivityBillingEventOldValues extends AbstractEnum {
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
 
44
  const NONE = 'NONE';
45
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
46
  const PAGE_LIKES = 'PAGE_LIKES';
47
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
48
  const THRUPLAY = 'THRUPLAY';
49
  }
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
44
+ const LISTING_INTERACTION = 'LISTING_INTERACTION';
45
  const NONE = 'NONE';
46
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
47
  const PAGE_LIKES = 'PAGE_LIKES';
48
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
49
+ const PURCHASE = 'PURCHASE';
50
  const THRUPLAY = 'THRUPLAY';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php CHANGED
@@ -45,10 +45,13 @@ class AdPreviewAdFormatValues extends AbstractEnum {
45
  const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
46
  const INSTAGRAM_EXPLORE_CONTEXTUAL = 'INSTAGRAM_EXPLORE_CONTEXTUAL';
47
  const INSTAGRAM_EXPLORE_IMMERSIVE = 'INSTAGRAM_EXPLORE_IMMERSIVE';
 
48
  const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
49
  const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
50
  const INSTANT_ARTICLE_RECIRCULATION_AD = 'INSTANT_ARTICLE_RECIRCULATION_AD';
51
  const INSTANT_ARTICLE_STANDARD = 'INSTANT_ARTICLE_STANDARD';
 
 
52
  const INSTREAM_VIDEO_DESKTOP = 'INSTREAM_VIDEO_DESKTOP';
53
  const INSTREAM_VIDEO_IMAGE = 'INSTREAM_VIDEO_IMAGE';
54
  const INSTREAM_VIDEO_MOBILE = 'INSTREAM_VIDEO_MOBILE';
45
  const FACEBOOK_STORY_MOBILE = 'FACEBOOK_STORY_MOBILE';
46
  const INSTAGRAM_EXPLORE_CONTEXTUAL = 'INSTAGRAM_EXPLORE_CONTEXTUAL';
47
  const INSTAGRAM_EXPLORE_IMMERSIVE = 'INSTAGRAM_EXPLORE_IMMERSIVE';
48
+ const INSTAGRAM_REELS = 'INSTAGRAM_REELS';
49
  const INSTAGRAM_STANDARD = 'INSTAGRAM_STANDARD';
50
  const INSTAGRAM_STORY = 'INSTAGRAM_STORY';
51
  const INSTANT_ARTICLE_RECIRCULATION_AD = 'INSTANT_ARTICLE_RECIRCULATION_AD';
52
  const INSTANT_ARTICLE_STANDARD = 'INSTANT_ARTICLE_STANDARD';
53
+ const INSTREAM_BANNER_DESKTOP = 'INSTREAM_BANNER_DESKTOP';
54
+ const INSTREAM_BANNER_MOBILE = 'INSTREAM_BANNER_MOBILE';
55
  const INSTREAM_VIDEO_DESKTOP = 'INSTREAM_VIDEO_DESKTOP';
56
  const INSTREAM_VIDEO_IMAGE = 'INSTREAM_VIDEO_IMAGE';
57
  const INSTREAM_VIDEO_MOBILE = 'INSTREAM_VIDEO_MOBILE';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetBillingEventValues.php CHANGED
@@ -41,9 +41,11 @@ class AdSetBillingEventValues extends AbstractEnum {
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
 
44
  const NONE = 'NONE';
45
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
46
  const PAGE_LIKES = 'PAGE_LIKES';
47
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
 
48
  const THRUPLAY = 'THRUPLAY';
49
  }
41
  const CLICKS = 'CLICKS';
42
  const IMPRESSIONS = 'IMPRESSIONS';
43
  const LINK_CLICKS = 'LINK_CLICKS';
44
+ const LISTING_INTERACTION = 'LISTING_INTERACTION';
45
  const NONE = 'NONE';
46
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
47
  const PAGE_LIKES = 'PAGE_LIKES';
48
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
49
+ const PURCHASE = 'PURCHASE';
50
  const THRUPLAY = 'THRUPLAY';
51
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
37
  */
38
  class AdVideoContainerTypeValues extends AbstractEnum {
39
 
 
40
  const ACO_VIDEO_VARIATION = 'ACO_VIDEO_VARIATION';
41
  const AD_BREAK_PREVIEW = 'AD_BREAK_PREVIEW';
42
  const AD_DERIVATIVE = 'AD_DERIVATIVE';
@@ -74,6 +75,7 @@ class AdVideoContainerTypeValues extends AbstractEnum {
74
  const EVENT_TOUR = 'EVENT_TOUR';
75
  const FACECAST_DVR = 'FACECAST_DVR';
76
  const FB_SHORTS = 'FB_SHORTS';
 
77
  const FB_SHORTS_POST = 'FB_SHORTS_POST';
78
  const FUNDRAISER_COVER_VIDEO = 'FUNDRAISER_COVER_VIDEO';
79
  const GAME_CLIP = 'GAME_CLIP';
37
  */
38
  class AdVideoContainerTypeValues extends AbstractEnum {
39
 
40
+ const ACO_AUTOEXTRACTED_VIDEO = 'ACO_AUTOEXTRACTED_VIDEO';
41
  const ACO_VIDEO_VARIATION = 'ACO_VIDEO_VARIATION';
42
  const AD_BREAK_PREVIEW = 'AD_BREAK_PREVIEW';
43
  const AD_DERIVATIVE = 'AD_DERIVATIVE';
75
  const EVENT_TOUR = 'EVENT_TOUR';
76
  const FACECAST_DVR = 'FACECAST_DVR';
77
  const FB_SHORTS = 'FB_SHORTS';
78
+ const FB_SHORTS_GROUP_POST = 'FB_SHORTS_GROUP_POST';
79
  const FB_SHORTS_POST = 'FB_SHORTS_POST';
80
  const FUNDRAISER_COVER_VIDEO = 'FUNDRAISER_COVER_VIDEO';
81
  const GAME_CLIP = 'GAME_CLIP';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AutomotiveModelBodyStyleValues.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\Values;
26
+
27
+ use FacebookAds\Enum\AbstractEnum;
28
+
29
+ /**
30
+ * This class is auto-generated.
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
+ * @method static AutomotiveModelBodyStyleValues getInstance()
37
+ */
38
+ class AutomotiveModelBodyStyleValues extends AbstractEnum {
39
+
40
+ const CONVERTIBLE = 'CONVERTIBLE';
41
+ const COUPE = 'COUPE';
42
+ const CROSSOVER = 'CROSSOVER';
43
+ const ESTATE = 'ESTATE';
44
+ const GRANDTOURER = 'GRANDTOURER';
45
+ const HATCHBACK = 'HATCHBACK';
46
+ const MINIBUS = 'MINIBUS';
47
+ const MINIVAN = 'MINIVAN';
48
+ const MPV = 'MPV';
49
+ const NONE = 'NONE';
50
+ const OTHER = 'OTHER';
51
+ const PICKUP = 'PICKUP';
52
+ const ROADSTER = 'ROADSTER';
53
+ const SALOON = 'SALOON';
54
+ const SEDAN = 'SEDAN';
55
+ const SPORTSCAR = 'SPORTSCAR';
56
+ const SUPERCAR = 'SUPERCAR';
57
+ const SUPERMINI = 'SUPERMINI';
58
+ const SUV = 'SUV';
59
+ const TRUCK = 'TRUCK';
60
+ const VAN = 'VAN';
61
+ const WAGON = 'WAGON';
62
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignObjectiveValues.php CHANGED
@@ -46,7 +46,6 @@ class CampaignObjectiveValues extends AbstractEnum {
46
  const LOCAL_AWARENESS = 'LOCAL_AWARENESS';
47
  const MESSAGES = 'MESSAGES';
48
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
49
- const OUTCOME_LEADS = 'OUTCOME_LEADS';
50
  const PAGE_LIKES = 'PAGE_LIKES';
51
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
52
  const PRODUCT_CATALOG_SALES = 'PRODUCT_CATALOG_SALES';
46
  const LOCAL_AWARENESS = 'LOCAL_AWARENESS';
47
  const MESSAGES = 'MESSAGES';
48
  const OFFER_CLAIMS = 'OFFER_CLAIMS';
 
49
  const PAGE_LIKES = 'PAGE_LIKES';
50
  const POST_ENGAGEMENT = 'POST_ENGAGEMENT';
51
  const PRODUCT_CATALOG_SALES = 'PRODUCT_CATALOG_SALES';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommentCommentPrivacyValueValues.php CHANGED
@@ -42,6 +42,7 @@ class CommentCommentPrivacyValueValues extends AbstractEnum {
42
  const FRIENDS_ONLY = 'FRIENDS_ONLY';
43
  const GRAPHQL_MULTIPLE_VALUE_HACK_DO_NOT_USE = 'GRAPHQL_MULTIPLE_VALUE_HACK_DO_NOT_USE';
44
  const OWNER_OR_COMMENTER = 'OWNER_OR_COMMENTER';
 
45
  const SIDE_CONVERSATION = 'SIDE_CONVERSATION';
46
  const SIDE_CONVERSATION_AND_POST_OWNER = 'SIDE_CONVERSATION_AND_POST_OWNER';
47
  }
42
  const FRIENDS_ONLY = 'FRIENDS_ONLY';
43
  const GRAPHQL_MULTIPLE_VALUE_HACK_DO_NOT_USE = 'GRAPHQL_MULTIPLE_VALUE_HACK_DO_NOT_USE';
44
  const OWNER_OR_COMMENTER = 'OWNER_OR_COMMENTER';
45
+ const PENDING_APPROVAL = 'PENDING_APPROVAL';
46
  const SIDE_CONVERSATION = 'SIDE_CONVERSATION';
47
  const SIDE_CONVERSATION_AND_POST_OWNER = 'SIDE_CONVERSATION_AND_POST_OWNER';
48
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ImageCopyrightGeoOwnershipValues.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\Values;
26
+
27
+ use FacebookAds\Enum\AbstractEnum;
28
+
29
+ /**
30
+ * This class is auto-generated.
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
+ * @method static ImageCopyrightGeoOwnershipValues getInstance()
37
+ */
38
+ class ImageCopyrightGeoOwnershipValues extends AbstractEnum {
39
+
40
+ const AD = 'AD';
41
+ const AE = 'AE';
42
+ const AF = 'AF';
43
+ const AG = 'AG';
44
+ const AI = 'AI';
45
+ const AL = 'AL';
46
+ const AM = 'AM';
47
+ const AN = 'AN';
48
+ const AO = 'AO';
49
+ const AQ = 'AQ';
50
+ const AR = 'AR';
51
+ const VALUE_AS = 'AS';
52
+ const AT = 'AT';
53
+ const AU = 'AU';
54
+ const AW = 'AW';
55
+ const AX = 'AX';
56
+ const AZ = 'AZ';
57
+ const BA = 'BA';
58
+ const BB = 'BB';
59
+ const BD = 'BD';
60
+ const BE = 'BE';
61
+ const BF = 'BF';
62
+ const BG = 'BG';
63
+ const BH = 'BH';
64
+ const BI = 'BI';
65
+ const BJ = 'BJ';
66
+ const BL = 'BL';
67
+ const BM = 'BM';
68
+ const BN = 'BN';
69
+ const BO = 'BO';
70
+ const BQ = 'BQ';
71
+ const BR = 'BR';
72
+ const BS = 'BS';
73
+ const BT = 'BT';
74
+ const BV = 'BV';
75
+ const BW = 'BW';
76
+ const BY = 'BY';
77
+ const BZ = 'BZ';
78
+ const CA = 'CA';
79
+ const CC = 'CC';
80
+ const CD = 'CD';
81
+ const CF = 'CF';
82
+ const CG = 'CG';
83
+ const CH = 'CH';
84
+ const CI = 'CI';
85
+ const CK = 'CK';
86
+ const CL = 'CL';
87
+ const CM = 'CM';
88
+ const CN = 'CN';
89
+ const CO = 'CO';
90
+ const CR = 'CR';
91
+ const CU = 'CU';
92
+ const CV = 'CV';
93
+ const CW = 'CW';
94
+ const CX = 'CX';
95
+ const CY = 'CY';
96
+ const CZ = 'CZ';
97
+ const DE = 'DE';
98
+ const DJ = 'DJ';
99
+ const DK = 'DK';
100
+ const DM = 'DM';
101
+ const VALUE_DO = 'DO';
102
+ const DZ = 'DZ';
103
+ const EC = 'EC';
104
+ const EE = 'EE';
105
+ const EG = 'EG';
106
+ const EH = 'EH';
107
+ const ER = 'ER';
108
+ const ES = 'ES';
109
+ const ET = 'ET';
110
+ const FI = 'FI';
111
+ const FJ = 'FJ';
112
+ const FK = 'FK';
113
+ const FM = 'FM';
114
+ const FO = 'FO';
115
+ const FR = 'FR';
116
+ const GA = 'GA';
117
+ const GB = 'GB';
118
+ const GD = 'GD';
119
+ const GE = 'GE';
120
+ const GF = 'GF';
121
+ const GG = 'GG';
122
+ const GH = 'GH';
123
+ const GI = 'GI';
124
+ const GL = 'GL';
125
+ const GM = 'GM';
126
+ const GN = 'GN';
127
+ const GP = 'GP';
128
+ const GQ = 'GQ';
129
+ const GR = 'GR';
130
+ const GS = 'GS';
131
+ const GT = 'GT';
132
+ const GU = 'GU';
133
+ const GW = 'GW';
134
+ const GY = 'GY';
135
+ const HK = 'HK';
136
+ const HM = 'HM';
137
+ const HN = 'HN';
138
+ const HR = 'HR';
139
+ const HT = 'HT';
140
+ const HU = 'HU';
141
+ const ID = 'ID';
142
+ const IE = 'IE';
143
+ const IL = 'IL';
144
+ const IM = 'IM';
145
+ const IN = 'IN';
146
+ const IO = 'IO';
147
+ const IQ = 'IQ';
148
+ const IR = 'IR';
149
+ const IS = 'IS';
150
+ const IT = 'IT';
151
+ const JE = 'JE';
152
+ const JM = 'JM';
153
+ const JO = 'JO';
154
+ const JP = 'JP';
155
+ const KE = 'KE';
156
+ const KG = 'KG';
157
+ const KH = 'KH';
158
+ const KI = 'KI';
159
+ const KM = 'KM';
160
+ const KN = 'KN';
161
+ const KP = 'KP';
162
+ const KR = 'KR';
163
+ const KW = 'KW';
164
+ const KY = 'KY';
165
+ const KZ = 'KZ';
166
+ const LA = 'LA';
167
+ const LB = 'LB';
168
+ const LC = 'LC';
169
+ const LI = 'LI';
170
+ const LK = 'LK';
171
+ const LR = 'LR';
172
+ const LS = 'LS';
173
+ const LT = 'LT';
174
+ const LU = 'LU';
175
+ const LV = 'LV';
176
+ const LY = 'LY';
177
+ const MA = 'MA';
178
+ const MC = 'MC';
179
+ const MD = 'MD';
180
+ const ME = 'ME';
181
+ const MF = 'MF';
182
+ const MG = 'MG';
183
+ const MH = 'MH';
184
+ const MK = 'MK';
185
+ const ML = 'ML';
186
+ const MM = 'MM';
187
+ const MN = 'MN';
188
+ const MO = 'MO';
189
+ const MP = 'MP';
190
+ const MQ = 'MQ';
191
+ const MR = 'MR';
192
+ const MS = 'MS';
193
+ const MT = 'MT';
194
+ const MU = 'MU';
195
+ const MV = 'MV';
196
+ const MW = 'MW';
197
+ const MX = 'MX';
198
+ const MY = 'MY';
199
+ const MZ = 'MZ';
200
+ const NA = 'NA';
201
+ const NC = 'NC';
202
+ const NE = 'NE';
203
+ const NF = 'NF';
204
+ const NG = 'NG';
205
+ const NI = 'NI';
206
+ const NL = 'NL';
207
+ const NO = 'NO';
208
+ const NP = 'NP';
209
+ const NR = 'NR';
210
+ const NU = 'NU';
211
+ const NZ = 'NZ';
212
+ const OM = 'OM';
213
+ const PA = 'PA';
214
+ const PE = 'PE';
215
+ const PF = 'PF';
216
+ const PG = 'PG';
217
+ const PH = 'PH';
218
+ const PK = 'PK';
219
+ const PL = 'PL';
220
+ const PM = 'PM';
221
+ const PN = 'PN';
222
+ const PR = 'PR';
223
+ const PS = 'PS';
224
+ const PT = 'PT';
225
+ const PW = 'PW';
226
+ const PY = 'PY';
227
+ const QA = 'QA';
228
+ const RE = 'RE';
229
+ const RO = 'RO';
230
+ const RS = 'RS';
231
+ const RU = 'RU';
232
+ const RW = 'RW';
233
+ const SA = 'SA';
234
+ const SB = 'SB';
235
+ const SC = 'SC';
236
+ const SD = 'SD';
237
+ const SE = 'SE';
238
+ const SG = 'SG';
239
+ const SH = 'SH';
240
+ const SI = 'SI';
241
+ const SJ = 'SJ';
242
+ const SK = 'SK';
243
+ const SL = 'SL';
244
+ const SM = 'SM';
245
+ const SN = 'SN';
246
+ const SO = 'SO';
247
+ const SR = 'SR';
248
+ const SS = 'SS';
249
+ const ST = 'ST';
250
+ const SV = 'SV';
251
+ const SX = 'SX';
252
+ const SY = 'SY';
253
+ const SZ = 'SZ';
254
+ const TC = 'TC';
255
+ const TD = 'TD';
256
+ const TF = 'TF';
257
+ const TG = 'TG';
258
+ const TH = 'TH';
259
+ const TJ = 'TJ';
260
+ const TK = 'TK';
261
+ const TL = 'TL';
262
+ const TM = 'TM';
263
+ const TN = 'TN';
264
+ const TO = 'TO';
265
+ const TP = 'TP';
266
+ const TR = 'TR';
267
+ const TT = 'TT';
268
+ const TV = 'TV';
269
+ const TW = 'TW';
270
+ const TZ = 'TZ';
271
+ const UA = 'UA';
272
+ const UG = 'UG';
273
+ const UM = 'UM';
274
+ const US = 'US';
275
+ const UY = 'UY';
276
+ const UZ = 'UZ';
277
+ const VA = 'VA';
278
+ const VC = 'VC';
279
+ const VE = 'VE';
280
+ const VG = 'VG';
281
+ const VI = 'VI';
282
+ const VN = 'VN';
283
+ const VU = 'VU';
284
+ const WF = 'WF';
285
+ const WS = 'WS';
286
+ const XK = 'XK';
287
+ const YE = 'YE';
288
+ const YT = 'YT';
289
+ const ZA = 'ZA';
290
+ const ZM = 'ZM';
291
+ const ZW = 'ZW';
292
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php CHANGED
@@ -45,6 +45,7 @@ class PageCallToActionAndroidDestinationTypeValues extends AbstractEnum {
45
  const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
46
  const MESSENGER = 'MESSENGER';
47
  const MINI_SHOP = 'MINI_SHOP';
 
48
  const NONE = 'NONE';
49
  const PHONE_CALL = 'PHONE_CALL';
50
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
45
  const MARKETPLACE_INVENTORY_PAGE = 'MARKETPLACE_INVENTORY_PAGE';
46
  const MESSENGER = 'MESSENGER';
47
  const MINI_SHOP = 'MINI_SHOP';
48
+ const MOBILE_CENTER = 'MOBILE_CENTER';
49
  const NONE = 'NONE';
50
  const PHONE_CALL = 'PHONE_CALL';
51
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php CHANGED
@@ -55,6 +55,7 @@ class PageCallToActionTypeValues extends AbstractEnum {
55
  const LISTEN = 'LISTEN';
56
  const LOCAL_DEV_PLATFORM = 'LOCAL_DEV_PLATFORM';
57
  const MESSAGE = 'MESSAGE';
 
58
  const OPEN_APP = 'OPEN_APP';
59
  const ORDER_FOOD = 'ORDER_FOOD';
60
  const PLAY_MUSIC = 'PLAY_MUSIC';
55
  const LISTEN = 'LISTEN';
56
  const LOCAL_DEV_PLATFORM = 'LOCAL_DEV_PLATFORM';
57
  const MESSAGE = 'MESSAGE';
58
+ const MOBILE_CENTER = 'MOBILE_CENTER';
59
  const OPEN_APP = 'OPEN_APP';
60
  const ORDER_FOOD = 'ORDER_FOOD';
61
  const PLAY_MUSIC = 'PLAY_MUSIC';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionWebDestinationTypeValues.php CHANGED
@@ -42,6 +42,7 @@ class PageCallToActionWebDestinationTypeValues extends AbstractEnum {
42
  const EMAIL = 'EMAIL';
43
  const FOLLOW = 'FOLLOW';
44
  const MESSENGER = 'MESSENGER';
 
45
  const NONE = 'NONE';
46
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
47
  const WEBSITE = 'WEBSITE';
42
  const EMAIL = 'EMAIL';
43
  const FOLLOW = 'FOLLOW';
44
  const MESSENGER = 'MESSENGER';
45
+ const MOBILE_CENTER = 'MOBILE_CENTER';
46
  const NONE = 'NONE';
47
  const SHOP_ON_FACEBOOK = 'SHOP_ON_FACEBOOK';
48
  const WEBSITE = 'WEBSITE';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogItemSubTypeValues.php CHANGED
@@ -49,6 +49,7 @@ class ProductCatalogItemSubTypeValues extends AbstractEnum {
49
  const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
50
  const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
51
  const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
 
52
  const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
53
  const FURNITURE = 'FURNITURE';
54
  const HEALTH = 'HEALTH';
49
  const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
50
  const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
51
  const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
52
+ const DIGITAL_PRODUCT_OFFER = 'DIGITAL_PRODUCT_OFFER';
53
  const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
54
  const FURNITURE = 'FURNITURE';
55
  const HEALTH = 'HEALTH';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedItemSubTypeValues.php CHANGED
@@ -49,6 +49,7 @@ class ProductFeedItemSubTypeValues extends AbstractEnum {
49
  const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
50
  const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
51
  const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
 
52
  const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
53
  const FURNITURE = 'FURNITURE';
54
  const HEALTH = 'HEALTH';
49
  const CLOTHING_ACCESSORIES = 'CLOTHING_ACCESSORIES';
50
  const COMPUTERS_AND_TABLETS = 'COMPUTERS_AND_TABLETS';
51
  const DIAPERING_AND_POTTY_TRAINING = 'DIAPERING_AND_POTTY_TRAINING';
52
+ const DIGITAL_PRODUCT_OFFER = 'DIGITAL_PRODUCT_OFFER';
53
  const ELECTRONICS_ACCESSORIES = 'ELECTRONICS_ACCESSORIES';
54
  const FURNITURE = 'FURNITURE';
55
  const HEALTH = 'HEALTH';
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductItemARDataSurfacesValues.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\Values;
26
+
27
+ use FacebookAds\Enum\AbstractEnum;
28
+
29
+ /**
30
+ * This class is auto-generated.
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
+ * @method static ProductItemARDataSurfacesValues getInstance()
37
+ */
38
+ class ProductItemARDataSurfacesValues extends AbstractEnum {
39
+
40
+ const B2C_MARKETPLACE = 'B2C_MARKETPLACE';
41
+ const C2C_MARKETPLACE = 'C2C_MARKETPLACE';
42
+ const DA = 'DA';
43
+ const DAILY_DEALS = 'DAILY_DEALS';
44
+ const DAILY_DEALS_LEGACY = 'DAILY_DEALS_LEGACY';
45
+ const IG_PRODUCT_TAGGING = 'IG_PRODUCT_TAGGING';
46
+ const MARKETPLACE = 'MARKETPLACE';
47
+ const MARKETPLACE_ADS_DEPRECATED = 'MARKETPLACE_ADS_DEPRECATED';
48
+ const MARKETPLACE_SHOPS = 'MARKETPLACE_SHOPS';
49
+ const OFFLINE_CONVERSIONS = 'OFFLINE_CONVERSIONS';
50
+ const SHOPS = 'SHOPS';
51
+ const UNIVERSAL_CHECKOUT = 'UNIVERSAL_CHECKOUT';
52
+ }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\Values;
26
+
27
+ use FacebookAds\Enum\AbstractEnum;
28
+
29
+ /**
30
+ * This class is auto-generated.
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
+ * @method static SystemUserRoleValues getInstance()
37
+ */
38
+ class SystemUserRoleValues extends AbstractEnum {
39
+
40
+ const ADMIN = 'ADMIN';
41
+ const ADS_RIGHTS_REVIEWER = 'ADS_RIGHTS_REVIEWER';
42
+ const VALUE_DEFAULT = 'DEFAULT';
43
+ const DEVELOPER = 'DEVELOPER';
44
+ const EMPLOYEE = 'EMPLOYEE';
45
+ const FINANCE_ANALYST = 'FINANCE_ANALYST';
46
+ const FINANCE_EDIT = 'FINANCE_EDIT';
47
+ const FINANCE_EDITOR = 'FINANCE_EDITOR';
48
+ const FINANCE_VIEW = 'FINANCE_VIEW';
49
+ const MANAGE = 'MANAGE';
50
+ const PARTNER_CENTER_ADMIN = 'PARTNER_CENTER_ADMIN';
51
+ const PARTNER_CENTER_ANALYST = 'PARTNER_CENTER_ANALYST';
52
+ const PARTNER_CENTER_EDUCATION = 'PARTNER_CENTER_EDUCATION';
53
+ const PARTNER_CENTER_MARKETING = 'PARTNER_CENTER_MARKETING';
54
+ const PARTNER_CENTER_OPERATIONS = 'PARTNER_CENTER_OPERATIONS';
55
+ }