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 @@