Version Description
Download this release
Release Info
Developer | |
Plugin | |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- changelog.txt +8 -0
- composer.json +1 -1
- composer.lock +751 -7
- core/FacebookPluginConfig.php +1 -1
- core/FacebookPluginUtils.php +10 -7
- core/FacebookServerSideEvent.php +39 -8
- core/FacebookWordpressPixelInjection.php +17 -0
- core/PixelRenderer.php +11 -4
- core/ServerEventAsyncTask.php +14 -4
- core/ServerEventFactory.php +4 -0
- facebook-for-wordpress.php +1 -1
- integration/FacebookWordpressCalderaForm.php +4 -1
- integration/FacebookWordpressContactForm7.php +4 -2
- integration/FacebookWordpressEasyDigitalDownloads.php +10 -8
- integration/FacebookWordpressFormidableForm.php +2 -2
- integration/FacebookWordpressGravityForms.php +1 -1
- integration/FacebookWordpressMailchimpForWp.php +1 -1
- integration/FacebookWordpressNinjaForms.php +1 -1
- integration/FacebookWordpressWPECommerce.php +3 -3
- integration/FacebookWordpressWPForms.php +2 -2
- integration/FacebookWordpressWooCommerce.php +133 -4
- languages/official-facebook-pixel-ar_AR.po +1 -1
- languages/official-facebook-pixel-cs_CZ.po +1 -1
- languages/official-facebook-pixel-da_DK.po +1 -1
- languages/official-facebook-pixel-de_DE.po +1 -1
- languages/official-facebook-pixel-en_GB.po +1 -1
- languages/official-facebook-pixel-es_ES.po +1 -1
- languages/official-facebook-pixel-es_LA.po +1 -1
- languages/official-facebook-pixel-fi_FI.po +1 -1
- languages/official-facebook-pixel-fr_CA.po +1 -1
- languages/official-facebook-pixel-fr_FR.po +1 -1
- languages/official-facebook-pixel-he_IL.po +1 -1
- languages/official-facebook-pixel-it_IT.po +1 -1
- languages/official-facebook-pixel-ja_JP.po +1 -1
- languages/official-facebook-pixel-ko_KR.po +1 -1
- languages/official-facebook-pixel-nb_NO.po +1 -1
- languages/official-facebook-pixel-nl_NL.po +1 -1
- languages/official-facebook-pixel-pl_PL.po +1 -1
- languages/official-facebook-pixel-pt_BR.po +1 -1
- languages/official-facebook-pixel-pt_PT.po +1 -1
- languages/official-facebook-pixel-ru_RU.po +1 -1
- languages/official-facebook-pixel-sv_SE.po +1 -1
- languages/official-facebook-pixel-th_TH.po +1 -1
- languages/official-facebook-pixel-tr_TR.po +1 -1
- languages/official-facebook-pixel-vi_VN.po +1 -1
- languages/official-facebook-pixel-zh_CN.po +1 -1
- languages/official-facebook-pixel-zh_TW.po +1 -1
- readme.txt +12 -4
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +8 -0
- vendor/composer/autoload_files.php +17 -0
- vendor/composer/autoload_psr4.php +8 -0
- vendor/composer/autoload_real.php +25 -4
- vendor/composer/autoload_static.php +72 -4
- vendor/composer/installed.json +670 -6
- vendor/facebook/php-business-sdk/.gitignore +12 -0
- vendor/facebook/php-business-sdk/CHANGELOG.md +23 -0
- vendor/facebook/php-business-sdk/composer.json +5 -1
- vendor/facebook/php-business-sdk/examples/CustomAudienceUsersPost.php +1 -2
- vendor/facebook/php-business-sdk/examples/CustomAudienceUsersPostCrossPlatform.php +1 -2
- vendor/facebook/php-business-sdk/examples/aggregator_onboarding/api.php +13 -13
- vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +2 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php +5 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +42 -55
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountAdVolume.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdActivity.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreativeInstagramBrandedContent.php +57 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdPlacePageSet.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdVideo.php +26 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdsInterest.php → AdoptablePet.php} +6 -6
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdsPixel.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php +84 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/AtlasCampaign.php +5 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +94 -217
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreative.php +0 -80
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolder.php +0 -262
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessImage.php +0 -245
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUnit.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{IterativeSplitTestConfig.php → CPASAdvertiserPartnershipRecommendation.php} +6 -6
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{BusinessCreativeFolderSharingAgreement.php → CPASCollaborationRequest.php} +15 -8
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{ClientTransparencyStatus.php → CatalogSubVerticalList.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php +85 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrder.php +24 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrderTransactionDetail.php +23 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{CreativeAssetTag.php → ConnectionsTargeting.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/DACheck.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php +3 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExtendedCredit.php +25 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExternalEventSource.php +0 -23
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountAdVolumeFields.php +18 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignActivityFields.php +0 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AtlasURLFields.php → AdCreativeInstagramBrandedContentFields.php} +1 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeInteractiveComponentsSpecFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdPlacePageSetFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdReportSpecFields.php +0 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php +8 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AdsInterestFields.php → AdoptablePetFields.php} +37 -9
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php +8 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AutomotiveModelFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFields.php +0 -67
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderFields.php +0 -63
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessImageFields.php +0 -73
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{BusinessCreativeFolderSharingAgreementFields.php → CPASAdvertiserPartnershipRecommendationFields.php} +15 -5
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{BrandAudienceFields.php → CPASCollaborationRequestFields.php} +17 -17
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CampaignFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php +149 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ClientTransparencyStatusFields.php +0 -53
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceOrderFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{CreativeAssetTagFields.php → ConnectionsTargetingFields.php} +3 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DestinationFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/EventFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/FlightFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HomeListingFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HotelFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IterativeSplitTestConfigFields.php +0 -63
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OracleTransactionFields.php +0 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAboutStoryFields.php +0 -59
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAdminNoteFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php +2 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PagePostFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PaymentSubscriptionFields.php +93 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PostFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogFields.php +6 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductFeedFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductSetFields.php +8 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{MessengerPlatformReferralFields.php → ProductSetMetadataFields.php} +9 -11
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SecuritySettingsFields.php +0 -2
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SplitTestConfigFields.php +0 -59
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TargetingFields.php +5 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{StreamingReactionFields.php → TargetingRelaxationFields.php} +3 -5
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UnifiedThreadFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserFields.php +0 -12
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserInfluenceFields.php +0 -51
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserTaggableFriendFields.php +0 -55
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleOfferFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php +0 -51
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +6 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/LifeEvent.php +0 -23
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Link.php +0 -26
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php +2 -24
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/MediaFingerprint.php +27 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/MessengerPlatformReferral.php +0 -80
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/NativeOfferView.php +0 -23
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/OracleTransaction.php +0 -24
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +65 -150
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageAboutStory.php +0 -131
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/PageChangeProposal.php +0 -47
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{BrandAudience.php → PaymentSubscription.php} +6 -6
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Photo.php +26 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +20 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductFeed.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductGroup.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{UserInfluence.php → ProductSetMetadata.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Profile.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProfilePictureSource.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/PublisherBlockList.php +24 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/SavedAudience.php +0 -23
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/AsyncClient.php +53 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/BatchProcessor.php +121 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php +52 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/DeliveryCategory.php +52 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php +165 -5
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequestAsync.php +89 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/HttpMethod.php +34 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/HttpServiceClientConfig.php +48 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/HttpServiceInterface.php +36 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Normalizer.php +115 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Singleton.php +44 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/UserData.php +181 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Util.php +6 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/SplitTestConfig.php +0 -80
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/StreamingReaction.php +0 -59
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AtlasURL.php → TargetingRelaxation.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/ThirdPartyMeasurementReportDataset.php +0 -24
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/URL.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php +30 -47
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/UserTaggableFriend.php +0 -86
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{StreamingReactionReactionTypeValues.php → AdAccountAdVolumeRecommendationTypeValues.php} +13 -12
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountCurrencyValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountDeliveryEstimateOptimizationGoalValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountPermittedTasksValues.php +0 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedRegulatedCategoriesValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTasksValues.php +0 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageDomainActionTypeValues.php → AdActivityDataSourceValues.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdActivityEventTypeValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalNewValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignActivityOptimizationGoalOldValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCampaignDeliveryEstimateOptimizationGoalValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdNetworkAnalyticsSyncQueryResultBreakdownsValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PagePaymentDevModeActionValues.php → AdPlacePageSetCategoryValues.php} +4 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetOptimizationGoalValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdSetTuneForCategoryValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdStudyTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +4 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoOriginalProjectionTypeValues.php +0 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoValidationAdPlacementsValues.php +0 -60
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsPixelAutomaticMatchingFieldsValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ApplicationSupportedPlatformsValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupAdaccountTasksValues.php +0 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPageTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessCreativeFolderTasksValues.php +0 -45
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessImageValidationAdPlacementsValues.php +0 -60
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPagePermittedTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPermittedTasksValues.php +0 -3
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessRoleRequestRoleValues.php +9 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessUserRoleValues.php +9 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CPASCollaborationRequestRequesterAgencyOrBrandValues.php +43 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoriesValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryCountryValues.php +291 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignSpecialAdCategoryValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CommerceMerchantSettingsCtaValues.php +42 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CustomAudienceDataSourceSubTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/DACheckConnectionMethodValues.php +44 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageSettingTypeValues.php → EventOnlineEventFormatValues.php} +7 -7
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/EventTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php +3 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/LiveVideoBroadcastStatusValues.php +9 -9
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionAndroidDestinationTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionIphoneDestinationTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageCallToActionTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePermittedTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePickupOptionsValues.php +43 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageSubscribedFieldsValues.php +1 -1
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageTasksValues.php +2 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{BusinessCreativeFolderSharingAgreementRequestStatusValues.php → ProductCatalogItemSubTypeValues.php} +28 -7
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogPermittedTasksValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogTasksValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogVerticalValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductFeedFeedTypeValues.php +1 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{BusinessCreativeFolderPermittedTasksValues.php → ProductFeedItemSubTypeValues.php} +28 -7
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{PageThreadStateValues.php → ProfilePictureSourceBreakingChangeValues.php} +3 -4
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php +9 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/WhatsAppBusinessAccountTasksValues.php +45 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessAccount.php +76 -0
- vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessProfile.php +0 -104
- vendor/facebook/php-business-sdk/test/.gitignore +1 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/AsyncClientTest.php +58 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/BatchProcessorTest.php +166 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/CustomDataTest.php +113 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/EventRequestAsyncTest.php +97 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/EventRequestTest.php +223 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/ServerSideNormalizeTest.php +300 -12
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/ServerSideUtilTest.php +4 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/TestHelpers/AnotherHttpService.php +32 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/TestHelpers/E2ETestHttpService.php +64 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/TestHelpers/FakeHttpService.php +32 -0
- vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/UserDataTest.php +116 -0
- vendor/guzzlehttp/guzzle/.php_cs +23 -0
- vendor/guzzlehttp/guzzle/CHANGELOG.md +1338 -0
- vendor/guzzlehttp/guzzle/Dockerfile +18 -0
- vendor/guzzlehttp/guzzle/LICENSE +19 -0
- vendor/guzzlehttp/guzzle/README.md +90 -0
- vendor/guzzlehttp/guzzle/UPGRADING.md +1203 -0
- vendor/guzzlehttp/guzzle/composer.json +59 -0
- vendor/guzzlehttp/guzzle/src/Client.php +501 -0
- vendor/guzzlehttp/guzzle/src/ClientInterface.php +87 -0
- vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php +316 -0
- vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php +84 -0
- vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php +91 -0
- vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php +72 -0
- vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php +403 -0
- vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php +27 -0
- vendor/guzzlehttp/guzzle/src/Exception/ClientException.php +9 -0
- vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php +37 -0
- vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php +23 -0
- vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php +7 -0
- vendor/guzzlehttp/guzzle/src/Exception/RequestException.php +192 -0
- vendor/guzzlehttp/guzzle/src/Exception/SeekException.php +27 -0
- vendor/guzzlehttp/guzzle/src/Exception/ServerException.php +9 -0
- vendor/guzzlehttp/guzzle/src/Exception/TooManyRedirectsException.php +6 -0
- vendor/guzzlehttp/guzzle/src/Exception/TransferException.php +6 -0
- vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php +585 -0
- vendor/guzzlehttp/guzzle/src/Handler/CurlFactoryInterface.php +27 -0
- vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php +45 -0
- vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php +219 -0
- vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php +92 -0
- vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php +195 -0
- vendor/guzzlehttp/guzzle/src/Handler/Proxy.php +55 -0
- vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php +545 -0
- vendor/guzzlehttp/guzzle/src/HandlerStack.php +277 -0
- vendor/guzzlehttp/guzzle/src/MessageFormatter.php +185 -0
- vendor/guzzlehttp/guzzle/src/Middleware.php +254 -0
- vendor/guzzlehttp/guzzle/src/Pool.php +134 -0
- vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php +111 -0
- vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php +255 -0
- vendor/guzzlehttp/guzzle/src/RequestOptions.php +263 -0
- vendor/guzzlehttp/guzzle/src/RetryMiddleware.php +128 -0
- vendor/guzzlehttp/guzzle/src/TransferStats.php +126 -0
- vendor/guzzlehttp/guzzle/src/UriTemplate.php +237 -0
- vendor/guzzlehttp/guzzle/src/Utils.php +92 -0
- vendor/guzzlehttp/guzzle/src/functions.php +334 -0
- vendor/guzzlehttp/guzzle/src/functions_include.php +6 -0
- vendor/guzzlehttp/promises/CHANGELOG.md +65 -0
- vendor/guzzlehttp/promises/LICENSE +19 -0
- vendor/guzzlehttp/promises/Makefile +13 -0
- vendor/guzzlehttp/promises/README.md +504 -0
- vendor/guzzlehttp/promises/composer.json +34 -0
- vendor/guzzlehttp/promises/src/AggregateException.php +16 -0
- vendor/guzzlehttp/promises/src/CancellationException.php +9 -0
- vendor/guzzlehttp/promises/src/Coroutine.php +151 -0
- vendor/guzzlehttp/promises/src/EachPromise.php +229 -0
- vendor/guzzlehttp/promises/src/FulfilledPromise.php +82 -0
- vendor/guzzlehttp/promises/src/Promise.php +280 -0
- vendor/guzzlehttp/promises/src/PromiseInterface.php +93 -0
- vendor/guzzlehttp/promises/src/PromisorInterface.php +15 -0
- vendor/guzzlehttp/promises/src/RejectedPromise.php +87 -0
- vendor/guzzlehttp/promises/src/RejectionException.php +47 -0
- vendor/guzzlehttp/promises/src/TaskQueue.php +66 -0
- vendor/guzzlehttp/promises/src/TaskQueueInterface.php +25 -0
- vendor/guzzlehttp/promises/src/functions.php +457 -0
- vendor/guzzlehttp/promises/src/functions_include.php +6 -0
- vendor/guzzlehttp/psr7/CHANGELOG.md +246 -0
- vendor/guzzlehttp/psr7/LICENSE +19 -0
- vendor/guzzlehttp/psr7/README.md +745 -0
- vendor/guzzlehttp/psr7/composer.json +49 -0
- vendor/guzzlehttp/psr7/src/AppendStream.php +241 -0
- vendor/guzzlehttp/psr7/src/BufferStream.php +137 -0
- vendor/guzzlehttp/psr7/src/CachingStream.php +138 -0
- vendor/guzzlehttp/psr7/src/DroppingStream.php +42 -0
- vendor/guzzlehttp/psr7/src/FnStream.php +158 -0
- vendor/guzzlehttp/psr7/src/InflateStream.php +52 -0
- vendor/guzzlehttp/psr7/src/LazyOpenStream.php +39 -0
- vendor/guzzlehttp/psr7/src/LimitStream.php +155 -0
- vendor/guzzlehttp/psr7/src/MessageTrait.php +213 -0
- vendor/guzzlehttp/psr7/src/MultipartStream.php +153 -0
- vendor/guzzlehttp/psr7/src/NoSeekStream.php +22 -0
changelog.txt
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
*** Facebook for WordPress Changelog ***
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
2020-08-14 version 2.2.0
|
3 |
* Support for WordPress 5.5
|
4 |
* Improved Conversions API event quality
|
1 |
*** Facebook for WordPress Changelog ***
|
2 |
+
2020-11-04 version 2.2.1
|
3 |
+
* Stop sending events for internal users
|
4 |
+
* Fix Contact Form 7 integration bug, send events only on form submit success
|
5 |
+
* Update Facebook Business SDK to v8.0.2
|
6 |
+
* Requires PHP 5.6 or greater
|
7 |
+
* Sending ViewContent Conversions API event from WooCommerce
|
8 |
+
* Support for WooCommerce through Pixel and Conversions API
|
9 |
+
|
10 |
2020-08-14 version 2.2.0
|
11 |
* Support for WordPress 5.5
|
12 |
* Improved Conversions API event quality
|
composer.json
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
},
|
10 |
"license": "GPL",
|
11 |
"require": {
|
12 |
-
"facebook/php-business-sdk": "
|
13 |
"techcrunch/wp-async-task": "dev-master"
|
14 |
},
|
15 |
"autoload": {
|
9 |
},
|
10 |
"license": "GPL",
|
11 |
"require": {
|
12 |
+
"facebook/php-business-sdk": "8.0.2",
|
13 |
"techcrunch/wp-async-task": "dev-master"
|
14 |
},
|
15 |
"autoload": {
|
composer.lock
CHANGED
@@ -4,23 +4,27 @@
|
|
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": "
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "facebook/php-business-sdk",
|
11 |
-
"version": "
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
15 |
-
"reference": "
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
-
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/
|
20 |
-
"reference": "
|
21 |
"shasum": ""
|
22 |
},
|
|
|
|
|
|
|
23 |
"require-dev": {
|
|
|
24 |
"phpunit/phpunit": "~8",
|
25 |
"symfony/finder": "~2.6"
|
26 |
},
|
@@ -41,7 +45,647 @@
|
|
41 |
"page",
|
42 |
"sdk"
|
43 |
],
|
44 |
-
"time": "2020-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
},
|
46 |
{
|
47 |
"name": "techcrunch/wp-async-task",
|
@@ -1088,6 +1732,7 @@
|
|
1088 |
"keywords": [
|
1089 |
"tokenizer"
|
1090 |
],
|
|
|
1091 |
"time": "2017-11-27T05:48:46+00:00"
|
1092 |
},
|
1093 |
{
|
@@ -1917,6 +2562,20 @@
|
|
1917 |
],
|
1918 |
"description": "Symfony Console Component",
|
1919 |
"homepage": "https://symfony.com",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1920 |
"time": "2020-07-06T13:18:39+00:00"
|
1921 |
},
|
1922 |
{
|
@@ -1979,6 +2638,20 @@
|
|
1979 |
"polyfill",
|
1980 |
"portable"
|
1981 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1982 |
"time": "2020-07-14T12:35:20+00:00"
|
1983 |
},
|
1984 |
{
|
@@ -2042,6 +2715,20 @@
|
|
2042 |
"portable",
|
2043 |
"shim"
|
2044 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2045 |
"time": "2020-07-14T12:35:20+00:00"
|
2046 |
},
|
2047 |
{
|
@@ -2104,6 +2791,20 @@
|
|
2104 |
"portable",
|
2105 |
"shim"
|
2106 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2107 |
"time": "2020-07-14T12:35:20+00:00"
|
2108 |
},
|
2109 |
{
|
@@ -2170,6 +2871,20 @@
|
|
2170 |
"portable",
|
2171 |
"shim"
|
2172 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2173 |
"time": "2020-07-14T12:35:20+00:00"
|
2174 |
},
|
2175 |
{
|
@@ -2232,6 +2947,20 @@
|
|
2232 |
"interoperability",
|
2233 |
"standards"
|
2234 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2235 |
"time": "2020-07-06T13:23:11+00:00"
|
2236 |
},
|
2237 |
{
|
@@ -2291,6 +3020,20 @@
|
|
2291 |
],
|
2292 |
"description": "Symfony Yaml Component",
|
2293 |
"homepage": "https://symfony.com",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2294 |
"time": "2020-05-20T08:37:50+00:00"
|
2295 |
},
|
2296 |
{
|
@@ -2392,5 +3135,6 @@
|
|
2392 |
"prefer-stable": false,
|
2393 |
"prefer-lowest": false,
|
2394 |
"platform": [],
|
2395 |
-
"platform-dev": []
|
|
|
2396 |
}
|
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": "a0aad8d1bffd3ae28611c14df87c968a",
|
8 |
"packages": [
|
9 |
{
|
10 |
"name": "facebook/php-business-sdk",
|
11 |
+
"version": "8.0.2",
|
12 |
"source": {
|
13 |
"type": "git",
|
14 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
15 |
+
"reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d"
|
16 |
},
|
17 |
"dist": {
|
18 |
"type": "zip",
|
19 |
+
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/637fce87380d4a65f6d4c24cc79664fa28c3428d",
|
20 |
+
"reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d",
|
21 |
"shasum": ""
|
22 |
},
|
23 |
+
"require": {
|
24 |
+
"guzzlehttp/guzzle": "^6.5"
|
25 |
+
},
|
26 |
"require-dev": {
|
27 |
+
"mockery/mockery": "1.3.3",
|
28 |
"phpunit/phpunit": "~8",
|
29 |
"symfony/finder": "~2.6"
|
30 |
},
|
45 |
"page",
|
46 |
"sdk"
|
47 |
],
|
48 |
+
"time": "2020-09-18T00:34:44+00:00"
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"name": "guzzlehttp/guzzle",
|
52 |
+
"version": "6.5.5",
|
53 |
+
"source": {
|
54 |
+
"type": "git",
|
55 |
+
"url": "https://github.com/guzzle/guzzle.git",
|
56 |
+
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
|
57 |
+
},
|
58 |
+
"dist": {
|
59 |
+
"type": "zip",
|
60 |
+
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
|
61 |
+
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
|
62 |
+
"shasum": ""
|
63 |
+
},
|
64 |
+
"require": {
|
65 |
+
"ext-json": "*",
|
66 |
+
"guzzlehttp/promises": "^1.0",
|
67 |
+
"guzzlehttp/psr7": "^1.6.1",
|
68 |
+
"php": ">=5.5",
|
69 |
+
"symfony/polyfill-intl-idn": "^1.17.0"
|
70 |
+
},
|
71 |
+
"require-dev": {
|
72 |
+
"ext-curl": "*",
|
73 |
+
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
|
74 |
+
"psr/log": "^1.1"
|
75 |
+
},
|
76 |
+
"suggest": {
|
77 |
+
"psr/log": "Required for using the Log middleware"
|
78 |
+
},
|
79 |
+
"type": "library",
|
80 |
+
"extra": {
|
81 |
+
"branch-alias": {
|
82 |
+
"dev-master": "6.5-dev"
|
83 |
+
}
|
84 |
+
},
|
85 |
+
"autoload": {
|
86 |
+
"psr-4": {
|
87 |
+
"GuzzleHttp\\": "src/"
|
88 |
+
},
|
89 |
+
"files": [
|
90 |
+
"src/functions_include.php"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
"notification-url": "https://packagist.org/downloads/",
|
94 |
+
"license": [
|
95 |
+
"MIT"
|
96 |
+
],
|
97 |
+
"authors": [
|
98 |
+
{
|
99 |
+
"name": "Michael Dowling",
|
100 |
+
"email": "mtdowling@gmail.com",
|
101 |
+
"homepage": "https://github.com/mtdowling"
|
102 |
+
}
|
103 |
+
],
|
104 |
+
"description": "Guzzle is a PHP HTTP client library",
|
105 |
+
"homepage": "http://guzzlephp.org/",
|
106 |
+
"keywords": [
|
107 |
+
"client",
|
108 |
+
"curl",
|
109 |
+
"framework",
|
110 |
+
"http",
|
111 |
+
"http client",
|
112 |
+
"rest",
|
113 |
+
"web service"
|
114 |
+
],
|
115 |
+
"time": "2020-06-16T21:01:06+00:00"
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"name": "guzzlehttp/promises",
|
119 |
+
"version": "v1.3.1",
|
120 |
+
"source": {
|
121 |
+
"type": "git",
|
122 |
+
"url": "https://github.com/guzzle/promises.git",
|
123 |
+
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
|
124 |
+
},
|
125 |
+
"dist": {
|
126 |
+
"type": "zip",
|
127 |
+
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
128 |
+
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
129 |
+
"shasum": ""
|
130 |
+
},
|
131 |
+
"require": {
|
132 |
+
"php": ">=5.5.0"
|
133 |
+
},
|
134 |
+
"require-dev": {
|
135 |
+
"phpunit/phpunit": "^4.0"
|
136 |
+
},
|
137 |
+
"type": "library",
|
138 |
+
"extra": {
|
139 |
+
"branch-alias": {
|
140 |
+
"dev-master": "1.4-dev"
|
141 |
+
}
|
142 |
+
},
|
143 |
+
"autoload": {
|
144 |
+
"psr-4": {
|
145 |
+
"GuzzleHttp\\Promise\\": "src/"
|
146 |
+
},
|
147 |
+
"files": [
|
148 |
+
"src/functions_include.php"
|
149 |
+
]
|
150 |
+
},
|
151 |
+
"notification-url": "https://packagist.org/downloads/",
|
152 |
+
"license": [
|
153 |
+
"MIT"
|
154 |
+
],
|
155 |
+
"authors": [
|
156 |
+
{
|
157 |
+
"name": "Michael Dowling",
|
158 |
+
"email": "mtdowling@gmail.com",
|
159 |
+
"homepage": "https://github.com/mtdowling"
|
160 |
+
}
|
161 |
+
],
|
162 |
+
"description": "Guzzle promises library",
|
163 |
+
"keywords": [
|
164 |
+
"promise"
|
165 |
+
],
|
166 |
+
"time": "2016-12-20T10:07:11+00:00"
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"name": "guzzlehttp/psr7",
|
170 |
+
"version": "1.6.1",
|
171 |
+
"source": {
|
172 |
+
"type": "git",
|
173 |
+
"url": "https://github.com/guzzle/psr7.git",
|
174 |
+
"reference": "239400de7a173fe9901b9ac7c06497751f00727a"
|
175 |
+
},
|
176 |
+
"dist": {
|
177 |
+
"type": "zip",
|
178 |
+
"url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
|
179 |
+
"reference": "239400de7a173fe9901b9ac7c06497751f00727a",
|
180 |
+
"shasum": ""
|
181 |
+
},
|
182 |
+
"require": {
|
183 |
+
"php": ">=5.4.0",
|
184 |
+
"psr/http-message": "~1.0",
|
185 |
+
"ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
|
186 |
+
},
|
187 |
+
"provide": {
|
188 |
+
"psr/http-message-implementation": "1.0"
|
189 |
+
},
|
190 |
+
"require-dev": {
|
191 |
+
"ext-zlib": "*",
|
192 |
+
"phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
|
193 |
+
},
|
194 |
+
"suggest": {
|
195 |
+
"zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
|
196 |
+
},
|
197 |
+
"type": "library",
|
198 |
+
"extra": {
|
199 |
+
"branch-alias": {
|
200 |
+
"dev-master": "1.6-dev"
|
201 |
+
}
|
202 |
+
},
|
203 |
+
"autoload": {
|
204 |
+
"psr-4": {
|
205 |
+
"GuzzleHttp\\Psr7\\": "src/"
|
206 |
+
},
|
207 |
+
"files": [
|
208 |
+
"src/functions_include.php"
|
209 |
+
]
|
210 |
+
},
|
211 |
+
"notification-url": "https://packagist.org/downloads/",
|
212 |
+
"license": [
|
213 |
+
"MIT"
|
214 |
+
],
|
215 |
+
"authors": [
|
216 |
+
{
|
217 |
+
"name": "Michael Dowling",
|
218 |
+
"email": "mtdowling@gmail.com",
|
219 |
+
"homepage": "https://github.com/mtdowling"
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"name": "Tobias Schultze",
|
223 |
+
"homepage": "https://github.com/Tobion"
|
224 |
+
}
|
225 |
+
],
|
226 |
+
"description": "PSR-7 message implementation that also provides common utility methods",
|
227 |
+
"keywords": [
|
228 |
+
"http",
|
229 |
+
"message",
|
230 |
+
"psr-7",
|
231 |
+
"request",
|
232 |
+
"response",
|
233 |
+
"stream",
|
234 |
+
"uri",
|
235 |
+
"url"
|
236 |
+
],
|
237 |
+
"time": "2019-07-01T23:21:34+00:00"
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"name": "paragonie/random_compat",
|
241 |
+
"version": "v9.99.99",
|
242 |
+
"source": {
|
243 |
+
"type": "git",
|
244 |
+
"url": "https://github.com/paragonie/random_compat.git",
|
245 |
+
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
|
246 |
+
},
|
247 |
+
"dist": {
|
248 |
+
"type": "zip",
|
249 |
+
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
|
250 |
+
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
|
251 |
+
"shasum": ""
|
252 |
+
},
|
253 |
+
"require": {
|
254 |
+
"php": "^7"
|
255 |
+
},
|
256 |
+
"require-dev": {
|
257 |
+
"phpunit/phpunit": "4.*|5.*",
|
258 |
+
"vimeo/psalm": "^1"
|
259 |
+
},
|
260 |
+
"suggest": {
|
261 |
+
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
|
262 |
+
},
|
263 |
+
"type": "library",
|
264 |
+
"notification-url": "https://packagist.org/downloads/",
|
265 |
+
"license": [
|
266 |
+
"MIT"
|
267 |
+
],
|
268 |
+
"authors": [
|
269 |
+
{
|
270 |
+
"name": "Paragon Initiative Enterprises",
|
271 |
+
"email": "security@paragonie.com",
|
272 |
+
"homepage": "https://paragonie.com"
|
273 |
+
}
|
274 |
+
],
|
275 |
+
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
|
276 |
+
"keywords": [
|
277 |
+
"csprng",
|
278 |
+
"polyfill",
|
279 |
+
"pseudorandom",
|
280 |
+
"random"
|
281 |
+
],
|
282 |
+
"time": "2018-07-02T15:55:56+00:00"
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"name": "psr/http-message",
|
286 |
+
"version": "1.0.1",
|
287 |
+
"source": {
|
288 |
+
"type": "git",
|
289 |
+
"url": "https://github.com/php-fig/http-message.git",
|
290 |
+
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
|
291 |
+
},
|
292 |
+
"dist": {
|
293 |
+
"type": "zip",
|
294 |
+
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
|
295 |
+
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
|
296 |
+
"shasum": ""
|
297 |
+
},
|
298 |
+
"require": {
|
299 |
+
"php": ">=5.3.0"
|
300 |
+
},
|
301 |
+
"type": "library",
|
302 |
+
"extra": {
|
303 |
+
"branch-alias": {
|
304 |
+
"dev-master": "1.0.x-dev"
|
305 |
+
}
|
306 |
+
},
|
307 |
+
"autoload": {
|
308 |
+
"psr-4": {
|
309 |
+
"Psr\\Http\\Message\\": "src/"
|
310 |
+
}
|
311 |
+
},
|
312 |
+
"notification-url": "https://packagist.org/downloads/",
|
313 |
+
"license": [
|
314 |
+
"MIT"
|
315 |
+
],
|
316 |
+
"authors": [
|
317 |
+
{
|
318 |
+
"name": "PHP-FIG",
|
319 |
+
"homepage": "http://www.php-fig.org/"
|
320 |
+
}
|
321 |
+
],
|
322 |
+
"description": "Common interface for HTTP messages",
|
323 |
+
"homepage": "https://github.com/php-fig/http-message",
|
324 |
+
"keywords": [
|
325 |
+
"http",
|
326 |
+
"http-message",
|
327 |
+
"psr",
|
328 |
+
"psr-7",
|
329 |
+
"request",
|
330 |
+
"response"
|
331 |
+
],
|
332 |
+
"time": "2016-08-06T14:39:51+00:00"
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"name": "ralouphie/getallheaders",
|
336 |
+
"version": "3.0.3",
|
337 |
+
"source": {
|
338 |
+
"type": "git",
|
339 |
+
"url": "https://github.com/ralouphie/getallheaders.git",
|
340 |
+
"reference": "120b605dfeb996808c31b6477290a714d356e822"
|
341 |
+
},
|
342 |
+
"dist": {
|
343 |
+
"type": "zip",
|
344 |
+
"url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
|
345 |
+
"reference": "120b605dfeb996808c31b6477290a714d356e822",
|
346 |
+
"shasum": ""
|
347 |
+
},
|
348 |
+
"require": {
|
349 |
+
"php": ">=5.6"
|
350 |
+
},
|
351 |
+
"require-dev": {
|
352 |
+
"php-coveralls/php-coveralls": "^2.1",
|
353 |
+
"phpunit/phpunit": "^5 || ^6.5"
|
354 |
+
},
|
355 |
+
"type": "library",
|
356 |
+
"autoload": {
|
357 |
+
"files": [
|
358 |
+
"src/getallheaders.php"
|
359 |
+
]
|
360 |
+
},
|
361 |
+
"notification-url": "https://packagist.org/downloads/",
|
362 |
+
"license": [
|
363 |
+
"MIT"
|
364 |
+
],
|
365 |
+
"authors": [
|
366 |
+
{
|
367 |
+
"name": "Ralph Khattar",
|
368 |
+
"email": "ralph.khattar@gmail.com"
|
369 |
+
}
|
370 |
+
],
|
371 |
+
"description": "A polyfill for getallheaders.",
|
372 |
+
"time": "2019-03-08T08:55:37+00:00"
|
373 |
+
},
|
374 |
+
{
|
375 |
+
"name": "symfony/polyfill-intl-idn",
|
376 |
+
"version": "v1.18.1",
|
377 |
+
"source": {
|
378 |
+
"type": "git",
|
379 |
+
"url": "https://github.com/symfony/polyfill-intl-idn.git",
|
380 |
+
"reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251"
|
381 |
+
},
|
382 |
+
"dist": {
|
383 |
+
"type": "zip",
|
384 |
+
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251",
|
385 |
+
"reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251",
|
386 |
+
"shasum": ""
|
387 |
+
},
|
388 |
+
"require": {
|
389 |
+
"php": ">=5.3.3",
|
390 |
+
"symfony/polyfill-intl-normalizer": "^1.10",
|
391 |
+
"symfony/polyfill-php70": "^1.10",
|
392 |
+
"symfony/polyfill-php72": "^1.10"
|
393 |
+
},
|
394 |
+
"suggest": {
|
395 |
+
"ext-intl": "For best performance"
|
396 |
+
},
|
397 |
+
"type": "library",
|
398 |
+
"extra": {
|
399 |
+
"branch-alias": {
|
400 |
+
"dev-master": "1.18-dev"
|
401 |
+
},
|
402 |
+
"thanks": {
|
403 |
+
"name": "symfony/polyfill",
|
404 |
+
"url": "https://github.com/symfony/polyfill"
|
405 |
+
}
|
406 |
+
},
|
407 |
+
"autoload": {
|
408 |
+
"psr-4": {
|
409 |
+
"Symfony\\Polyfill\\Intl\\Idn\\": ""
|
410 |
+
},
|
411 |
+
"files": [
|
412 |
+
"bootstrap.php"
|
413 |
+
]
|
414 |
+
},
|
415 |
+
"notification-url": "https://packagist.org/downloads/",
|
416 |
+
"license": [
|
417 |
+
"MIT"
|
418 |
+
],
|
419 |
+
"authors": [
|
420 |
+
{
|
421 |
+
"name": "Laurent Bassin",
|
422 |
+
"email": "laurent@bassin.info"
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"name": "Trevor Rowbotham",
|
426 |
+
"email": "trevor.rowbotham@pm.me"
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"name": "Symfony Community",
|
430 |
+
"homepage": "https://symfony.com/contributors"
|
431 |
+
}
|
432 |
+
],
|
433 |
+
"description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
|
434 |
+
"homepage": "https://symfony.com",
|
435 |
+
"keywords": [
|
436 |
+
"compatibility",
|
437 |
+
"idn",
|
438 |
+
"intl",
|
439 |
+
"polyfill",
|
440 |
+
"portable",
|
441 |
+
"shim"
|
442 |
+
],
|
443 |
+
"funding": [
|
444 |
+
{
|
445 |
+
"url": "https://symfony.com/sponsor",
|
446 |
+
"type": "custom"
|
447 |
+
},
|
448 |
+
{
|
449 |
+
"url": "https://github.com/fabpot",
|
450 |
+
"type": "github"
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
454 |
+
"type": "tidelift"
|
455 |
+
}
|
456 |
+
],
|
457 |
+
"time": "2020-08-04T06:02:08+00:00"
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"name": "symfony/polyfill-intl-normalizer",
|
461 |
+
"version": "v1.18.1",
|
462 |
+
"source": {
|
463 |
+
"type": "git",
|
464 |
+
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
|
465 |
+
"reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
|
466 |
+
},
|
467 |
+
"dist": {
|
468 |
+
"type": "zip",
|
469 |
+
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
|
470 |
+
"reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
|
471 |
+
"shasum": ""
|
472 |
+
},
|
473 |
+
"require": {
|
474 |
+
"php": ">=5.3.3"
|
475 |
+
},
|
476 |
+
"suggest": {
|
477 |
+
"ext-intl": "For best performance"
|
478 |
+
},
|
479 |
+
"type": "library",
|
480 |
+
"extra": {
|
481 |
+
"branch-alias": {
|
482 |
+
"dev-master": "1.18-dev"
|
483 |
+
},
|
484 |
+
"thanks": {
|
485 |
+
"name": "symfony/polyfill",
|
486 |
+
"url": "https://github.com/symfony/polyfill"
|
487 |
+
}
|
488 |
+
},
|
489 |
+
"autoload": {
|
490 |
+
"psr-4": {
|
491 |
+
"Symfony\\Polyfill\\Intl\\Normalizer\\": ""
|
492 |
+
},
|
493 |
+
"files": [
|
494 |
+
"bootstrap.php"
|
495 |
+
],
|
496 |
+
"classmap": [
|
497 |
+
"Resources/stubs"
|
498 |
+
]
|
499 |
+
},
|
500 |
+
"notification-url": "https://packagist.org/downloads/",
|
501 |
+
"license": [
|
502 |
+
"MIT"
|
503 |
+
],
|
504 |
+
"authors": [
|
505 |
+
{
|
506 |
+
"name": "Nicolas Grekas",
|
507 |
+
"email": "p@tchwork.com"
|
508 |
+
},
|
509 |
+
{
|
510 |
+
"name": "Symfony Community",
|
511 |
+
"homepage": "https://symfony.com/contributors"
|
512 |
+
}
|
513 |
+
],
|
514 |
+
"description": "Symfony polyfill for intl's Normalizer class and related functions",
|
515 |
+
"homepage": "https://symfony.com",
|
516 |
+
"keywords": [
|
517 |
+
"compatibility",
|
518 |
+
"intl",
|
519 |
+
"normalizer",
|
520 |
+
"polyfill",
|
521 |
+
"portable",
|
522 |
+
"shim"
|
523 |
+
],
|
524 |
+
"funding": [
|
525 |
+
{
|
526 |
+
"url": "https://symfony.com/sponsor",
|
527 |
+
"type": "custom"
|
528 |
+
},
|
529 |
+
{
|
530 |
+
"url": "https://github.com/fabpot",
|
531 |
+
"type": "github"
|
532 |
+
},
|
533 |
+
{
|
534 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
535 |
+
"type": "tidelift"
|
536 |
+
}
|
537 |
+
],
|
538 |
+
"time": "2020-07-14T12:35:20+00:00"
|
539 |
+
},
|
540 |
+
{
|
541 |
+
"name": "symfony/polyfill-php70",
|
542 |
+
"version": "v1.18.1",
|
543 |
+
"source": {
|
544 |
+
"type": "git",
|
545 |
+
"url": "https://github.com/symfony/polyfill-php70.git",
|
546 |
+
"reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3"
|
547 |
+
},
|
548 |
+
"dist": {
|
549 |
+
"type": "zip",
|
550 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
|
551 |
+
"reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
|
552 |
+
"shasum": ""
|
553 |
+
},
|
554 |
+
"require": {
|
555 |
+
"paragonie/random_compat": "~1.0|~2.0|~9.99",
|
556 |
+
"php": ">=5.3.3"
|
557 |
+
},
|
558 |
+
"type": "library",
|
559 |
+
"extra": {
|
560 |
+
"branch-alias": {
|
561 |
+
"dev-master": "1.18-dev"
|
562 |
+
},
|
563 |
+
"thanks": {
|
564 |
+
"name": "symfony/polyfill",
|
565 |
+
"url": "https://github.com/symfony/polyfill"
|
566 |
+
}
|
567 |
+
},
|
568 |
+
"autoload": {
|
569 |
+
"psr-4": {
|
570 |
+
"Symfony\\Polyfill\\Php70\\": ""
|
571 |
+
},
|
572 |
+
"files": [
|
573 |
+
"bootstrap.php"
|
574 |
+
],
|
575 |
+
"classmap": [
|
576 |
+
"Resources/stubs"
|
577 |
+
]
|
578 |
+
},
|
579 |
+
"notification-url": "https://packagist.org/downloads/",
|
580 |
+
"license": [
|
581 |
+
"MIT"
|
582 |
+
],
|
583 |
+
"authors": [
|
584 |
+
{
|
585 |
+
"name": "Nicolas Grekas",
|
586 |
+
"email": "p@tchwork.com"
|
587 |
+
},
|
588 |
+
{
|
589 |
+
"name": "Symfony Community",
|
590 |
+
"homepage": "https://symfony.com/contributors"
|
591 |
+
}
|
592 |
+
],
|
593 |
+
"description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
|
594 |
+
"homepage": "https://symfony.com",
|
595 |
+
"keywords": [
|
596 |
+
"compatibility",
|
597 |
+
"polyfill",
|
598 |
+
"portable",
|
599 |
+
"shim"
|
600 |
+
],
|
601 |
+
"funding": [
|
602 |
+
{
|
603 |
+
"url": "https://symfony.com/sponsor",
|
604 |
+
"type": "custom"
|
605 |
+
},
|
606 |
+
{
|
607 |
+
"url": "https://github.com/fabpot",
|
608 |
+
"type": "github"
|
609 |
+
},
|
610 |
+
{
|
611 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
612 |
+
"type": "tidelift"
|
613 |
+
}
|
614 |
+
],
|
615 |
+
"time": "2020-07-14T12:35:20+00:00"
|
616 |
+
},
|
617 |
+
{
|
618 |
+
"name": "symfony/polyfill-php72",
|
619 |
+
"version": "v1.18.1",
|
620 |
+
"source": {
|
621 |
+
"type": "git",
|
622 |
+
"url": "https://github.com/symfony/polyfill-php72.git",
|
623 |
+
"reference": "639447d008615574653fb3bc60d1986d7172eaae"
|
624 |
+
},
|
625 |
+
"dist": {
|
626 |
+
"type": "zip",
|
627 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae",
|
628 |
+
"reference": "639447d008615574653fb3bc60d1986d7172eaae",
|
629 |
+
"shasum": ""
|
630 |
+
},
|
631 |
+
"require": {
|
632 |
+
"php": ">=5.3.3"
|
633 |
+
},
|
634 |
+
"type": "library",
|
635 |
+
"extra": {
|
636 |
+
"branch-alias": {
|
637 |
+
"dev-master": "1.18-dev"
|
638 |
+
},
|
639 |
+
"thanks": {
|
640 |
+
"name": "symfony/polyfill",
|
641 |
+
"url": "https://github.com/symfony/polyfill"
|
642 |
+
}
|
643 |
+
},
|
644 |
+
"autoload": {
|
645 |
+
"psr-4": {
|
646 |
+
"Symfony\\Polyfill\\Php72\\": ""
|
647 |
+
},
|
648 |
+
"files": [
|
649 |
+
"bootstrap.php"
|
650 |
+
]
|
651 |
+
},
|
652 |
+
"notification-url": "https://packagist.org/downloads/",
|
653 |
+
"license": [
|
654 |
+
"MIT"
|
655 |
+
],
|
656 |
+
"authors": [
|
657 |
+
{
|
658 |
+
"name": "Nicolas Grekas",
|
659 |
+
"email": "p@tchwork.com"
|
660 |
+
},
|
661 |
+
{
|
662 |
+
"name": "Symfony Community",
|
663 |
+
"homepage": "https://symfony.com/contributors"
|
664 |
+
}
|
665 |
+
],
|
666 |
+
"description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
|
667 |
+
"homepage": "https://symfony.com",
|
668 |
+
"keywords": [
|
669 |
+
"compatibility",
|
670 |
+
"polyfill",
|
671 |
+
"portable",
|
672 |
+
"shim"
|
673 |
+
],
|
674 |
+
"funding": [
|
675 |
+
{
|
676 |
+
"url": "https://symfony.com/sponsor",
|
677 |
+
"type": "custom"
|
678 |
+
},
|
679 |
+
{
|
680 |
+
"url": "https://github.com/fabpot",
|
681 |
+
"type": "github"
|
682 |
+
},
|
683 |
+
{
|
684 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
685 |
+
"type": "tidelift"
|
686 |
+
}
|
687 |
+
],
|
688 |
+
"time": "2020-07-14T12:35:20+00:00"
|
689 |
},
|
690 |
{
|
691 |
"name": "techcrunch/wp-async-task",
|
1732 |
"keywords": [
|
1733 |
"tokenizer"
|
1734 |
],
|
1735 |
+
"abandoned": true,
|
1736 |
"time": "2017-11-27T05:48:46+00:00"
|
1737 |
},
|
1738 |
{
|
2562 |
],
|
2563 |
"description": "Symfony Console Component",
|
2564 |
"homepage": "https://symfony.com",
|
2565 |
+
"funding": [
|
2566 |
+
{
|
2567 |
+
"url": "https://symfony.com/sponsor",
|
2568 |
+
"type": "custom"
|
2569 |
+
},
|
2570 |
+
{
|
2571 |
+
"url": "https://github.com/fabpot",
|
2572 |
+
"type": "github"
|
2573 |
+
},
|
2574 |
+
{
|
2575 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2576 |
+
"type": "tidelift"
|
2577 |
+
}
|
2578 |
+
],
|
2579 |
"time": "2020-07-06T13:18:39+00:00"
|
2580 |
},
|
2581 |
{
|
2638 |
"polyfill",
|
2639 |
"portable"
|
2640 |
],
|
2641 |
+
"funding": [
|
2642 |
+
{
|
2643 |
+
"url": "https://symfony.com/sponsor",
|
2644 |
+
"type": "custom"
|
2645 |
+
},
|
2646 |
+
{
|
2647 |
+
"url": "https://github.com/fabpot",
|
2648 |
+
"type": "github"
|
2649 |
+
},
|
2650 |
+
{
|
2651 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2652 |
+
"type": "tidelift"
|
2653 |
+
}
|
2654 |
+
],
|
2655 |
"time": "2020-07-14T12:35:20+00:00"
|
2656 |
},
|
2657 |
{
|
2715 |
"portable",
|
2716 |
"shim"
|
2717 |
],
|
2718 |
+
"funding": [
|
2719 |
+
{
|
2720 |
+
"url": "https://symfony.com/sponsor",
|
2721 |
+
"type": "custom"
|
2722 |
+
},
|
2723 |
+
{
|
2724 |
+
"url": "https://github.com/fabpot",
|
2725 |
+
"type": "github"
|
2726 |
+
},
|
2727 |
+
{
|
2728 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2729 |
+
"type": "tidelift"
|
2730 |
+
}
|
2731 |
+
],
|
2732 |
"time": "2020-07-14T12:35:20+00:00"
|
2733 |
},
|
2734 |
{
|
2791 |
"portable",
|
2792 |
"shim"
|
2793 |
],
|
2794 |
+
"funding": [
|
2795 |
+
{
|
2796 |
+
"url": "https://symfony.com/sponsor",
|
2797 |
+
"type": "custom"
|
2798 |
+
},
|
2799 |
+
{
|
2800 |
+
"url": "https://github.com/fabpot",
|
2801 |
+
"type": "github"
|
2802 |
+
},
|
2803 |
+
{
|
2804 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2805 |
+
"type": "tidelift"
|
2806 |
+
}
|
2807 |
+
],
|
2808 |
"time": "2020-07-14T12:35:20+00:00"
|
2809 |
},
|
2810 |
{
|
2871 |
"portable",
|
2872 |
"shim"
|
2873 |
],
|
2874 |
+
"funding": [
|
2875 |
+
{
|
2876 |
+
"url": "https://symfony.com/sponsor",
|
2877 |
+
"type": "custom"
|
2878 |
+
},
|
2879 |
+
{
|
2880 |
+
"url": "https://github.com/fabpot",
|
2881 |
+
"type": "github"
|
2882 |
+
},
|
2883 |
+
{
|
2884 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2885 |
+
"type": "tidelift"
|
2886 |
+
}
|
2887 |
+
],
|
2888 |
"time": "2020-07-14T12:35:20+00:00"
|
2889 |
},
|
2890 |
{
|
2947 |
"interoperability",
|
2948 |
"standards"
|
2949 |
],
|
2950 |
+
"funding": [
|
2951 |
+
{
|
2952 |
+
"url": "https://symfony.com/sponsor",
|
2953 |
+
"type": "custom"
|
2954 |
+
},
|
2955 |
+
{
|
2956 |
+
"url": "https://github.com/fabpot",
|
2957 |
+
"type": "github"
|
2958 |
+
},
|
2959 |
+
{
|
2960 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
2961 |
+
"type": "tidelift"
|
2962 |
+
}
|
2963 |
+
],
|
2964 |
"time": "2020-07-06T13:23:11+00:00"
|
2965 |
},
|
2966 |
{
|
3020 |
],
|
3021 |
"description": "Symfony Yaml Component",
|
3022 |
"homepage": "https://symfony.com",
|
3023 |
+
"funding": [
|
3024 |
+
{
|
3025 |
+
"url": "https://symfony.com/sponsor",
|
3026 |
+
"type": "custom"
|
3027 |
+
},
|
3028 |
+
{
|
3029 |
+
"url": "https://github.com/fabpot",
|
3030 |
+
"type": "github"
|
3031 |
+
},
|
3032 |
+
{
|
3033 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
3034 |
+
"type": "tidelift"
|
3035 |
+
}
|
3036 |
+
],
|
3037 |
"time": "2020-05-20T08:37:50+00:00"
|
3038 |
},
|
3039 |
{
|
3135 |
"prefer-stable": false,
|
3136 |
"prefer-lowest": false,
|
3137 |
"platform": [],
|
3138 |
+
"platform-dev": [],
|
3139 |
+
"plugin-api-version": "1.1.0"
|
3140 |
}
|
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 = '2.2.
|
24 |
const SOURCE = 'wordpress';
|
25 |
const TEXT_DOMAIN = 'official-facebook-pixel';
|
26 |
|
20 |
defined('ABSPATH') or die('Direct access not allowed');
|
21 |
|
22 |
class FacebookPluginConfig {
|
23 |
+
const PLUGIN_VERSION = '2.2.1';
|
24 |
const SOURCE = 'wordpress';
|
25 |
const TEXT_DOMAIN = 'official-facebook-pixel';
|
26 |
|
core/FacebookPluginUtils.php
CHANGED
@@ -34,13 +34,6 @@ class FacebookPluginUtils {
|
|
34 |
return isset($pixel_id) && ctype_digit($pixel_id) && $pixel_id !== '0';
|
35 |
}
|
36 |
|
37 |
-
/**
|
38 |
-
* Whether current user is Administrator.
|
39 |
-
*/
|
40 |
-
public static function isAdmin() {
|
41 |
-
return current_user_can('install_plugins');
|
42 |
-
}
|
43 |
-
|
44 |
public static function getLoggedInUserInfo() {
|
45 |
$current_user = wp_get_current_user();
|
46 |
if (empty($current_user)) {
|
@@ -53,4 +46,14 @@ class FacebookPluginUtils {
|
|
53 |
'last_name' => $current_user->user_lastname,
|
54 |
);
|
55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
34 |
return isset($pixel_id) && ctype_digit($pixel_id) && $pixel_id !== '0';
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
public static function getLoggedInUserInfo() {
|
38 |
$current_user = wp_get_current_user();
|
39 |
if (empty($current_user)) {
|
46 |
'last_name' => $current_user->user_lastname,
|
47 |
);
|
48 |
}
|
49 |
+
|
50 |
+
// All standard WordPress user roles are considered internal unless they have
|
51 |
+
// the Subscriber role.
|
52 |
+
// WooCommerce uses the 'read' capability for its customer role.
|
53 |
+
// Also check for the 'upload_files' capability to account for the shop_worker
|
54 |
+
// and shop_vendor roles in Easy Digital Downloads.
|
55 |
+
// https://wordpress.org/support/article/roles-and-capabilities
|
56 |
+
public static function isInternalUser() {
|
57 |
+
return current_user_can('edit_posts') || current_user_can('upload_files');
|
58 |
+
}
|
59 |
}
|
core/FacebookServerSideEvent.php
CHANGED
@@ -26,26 +26,57 @@ defined('ABSPATH') or die('Direct access not allowed');
|
|
26 |
|
27 |
class FacebookServerSideEvent {
|
28 |
private static $instance = null;
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
public static function getInstance() {
|
32 |
if (self::$instance == null) {
|
33 |
self::$instance = new FacebookServerSideEvent();
|
34 |
}
|
35 |
-
|
36 |
return self::$instance;
|
37 |
}
|
38 |
|
39 |
-
public function track($event) {
|
40 |
-
$this->
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
}
|
46 |
|
47 |
public function getTrackedEvents() {
|
48 |
-
return $this->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
50 |
|
51 |
public static function send($events) {
|
26 |
|
27 |
class FacebookServerSideEvent {
|
28 |
private static $instance = null;
|
29 |
+
// Contains all the events triggered during the request
|
30 |
+
private $trackedEvents = [];
|
31 |
+
// Contains all Conversions API events that have not been sent
|
32 |
+
private $pendingEvents = [];
|
33 |
+
// Maps a callback name with a Conversions API event
|
34 |
+
// that hasn't been rendered as pixel event
|
35 |
+
private $pendingPixelEvents = [];
|
36 |
|
37 |
public static function getInstance() {
|
38 |
if (self::$instance == null) {
|
39 |
self::$instance = new FacebookServerSideEvent();
|
40 |
}
|
|
|
41 |
return self::$instance;
|
42 |
}
|
43 |
|
44 |
+
public function track($event, $sendNow = true) {
|
45 |
+
$this->trackedEvents[] = $event;
|
46 |
+
if( FacebookWordpressOptions::getUseS2S() ){
|
47 |
+
if( $sendNow ){
|
48 |
+
do_action( 'send_server_events',
|
49 |
+
array($event),
|
50 |
+
1
|
51 |
+
);
|
52 |
+
}
|
53 |
+
else{
|
54 |
+
$this->pendingEvents[] = $event;
|
55 |
+
}
|
56 |
}
|
57 |
}
|
58 |
|
59 |
public function getTrackedEvents() {
|
60 |
+
return $this->trackedEvents;
|
61 |
+
}
|
62 |
+
|
63 |
+
public function getNumTrackedEvents(){
|
64 |
+
return count( $this->trackedEvents );
|
65 |
+
}
|
66 |
+
|
67 |
+
public function getPendingEvents(){
|
68 |
+
return $this->pendingEvents;
|
69 |
+
}
|
70 |
+
|
71 |
+
public function setPendingPixelEvent($callback_name, $event){
|
72 |
+
$this->pendingPixelEvents[$callback_name] = $event;
|
73 |
+
}
|
74 |
+
|
75 |
+
public function getPendingPixelEvent($callback_name){
|
76 |
+
if(array_key_exists($callback_name, $this->pendingPixelEvents)){
|
77 |
+
return $this->pendingPixelEvents[$callback_name];
|
78 |
+
}
|
79 |
+
return null;
|
80 |
}
|
81 |
|
82 |
public static function send($events) {
|
core/FacebookWordpressPixelInjection.php
CHANGED
@@ -39,6 +39,23 @@ class FacebookWordpressPixelInjection {
|
|
39 |
$class_name = 'FacebookPixelPlugin\\Integration\\'.$value;
|
40 |
$class_name::injectPixelCode();
|
41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
}
|
43 |
}
|
44 |
|
39 |
$class_name = 'FacebookPixelPlugin\\Integration\\'.$value;
|
40 |
$class_name::injectPixelCode();
|
41 |
}
|
42 |
+
add_action(
|
43 |
+
'wp_footer',
|
44 |
+
array($this, 'sendPendingEvents'));
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
public function sendPendingEvents(){
|
49 |
+
if(FacebookWordpressOptions::getUseS2S()){
|
50 |
+
$pending_events =
|
51 |
+
FacebookServerSideEvent::getInstance()->getPendingEvents();
|
52 |
+
if(count($pending_events) > 0){
|
53 |
+
do_action(
|
54 |
+
'send_server_events',
|
55 |
+
$pending_events,
|
56 |
+
count($pending_events)
|
57 |
+
);
|
58 |
+
}
|
59 |
}
|
60 |
}
|
61 |
|
core/PixelRenderer.php
CHANGED
@@ -28,16 +28,24 @@ class PixelRenderer {
|
|
28 |
const TRACK_CUSTOM = 'trackCustom';
|
29 |
const FB_INTEGRATION_TRACKING = 'fb_integration_tracking';
|
30 |
const SCRIPT_TAG = "<script type='text/javascript'>%s</script>";
|
31 |
-
const
|
32 |
fbq('%s', '%s', %s, %s);
|
33 |
";
|
|
|
|
|
34 |
|
35 |
public static function render($events, $fb_integration_tracking,
|
36 |
$script_tag = true) {
|
37 |
if (empty($events)) {
|
38 |
return "";
|
39 |
}
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
foreach ($events as $event) {
|
42 |
$code .= self::getPixelTrackCode($event, $fb_integration_tracking);
|
43 |
}
|
@@ -58,9 +66,8 @@ class PixelRenderer {
|
|
58 |
}
|
59 |
|
60 |
$class = new ReflectionClass('FacebookPixelPlugin\Core\FacebookPixel');
|
61 |
-
|
62 |
return sprintf(
|
63 |
-
self::
|
64 |
$class->getConstant(strtoupper($event->getEventName())) !== false
|
65 |
? self::TRACK : self::TRACK_CUSTOM,
|
66 |
$event->getEventName(),
|
28 |
const TRACK_CUSTOM = 'trackCustom';
|
29 |
const FB_INTEGRATION_TRACKING = 'fb_integration_tracking';
|
30 |
const SCRIPT_TAG = "<script type='text/javascript'>%s</script>";
|
31 |
+
const FBQ_EVENT_CODE = "
|
32 |
fbq('%s', '%s', %s, %s);
|
33 |
";
|
34 |
+
const FBQ_AGENT_CODE = "
|
35 |
+
fbq('set', 'agent', '%s', '%s');";
|
36 |
|
37 |
public static function render($events, $fb_integration_tracking,
|
38 |
$script_tag = true) {
|
39 |
if (empty($events)) {
|
40 |
return "";
|
41 |
}
|
42 |
+
// The first line of the injected script will set the agent
|
43 |
+
// for all the events passed in $events
|
44 |
+
$code = sprintf(
|
45 |
+
self::FBQ_AGENT_CODE,
|
46 |
+
FacebookWordpressOptions::getAgentString(),
|
47 |
+
FacebookWordpressOptions::getPixelId()
|
48 |
+
);
|
49 |
foreach ($events as $event) {
|
50 |
$code .= self::getPixelTrackCode($event, $fb_integration_tracking);
|
51 |
}
|
66 |
}
|
67 |
|
68 |
$class = new ReflectionClass('FacebookPixelPlugin\Core\FacebookPixel');
|
|
|
69 |
return sprintf(
|
70 |
+
self::FBQ_EVENT_CODE,
|
71 |
$class->getConstant(strtoupper($event->getEventName())) !== false
|
72 |
? self::TRACK : self::TRACK_CUSTOM,
|
73 |
$event->getEventName(),
|
core/ServerEventAsyncTask.php
CHANGED
@@ -22,12 +22,15 @@ use FacebookPixelPlugin\Core\FacebookServerSideEvent;
|
|
22 |
defined('ABSPATH') or die('Direct access not allowed');
|
23 |
|
24 |
class ServerEventAsyncTask extends \WP_Async_Task {
|
25 |
-
protected $action = '
|
26 |
|
27 |
protected function prepare_data($data) {
|
28 |
try {
|
29 |
if (!empty($data)) {
|
30 |
-
return array(
|
|
|
|
|
|
|
31 |
}
|
32 |
} catch (\Exception $ex) {
|
33 |
error_log($ex);
|
@@ -38,10 +41,17 @@ class ServerEventAsyncTask extends \WP_Async_Task {
|
|
38 |
|
39 |
protected function run_action() {
|
40 |
try {
|
41 |
-
$
|
42 |
-
if
|
43 |
return;
|
44 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
FacebookServerSideEvent::send($events);
|
47 |
}
|
22 |
defined('ABSPATH') or die('Direct access not allowed');
|
23 |
|
24 |
class ServerEventAsyncTask extends \WP_Async_Task {
|
25 |
+
protected $action = 'send_server_events';
|
26 |
|
27 |
protected function prepare_data($data) {
|
28 |
try {
|
29 |
if (!empty($data)) {
|
30 |
+
return array(
|
31 |
+
'event_data' => base64_encode(serialize($data[0])),
|
32 |
+
'num_events'=>$data[1]
|
33 |
+
);
|
34 |
}
|
35 |
} catch (\Exception $ex) {
|
36 |
error_log($ex);
|
41 |
|
42 |
protected function run_action() {
|
43 |
try {
|
44 |
+
$num_events = $_POST['num_events'];
|
45 |
+
if( $num_events == 0 ){
|
46 |
return;
|
47 |
}
|
48 |
+
$events = unserialize(base64_decode($_POST['event_data']));
|
49 |
+
// When an array has just one object, the deserialization process
|
50 |
+
// returns just the object
|
51 |
+
// and we want an array
|
52 |
+
if( $num_events == 1 ){
|
53 |
+
$events = array( $events );
|
54 |
+
}
|
55 |
|
56 |
FacebookServerSideEvent::send($events);
|
57 |
}
|
core/ServerEventFactory.php
CHANGED
@@ -215,6 +215,10 @@ class ServerEventFactory {
|
|
215 |
if (!empty($data['content_name'])) {
|
216 |
$custom_data->setContentName($data['content_name']);
|
217 |
}
|
|
|
|
|
|
|
|
|
218 |
} catch (\Exception $e) {
|
219 |
// Need to log
|
220 |
}
|
215 |
if (!empty($data['content_name'])) {
|
216 |
$custom_data->setContentName($data['content_name']);
|
217 |
}
|
218 |
+
|
219 |
+
if (!empty($data['content_category'])){
|
220 |
+
$custom_data->setContentCategory($data['content_category']);
|
221 |
+
}
|
222 |
} catch (\Exception $e) {
|
223 |
// Need to log
|
224 |
}
|
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: 2.2.
|
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: 2.2.1
|
9 |
* Text Domain: official-facebook-pixel
|
10 |
*/
|
11 |
|
integration/FacebookWordpressCalderaForm.php
CHANGED
@@ -39,7 +39,10 @@ class FacebookWordpressCalderaForm extends FacebookWordpressIntegrationBase {
|
|
39 |
}
|
40 |
|
41 |
public static function injectLeadEvent($out, $form) {
|
42 |
-
if (
|
|
|
|
|
|
|
43 |
return $out;
|
44 |
}
|
45 |
|
39 |
}
|
40 |
|
41 |
public static function injectLeadEvent($out, $form) {
|
42 |
+
if (
|
43 |
+
FacebookPluginUtils::isInternalUser() ||
|
44 |
+
$out['status'] !== 'complete'
|
45 |
+
) {
|
46 |
return $out;
|
47 |
}
|
48 |
|
integration/FacebookWordpressContactForm7.php
CHANGED
@@ -39,7 +39,9 @@ class FacebookWordpressContactForm7 extends FacebookWordpressIntegrationBase {
|
|
39 |
}
|
40 |
|
41 |
public static function trackServerEvent($form, $result) {
|
42 |
-
|
|
|
|
|
43 |
return $result;
|
44 |
}
|
45 |
|
@@ -61,7 +63,7 @@ class FacebookWordpressContactForm7 extends FacebookWordpressIntegrationBase {
|
|
61 |
}
|
62 |
|
63 |
public static function injectLeadEvent($response, $result) {
|
64 |
-
if (FacebookPluginUtils::
|
65 |
return $response;
|
66 |
}
|
67 |
|
39 |
}
|
40 |
|
41 |
public static function trackServerEvent($form, $result) {
|
42 |
+
$isInternalUser = FacebookPluginUtils::isInternalUser();
|
43 |
+
$submitFailed = $result['status'] !== 'mail_sent';
|
44 |
+
if ($isInternalUser || $submitFailed) {
|
45 |
return $result;
|
46 |
}
|
47 |
|
63 |
}
|
64 |
|
65 |
public static function injectLeadEvent($response, $result) {
|
66 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
67 |
return $response;
|
68 |
}
|
69 |
|
integration/FacebookWordpressEasyDigitalDownloads.php
CHANGED
@@ -60,7 +60,7 @@ jQuery(document).ready(function ($) {
|
|
60 |
'%s': '%s',
|
61 |
'value': value
|
62 |
};
|
63 |
-
|
64 |
if(event_id){
|
65 |
fbq('track', 'AddToCart', param, {'eventID': event_id});
|
66 |
}
|
@@ -122,7 +122,7 @@ jQuery(document).ready(function ($) {
|
|
122 |
}
|
123 |
|
124 |
public static function injectAddToCartEventId(){
|
125 |
-
if(FacebookPluginUtils::
|
126 |
|| !FacebookWordpressOptions::getUseS2S()){
|
127 |
return;
|
128 |
}
|
@@ -143,7 +143,7 @@ jQuery(document).ready(function ($) {
|
|
143 |
//Getting form data
|
144 |
parse_str( $_POST['post_data'], $post_data );
|
145 |
if(isset($post_data['facebook_event_id'])){
|
146 |
-
//Starting
|
147 |
$event_id = $post_data['facebook_event_id'];
|
148 |
$server_event = ServerEventFactory::safeCreateEvent(
|
149 |
'AddToCart',
|
@@ -158,14 +158,16 @@ jQuery(document).ready(function ($) {
|
|
158 |
}
|
159 |
|
160 |
public static function injectAddToCartListener($download_id) {
|
161 |
-
if (FacebookPluginUtils::
|
162 |
return;
|
163 |
}
|
164 |
|
165 |
$listener_code = sprintf(
|
166 |
self::$addToCartJS,
|
167 |
FacebookPixel::FB_INTEGRATION_TRACKING_KEY,
|
168 |
-
self::TRACKING_NAME
|
|
|
|
|
169 |
);
|
170 |
|
171 |
printf("
|
@@ -179,7 +181,7 @@ jQuery(document).ready(function ($) {
|
|
179 |
}
|
180 |
|
181 |
public static function injectInitiateCheckoutEvent() {
|
182 |
-
if (FacebookPluginUtils::
|
183 |
return;
|
184 |
}
|
185 |
|
@@ -201,7 +203,7 @@ jQuery(document).ready(function ($) {
|
|
201 |
}
|
202 |
|
203 |
public static function trackPurchaseEvent($payment, $edd_receipt_args) {
|
204 |
-
if (FacebookPluginUtils::
|
205 |
return;
|
206 |
}
|
207 |
|
@@ -233,7 +235,7 @@ jQuery(document).ready(function ($) {
|
|
233 |
}
|
234 |
|
235 |
public static function injectViewContentEvent($download_id) {
|
236 |
-
if (FacebookPluginUtils::
|
237 |
return;
|
238 |
}
|
239 |
|
60 |
'%s': '%s',
|
61 |
'value': value
|
62 |
};
|
63 |
+
fbq('set', 'agent', '%s', '%s');
|
64 |
if(event_id){
|
65 |
fbq('track', 'AddToCart', param, {'eventID': event_id});
|
66 |
}
|
122 |
}
|
123 |
|
124 |
public static function injectAddToCartEventId(){
|
125 |
+
if(FacebookPluginUtils::isInternalUser()
|
126 |
|| !FacebookWordpressOptions::getUseS2S()){
|
127 |
return;
|
128 |
}
|
143 |
//Getting form data
|
144 |
parse_str( $_POST['post_data'], $post_data );
|
145 |
if(isset($post_data['facebook_event_id'])){
|
146 |
+
//Starting Conversions API event creation
|
147 |
$event_id = $post_data['facebook_event_id'];
|
148 |
$server_event = ServerEventFactory::safeCreateEvent(
|
149 |
'AddToCart',
|
158 |
}
|
159 |
|
160 |
public static function injectAddToCartListener($download_id) {
|
161 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
162 |
return;
|
163 |
}
|
164 |
|
165 |
$listener_code = sprintf(
|
166 |
self::$addToCartJS,
|
167 |
FacebookPixel::FB_INTEGRATION_TRACKING_KEY,
|
168 |
+
self::TRACKING_NAME,
|
169 |
+
FacebookWordpressOptions::getAgentString(),
|
170 |
+
FacebookWordpressOptions::getPixelId()
|
171 |
);
|
172 |
|
173 |
printf("
|
181 |
}
|
182 |
|
183 |
public static function injectInitiateCheckoutEvent() {
|
184 |
+
if (FacebookPluginUtils::isInternalUser() || !function_exists('EDD')) {
|
185 |
return;
|
186 |
}
|
187 |
|
203 |
}
|
204 |
|
205 |
public static function trackPurchaseEvent($payment, $edd_receipt_args) {
|
206 |
+
if (FacebookPluginUtils::isInternalUser() || empty($payment->ID)) {
|
207 |
return;
|
208 |
}
|
209 |
|
235 |
}
|
236 |
|
237 |
public static function injectViewContentEvent($download_id) {
|
238 |
+
if (FacebookPluginUtils::isInternalUser() || empty($download_id)) {
|
239 |
return;
|
240 |
}
|
241 |
|
integration/FacebookWordpressFormidableForm.php
CHANGED
@@ -42,7 +42,7 @@ class FacebookWordpressFormidableForm extends FacebookWordpressIntegrationBase {
|
|
42 |
}
|
43 |
|
44 |
public static function trackServerEvent($entry_id, $form_id) {
|
45 |
-
if (FacebookPluginUtils::
|
46 |
return;
|
47 |
}
|
48 |
|
@@ -63,7 +63,7 @@ class FacebookWordpressFormidableForm extends FacebookWordpressIntegrationBase {
|
|
63 |
}
|
64 |
|
65 |
public static function injectLeadEvent() {
|
66 |
-
if (FacebookPluginUtils::
|
67 |
return;
|
68 |
}
|
69 |
|
42 |
}
|
43 |
|
44 |
public static function trackServerEvent($entry_id, $form_id) {
|
45 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
46 |
return;
|
47 |
}
|
48 |
|
63 |
}
|
64 |
|
65 |
public static function injectLeadEvent() {
|
66 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
67 |
return;
|
68 |
}
|
69 |
|
integration/FacebookWordpressGravityForms.php
CHANGED
@@ -40,7 +40,7 @@ class FacebookWordpressGravityForms extends FacebookWordpressIntegrationBase {
|
|
40 |
}
|
41 |
|
42 |
public static function injectLeadEvent($confirmation, $form, $entry, $ajax) {
|
43 |
-
if (FacebookPluginUtils::
|
44 |
return $confirmation;
|
45 |
}
|
46 |
|
40 |
}
|
41 |
|
42 |
public static function injectLeadEvent($confirmation, $form, $entry, $ajax) {
|
43 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
44 |
return $confirmation;
|
45 |
}
|
46 |
|
integration/FacebookWordpressMailchimpForWp.php
CHANGED
@@ -37,7 +37,7 @@ class FacebookWordpressMailchimpForWp extends FacebookWordpressIntegrationBase {
|
|
37 |
}
|
38 |
|
39 |
public static function injectLeadEvent() {
|
40 |
-
if (FacebookPluginUtils::
|
41 |
return;
|
42 |
}
|
43 |
|
37 |
}
|
38 |
|
39 |
public static function injectLeadEvent() {
|
40 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
41 |
return;
|
42 |
}
|
43 |
|
integration/FacebookWordpressNinjaForms.php
CHANGED
@@ -40,7 +40,7 @@ class FacebookWordpressNinjaForms extends FacebookWordpressIntegrationBase {
|
|
40 |
}
|
41 |
|
42 |
public static function injectLeadEvent($actions, $form_cache, $form_data) {
|
43 |
-
if (FacebookPluginUtils::
|
44 |
return $actions;
|
45 |
}
|
46 |
|
40 |
}
|
41 |
|
42 |
public static function injectLeadEvent($actions, $form_cache, $form_data) {
|
43 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
44 |
return $actions;
|
45 |
}
|
46 |
|
integration/FacebookWordpressWPECommerce.php
CHANGED
@@ -48,7 +48,7 @@ class FacebookWordpressWPECommerce extends FacebookWordpressIntegrationBase {
|
|
48 |
|
49 |
// Event hook for AddToCart.
|
50 |
public static function injectAddToCartEvent($response) {
|
51 |
-
if (FacebookPluginUtils::
|
52 |
return $response;
|
53 |
}
|
54 |
|
@@ -73,7 +73,7 @@ class FacebookWordpressWPECommerce extends FacebookWordpressIntegrationBase {
|
|
73 |
}
|
74 |
|
75 |
public static function injectInitiateCheckoutEvent() {
|
76 |
-
if (FacebookPluginUtils::
|
77 |
return;
|
78 |
}
|
79 |
|
@@ -99,7 +99,7 @@ class FacebookWordpressWPECommerce extends FacebookWordpressIntegrationBase {
|
|
99 |
$session_id,
|
100 |
$display_to_screen)
|
101 |
{
|
102 |
-
if (FacebookPluginUtils::
|
103 |
return;
|
104 |
}
|
105 |
|
48 |
|
49 |
// Event hook for AddToCart.
|
50 |
public static function injectAddToCartEvent($response) {
|
51 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
52 |
return $response;
|
53 |
}
|
54 |
|
73 |
}
|
74 |
|
75 |
public static function injectInitiateCheckoutEvent() {
|
76 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
77 |
return;
|
78 |
}
|
79 |
|
99 |
$session_id,
|
100 |
$display_to_screen)
|
101 |
{
|
102 |
+
if (FacebookPluginUtils::isInternalUser() || !$display_to_screen) {
|
103 |
return;
|
104 |
}
|
105 |
|
integration/FacebookWordpressWPForms.php
CHANGED
@@ -42,7 +42,7 @@ class FacebookWordpressWPForms extends FacebookWordpressIntegrationBase {
|
|
42 |
}
|
43 |
|
44 |
public static function trackEvent($entry, $form_data) {
|
45 |
-
if (FacebookPluginUtils::
|
46 |
return;
|
47 |
}
|
48 |
|
@@ -63,7 +63,7 @@ class FacebookWordpressWPForms extends FacebookWordpressIntegrationBase {
|
|
63 |
}
|
64 |
|
65 |
public static function injectLeadEvent() {
|
66 |
-
if (FacebookPluginUtils::
|
67 |
return;
|
68 |
}
|
69 |
|
42 |
}
|
43 |
|
44 |
public static function trackEvent($entry, $form_data) {
|
45 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
46 |
return;
|
47 |
}
|
48 |
|
63 |
}
|
64 |
|
65 |
public static function injectLeadEvent() {
|
66 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
67 |
return;
|
68 |
}
|
69 |
|
integration/FacebookWordpressWooCommerce.php
CHANGED
@@ -33,6 +33,8 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
33 |
// Being consistent with the WooCommerce plugin
|
34 |
const FB_ID_PREFIX = 'wc_post_id_';
|
35 |
|
|
|
|
|
36 |
public static function injectPixelCode() {
|
37 |
// Add the hooks only if the WooCommerce plugin is not active
|
38 |
if(!self::isFacebookForWooCommerceActive()) {
|
@@ -51,11 +53,81 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
51 |
add_action( 'woocommerce_payment_complete',
|
52 |
array(__CLASS__, 'trackPurchaseEvent'),
|
53 |
40);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
public static function trackPurchaseEvent($order_id) {
|
58 |
-
if (FacebookPluginUtils::
|
59 |
return;
|
60 |
}
|
61 |
|
@@ -67,6 +139,8 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
67 |
);
|
68 |
|
69 |
FacebookServerSideEvent::getInstance()->track($server_event);
|
|
|
|
|
70 |
}
|
71 |
|
72 |
public static function createPurchaseEvent($order_id) {
|
@@ -108,7 +182,7 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
108 |
|
109 |
public static function trackAddToCartEvent(
|
110 |
$cart_item_key, $product_id, $quantity, $variation_id) {
|
111 |
-
if (FacebookPluginUtils::
|
112 |
return;
|
113 |
}
|
114 |
|
@@ -119,7 +193,42 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
119 |
self::TRACKING_NAME
|
120 |
);
|
121 |
|
122 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
}
|
124 |
|
125 |
public static function createAddToCartEvent(
|
@@ -140,7 +249,7 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
140 |
}
|
141 |
|
142 |
public static function trackInitiateCheckout() {
|
143 |
-
if (FacebookPluginUtils::
|
144 |
return;
|
145 |
}
|
146 |
|
@@ -152,6 +261,8 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
152 |
);
|
153 |
|
154 |
FacebookServerSideEvent::getInstance()->track($server_event);
|
|
|
|
|
155 |
}
|
156 |
|
157 |
public static function createInitiateCheckoutEvent() {
|
@@ -257,4 +368,22 @@ class FacebookWordpressWooCommerce extends FacebookWordpressIntegrationBase {
|
|
257 |
'facebook-for-woocommerce/facebook-for-woocommerce.php',
|
258 |
get_option('active_plugins'));
|
259 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
}
|
33 |
// Being consistent with the WooCommerce plugin
|
34 |
const FB_ID_PREFIX = 'wc_post_id_';
|
35 |
|
36 |
+
const DIV_ID_FOR_AJAX_PIXEL_EVENTS = 'fb-pxl-ajax-code';
|
37 |
+
|
38 |
public static function injectPixelCode() {
|
39 |
// Add the hooks only if the WooCommerce plugin is not active
|
40 |
if(!self::isFacebookForWooCommerceActive()) {
|
53 |
add_action( 'woocommerce_payment_complete',
|
54 |
array(__CLASS__, 'trackPurchaseEvent'),
|
55 |
40);
|
56 |
+
|
57 |
+
add_action( 'woocommerce_after_single_product',
|
58 |
+
array(__CLASS__, 'trackViewContentEvent'),
|
59 |
+
40);
|
60 |
+
// This div will be used to insert the fbq calls
|
61 |
+
// when an event is triggered by an AJAX request
|
62 |
+
add_action( 'wp_footer',
|
63 |
+
array(__CLASS__, 'addDivForAjaxPixelEvent')
|
64 |
+
);
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
+
public static function addDivForAjaxPixelEvent(){
|
69 |
+
echo self::getDivForAjaxPixelEvent();
|
70 |
+
}
|
71 |
+
|
72 |
+
public static function getDivForAjaxPixelEvent($content = ''){
|
73 |
+
return "<div id='".self::DIV_ID_FOR_AJAX_PIXEL_EVENTS."'>"
|
74 |
+
.$content."</div>";
|
75 |
+
}
|
76 |
+
|
77 |
+
public static function trackViewContentEvent(){
|
78 |
+
if(FacebookPluginUtils::isInternalUser()){
|
79 |
+
return;
|
80 |
}
|
81 |
+
|
82 |
+
global $post;
|
83 |
+
if (!isset($post->ID)){
|
84 |
+
return;
|
85 |
+
}
|
86 |
+
|
87 |
+
$product = wc_get_product($post->ID);
|
88 |
+
if(!$product){
|
89 |
+
return;
|
90 |
+
}
|
91 |
+
|
92 |
+
$server_event = ServerEventFactory::safeCreateEvent(
|
93 |
+
'ViewContent',
|
94 |
+
array(__CLASS__, 'createViewContentEvent'),
|
95 |
+
array($product),
|
96 |
+
self::TRACKING_NAME
|
97 |
+
);
|
98 |
+
|
99 |
+
FacebookServerSideEvent::getInstance()->track($server_event, false);
|
100 |
+
|
101 |
+
self::enqueuePixelCode($server_event);
|
102 |
+
}
|
103 |
+
|
104 |
+
public static function createViewContentEvent($product){
|
105 |
+
$event_data = self::getPIIFromSession();
|
106 |
+
|
107 |
+
$product_id = self::getProductId($product);
|
108 |
+
$content_type = $product->is_type('variable') ? 'product_group' : 'product';
|
109 |
+
|
110 |
+
$event_data['content_type'] = $content_type;
|
111 |
+
$event_data['currency'] = \get_woocommerce_currency();
|
112 |
+
$event_data['value'] = $product->get_price();
|
113 |
+
$event_data['content_ids'] = array($product_id);
|
114 |
+
$event_data['content_name'] = $product->get_title();
|
115 |
+
$event_data['content_category'] =
|
116 |
+
self::getProductCategory($product->get_id());
|
117 |
+
|
118 |
+
return array_filter($event_data);
|
119 |
+
}
|
120 |
+
|
121 |
+
private static function getProductCategory($product_id){
|
122 |
+
$categories = get_the_terms(
|
123 |
+
$product_id,
|
124 |
+
'product_cat'
|
125 |
+
);
|
126 |
+
return count($categories) > 0 ? $categories[0]->name : null;
|
127 |
}
|
128 |
|
129 |
public static function trackPurchaseEvent($order_id) {
|
130 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
131 |
return;
|
132 |
}
|
133 |
|
139 |
);
|
140 |
|
141 |
FacebookServerSideEvent::getInstance()->track($server_event);
|
142 |
+
|
143 |
+
self::enqueuePixelCode($server_event);
|
144 |
}
|
145 |
|
146 |
public static function createPurchaseEvent($order_id) {
|
182 |
|
183 |
public static function trackAddToCartEvent(
|
184 |
$cart_item_key, $product_id, $quantity, $variation_id) {
|
185 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
186 |
return;
|
187 |
}
|
188 |
|
193 |
self::TRACKING_NAME
|
194 |
);
|
195 |
|
196 |
+
// When AJAX is used to add an item to the cart
|
197 |
+
// The Conversions API event should be sent inmediately
|
198 |
+
// because the wp_footer action is not executed
|
199 |
+
$is_ajax_request = wp_doing_ajax();
|
200 |
+
|
201 |
+
FacebookServerSideEvent::getInstance()->track($server_event,
|
202 |
+
$is_ajax_request);
|
203 |
+
|
204 |
+
// If it is not an ajax request
|
205 |
+
// We show the pixel call in the footer
|
206 |
+
// Otherwise we add a filter
|
207 |
+
// to modify the ajax response
|
208 |
+
// and show the fbq call in the div #fb-pxl-ajax-code
|
209 |
+
if(!$is_ajax_request){
|
210 |
+
self::enqueuePixelCode($server_event);
|
211 |
+
}
|
212 |
+
else{
|
213 |
+
FacebookServerSideEvent::getInstance()->setPendingPixelEvent(
|
214 |
+
'addPixelCodeToAddToCartFragment',
|
215 |
+
$server_event
|
216 |
+
);
|
217 |
+
add_filter('woocommerce_add_to_cart_fragments',
|
218 |
+
array(__CLASS__, 'addPixelCodeToAddToCartFragment'));
|
219 |
+
}
|
220 |
+
}
|
221 |
+
|
222 |
+
public static function addPixelCodeToAddToCartFragment($fragments) {
|
223 |
+
$server_event =
|
224 |
+
FacebookServerSideEvent::getInstance()
|
225 |
+
->getPendingPixelEvent('addPixelCodeToAddToCartFragment');
|
226 |
+
if( !is_null($server_event) ){
|
227 |
+
$pixel_code = self::generatePixelCode($server_event, true);
|
228 |
+
$fragments['#'.self::DIV_ID_FOR_AJAX_PIXEL_EVENTS] =
|
229 |
+
self::getDivForAjaxPixelEvent($pixel_code);
|
230 |
+
}
|
231 |
+
return $fragments;
|
232 |
}
|
233 |
|
234 |
public static function createAddToCartEvent(
|
249 |
}
|
250 |
|
251 |
public static function trackInitiateCheckout() {
|
252 |
+
if (FacebookPluginUtils::isInternalUser()) {
|
253 |
return;
|
254 |
}
|
255 |
|
261 |
);
|
262 |
|
263 |
FacebookServerSideEvent::getInstance()->track($server_event);
|
264 |
+
|
265 |
+
self::enqueuePixelCode($server_event);
|
266 |
}
|
267 |
|
268 |
public static function createInitiateCheckoutEvent() {
|
368 |
'facebook-for-woocommerce/facebook-for-woocommerce.php',
|
369 |
get_option('active_plugins'));
|
370 |
}
|
371 |
+
|
372 |
+
public static function generatePixelCode($server_event, $script_tag = false){
|
373 |
+
$code = PixelRenderer::render(array($server_event), self::TRACKING_NAME,
|
374 |
+
$script_tag);
|
375 |
+
$code = sprintf("
|
376 |
+
<!-- Facebook Pixel Event Code -->
|
377 |
+
%s
|
378 |
+
<!-- End Facebook Pixel Event Code -->
|
379 |
+
",
|
380 |
+
$code);
|
381 |
+
return $code;
|
382 |
+
}
|
383 |
+
|
384 |
+
public static function enqueuePixelCode($server_event){
|
385 |
+
$code = self::generatePixelCode($server_event, false);
|
386 |
+
wc_enqueue_js($code);
|
387 |
+
return $code;
|
388 |
+
}
|
389 |
}
|
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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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: Official Facebook Pixel 2.2.
|
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: Official Facebook Pixel 2.2.1\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
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: facebook
|
3 |
Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events, facebook retargeting, facebook standard events
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to:
|
6 |
-
Requires PHP: 5.
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -23,7 +23,7 @@ This plugin also includes built-in support for these other WordPress plugins:
|
|
23 |
* Ninja Forms
|
24 |
* WP eCommerce
|
25 |
* WPForms
|
26 |
-
* WooCommerce
|
27 |
|
28 |
== Installation ==
|
29 |
__To install from your WordPress site__ <br />
|
@@ -50,6 +50,14 @@ If you get stuck, or have any questions, you can ask for help in the [Official F
|
|
50 |
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).
|
51 |
|
52 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
= 2020-08-14 version 2.2.0 =
|
54 |
* Support for WordPress 5.5
|
55 |
* Improved Conversions API event quality
|
2 |
Contributors: facebook
|
3 |
Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events, facebook retargeting, facebook standard events
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 7.4
|
6 |
+
Requires PHP: 5.6
|
7 |
+
Stable tag: 2.2.0
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
23 |
* Ninja Forms
|
24 |
* WP eCommerce
|
25 |
* WPForms
|
26 |
+
* WooCommerce
|
27 |
|
28 |
== Installation ==
|
29 |
__To install from your WordPress site__ <br />
|
50 |
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).
|
51 |
|
52 |
== Changelog ==
|
53 |
+
= 2020-11-04 version 2.2.1 =
|
54 |
+
* Stop sending events for internal users
|
55 |
+
* Fix Contact Form 7 integration bug, send events only on form submit success
|
56 |
+
* Update Facebook Business SDK to v8.0.2
|
57 |
+
* Requires PHP 5.6 or greater
|
58 |
+
* Sending ViewContent Conversions API event from WooCommerce
|
59 |
+
* Support for WooCommerce through Pixel and Conversions API
|
60 |
+
|
61 |
= 2020-08-14 version 2.2.0 =
|
62 |
* Support for WordPress 5.5
|
63 |
* Improved Conversions API event quality
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -6,5 +6,13 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
'WP_Async_Task' => $vendorDir . '/techcrunch/wp-async-task/wp-async-task.php',
|
10 |
);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'ArithmeticError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
|
10 |
+
'AssertionError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
|
11 |
+
'DivisionByZeroError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
|
12 |
+
'Error' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/Error.php',
|
13 |
+
'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
14 |
+
'ParseError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
|
15 |
+
'SessionUpdateTimestampHandlerInterface' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
|
16 |
+
'TypeError' => $vendorDir . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
|
17 |
'WP_Async_Task' => $vendorDir . '/techcrunch/wp-async-task/wp-async-task.php',
|
18 |
);
|
vendor/composer/autoload_files.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_files.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
'25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
|
10 |
+
'023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
|
11 |
+
'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
12 |
+
'7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
|
13 |
+
'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
|
14 |
+
'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
|
15 |
+
'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
|
16 |
+
'37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php',
|
17 |
+
);
|
vendor/composer/autoload_psr4.php
CHANGED
@@ -6,6 +6,14 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
'FacebookPixelPlugin\\Integration\\' => array($baseDir . '/integration'),
|
10 |
'FacebookPixelPlugin\\Core\\' => array($baseDir . '/core'),
|
11 |
'FacebookPixelPlugin\\' => array($baseDir . '/'),
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'Symfony\\Polyfill\\Php72\\' => array($vendorDir . '/symfony/polyfill-php72'),
|
10 |
+
'Symfony\\Polyfill\\Php70\\' => array($vendorDir . '/symfony/polyfill-php70'),
|
11 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
|
12 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
|
13 |
+
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
|
14 |
+
'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'),
|
15 |
+
'GuzzleHttp\\Promise\\' => array($vendorDir . '/guzzlehttp/promises/src'),
|
16 |
+
'GuzzleHttp\\' => array($vendorDir . '/guzzlehttp/guzzle/src'),
|
17 |
'FacebookPixelPlugin\\Integration\\' => array($baseDir . '/integration'),
|
18 |
'FacebookPixelPlugin\\Core\\' => array($baseDir . '/core'),
|
19 |
'FacebookPixelPlugin\\' => array($baseDir . '/'),
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -13,21 +13,24 @@ class ComposerAutoloaderInitd240e549ff778e21e170e5e3e6b60735
|
|
13 |
}
|
14 |
}
|
15 |
|
|
|
|
|
|
|
16 |
public static function getLoader()
|
17 |
{
|
18 |
if (null !== self::$loader) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -47,6 +50,24 @@ class ComposerAutoloaderInitd240e549ff778e21e170e5e3e6b60735
|
|
47 |
|
48 |
$loader->register(true);
|
49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
return $loader;
|
51 |
}
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
13 |
}
|
14 |
}
|
15 |
|
16 |
+
/**
|
17 |
+
* @return \Composer\Autoload\ClassLoader
|
18 |
+
*/
|
19 |
public static function getLoader()
|
20 |
{
|
21 |
if (null !== self::$loader) {
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915', '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\ComposerStaticInitb70dda9054913ec540ad699dadb60915::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
50 |
|
51 |
$loader->register(true);
|
52 |
|
53 |
+
if ($useStaticLoader) {
|
54 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitb70dda9054913ec540ad699dadb60915::$files;
|
55 |
+
} else {
|
56 |
+
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
+
}
|
58 |
+
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
+
composerRequireb70dda9054913ec540ad699dadb60915($fileIdentifier, $file);
|
60 |
+
}
|
61 |
+
|
62 |
return $loader;
|
63 |
}
|
64 |
}
|
65 |
+
|
66 |
+
function composerRequireb70dda9054913ec540ad699dadb60915($fileIdentifier, $file)
|
67 |
+
{
|
68 |
+
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
69 |
+
require $file;
|
70 |
+
|
71 |
+
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
72 |
+
}
|
73 |
+
}
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,9 +4,37 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
public static $prefixLengthsPsr4 = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
'F' =>
|
11 |
array (
|
12 |
'FacebookPixelPlugin\\Integration\\' => 32,
|
@@ -17,6 +45,38 @@ class ComposerStaticInitd240e549ff778e21e170e5e3e6b60735
|
|
17 |
);
|
18 |
|
19 |
public static $prefixDirsPsr4 = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
'FacebookPixelPlugin\\Integration\\' =>
|
21 |
array (
|
22 |
0 => __DIR__ . '/../..' . '/integration',
|
@@ -36,15 +96,23 @@ class ComposerStaticInitd240e549ff778e21e170e5e3e6b60735
|
|
36 |
);
|
37 |
|
38 |
public static $classMap = array (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
'WP_Async_Task' => __DIR__ . '/..' . '/techcrunch/wp-async-task/wp-async-task.php',
|
40 |
);
|
41 |
|
42 |
public static function getInitializer(ClassLoader $loader)
|
43 |
{
|
44 |
return \Closure::bind(function () use ($loader) {
|
45 |
-
$loader->prefixLengthsPsr4 =
|
46 |
-
$loader->prefixDirsPsr4 =
|
47 |
-
$loader->classMap =
|
48 |
|
49 |
}, null, ClassLoader::class);
|
50 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitb70dda9054913ec540ad699dadb60915
|
8 |
{
|
9 |
+
public static $files = array (
|
10 |
+
'25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
|
11 |
+
'023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
|
12 |
+
'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
|
13 |
+
'7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
|
14 |
+
'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php',
|
15 |
+
'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
|
16 |
+
'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
|
17 |
+
'37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php',
|
18 |
+
);
|
19 |
+
|
20 |
public static $prefixLengthsPsr4 = array (
|
21 |
+
'S' =>
|
22 |
+
array (
|
23 |
+
'Symfony\\Polyfill\\Php72\\' => 23,
|
24 |
+
'Symfony\\Polyfill\\Php70\\' => 23,
|
25 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
|
26 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' => 26,
|
27 |
+
),
|
28 |
+
'P' =>
|
29 |
+
array (
|
30 |
+
'Psr\\Http\\Message\\' => 17,
|
31 |
+
),
|
32 |
+
'G' =>
|
33 |
+
array (
|
34 |
+
'GuzzleHttp\\Psr7\\' => 16,
|
35 |
+
'GuzzleHttp\\Promise\\' => 19,
|
36 |
+
'GuzzleHttp\\' => 11,
|
37 |
+
),
|
38 |
'F' =>
|
39 |
array (
|
40 |
'FacebookPixelPlugin\\Integration\\' => 32,
|
45 |
);
|
46 |
|
47 |
public static $prefixDirsPsr4 = array (
|
48 |
+
'Symfony\\Polyfill\\Php72\\' =>
|
49 |
+
array (
|
50 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-php72',
|
51 |
+
),
|
52 |
+
'Symfony\\Polyfill\\Php70\\' =>
|
53 |
+
array (
|
54 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-php70',
|
55 |
+
),
|
56 |
+
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
|
57 |
+
array (
|
58 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
|
59 |
+
),
|
60 |
+
'Symfony\\Polyfill\\Intl\\Idn\\' =>
|
61 |
+
array (
|
62 |
+
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-idn',
|
63 |
+
),
|
64 |
+
'Psr\\Http\\Message\\' =>
|
65 |
+
array (
|
66 |
+
0 => __DIR__ . '/..' . '/psr/http-message/src',
|
67 |
+
),
|
68 |
+
'GuzzleHttp\\Psr7\\' =>
|
69 |
+
array (
|
70 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src',
|
71 |
+
),
|
72 |
+
'GuzzleHttp\\Promise\\' =>
|
73 |
+
array (
|
74 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/promises/src',
|
75 |
+
),
|
76 |
+
'GuzzleHttp\\' =>
|
77 |
+
array (
|
78 |
+
0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src',
|
79 |
+
),
|
80 |
'FacebookPixelPlugin\\Integration\\' =>
|
81 |
array (
|
82 |
0 => __DIR__ . '/../..' . '/integration',
|
96 |
);
|
97 |
|
98 |
public static $classMap = array (
|
99 |
+
'ArithmeticError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ArithmeticError.php',
|
100 |
+
'AssertionError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/AssertionError.php',
|
101 |
+
'DivisionByZeroError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/DivisionByZeroError.php',
|
102 |
+
'Error' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/Error.php',
|
103 |
+
'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php',
|
104 |
+
'ParseError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/ParseError.php',
|
105 |
+
'SessionUpdateTimestampHandlerInterface' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/SessionUpdateTimestampHandlerInterface.php',
|
106 |
+
'TypeError' => __DIR__ . '/..' . '/symfony/polyfill-php70/Resources/stubs/TypeError.php',
|
107 |
'WP_Async_Task' => __DIR__ . '/..' . '/techcrunch/wp-async-task/wp-async-task.php',
|
108 |
);
|
109 |
|
110 |
public static function getInitializer(ClassLoader $loader)
|
111 |
{
|
112 |
return \Closure::bind(function () use ($loader) {
|
113 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$prefixLengthsPsr4;
|
114 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$prefixDirsPsr4;
|
115 |
+
$loader->classMap = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$classMap;
|
116 |
|
117 |
}, null, ClassLoader::class);
|
118 |
}
|
vendor/composer/installed.json
CHANGED
@@ -1,24 +1,28 @@
|
|
1 |
[
|
2 |
{
|
3 |
"name": "facebook/php-business-sdk",
|
4 |
-
"version": "
|
5 |
-
"version_normalized": "
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
9 |
-
"reference": "
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
-
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/
|
14 |
-
"reference": "
|
15 |
"shasum": ""
|
16 |
},
|
|
|
|
|
|
|
17 |
"require-dev": {
|
|
|
18 |
"phpunit/phpunit": "~8",
|
19 |
"symfony/finder": "~2.6"
|
20 |
},
|
21 |
-
"time": "2020-
|
22 |
"type": "library",
|
23 |
"installation-source": "dist",
|
24 |
"autoload": {
|
@@ -38,6 +42,666 @@
|
|
38 |
"sdk"
|
39 |
]
|
40 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
{
|
42 |
"name": "techcrunch/wp-async-task",
|
43 |
"version": "dev-master",
|
1 |
[
|
2 |
{
|
3 |
"name": "facebook/php-business-sdk",
|
4 |
+
"version": "8.0.2",
|
5 |
+
"version_normalized": "8.0.2.0",
|
6 |
"source": {
|
7 |
"type": "git",
|
8 |
"url": "https://github.com/facebook/facebook-php-business-sdk.git",
|
9 |
+
"reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d"
|
10 |
},
|
11 |
"dist": {
|
12 |
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/637fce87380d4a65f6d4c24cc79664fa28c3428d",
|
14 |
+
"reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d",
|
15 |
"shasum": ""
|
16 |
},
|
17 |
+
"require": {
|
18 |
+
"guzzlehttp/guzzle": "^6.5"
|
19 |
+
},
|
20 |
"require-dev": {
|
21 |
+
"mockery/mockery": "1.3.3",
|
22 |
"phpunit/phpunit": "~8",
|
23 |
"symfony/finder": "~2.6"
|
24 |
},
|
25 |
+
"time": "2020-09-18T00:34:44+00:00",
|
26 |
"type": "library",
|
27 |
"installation-source": "dist",
|
28 |
"autoload": {
|
42 |
"sdk"
|
43 |
]
|
44 |
},
|
45 |
+
{
|
46 |
+
"name": "guzzlehttp/guzzle",
|
47 |
+
"version": "6.5.5",
|
48 |
+
"version_normalized": "6.5.5.0",
|
49 |
+
"source": {
|
50 |
+
"type": "git",
|
51 |
+
"url": "https://github.com/guzzle/guzzle.git",
|
52 |
+
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
|
53 |
+
},
|
54 |
+
"dist": {
|
55 |
+
"type": "zip",
|
56 |
+
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
|
57 |
+
"reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
|
58 |
+
"shasum": ""
|
59 |
+
},
|
60 |
+
"require": {
|
61 |
+
"ext-json": "*",
|
62 |
+
"guzzlehttp/promises": "^1.0",
|
63 |
+
"guzzlehttp/psr7": "^1.6.1",
|
64 |
+
"php": ">=5.5",
|
65 |
+
"symfony/polyfill-intl-idn": "^1.17.0"
|
66 |
+
},
|
67 |
+
"require-dev": {
|
68 |
+
"ext-curl": "*",
|
69 |
+
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
|
70 |
+
"psr/log": "^1.1"
|
71 |
+
},
|
72 |
+
"suggest": {
|
73 |
+
"psr/log": "Required for using the Log middleware"
|
74 |
+
},
|
75 |
+
"time": "2020-06-16T21:01:06+00:00",
|
76 |
+
"type": "library",
|
77 |
+
"extra": {
|
78 |
+
"branch-alias": {
|
79 |
+
"dev-master": "6.5-dev"
|
80 |
+
}
|
81 |
+
},
|
82 |
+
"installation-source": "dist",
|
83 |
+
"autoload": {
|
84 |
+
"psr-4": {
|
85 |
+
"GuzzleHttp\\": "src/"
|
86 |
+
},
|
87 |
+
"files": [
|
88 |
+
"src/functions_include.php"
|
89 |
+
]
|
90 |
+
},
|
91 |
+
"notification-url": "https://packagist.org/downloads/",
|
92 |
+
"license": [
|
93 |
+
"MIT"
|
94 |
+
],
|
95 |
+
"authors": [
|
96 |
+
{
|
97 |
+
"name": "Michael Dowling",
|
98 |
+
"email": "mtdowling@gmail.com",
|
99 |
+
"homepage": "https://github.com/mtdowling"
|
100 |
+
}
|
101 |
+
],
|
102 |
+
"description": "Guzzle is a PHP HTTP client library",
|
103 |
+
"homepage": "http://guzzlephp.org/",
|
104 |
+
"keywords": [
|
105 |
+
"client",
|
106 |
+
"curl",
|
107 |
+
"framework",
|
108 |
+
"http",
|
109 |
+
"http client",
|
110 |
+
"rest",
|
111 |
+
"web service"
|
112 |
+
]
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"name": "guzzlehttp/promises",
|
116 |
+
"version": "v1.3.1",
|
117 |
+
"version_normalized": "1.3.1.0",
|
118 |
+
"source": {
|
119 |
+
"type": "git",
|
120 |
+
"url": "https://github.com/guzzle/promises.git",
|
121 |
+
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
|
122 |
+
},
|
123 |
+
"dist": {
|
124 |
+
"type": "zip",
|
125 |
+
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
126 |
+
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
|
127 |
+
"shasum": ""
|
128 |
+
},
|
129 |
+
"require": {
|
130 |
+
"php": ">=5.5.0"
|
131 |
+
},
|
132 |
+
"require-dev": {
|
133 |
+
"phpunit/phpunit": "^4.0"
|
134 |
+
},
|
135 |
+
"time": "2016-12-20T10:07:11+00:00",
|
136 |
+
"type": "library",
|
137 |
+
"extra": {
|
138 |
+
"branch-alias": {
|
139 |
+
"dev-master": "1.4-dev"
|
140 |
+
}
|
141 |
+
},
|
142 |
+
"installation-source": "dist",
|
143 |
+
"autoload": {
|
144 |
+
"psr-4": {
|
145 |
+
"GuzzleHttp\\Promise\\": "src/"
|
146 |
+
},
|
147 |
+
"files": [
|
148 |
+
"src/functions_include.php"
|
149 |
+
]
|
150 |
+
},
|
151 |
+
"notification-url": "https://packagist.org/downloads/",
|
152 |
+
"license": [
|
153 |
+
"MIT"
|
154 |
+
],
|
155 |
+
"authors": [
|
156 |
+
{
|
157 |
+
"name": "Michael Dowling",
|
158 |
+
"email": "mtdowling@gmail.com",
|
159 |
+
"homepage": "https://github.com/mtdowling"
|
160 |
+
}
|
161 |
+
],
|
162 |
+
"description": "Guzzle promises library",
|
163 |
+
"keywords": [
|
164 |
+
"promise"
|
165 |
+
]
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"name": "guzzlehttp/psr7",
|
169 |
+
"version": "1.6.1",
|
170 |
+
"version_normalized": "1.6.1.0",
|
171 |
+
"source": {
|
172 |
+
"type": "git",
|
173 |
+
"url": "https://github.com/guzzle/psr7.git",
|
174 |
+
"reference": "239400de7a173fe9901b9ac7c06497751f00727a"
|
175 |
+
},
|
176 |
+
"dist": {
|
177 |
+
"type": "zip",
|
178 |
+
"url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
|
179 |
+
"reference": "239400de7a173fe9901b9ac7c06497751f00727a",
|
180 |
+
"shasum": ""
|
181 |
+
},
|
182 |
+
"require": {
|
183 |
+
"php": ">=5.4.0",
|
184 |
+
"psr/http-message": "~1.0",
|
185 |
+
"ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
|
186 |
+
},
|
187 |
+
"provide": {
|
188 |
+
"psr/http-message-implementation": "1.0"
|
189 |
+
},
|
190 |
+
"require-dev": {
|
191 |
+
"ext-zlib": "*",
|
192 |
+
"phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
|
193 |
+
},
|
194 |
+
"suggest": {
|
195 |
+
"zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
|
196 |
+
},
|
197 |
+
"time": "2019-07-01T23:21:34+00:00",
|
198 |
+
"type": "library",
|
199 |
+
"extra": {
|
200 |
+
"branch-alias": {
|
201 |
+
"dev-master": "1.6-dev"
|
202 |
+
}
|
203 |
+
},
|
204 |
+
"installation-source": "dist",
|
205 |
+
"autoload": {
|
206 |
+
"psr-4": {
|
207 |
+
"GuzzleHttp\\Psr7\\": "src/"
|
208 |
+
},
|
209 |
+
"files": [
|
210 |
+
"src/functions_include.php"
|
211 |
+
]
|
212 |
+
},
|
213 |
+
"notification-url": "https://packagist.org/downloads/",
|
214 |
+
"license": [
|
215 |
+
"MIT"
|
216 |
+
],
|
217 |
+
"authors": [
|
218 |
+
{
|
219 |
+
"name": "Michael Dowling",
|
220 |
+
"email": "mtdowling@gmail.com",
|
221 |
+
"homepage": "https://github.com/mtdowling"
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"name": "Tobias Schultze",
|
225 |
+
"homepage": "https://github.com/Tobion"
|
226 |
+
}
|
227 |
+
],
|
228 |
+
"description": "PSR-7 message implementation that also provides common utility methods",
|
229 |
+
"keywords": [
|
230 |
+
"http",
|
231 |
+
"message",
|
232 |
+
"psr-7",
|
233 |
+
"request",
|
234 |
+
"response",
|
235 |
+
"stream",
|
236 |
+
"uri",
|
237 |
+
"url"
|
238 |
+
]
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"name": "paragonie/random_compat",
|
242 |
+
"version": "v9.99.99",
|
243 |
+
"version_normalized": "9.99.99.0",
|
244 |
+
"source": {
|
245 |
+
"type": "git",
|
246 |
+
"url": "https://github.com/paragonie/random_compat.git",
|
247 |
+
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
|
248 |
+
},
|
249 |
+
"dist": {
|
250 |
+
"type": "zip",
|
251 |
+
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
|
252 |
+
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
|
253 |
+
"shasum": ""
|
254 |
+
},
|
255 |
+
"require": {
|
256 |
+
"php": "^7"
|
257 |
+
},
|
258 |
+
"require-dev": {
|
259 |
+
"phpunit/phpunit": "4.*|5.*",
|
260 |
+
"vimeo/psalm": "^1"
|
261 |
+
},
|
262 |
+
"suggest": {
|
263 |
+
"ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
|
264 |
+
},
|
265 |
+
"time": "2018-07-02T15:55:56+00:00",
|
266 |
+
"type": "library",
|
267 |
+
"installation-source": "dist",
|
268 |
+
"notification-url": "https://packagist.org/downloads/",
|
269 |
+
"license": [
|
270 |
+
"MIT"
|
271 |
+
],
|
272 |
+
"authors": [
|
273 |
+
{
|
274 |
+
"name": "Paragon Initiative Enterprises",
|
275 |
+
"email": "security@paragonie.com",
|
276 |
+
"homepage": "https://paragonie.com"
|
277 |
+
}
|
278 |
+
],
|
279 |
+
"description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
|
280 |
+
"keywords": [
|
281 |
+
"csprng",
|
282 |
+
"polyfill",
|
283 |
+
"pseudorandom",
|
284 |
+
"random"
|
285 |
+
]
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"name": "psr/http-message",
|
289 |
+
"version": "1.0.1",
|
290 |
+
"version_normalized": "1.0.1.0",
|
291 |
+
"source": {
|
292 |
+
"type": "git",
|
293 |
+
"url": "https://github.com/php-fig/http-message.git",
|
294 |
+
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
|
295 |
+
},
|
296 |
+
"dist": {
|
297 |
+
"type": "zip",
|
298 |
+
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
|
299 |
+
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
|
300 |
+
"shasum": ""
|
301 |
+
},
|
302 |
+
"require": {
|
303 |
+
"php": ">=5.3.0"
|
304 |
+
},
|
305 |
+
"time": "2016-08-06T14:39:51+00:00",
|
306 |
+
"type": "library",
|
307 |
+
"extra": {
|
308 |
+
"branch-alias": {
|
309 |
+
"dev-master": "1.0.x-dev"
|
310 |
+
}
|
311 |
+
},
|
312 |
+
"installation-source": "dist",
|
313 |
+
"autoload": {
|
314 |
+
"psr-4": {
|
315 |
+
"Psr\\Http\\Message\\": "src/"
|
316 |
+
}
|
317 |
+
},
|
318 |
+
"notification-url": "https://packagist.org/downloads/",
|
319 |
+
"license": [
|
320 |
+
"MIT"
|
321 |
+
],
|
322 |
+
"authors": [
|
323 |
+
{
|
324 |
+
"name": "PHP-FIG",
|
325 |
+
"homepage": "http://www.php-fig.org/"
|
326 |
+
}
|
327 |
+
],
|
328 |
+
"description": "Common interface for HTTP messages",
|
329 |
+
"homepage": "https://github.com/php-fig/http-message",
|
330 |
+
"keywords": [
|
331 |
+
"http",
|
332 |
+
"http-message",
|
333 |
+
"psr",
|
334 |
+
"psr-7",
|
335 |
+
"request",
|
336 |
+
"response"
|
337 |
+
]
|
338 |
+
},
|
339 |
+
{
|
340 |
+
"name": "ralouphie/getallheaders",
|
341 |
+
"version": "3.0.3",
|
342 |
+
"version_normalized": "3.0.3.0",
|
343 |
+
"source": {
|
344 |
+
"type": "git",
|
345 |
+
"url": "https://github.com/ralouphie/getallheaders.git",
|
346 |
+
"reference": "120b605dfeb996808c31b6477290a714d356e822"
|
347 |
+
},
|
348 |
+
"dist": {
|
349 |
+
"type": "zip",
|
350 |
+
"url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
|
351 |
+
"reference": "120b605dfeb996808c31b6477290a714d356e822",
|
352 |
+
"shasum": ""
|
353 |
+
},
|
354 |
+
"require": {
|
355 |
+
"php": ">=5.6"
|
356 |
+
},
|
357 |
+
"require-dev": {
|
358 |
+
"php-coveralls/php-coveralls": "^2.1",
|
359 |
+
"phpunit/phpunit": "^5 || ^6.5"
|
360 |
+
},
|
361 |
+
"time": "2019-03-08T08:55:37+00:00",
|
362 |
+
"type": "library",
|
363 |
+
"installation-source": "dist",
|
364 |
+
"autoload": {
|
365 |
+
"files": [
|
366 |
+
"src/getallheaders.php"
|
367 |
+
]
|
368 |
+
},
|
369 |
+
"notification-url": "https://packagist.org/downloads/",
|
370 |
+
"license": [
|
371 |
+
"MIT"
|
372 |
+
],
|
373 |
+
"authors": [
|
374 |
+
{
|
375 |
+
"name": "Ralph Khattar",
|
376 |
+
"email": "ralph.khattar@gmail.com"
|
377 |
+
}
|
378 |
+
],
|
379 |
+
"description": "A polyfill for getallheaders."
|
380 |
+
},
|
381 |
+
{
|
382 |
+
"name": "symfony/polyfill-intl-idn",
|
383 |
+
"version": "v1.18.1",
|
384 |
+
"version_normalized": "1.18.1.0",
|
385 |
+
"source": {
|
386 |
+
"type": "git",
|
387 |
+
"url": "https://github.com/symfony/polyfill-intl-idn.git",
|
388 |
+
"reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251"
|
389 |
+
},
|
390 |
+
"dist": {
|
391 |
+
"type": "zip",
|
392 |
+
"url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/5dcab1bc7146cf8c1beaa4502a3d9be344334251",
|
393 |
+
"reference": "5dcab1bc7146cf8c1beaa4502a3d9be344334251",
|
394 |
+
"shasum": ""
|
395 |
+
},
|
396 |
+
"require": {
|
397 |
+
"php": ">=5.3.3",
|
398 |
+
"symfony/polyfill-intl-normalizer": "^1.10",
|
399 |
+
"symfony/polyfill-php70": "^1.10",
|
400 |
+
"symfony/polyfill-php72": "^1.10"
|
401 |
+
},
|
402 |
+
"suggest": {
|
403 |
+
"ext-intl": "For best performance"
|
404 |
+
},
|
405 |
+
"time": "2020-08-04T06:02:08+00:00",
|
406 |
+
"type": "library",
|
407 |
+
"extra": {
|
408 |
+
"branch-alias": {
|
409 |
+
"dev-master": "1.18-dev"
|
410 |
+
},
|
411 |
+
"thanks": {
|
412 |
+
"name": "symfony/polyfill",
|
413 |
+
"url": "https://github.com/symfony/polyfill"
|
414 |
+
}
|
415 |
+
},
|
416 |
+
"installation-source": "dist",
|
417 |
+
"autoload": {
|
418 |
+
"psr-4": {
|
419 |
+
"Symfony\\Polyfill\\Intl\\Idn\\": ""
|
420 |
+
},
|
421 |
+
"files": [
|
422 |
+
"bootstrap.php"
|
423 |
+
]
|
424 |
+
},
|
425 |
+
"notification-url": "https://packagist.org/downloads/",
|
426 |
+
"license": [
|
427 |
+
"MIT"
|
428 |
+
],
|
429 |
+
"authors": [
|
430 |
+
{
|
431 |
+
"name": "Laurent Bassin",
|
432 |
+
"email": "laurent@bassin.info"
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"name": "Trevor Rowbotham",
|
436 |
+
"email": "trevor.rowbotham@pm.me"
|
437 |
+
},
|
438 |
+
{
|
439 |
+
"name": "Symfony Community",
|
440 |
+
"homepage": "https://symfony.com/contributors"
|
441 |
+
}
|
442 |
+
],
|
443 |
+
"description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions",
|
444 |
+
"homepage": "https://symfony.com",
|
445 |
+
"keywords": [
|
446 |
+
"compatibility",
|
447 |
+
"idn",
|
448 |
+
"intl",
|
449 |
+
"polyfill",
|
450 |
+
"portable",
|
451 |
+
"shim"
|
452 |
+
],
|
453 |
+
"funding": [
|
454 |
+
{
|
455 |
+
"url": "https://symfony.com/sponsor",
|
456 |
+
"type": "custom"
|
457 |
+
},
|
458 |
+
{
|
459 |
+
"url": "https://github.com/fabpot",
|
460 |
+
"type": "github"
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
464 |
+
"type": "tidelift"
|
465 |
+
}
|
466 |
+
]
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"name": "symfony/polyfill-intl-normalizer",
|
470 |
+
"version": "v1.18.1",
|
471 |
+
"version_normalized": "1.18.1.0",
|
472 |
+
"source": {
|
473 |
+
"type": "git",
|
474 |
+
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
|
475 |
+
"reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e"
|
476 |
+
},
|
477 |
+
"dist": {
|
478 |
+
"type": "zip",
|
479 |
+
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
|
480 |
+
"reference": "37078a8dd4a2a1e9ab0231af7c6cb671b2ed5a7e",
|
481 |
+
"shasum": ""
|
482 |
+
},
|
483 |
+
"require": {
|
484 |
+
"php": ">=5.3.3"
|
485 |
+
},
|
486 |
+
"suggest": {
|
487 |
+
"ext-intl": "For best performance"
|
488 |
+
},
|
489 |
+
"time": "2020-07-14T12:35:20+00:00",
|
490 |
+
"type": "library",
|
491 |
+
"extra": {
|
492 |
+
"branch-alias": {
|
493 |
+
"dev-master": "1.18-dev"
|
494 |
+
},
|
495 |
+
"thanks": {
|
496 |
+
"name": "symfony/polyfill",
|
497 |
+
"url": "https://github.com/symfony/polyfill"
|
498 |
+
}
|
499 |
+
},
|
500 |
+
"installation-source": "dist",
|
501 |
+
"autoload": {
|
502 |
+
"psr-4": {
|
503 |
+
"Symfony\\Polyfill\\Intl\\Normalizer\\": ""
|
504 |
+
},
|
505 |
+
"files": [
|
506 |
+
"bootstrap.php"
|
507 |
+
],
|
508 |
+
"classmap": [
|
509 |
+
"Resources/stubs"
|
510 |
+
]
|
511 |
+
},
|
512 |
+
"notification-url": "https://packagist.org/downloads/",
|
513 |
+
"license": [
|
514 |
+
"MIT"
|
515 |
+
],
|
516 |
+
"authors": [
|
517 |
+
{
|
518 |
+
"name": "Nicolas Grekas",
|
519 |
+
"email": "p@tchwork.com"
|
520 |
+
},
|
521 |
+
{
|
522 |
+
"name": "Symfony Community",
|
523 |
+
"homepage": "https://symfony.com/contributors"
|
524 |
+
}
|
525 |
+
],
|
526 |
+
"description": "Symfony polyfill for intl's Normalizer class and related functions",
|
527 |
+
"homepage": "https://symfony.com",
|
528 |
+
"keywords": [
|
529 |
+
"compatibility",
|
530 |
+
"intl",
|
531 |
+
"normalizer",
|
532 |
+
"polyfill",
|
533 |
+
"portable",
|
534 |
+
"shim"
|
535 |
+
],
|
536 |
+
"funding": [
|
537 |
+
{
|
538 |
+
"url": "https://symfony.com/sponsor",
|
539 |
+
"type": "custom"
|
540 |
+
},
|
541 |
+
{
|
542 |
+
"url": "https://github.com/fabpot",
|
543 |
+
"type": "github"
|
544 |
+
},
|
545 |
+
{
|
546 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
547 |
+
"type": "tidelift"
|
548 |
+
}
|
549 |
+
]
|
550 |
+
},
|
551 |
+
{
|
552 |
+
"name": "symfony/polyfill-php70",
|
553 |
+
"version": "v1.18.1",
|
554 |
+
"version_normalized": "1.18.1.0",
|
555 |
+
"source": {
|
556 |
+
"type": "git",
|
557 |
+
"url": "https://github.com/symfony/polyfill-php70.git",
|
558 |
+
"reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3"
|
559 |
+
},
|
560 |
+
"dist": {
|
561 |
+
"type": "zip",
|
562 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
|
563 |
+
"reference": "0dd93f2c578bdc9c72697eaa5f1dd25644e618d3",
|
564 |
+
"shasum": ""
|
565 |
+
},
|
566 |
+
"require": {
|
567 |
+
"paragonie/random_compat": "~1.0|~2.0|~9.99",
|
568 |
+
"php": ">=5.3.3"
|
569 |
+
},
|
570 |
+
"time": "2020-07-14T12:35:20+00:00",
|
571 |
+
"type": "library",
|
572 |
+
"extra": {
|
573 |
+
"branch-alias": {
|
574 |
+
"dev-master": "1.18-dev"
|
575 |
+
},
|
576 |
+
"thanks": {
|
577 |
+
"name": "symfony/polyfill",
|
578 |
+
"url": "https://github.com/symfony/polyfill"
|
579 |
+
}
|
580 |
+
},
|
581 |
+
"installation-source": "dist",
|
582 |
+
"autoload": {
|
583 |
+
"psr-4": {
|
584 |
+
"Symfony\\Polyfill\\Php70\\": ""
|
585 |
+
},
|
586 |
+
"files": [
|
587 |
+
"bootstrap.php"
|
588 |
+
],
|
589 |
+
"classmap": [
|
590 |
+
"Resources/stubs"
|
591 |
+
]
|
592 |
+
},
|
593 |
+
"notification-url": "https://packagist.org/downloads/",
|
594 |
+
"license": [
|
595 |
+
"MIT"
|
596 |
+
],
|
597 |
+
"authors": [
|
598 |
+
{
|
599 |
+
"name": "Nicolas Grekas",
|
600 |
+
"email": "p@tchwork.com"
|
601 |
+
},
|
602 |
+
{
|
603 |
+
"name": "Symfony Community",
|
604 |
+
"homepage": "https://symfony.com/contributors"
|
605 |
+
}
|
606 |
+
],
|
607 |
+
"description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
|
608 |
+
"homepage": "https://symfony.com",
|
609 |
+
"keywords": [
|
610 |
+
"compatibility",
|
611 |
+
"polyfill",
|
612 |
+
"portable",
|
613 |
+
"shim"
|
614 |
+
],
|
615 |
+
"funding": [
|
616 |
+
{
|
617 |
+
"url": "https://symfony.com/sponsor",
|
618 |
+
"type": "custom"
|
619 |
+
},
|
620 |
+
{
|
621 |
+
"url": "https://github.com/fabpot",
|
622 |
+
"type": "github"
|
623 |
+
},
|
624 |
+
{
|
625 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
626 |
+
"type": "tidelift"
|
627 |
+
}
|
628 |
+
]
|
629 |
+
},
|
630 |
+
{
|
631 |
+
"name": "symfony/polyfill-php72",
|
632 |
+
"version": "v1.18.1",
|
633 |
+
"version_normalized": "1.18.1.0",
|
634 |
+
"source": {
|
635 |
+
"type": "git",
|
636 |
+
"url": "https://github.com/symfony/polyfill-php72.git",
|
637 |
+
"reference": "639447d008615574653fb3bc60d1986d7172eaae"
|
638 |
+
},
|
639 |
+
"dist": {
|
640 |
+
"type": "zip",
|
641 |
+
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae",
|
642 |
+
"reference": "639447d008615574653fb3bc60d1986d7172eaae",
|
643 |
+
"shasum": ""
|
644 |
+
},
|
645 |
+
"require": {
|
646 |
+
"php": ">=5.3.3"
|
647 |
+
},
|
648 |
+
"time": "2020-07-14T12:35:20+00:00",
|
649 |
+
"type": "library",
|
650 |
+
"extra": {
|
651 |
+
"branch-alias": {
|
652 |
+
"dev-master": "1.18-dev"
|
653 |
+
},
|
654 |
+
"thanks": {
|
655 |
+
"name": "symfony/polyfill",
|
656 |
+
"url": "https://github.com/symfony/polyfill"
|
657 |
+
}
|
658 |
+
},
|
659 |
+
"installation-source": "dist",
|
660 |
+
"autoload": {
|
661 |
+
"psr-4": {
|
662 |
+
"Symfony\\Polyfill\\Php72\\": ""
|
663 |
+
},
|
664 |
+
"files": [
|
665 |
+
"bootstrap.php"
|
666 |
+
]
|
667 |
+
},
|
668 |
+
"notification-url": "https://packagist.org/downloads/",
|
669 |
+
"license": [
|
670 |
+
"MIT"
|
671 |
+
],
|
672 |
+
"authors": [
|
673 |
+
{
|
674 |
+
"name": "Nicolas Grekas",
|
675 |
+
"email": "p@tchwork.com"
|
676 |
+
},
|
677 |
+
{
|
678 |
+
"name": "Symfony Community",
|
679 |
+
"homepage": "https://symfony.com/contributors"
|
680 |
+
}
|
681 |
+
],
|
682 |
+
"description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
|
683 |
+
"homepage": "https://symfony.com",
|
684 |
+
"keywords": [
|
685 |
+
"compatibility",
|
686 |
+
"polyfill",
|
687 |
+
"portable",
|
688 |
+
"shim"
|
689 |
+
],
|
690 |
+
"funding": [
|
691 |
+
{
|
692 |
+
"url": "https://symfony.com/sponsor",
|
693 |
+
"type": "custom"
|
694 |
+
},
|
695 |
+
{
|
696 |
+
"url": "https://github.com/fabpot",
|
697 |
+
"type": "github"
|
698 |
+
},
|
699 |
+
{
|
700 |
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
701 |
+
"type": "tidelift"
|
702 |
+
}
|
703 |
+
]
|
704 |
+
},
|
705 |
{
|
706 |
"name": "techcrunch/wp-async-task",
|
707 |
"version": "dev-master",
|
vendor/facebook/php-business-sdk/.gitignore
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/local
|
2 |
+
/vendor
|
3 |
+
/composer.lock
|
4 |
+
/composer.local.*
|
5 |
+
/composer.phar
|
6 |
+
/coverage.clover
|
7 |
+
.DS_Store
|
8 |
+
/.idea
|
9 |
+
/builds
|
10 |
+
# VIM Swap Files #
|
11 |
+
*.swp
|
12 |
+
*.swo
|
vendor/facebook/php-business-sdk/CHANGELOG.md
CHANGED
@@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file.
|
|
5 |
|
6 |
## Unreleased
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
## v7.0.2
|
9 |
### Added
|
10 |
- Added support for data processing options in Serverside API. For more details see : https://developers.facebook.com/docs/marketing-apis/data-processing-options
|
@@ -80,3 +102,4 @@ All notable changes to this project will be documented in this file.
|
|
80 |
$async_job = $async_job->getSelf();
|
81 |
}
|
82 |
```
|
|
5 |
|
6 |
## Unreleased
|
7 |
|
8 |
+
## v8.0.2
|
9 |
+
|
10 |
+
### Added
|
11 |
+
- Added batching support to Conversions API. Create batched event requests by using BatchProcessor.
|
12 |
+
|
13 |
+
### Added
|
14 |
+
- `lead_id` field to the Conversions API `user_data` section.
|
15 |
+
- Added HttpServiceInterface to enable the default request object to be overridden by a user-defined HTTP Request Service class. Can be used to create Conversions API event requests.
|
16 |
+
|
17 |
+
## v8.0.1
|
18 |
+
|
19 |
+
### Added
|
20 |
+
- Added async support to Conversions API - Create event request promises by using EventRequestAsync.
|
21 |
+
|
22 |
+
## v8.0.0
|
23 |
+
|
24 |
+
### Changed
|
25 |
+
- Graph API call upgrade to [v8.0](https://developers.facebook.com/docs/graph-api/changelog/version8.0)
|
26 |
+
|
27 |
+
### Added
|
28 |
+
- `delivery_category` field in custom_data section for Conversions API(formerly Serverside API).
|
29 |
+
|
30 |
## v7.0.2
|
31 |
### Added
|
32 |
- Added support for data processing options in Serverside API. For more details see : https://developers.facebook.com/docs/marketing-apis/data-processing-options
|
102 |
$async_job = $async_job->getSelf();
|
103 |
}
|
104 |
```
|
105 |
+
|
vendor/facebook/php-business-sdk/composer.json
CHANGED
@@ -11,9 +11,13 @@
|
|
11 |
"page"
|
12 |
],
|
13 |
"homepage": "https://developers.facebook.com/",
|
|
|
|
|
|
|
14 |
"require-dev": {
|
15 |
"phpunit/phpunit": "~8",
|
16 |
-
"symfony/finder": "~2.6"
|
|
|
17 |
},
|
18 |
"autoload": {
|
19 |
"psr-4": {
|
11 |
"page"
|
12 |
],
|
13 |
"homepage": "https://developers.facebook.com/",
|
14 |
+
"require": {
|
15 |
+
"guzzlehttp/guzzle": "^6.5"
|
16 |
+
},
|
17 |
"require-dev": {
|
18 |
"phpunit/phpunit": "~8",
|
19 |
+
"symfony/finder": "~2.6",
|
20 |
+
"mockery/mockery": "1.3.3"
|
21 |
},
|
22 |
"autoload": {
|
23 |
"psr-4": {
|
vendor/facebook/php-business-sdk/examples/CustomAudienceUsersPost.php
CHANGED
@@ -24,14 +24,13 @@
|
|
24 |
require __DIR__ . '/vendor/autoload.php';
|
25 |
|
26 |
use FacebookAds\Object\CustomAudience;
|
27 |
-
use FacebookAds\Object\User;
|
28 |
use FacebookAds\Api;
|
29 |
use FacebookAds\Logger\CurlLogger;
|
30 |
|
31 |
$access_token = '<ACCESS_TOKEN>';
|
32 |
$app_secret = '<APP_SECRET>';
|
33 |
$app_id = '<APP_ID>';
|
34 |
-
$id = '<
|
35 |
|
36 |
$api = Api::init($app_id, $app_secret, $access_token);
|
37 |
$api->setLogger(new CurlLogger());
|
24 |
require __DIR__ . '/vendor/autoload.php';
|
25 |
|
26 |
use FacebookAds\Object\CustomAudience;
|
|
|
27 |
use FacebookAds\Api;
|
28 |
use FacebookAds\Logger\CurlLogger;
|
29 |
|
30 |
$access_token = '<ACCESS_TOKEN>';
|
31 |
$app_secret = '<APP_SECRET>';
|
32 |
$app_id = '<APP_ID>';
|
33 |
+
$id = '<CUSTOM_AUDIENCE_ID>';
|
34 |
|
35 |
$api = Api::init($app_id, $app_secret, $access_token);
|
36 |
$api->setLogger(new CurlLogger());
|
vendor/facebook/php-business-sdk/examples/CustomAudienceUsersPostCrossPlatform.php
CHANGED
@@ -24,14 +24,13 @@
|
|
24 |
require __DIR__ . '/vendor/autoload.php';
|
25 |
|
26 |
use FacebookAds\Object\CustomAudience;
|
27 |
-
use FacebookAds\Object\User;
|
28 |
use FacebookAds\Api;
|
29 |
use FacebookAds\Logger\CurlLogger;
|
30 |
|
31 |
$access_token = '<ACCESS_TOKEN>';
|
32 |
$app_secret = '<APP_SECRET>';
|
33 |
$app_id = '<APP_ID>';
|
34 |
-
$id = '<
|
35 |
|
36 |
$api = Api::init($app_id, $app_secret, $access_token);
|
37 |
$api->setLogger(new CurlLogger());
|
24 |
require __DIR__ . '/vendor/autoload.php';
|
25 |
|
26 |
use FacebookAds\Object\CustomAudience;
|
|
|
27 |
use FacebookAds\Api;
|
28 |
use FacebookAds\Logger\CurlLogger;
|
29 |
|
30 |
$access_token = '<ACCESS_TOKEN>';
|
31 |
$app_secret = '<APP_SECRET>';
|
32 |
$app_id = '<APP_ID>';
|
33 |
+
$id = '<CUSTOM_AUDIENCE_ID>';
|
34 |
|
35 |
$api = Api::init($app_id, $app_secret, $access_token);
|
36 |
$api->setLogger(new CurlLogger());
|
vendor/facebook/php-business-sdk/examples/aggregator_onboarding/api.php
CHANGED
@@ -130,7 +130,7 @@ function create_client_business($access_token) {
|
|
130 |
array(),
|
131 |
array(
|
132 |
'client_user_id' => $app_scoped_user_id,
|
133 |
-
)
|
134 |
);
|
135 |
|
136 |
if (!is_null($child_business) && !is_null($child_business[0])) {
|
@@ -158,7 +158,7 @@ function create_client_business($access_token) {
|
|
158 |
'shared_page_id' => $page_id,
|
159 |
'page_permitted_roles' => ['ADVERTISER'],
|
160 |
'timezone_id' => 1,
|
161 |
-
)
|
162 |
);
|
163 |
$child_business_id = $child_business->id;
|
164 |
|
@@ -172,7 +172,7 @@ function create_client_business($access_token) {
|
|
172 |
array(
|
173 |
'receiving_business_id' => $child_business_id,
|
174 |
'amount' => 10,
|
175 |
-
)
|
176 |
);
|
177 |
|
178 |
/**
|
@@ -186,7 +186,7 @@ function create_client_business($access_token) {
|
|
186 |
'id' => $child_business_id,
|
187 |
'app_id' => $app_id,
|
188 |
'scope' => 'manage_pages,ads_management,business_management',
|
189 |
-
)
|
190 |
);
|
191 |
$child_bm_system_user_access_token = $child_business_token->access_token;
|
192 |
|
@@ -217,7 +217,7 @@ function create_client_business($access_token) {
|
|
217 |
'media_agency' => 'NONE',
|
218 |
'partner' => 'NONE',
|
219 |
'funding_id' => $child_bm_payment_method_id,
|
220 |
-
)
|
221 |
);
|
222 |
$account_id = $account->id;
|
223 |
|
@@ -240,7 +240,7 @@ function create_client_business($access_token) {
|
|
240 |
'user' => $system_user_id,
|
241 |
'role' => 'ADMIN',
|
242 |
'business' => $child_business_id,
|
243 |
-
)
|
244 |
);
|
245 |
|
246 |
return $child_business_id.','.$account_id;
|
@@ -259,7 +259,7 @@ function create_click_to_messenger_ad(
|
|
259 |
array(
|
260 |
'app_id' => $app_id,
|
261 |
'scope' => 'manage_pages,ads_management,business_management',
|
262 |
-
)
|
263 |
);
|
264 |
$child_bm_system_user_access_token = $child_business_token->access_token;
|
265 |
$api = setAccessToken($child_bm_system_user_access_token);
|
@@ -269,7 +269,7 @@ function create_click_to_messenger_ad(
|
|
269 |
array(
|
270 |
CampaignFields::NAME => 'First test Campaign',
|
271 |
CampaignFields::OBJECTIVE => 'MESSAGES',
|
272 |
-
)
|
273 |
);
|
274 |
|
275 |
/**
|
@@ -287,7 +287,7 @@ function create_click_to_messenger_ad(
|
|
287 |
'distance_unit' => 'mile',
|
288 |
),
|
289 |
),
|
290 |
-
)
|
291 |
));
|
292 |
|
293 |
/**
|
@@ -332,7 +332,7 @@ function create_click_to_messenger_ad(
|
|
332 |
'value' => array(
|
333 |
AdCreativeLinkDataCallToActionValueFields::APP_DESTINATION =>
|
334 |
PageCallToActionWebDestinationTypeValues::MESSENGER,
|
335 |
-
)
|
336 |
),
|
337 |
AdCreativeLinkDataFields::LINK => '<YOUR-LINK>',
|
338 |
AdCreativeLinkDataFields::IMAGE_HASH => $image->hash,
|
@@ -351,7 +351,7 @@ function create_click_to_messenger_ad(
|
|
351 |
array(
|
352 |
AdCreativeFields::NAME => 'Sample Creative',
|
353 |
AdCreativeFields::OBJECT_STORY_SPEC => $object_story_spec,
|
354 |
-
)
|
355 |
);
|
356 |
|
357 |
$ad = $account->createAd(
|
@@ -361,7 +361,7 @@ function create_click_to_messenger_ad(
|
|
361 |
'adset_id' => $ad_set_id,
|
362 |
'name' => 'My Ad',
|
363 |
'creative' => array('creative_id' => $creative->id),
|
364 |
-
)
|
365 |
);
|
366 |
$ad_id = $ad->id;
|
367 |
return 'Ad ID: '.$ad_id;
|
@@ -390,7 +390,7 @@ if (isset($_GET["action"]) && in_array($_GET["action"], $possible_url)) {
|
|
390 |
$_GET["adaccount"],
|
391 |
$_GET["bmid"],
|
392 |
$_GET["ad_message"],
|
393 |
-
$_GET["page_welcome_message"]
|
394 |
);
|
395 |
else
|
396 |
$value = "Missing argument";
|
130 |
array(),
|
131 |
array(
|
132 |
'client_user_id' => $app_scoped_user_id,
|
133 |
+
),
|
134 |
);
|
135 |
|
136 |
if (!is_null($child_business) && !is_null($child_business[0])) {
|
158 |
'shared_page_id' => $page_id,
|
159 |
'page_permitted_roles' => ['ADVERTISER'],
|
160 |
'timezone_id' => 1,
|
161 |
+
),
|
162 |
);
|
163 |
$child_business_id = $child_business->id;
|
164 |
|
172 |
array(
|
173 |
'receiving_business_id' => $child_business_id,
|
174 |
'amount' => 10,
|
175 |
+
),
|
176 |
);
|
177 |
|
178 |
/**
|
186 |
'id' => $child_business_id,
|
187 |
'app_id' => $app_id,
|
188 |
'scope' => 'manage_pages,ads_management,business_management',
|
189 |
+
),
|
190 |
);
|
191 |
$child_bm_system_user_access_token = $child_business_token->access_token;
|
192 |
|
217 |
'media_agency' => 'NONE',
|
218 |
'partner' => 'NONE',
|
219 |
'funding_id' => $child_bm_payment_method_id,
|
220 |
+
),
|
221 |
);
|
222 |
$account_id = $account->id;
|
223 |
|
240 |
'user' => $system_user_id,
|
241 |
'role' => 'ADMIN',
|
242 |
'business' => $child_business_id,
|
243 |
+
),
|
244 |
);
|
245 |
|
246 |
return $child_business_id.','.$account_id;
|
259 |
array(
|
260 |
'app_id' => $app_id,
|
261 |
'scope' => 'manage_pages,ads_management,business_management',
|
262 |
+
),
|
263 |
);
|
264 |
$child_bm_system_user_access_token = $child_business_token->access_token;
|
265 |
$api = setAccessToken($child_bm_system_user_access_token);
|
269 |
array(
|
270 |
CampaignFields::NAME => 'First test Campaign',
|
271 |
CampaignFields::OBJECTIVE => 'MESSAGES',
|
272 |
+
),
|
273 |
);
|
274 |
|
275 |
/**
|
287 |
'distance_unit' => 'mile',
|
288 |
),
|
289 |
),
|
290 |
+
),
|
291 |
));
|
292 |
|
293 |
/**
|
332 |
'value' => array(
|
333 |
AdCreativeLinkDataCallToActionValueFields::APP_DESTINATION =>
|
334 |
PageCallToActionWebDestinationTypeValues::MESSENGER,
|
335 |
+
),
|
336 |
),
|
337 |
AdCreativeLinkDataFields::LINK => '<YOUR-LINK>',
|
338 |
AdCreativeLinkDataFields::IMAGE_HASH => $image->hash,
|
351 |
array(
|
352 |
AdCreativeFields::NAME => 'Sample Creative',
|
353 |
AdCreativeFields::OBJECT_STORY_SPEC => $object_story_spec,
|
354 |
+
),
|
355 |
);
|
356 |
|
357 |
$ad = $account->createAd(
|
361 |
'adset_id' => $ad_set_id,
|
362 |
'name' => 'My Ad',
|
363 |
'creative' => array('creative_id' => $creative->id),
|
364 |
+
),
|
365 |
);
|
366 |
$ad_id = $ad->id;
|
367 |
return 'Ad ID: '.$ad_id;
|
390 |
$_GET["adaccount"],
|
391 |
$_GET["bmid"],
|
392 |
$_GET["ad_message"],
|
393 |
+
$_GET["page_welcome_message"],
|
394 |
);
|
395 |
else
|
396 |
$value = "Missing argument";
|
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
*/
|
24 |
namespace FacebookAds;
|
25 |
class ApiConfig {
|
26 |
-
const APIVersion = '
|
27 |
-
const SDKVersion = '
|
28 |
const TYPE_CHECKER_STRICT_MODE = false;
|
29 |
}
|
23 |
*/
|
24 |
namespace FacebookAds;
|
25 |
class ApiConfig {
|
26 |
+
const APIVersion = '8.0';
|
27 |
+
const SDKVersion = '8.0.2';
|
28 |
const TYPE_CHECKER_STRICT_MODE = false;
|
29 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Http/Exception/RequestException.php
CHANGED
@@ -113,6 +113,11 @@ class RequestException extends Exception {
|
|
113 |
if (is_string($array)) {
|
114 |
$array = json_decode($array, true);
|
115 |
}
|
|
|
|
|
|
|
|
|
|
|
116 |
return array_key_exists($key, $array)
|
117 |
? $array[$key]
|
118 |
: $default;
|
113 |
if (is_string($array)) {
|
114 |
$array = json_decode($array, true);
|
115 |
}
|
116 |
+
|
117 |
+
if (is_null($array)) {
|
118 |
+
return null;
|
119 |
+
}
|
120 |
+
|
121 |
return array_key_exists($key, $array)
|
122 |
? $array[$key]
|
123 |
: $default;
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php
CHANGED
@@ -31,6 +31,7 @@ use FacebookAds\TypeChecker;
|
|
31 |
use FacebookAds\Object\Fields\AdAccountFields;
|
32 |
use FacebookAds\Object\Values\AdAccountAdRulesHistoryActionValues;
|
33 |
use FacebookAds\Object\Values\AdAccountAdRulesHistoryEvaluationTypeValues;
|
|
|
34 |
use FacebookAds\Object\Values\AdAccountClaimObjectiveValues;
|
35 |
use FacebookAds\Object\Values\AdAccountContentTypeValues;
|
36 |
use FacebookAds\Object\Values\AdAccountCurrencyValues;
|
@@ -45,6 +46,7 @@ use FacebookAds\Object\Values\AdAccountTargetingUnifiedRegulatedCategoriesValues
|
|
45 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedWhitelistedTypesValues;
|
46 |
use FacebookAds\Object\Values\AdAccountTasksValues;
|
47 |
use FacebookAds\Object\Values\AdActivityCategoryValues;
|
|
|
48 |
use FacebookAds\Object\Values\AdAsyncRequestSetNotificationModeValues;
|
49 |
use FacebookAds\Object\Values\AdCreativeApplinkTreatmentValues;
|
50 |
use FacebookAds\Object\Values\AdCreativeAuthorizationCategoryValues;
|
@@ -56,6 +58,7 @@ use FacebookAds\Object\Values\AdCreativeOperatorValues;
|
|
56 |
use FacebookAds\Object\Values\AdDatePresetValues;
|
57 |
use FacebookAds\Object\Values\AdExecutionOptionsValues;
|
58 |
use FacebookAds\Object\Values\AdOperatorValues;
|
|
|
59 |
use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
|
60 |
use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
|
61 |
use FacebookAds\Object\Values\AdPreviewAdFormatValues;
|
@@ -100,6 +103,7 @@ use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
|
|
100 |
use FacebookAds\Object\Values\CampaignObjectiveValues;
|
101 |
use FacebookAds\Object\Values\CampaignOperatorValues;
|
102 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
|
|
|
103 |
use FacebookAds\Object\Values\CampaignStatusValues;
|
104 |
use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
|
105 |
use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
|
@@ -157,6 +161,7 @@ class AdAccount extends AbstractCrudObject {
|
|
157 |
'after' => 'string',
|
158 |
'business_id' => 'string',
|
159 |
'category' => 'category_enum',
|
|
|
160 |
'extra_oids' => 'list<string>',
|
161 |
'limit' => 'int',
|
162 |
'oid' => 'string',
|
@@ -166,6 +171,7 @@ class AdAccount extends AbstractCrudObject {
|
|
166 |
);
|
167 |
$enums = array(
|
168 |
'category_enum' => AdActivityCategoryValues::getInstance()->getValues(),
|
|
|
169 |
);
|
170 |
|
171 |
$request = new ApiRequest(
|
@@ -210,12 +216,14 @@ class AdAccount extends AbstractCrudObject {
|
|
210 |
$this->assureId();
|
211 |
|
212 |
$param_types = array(
|
|
|
213 |
'location_types' => 'list<location_types_enum>',
|
214 |
'name' => 'string',
|
215 |
'parent_page' => 'string',
|
216 |
'targeted_area_type' => 'targeted_area_type_enum',
|
217 |
);
|
218 |
$enums = array(
|
|
|
219 |
'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
|
220 |
'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
|
221 |
);
|
@@ -239,12 +247,14 @@ class AdAccount extends AbstractCrudObject {
|
|
239 |
$this->assureId();
|
240 |
|
241 |
$param_types = array(
|
|
|
242 |
'location_types' => 'list<location_types_enum>',
|
243 |
'name' => 'string',
|
244 |
'parent_page' => 'string',
|
245 |
'targeted_area_type' => 'targeted_area_type_enum',
|
246 |
);
|
247 |
$enums = array(
|
|
|
248 |
'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
|
249 |
'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
|
250 |
);
|
@@ -264,38 +274,6 @@ class AdAccount extends AbstractCrudObject {
|
|
264 |
return $pending ? $request : $request->execute();
|
265 |
}
|
266 |
|
267 |
-
public function deleteAdSets(array $fields = array(), array $params = array(), $pending = false) {
|
268 |
-
$this->assureId();
|
269 |
-
|
270 |
-
$param_types = array(
|
271 |
-
'before_date' => 'datetime',
|
272 |
-
'delete_offset' => 'unsigned int',
|
273 |
-
'delete_strategy' => 'delete_strategy_enum',
|
274 |
-
'object_count' => 'int',
|
275 |
-
);
|
276 |
-
$enums = array(
|
277 |
-
'delete_strategy_enum' => array(
|
278 |
-
'DELETE_ANY',
|
279 |
-
'DELETE_ARCHIVED_BEFORE',
|
280 |
-
'DELETE_OLDEST',
|
281 |
-
),
|
282 |
-
);
|
283 |
-
|
284 |
-
$request = new ApiRequest(
|
285 |
-
$this->api,
|
286 |
-
$this->data['id'],
|
287 |
-
RequestInterface::METHOD_DELETE,
|
288 |
-
'/ad_sets',
|
289 |
-
new AbstractCrudObject(),
|
290 |
-
'EDGE',
|
291 |
-
array(),
|
292 |
-
new TypeChecker($param_types, $enums)
|
293 |
-
);
|
294 |
-
$request->addParams($params);
|
295 |
-
$request->addFields($fields);
|
296 |
-
return $pending ? $request : $request->execute();
|
297 |
-
}
|
298 |
-
|
299 |
public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
|
300 |
$this->assureId();
|
301 |
|
@@ -618,29 +596,6 @@ class AdAccount extends AbstractCrudObject {
|
|
618 |
return $pending ? $request : $request->execute();
|
619 |
}
|
620 |
|
621 |
-
public function getAdReportSchedules(array $fields = array(), array $params = array(), $pending = false) {
|
622 |
-
$this->assureId();
|
623 |
-
|
624 |
-
$param_types = array(
|
625 |
-
);
|
626 |
-
$enums = array(
|
627 |
-
);
|
628 |
-
|
629 |
-
$request = new ApiRequest(
|
630 |
-
$this->api,
|
631 |
-
$this->data['id'],
|
632 |
-
RequestInterface::METHOD_GET,
|
633 |
-
'/adreportschedules',
|
634 |
-
new AbstractCrudObject(),
|
635 |
-
'EDGE',
|
636 |
-
array(),
|
637 |
-
new TypeChecker($param_types, $enums)
|
638 |
-
);
|
639 |
-
$request->addParams($params);
|
640 |
-
$request->addFields($fields);
|
641 |
-
return $pending ? $request : $request->execute();
|
642 |
-
}
|
643 |
-
|
644 |
public function getAdRulesHistory(array $fields = array(), array $params = array(), $pending = false) {
|
645 |
$this->assureId();
|
646 |
|
@@ -799,9 +754,11 @@ class AdAccount extends AbstractCrudObject {
|
|
799 |
|
800 |
$param_types = array(
|
801 |
'page_id' => 'int',
|
|
|
802 |
'show_breakdown_by_actor' => 'bool',
|
803 |
);
|
804 |
$enums = array(
|
|
|
805 |
);
|
806 |
|
807 |
$request = new ApiRequest(
|
@@ -1129,6 +1086,7 @@ class AdAccount extends AbstractCrudObject {
|
|
1129 |
'composer_type' => 'string',
|
1130 |
'container_type' => 'container_type_enum',
|
1131 |
'content_category' => 'content_category_enum',
|
|
|
1132 |
'description' => 'string',
|
1133 |
'embeddable' => 'bool',
|
1134 |
'end_offset' => 'unsigned int',
|
@@ -1182,6 +1140,7 @@ class AdAccount extends AbstractCrudObject {
|
|
1182 |
'upload_session_id' => 'string',
|
1183 |
'upload_setting_properties' => 'string',
|
1184 |
'video_file_chunk' => 'file',
|
|
|
1185 |
'video_start_time_ms' => 'unsigned int',
|
1186 |
'waterfall_id' => 'string',
|
1187 |
);
|
@@ -1660,6 +1619,7 @@ class AdAccount extends AbstractCrudObject {
|
|
1660 |
'promoted_object' => 'Object',
|
1661 |
'source_campaign_id' => 'string',
|
1662 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
|
|
1663 |
'spend_cap' => 'unsigned int',
|
1664 |
'status' => 'status_enum',
|
1665 |
'topline_id' => 'string',
|
@@ -1670,6 +1630,7 @@ class AdAccount extends AbstractCrudObject {
|
|
1670 |
'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
|
1671 |
'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
|
1672 |
'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
|
|
|
1673 |
'status_enum' => CampaignStatusValues::getInstance()->getValues(),
|
1674 |
);
|
1675 |
|
@@ -1745,6 +1706,32 @@ class AdAccount extends AbstractCrudObject {
|
|
1745 |
return $pending ? $request : $request->execute();
|
1746 |
}
|
1747 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1748 |
public function getCustomAudiences(array $fields = array(), array $params = array(), $pending = false) {
|
1749 |
$this->assureId();
|
1750 |
|
31 |
use FacebookAds\Object\Fields\AdAccountFields;
|
32 |
use FacebookAds\Object\Values\AdAccountAdRulesHistoryActionValues;
|
33 |
use FacebookAds\Object\Values\AdAccountAdRulesHistoryEvaluationTypeValues;
|
34 |
+
use FacebookAds\Object\Values\AdAccountAdVolumeRecommendationTypeValues;
|
35 |
use FacebookAds\Object\Values\AdAccountClaimObjectiveValues;
|
36 |
use FacebookAds\Object\Values\AdAccountContentTypeValues;
|
37 |
use FacebookAds\Object\Values\AdAccountCurrencyValues;
|
46 |
use FacebookAds\Object\Values\AdAccountTargetingUnifiedWhitelistedTypesValues;
|
47 |
use FacebookAds\Object\Values\AdAccountTasksValues;
|
48 |
use FacebookAds\Object\Values\AdActivityCategoryValues;
|
49 |
+
use FacebookAds\Object\Values\AdActivityDataSourceValues;
|
50 |
use FacebookAds\Object\Values\AdAsyncRequestSetNotificationModeValues;
|
51 |
use FacebookAds\Object\Values\AdCreativeApplinkTreatmentValues;
|
52 |
use FacebookAds\Object\Values\AdCreativeAuthorizationCategoryValues;
|
58 |
use FacebookAds\Object\Values\AdDatePresetValues;
|
59 |
use FacebookAds\Object\Values\AdExecutionOptionsValues;
|
60 |
use FacebookAds\Object\Values\AdOperatorValues;
|
61 |
+
use FacebookAds\Object\Values\AdPlacePageSetCategoryValues;
|
62 |
use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
|
63 |
use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
|
64 |
use FacebookAds\Object\Values\AdPreviewAdFormatValues;
|
103 |
use FacebookAds\Object\Values\CampaignObjectiveValues;
|
104 |
use FacebookAds\Object\Values\CampaignOperatorValues;
|
105 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
|
106 |
+
use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
|
107 |
use FacebookAds\Object\Values\CampaignStatusValues;
|
108 |
use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
|
109 |
use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
|
161 |
'after' => 'string',
|
162 |
'business_id' => 'string',
|
163 |
'category' => 'category_enum',
|
164 |
+
'data_source' => 'data_source_enum',
|
165 |
'extra_oids' => 'list<string>',
|
166 |
'limit' => 'int',
|
167 |
'oid' => 'string',
|
171 |
);
|
172 |
$enums = array(
|
173 |
'category_enum' => AdActivityCategoryValues::getInstance()->getValues(),
|
174 |
+
'data_source_enum' => AdActivityDataSourceValues::getInstance()->getValues(),
|
175 |
);
|
176 |
|
177 |
$request = new ApiRequest(
|
216 |
$this->assureId();
|
217 |
|
218 |
$param_types = array(
|
219 |
+
'category' => 'category_enum',
|
220 |
'location_types' => 'list<location_types_enum>',
|
221 |
'name' => 'string',
|
222 |
'parent_page' => 'string',
|
223 |
'targeted_area_type' => 'targeted_area_type_enum',
|
224 |
);
|
225 |
$enums = array(
|
226 |
+
'category_enum' => AdPlacePageSetCategoryValues::getInstance()->getValues(),
|
227 |
'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
|
228 |
'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
|
229 |
);
|
247 |
$this->assureId();
|
248 |
|
249 |
$param_types = array(
|
250 |
+
'category' => 'category_enum',
|
251 |
'location_types' => 'list<location_types_enum>',
|
252 |
'name' => 'string',
|
253 |
'parent_page' => 'string',
|
254 |
'targeted_area_type' => 'targeted_area_type_enum',
|
255 |
);
|
256 |
$enums = array(
|
257 |
+
'category_enum' => AdPlacePageSetCategoryValues::getInstance()->getValues(),
|
258 |
'location_types_enum' => AdPlacePageSetLocationTypesValues::getInstance()->getValues(),
|
259 |
'targeted_area_type_enum' => AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues(),
|
260 |
);
|
274 |
return $pending ? $request : $request->execute();
|
275 |
}
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
|
278 |
$this->assureId();
|
279 |
|
596 |
return $pending ? $request : $request->execute();
|
597 |
}
|
598 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
599 |
public function getAdRulesHistory(array $fields = array(), array $params = array(), $pending = false) {
|
600 |
$this->assureId();
|
601 |
|
754 |
|
755 |
$param_types = array(
|
756 |
'page_id' => 'int',
|
757 |
+
'recommendation_type' => 'recommendation_type_enum',
|
758 |
'show_breakdown_by_actor' => 'bool',
|
759 |
);
|
760 |
$enums = array(
|
761 |
+
'recommendation_type_enum' => AdAccountAdVolumeRecommendationTypeValues::getInstance()->getValues(),
|
762 |
);
|
763 |
|
764 |
$request = new ApiRequest(
|
1086 |
'composer_type' => 'string',
|
1087 |
'container_type' => 'container_type_enum',
|
1088 |
'content_category' => 'content_category_enum',
|
1089 |
+
'creative_tools' => 'string',
|
1090 |
'description' => 'string',
|
1091 |
'embeddable' => 'bool',
|
1092 |
'end_offset' => 'unsigned int',
|
1140 |
'upload_session_id' => 'string',
|
1141 |
'upload_setting_properties' => 'string',
|
1142 |
'video_file_chunk' => 'file',
|
1143 |
+
'video_id_original' => 'string',
|
1144 |
'video_start_time_ms' => 'unsigned int',
|
1145 |
'waterfall_id' => 'string',
|
1146 |
);
|
1619 |
'promoted_object' => 'Object',
|
1620 |
'source_campaign_id' => 'string',
|
1621 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
1622 |
+
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
1623 |
'spend_cap' => 'unsigned int',
|
1624 |
'status' => 'status_enum',
|
1625 |
'topline_id' => 'string',
|
1630 |
'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
|
1631 |
'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
|
1632 |
'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
|
1633 |
+
'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
|
1634 |
'status_enum' => CampaignStatusValues::getInstance()->getValues(),
|
1635 |
);
|
1636 |
|
1706 |
return $pending ? $request : $request->execute();
|
1707 |
}
|
1708 |
|
1709 |
+
public function createCreateAndApplyPublisherBlockList(array $fields = array(), array $params = array(), $pending = false) {
|
1710 |
+
$this->assureId();
|
1711 |
+
|
1712 |
+
$param_types = array(
|
1713 |
+
'is_auto_blocking_on' => 'bool',
|
1714 |
+
'name' => 'string',
|
1715 |
+
'publisher_urls' => 'list<string>',
|
1716 |
+
);
|
1717 |
+
$enums = array(
|
1718 |
+
);
|
1719 |
+
|
1720 |
+
$request = new ApiRequest(
|
1721 |
+
$this->api,
|
1722 |
+
$this->data['id'],
|
1723 |
+
RequestInterface::METHOD_POST,
|
1724 |
+
'/create_and_apply_publisher_block_list',
|
1725 |
+
new AbstractCrudObject(),
|
1726 |
+
'EDGE',
|
1727 |
+
array(),
|
1728 |
+
new TypeChecker($param_types, $enums)
|
1729 |
+
);
|
1730 |
+
$request->addParams($params);
|
1731 |
+
$request->addFields($fields);
|
1732 |
+
return $pending ? $request : $request->execute();
|
1733 |
+
}
|
1734 |
+
|
1735 |
public function getCustomAudiences(array $fields = array(), array $params = array(), $pending = false) {
|
1736 |
$this->assureId();
|
1737 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountAdVolume.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdAccountAdVolumeFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,6 +51,7 @@ class AdAccountAdVolume extends AbstractObject {
|
|
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\AdAccountAdVolumeFields;
|
32 |
+
use FacebookAds\Object\Values\AdAccountAdVolumeRecommendationTypeValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['RecommendationType'] = AdAccountAdVolumeRecommendationTypeValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdActivity.php
CHANGED
@@ -30,6 +30,7 @@ use FacebookAds\Http\RequestInterface;
|
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdActivityFields;
|
32 |
use FacebookAds\Object\Values\AdActivityCategoryValues;
|
|
|
33 |
use FacebookAds\Object\Values\AdActivityEventTypeValues;
|
34 |
|
35 |
/**
|
@@ -54,6 +55,7 @@ class AdActivity extends AbstractObject {
|
|
54 |
$ref_enums = array();
|
55 |
$ref_enums['EventType'] = AdActivityEventTypeValues::getInstance()->getValues();
|
56 |
$ref_enums['Category'] = AdActivityCategoryValues::getInstance()->getValues();
|
|
|
57 |
return $ref_enums;
|
58 |
}
|
59 |
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdActivityFields;
|
32 |
use FacebookAds\Object\Values\AdActivityCategoryValues;
|
33 |
+
use FacebookAds\Object\Values\AdActivityDataSourceValues;
|
34 |
use FacebookAds\Object\Values\AdActivityEventTypeValues;
|
35 |
|
36 |
/**
|
55 |
$ref_enums = array();
|
56 |
$ref_enums['EventType'] = AdActivityEventTypeValues::getInstance()->getValues();
|
57 |
$ref_enums['Category'] = AdActivityCategoryValues::getInstance()->getValues();
|
58 |
+
$ref_enums['DataSource'] = AdActivityDataSourceValues::getInstance()->getValues();
|
59 |
return $ref_enums;
|
60 |
}
|
61 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php
CHANGED
@@ -210,6 +210,7 @@ class AdCreative extends AbstractCrudObject {
|
|
210 |
$param_types = array(
|
211 |
'thumbnail_height' => 'unsigned int',
|
212 |
'thumbnail_width' => 'unsigned int',
|
|
|
213 |
);
|
214 |
$enums = array(
|
215 |
);
|
210 |
$param_types = array(
|
211 |
'thumbnail_height' => 'unsigned int',
|
212 |
'thumbnail_width' => 'unsigned int',
|
213 |
+
'with_unified_spec' => 'bool',
|
214 |
);
|
215 |
$enums = array(
|
216 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreativeInstagramBrandedContent.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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\AdCreativeInstagramBrandedContentFields;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* This class is auto-generated.
|
35 |
+
*
|
36 |
+
* For any issues or feature requests related to this class, please let us know
|
37 |
+
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
38 |
+
* pull request for this class.
|
39 |
+
*
|
40 |
+
*/
|
41 |
+
|
42 |
+
class AdCreativeInstagramBrandedContent extends AbstractObject {
|
43 |
+
|
44 |
+
/**
|
45 |
+
* @return AdCreativeInstagramBrandedContentFields
|
46 |
+
*/
|
47 |
+
public static function getFieldsEnum() {
|
48 |
+
return AdCreativeInstagramBrandedContentFields::getInstance();
|
49 |
+
}
|
50 |
+
|
51 |
+
protected static function getReferencedEnums() {
|
52 |
+
$ref_enums = array();
|
53 |
+
return $ref_enums;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdPlacePageSet.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdPlacePageSetFields;
|
|
|
32 |
use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
|
33 |
use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
|
34 |
|
@@ -59,6 +60,7 @@ class AdPlacePageSet extends AbstractCrudObject {
|
|
59 |
|
60 |
protected static function getReferencedEnums() {
|
61 |
$ref_enums = array();
|
|
|
62 |
$ref_enums['LocationTypes'] = AdPlacePageSetLocationTypesValues::getInstance()->getValues();
|
63 |
$ref_enums['TargetedAreaType'] = AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues();
|
64 |
return $ref_enums;
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\AdPlacePageSetFields;
|
32 |
+
use FacebookAds\Object\Values\AdPlacePageSetCategoryValues;
|
33 |
use FacebookAds\Object\Values\AdPlacePageSetLocationTypesValues;
|
34 |
use FacebookAds\Object\Values\AdPlacePageSetTargetedAreaTypeValues;
|
35 |
|
60 |
|
61 |
protected static function getReferencedEnums() {
|
62 |
$ref_enums = array();
|
63 |
+
$ref_enums['Category'] = AdPlacePageSetCategoryValues::getInstance()->getValues();
|
64 |
$ref_enums['LocationTypes'] = AdPlacePageSetLocationTypesValues::getInstance()->getValues();
|
65 |
$ref_enums['TargetedAreaType'] = AdPlacePageSetTargetedAreaTypeValues::getInstance()->getValues();
|
66 |
return $ref_enums;
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php
CHANGED
@@ -121,6 +121,7 @@ class AdStudy extends AbstractCrudObject {
|
|
121 |
'name' => 'string',
|
122 |
'offline_conversion_data_sets' => 'list<Object>',
|
123 |
'offsitepixels' => 'list<Object>',
|
|
|
124 |
'product_sets' => 'list<Object>',
|
125 |
'type' => 'type_enum',
|
126 |
);
|
121 |
'name' => 'string',
|
122 |
'offline_conversion_data_sets' => 'list<Object>',
|
123 |
'offsitepixels' => 'list<Object>',
|
124 |
+
'product_catalogs' => 'list<Object>',
|
125 |
'product_sets' => 'list<Object>',
|
126 |
'type' => 'type_enum',
|
127 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php
CHANGED
@@ -282,6 +282,7 @@ class AdStudyObjective extends AbstractCrudObject {
|
|
282 |
'name' => 'string',
|
283 |
'offline_conversion_data_sets' => 'list<Object>',
|
284 |
'offsitepixels' => 'list<Object>',
|
|
|
285 |
'product_sets' => 'list<Object>',
|
286 |
'type' => 'type_enum',
|
287 |
);
|
282 |
'name' => 'string',
|
283 |
'offline_conversion_data_sets' => 'list<Object>',
|
284 |
'offsitepixels' => 'list<Object>',
|
285 |
+
'product_catalogs' => 'list<Object>',
|
286 |
'product_sets' => 'list<Object>',
|
287 |
'type' => 'type_enum',
|
288 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdVideo.php
CHANGED
@@ -38,12 +38,12 @@ use FacebookAds\Object\Values\AdVideoSwapModeValues;
|
|
38 |
use FacebookAds\Object\Values\AdVideoTypeValues;
|
39 |
use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
|
40 |
use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
|
41 |
-
use FacebookAds\Object\Values\AdVideoValidationAdPlacementsValues;
|
42 |
use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
|
43 |
use FacebookAds\Object\Values\CommentFilterValues;
|
44 |
use FacebookAds\Object\Values\CommentLiveFilterValues;
|
45 |
use FacebookAds\Object\Values\CommentOrderValues;
|
46 |
use FacebookAds\Object\Values\InsightsResultPeriodValues;
|
|
|
47 |
use FacebookAds\Object\Traits\CannotDelete;
|
48 |
use FacebookAds\Object\Traits\CannotUpdate;
|
49 |
use FacebookAds\Object\Traits\FieldValidation;
|
@@ -82,7 +82,6 @@ class AdVideo extends AbstractCrudObject {
|
|
82 |
$ref_enums['SwapMode'] = AdVideoSwapModeValues::getInstance()->getValues();
|
83 |
$ref_enums['UnpublishedContentType'] = AdVideoUnpublishedContentTypeValues::getInstance()->getValues();
|
84 |
$ref_enums['UploadPhase'] = AdVideoUploadPhaseValues::getInstance()->getValues();
|
85 |
-
$ref_enums['ValidationAdPlacements'] = AdVideoValidationAdPlacementsValues::getInstance()->getValues();
|
86 |
$ref_enums['Type'] = AdVideoTypeValues::getInstance()->getValues();
|
87 |
$ref_enums['BackdatedTimeGranularity'] = AdVideoBackdatedTimeGranularityValues::getInstance()->getValues();
|
88 |
return $ref_enums;
|
@@ -354,6 +353,31 @@ class AdVideo extends AbstractCrudObject {
|
|
354 |
return $pending ? $request : $request->execute();
|
355 |
}
|
356 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
357 |
public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
|
358 |
$this->assureId();
|
359 |
|
38 |
use FacebookAds\Object\Values\AdVideoTypeValues;
|
39 |
use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
|
40 |
use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
|
|
|
41 |
use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
|
42 |
use FacebookAds\Object\Values\CommentFilterValues;
|
43 |
use FacebookAds\Object\Values\CommentLiveFilterValues;
|
44 |
use FacebookAds\Object\Values\CommentOrderValues;
|
45 |
use FacebookAds\Object\Values\InsightsResultPeriodValues;
|
46 |
+
use FacebookAds\Object\Values\ProfileTypeValues;
|
47 |
use FacebookAds\Object\Traits\CannotDelete;
|
48 |
use FacebookAds\Object\Traits\CannotUpdate;
|
49 |
use FacebookAds\Object\Traits\FieldValidation;
|
82 |
$ref_enums['SwapMode'] = AdVideoSwapModeValues::getInstance()->getValues();
|
83 |
$ref_enums['UnpublishedContentType'] = AdVideoUnpublishedContentTypeValues::getInstance()->getValues();
|
84 |
$ref_enums['UploadPhase'] = AdVideoUploadPhaseValues::getInstance()->getValues();
|
|
|
85 |
$ref_enums['Type'] = AdVideoTypeValues::getInstance()->getValues();
|
86 |
$ref_enums['BackdatedTimeGranularity'] = AdVideoBackdatedTimeGranularityValues::getInstance()->getValues();
|
87 |
return $ref_enums;
|
353 |
return $pending ? $request : $request->execute();
|
354 |
}
|
355 |
|
356 |
+
public function getReactions(array $fields = array(), array $params = array(), $pending = false) {
|
357 |
+
$this->assureId();
|
358 |
+
|
359 |
+
$param_types = array(
|
360 |
+
'type' => 'type_enum',
|
361 |
+
);
|
362 |
+
$enums = array(
|
363 |
+
'type_enum' => ProfileTypeValues::getInstance()->getValues(),
|
364 |
+
);
|
365 |
+
|
366 |
+
$request = new ApiRequest(
|
367 |
+
$this->api,
|
368 |
+
$this->data['id'],
|
369 |
+
RequestInterface::METHOD_GET,
|
370 |
+
'/reactions',
|
371 |
+
new Profile(),
|
372 |
+
'EDGE',
|
373 |
+
Profile::getFieldsEnum()->getValues(),
|
374 |
+
new TypeChecker($param_types, $enums)
|
375 |
+
);
|
376 |
+
$request->addParams($params);
|
377 |
+
$request->addFields($fields);
|
378 |
+
return $pending ? $request : $request->execute();
|
379 |
+
}
|
380 |
+
|
381 |
public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
|
382 |
$this->assureId();
|
383 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdsInterest.php → AdoptablePet.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\
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\AdsInterestFields;
|
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
-
class
|
43 |
|
44 |
/**
|
45 |
-
* @return
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
-
return
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
@@ -67,9 +67,9 @@ class AdsInterest extends AbstractCrudObject {
|
|
67 |
$this->data['id'],
|
68 |
RequestInterface::METHOD_GET,
|
69 |
'/',
|
70 |
-
new
|
71 |
'NODE',
|
72 |
-
|
73 |
new TypeChecker($param_types, $enums)
|
74 |
);
|
75 |
$request->addParams($params);
|
28 |
use FacebookAds\Cursor;
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\AdoptablePetFields;
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
+
class AdoptablePet extends AbstractCrudObject {
|
43 |
|
44 |
/**
|
45 |
+
* @return AdoptablePetFields
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
+
return AdoptablePetFields::getInstance();
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
67 |
$this->data['id'],
|
68 |
RequestInterface::METHOD_GET,
|
69 |
'/',
|
70 |
+
new AdoptablePet(),
|
71 |
'NODE',
|
72 |
+
AdoptablePet::getFieldsEnum()->getValues(),
|
73 |
new TypeChecker($param_types, $enums)
|
74 |
);
|
75 |
$request->addParams($params);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdsPixel.php
CHANGED
@@ -35,6 +35,7 @@ use FacebookAds\Object\Values\AdsPixelFirstPartyCookieStatusValues;
|
|
35 |
use FacebookAds\Object\Values\AdsPixelSortByValues;
|
36 |
use FacebookAds\Object\Values\AdsPixelStatsResultAggregationValues;
|
37 |
use FacebookAds\Object\Values\AdsPixelTasksValues;
|
|
|
38 |
|
39 |
/**
|
40 |
* This class is auto-generated.
|
@@ -127,8 +128,10 @@ class AdsPixel extends AbstractCrudObject {
|
|
127 |
|
128 |
$param_types = array(
|
129 |
'checks' => 'list<string>',
|
|
|
130 |
);
|
131 |
$enums = array(
|
|
|
132 |
);
|
133 |
|
134 |
$request = new ApiRequest(
|
35 |
use FacebookAds\Object\Values\AdsPixelSortByValues;
|
36 |
use FacebookAds\Object\Values\AdsPixelStatsResultAggregationValues;
|
37 |
use FacebookAds\Object\Values\AdsPixelTasksValues;
|
38 |
+
use FacebookAds\Object\Values\DACheckConnectionMethodValues;
|
39 |
|
40 |
/**
|
41 |
* This class is auto-generated.
|
128 |
|
129 |
$param_types = array(
|
130 |
'checks' => 'list<string>',
|
131 |
+
'connection_method' => 'connection_method_enum',
|
132 |
);
|
133 |
$enums = array(
|
134 |
+
'connection_method_enum' => DACheckConnectionMethodValues::getInstance()->getValues(),
|
135 |
);
|
136 |
|
137 |
$request = new ApiRequest(
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Application.php
CHANGED
@@ -44,7 +44,9 @@ use FacebookAds\Object\Values\ApplicationRequestTypeValues;
|
|
44 |
use FacebookAds\Object\Values\ApplicationScoreTypeValues;
|
45 |
use FacebookAds\Object\Values\ApplicationSortOrderValues;
|
46 |
use FacebookAds\Object\Values\ApplicationSupportedPlatformsValues;
|
|
|
47 |
use FacebookAds\Object\Values\EventTypeValues;
|
|
|
48 |
|
49 |
/**
|
50 |
* This class is auto-generated.
|
@@ -182,15 +184,20 @@ class Application extends AbstractCrudObject {
|
|
182 |
'bundle_id' => 'string',
|
183 |
'bundle_short_version' => 'string',
|
184 |
'bundle_version' => 'string',
|
|
|
185 |
'consider_views' => 'bool',
|
186 |
'custom_events' => 'list<Object>',
|
187 |
'custom_events_file' => 'file',
|
|
|
|
|
|
|
188 |
'device_token' => 'string',
|
189 |
'event' => 'event_enum',
|
190 |
'extinfo' => 'Object',
|
191 |
'include_dwell_data' => 'bool',
|
192 |
'include_video_data' => 'bool',
|
193 |
'install_referrer' => 'string',
|
|
|
194 |
'installer_package' => 'string',
|
195 |
'limited_data_use' => 'bool',
|
196 |
'migration_bundle' => 'string',
|
@@ -350,6 +357,55 @@ class Application extends AbstractCrudObject {
|
|
350 |
return $pending ? $request : $request->execute();
|
351 |
}
|
352 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
public function getAppEventTypes(array $fields = array(), array $params = array(), $pending = false) {
|
354 |
$this->assureId();
|
355 |
|
@@ -748,8 +804,10 @@ class Application extends AbstractCrudObject {
|
|
748 |
|
749 |
$param_types = array(
|
750 |
'checks' => 'list<string>',
|
|
|
751 |
);
|
752 |
$enums = array(
|
|
|
753 |
);
|
754 |
|
755 |
$request = new ApiRequest(
|
@@ -1000,6 +1058,31 @@ class Application extends AbstractCrudObject {
|
|
1000 |
return $pending ? $request : $request->execute();
|
1001 |
}
|
1002 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1003 |
public function createMmpAuditing(array $fields = array(), array $params = array(), $pending = false) {
|
1004 |
$this->assureId();
|
1005 |
|
@@ -1043,6 +1126,7 @@ class Application extends AbstractCrudObject {
|
|
1043 |
$param_types = array(
|
1044 |
'device_id' => 'string',
|
1045 |
'extinfo' => 'Object',
|
|
|
1046 |
'platform' => 'platform_enum',
|
1047 |
'sdk_version' => 'string',
|
1048 |
);
|
@@ -1533,7 +1617,6 @@ class Application extends AbstractCrudObject {
|
|
1533 |
$param_types = array(
|
1534 |
'an_platforms' => 'list<an_platforms_enum>',
|
1535 |
'android_class_name' => 'string',
|
1536 |
-
'android_key_hash' => 'list<string>',
|
1537 |
'android_key_hashes' => 'list<string>',
|
1538 |
'android_package_name' => 'string',
|
1539 |
'android_sso' => 'bool',
|
@@ -1551,12 +1634,9 @@ class Application extends AbstractCrudObject {
|
|
1551 |
'canvas_fluid_height' => 'bool',
|
1552 |
'canvas_fluid_width' => 'bool',
|
1553 |
'canvas_url' => 'string',
|
1554 |
-
'configured_ios_sso' => 'bool',
|
1555 |
'contact_email' => 'string',
|
1556 |
'deauth_callback_url' => 'string',
|
1557 |
'ios_bundle_id' => 'list<string>',
|
1558 |
-
'ipad_app_store_id' => 'string',
|
1559 |
-
'iphone_app_store_id' => 'string',
|
1560 |
'mobile_web_url' => 'string',
|
1561 |
'namespace' => 'string',
|
1562 |
'page_tab_default_name' => 'string',
|
44 |
use FacebookAds\Object\Values\ApplicationScoreTypeValues;
|
45 |
use FacebookAds\Object\Values\ApplicationSortOrderValues;
|
46 |
use FacebookAds\Object\Values\ApplicationSupportedPlatformsValues;
|
47 |
+
use FacebookAds\Object\Values\DACheckConnectionMethodValues;
|
48 |
use FacebookAds\Object\Values\EventTypeValues;
|
49 |
+
use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues;
|
50 |
|
51 |
/**
|
52 |
* This class is auto-generated.
|
184 |
'bundle_id' => 'string',
|
185 |
'bundle_short_version' => 'string',
|
186 |
'bundle_version' => 'string',
|
187 |
+
'click_id' => 'string',
|
188 |
'consider_views' => 'bool',
|
189 |
'custom_events' => 'list<Object>',
|
190 |
'custom_events_file' => 'file',
|
191 |
+
'data_processing_options' => 'list<string>',
|
192 |
+
'data_processing_options_country' => 'unsigned int',
|
193 |
+
'data_processing_options_state' => 'unsigned int',
|
194 |
'device_token' => 'string',
|
195 |
'event' => 'event_enum',
|
196 |
'extinfo' => 'Object',
|
197 |
'include_dwell_data' => 'bool',
|
198 |
'include_video_data' => 'bool',
|
199 |
'install_referrer' => 'string',
|
200 |
+
'install_timestamp' => 'unsigned int',
|
201 |
'installer_package' => 'string',
|
202 |
'limited_data_use' => 'bool',
|
203 |
'migration_bundle' => 'string',
|
357 |
return $pending ? $request : $request->execute();
|
358 |
}
|
359 |
|
360 |
+
public function createAggregateRevenue(array $fields = array(), array $params = array(), $pending = false) {
|
361 |
+
$this->assureId();
|
362 |
+
|
363 |
+
$param_types = array(
|
364 |
+
'ecpms' => 'list<string>',
|
365 |
+
'query_ids' => 'list<string>',
|
366 |
+
'request_id' => 'string',
|
367 |
+
);
|
368 |
+
$enums = array(
|
369 |
+
);
|
370 |
+
|
371 |
+
$request = new ApiRequest(
|
372 |
+
$this->api,
|
373 |
+
$this->data['id'],
|
374 |
+
RequestInterface::METHOD_POST,
|
375 |
+
'/aggregate_revenue',
|
376 |
+
new AbstractCrudObject(),
|
377 |
+
'EDGE',
|
378 |
+
array(),
|
379 |
+
new TypeChecker($param_types, $enums)
|
380 |
+
);
|
381 |
+
$request->addParams($params);
|
382 |
+
$request->addFields($fields);
|
383 |
+
return $pending ? $request : $request->execute();
|
384 |
+
}
|
385 |
+
|
386 |
+
public function getAndroidDialogConfigs(array $fields = array(), array $params = array(), $pending = false) {
|
387 |
+
$this->assureId();
|
388 |
+
|
389 |
+
$param_types = array(
|
390 |
+
);
|
391 |
+
$enums = array(
|
392 |
+
);
|
393 |
+
|
394 |
+
$request = new ApiRequest(
|
395 |
+
$this->api,
|
396 |
+
$this->data['id'],
|
397 |
+
RequestInterface::METHOD_GET,
|
398 |
+
'/android_dialog_configs',
|
399 |
+
new AbstractCrudObject(),
|
400 |
+
'EDGE',
|
401 |
+
array(),
|
402 |
+
new TypeChecker($param_types, $enums)
|
403 |
+
);
|
404 |
+
$request->addParams($params);
|
405 |
+
$request->addFields($fields);
|
406 |
+
return $pending ? $request : $request->execute();
|
407 |
+
}
|
408 |
+
|
409 |
public function getAppEventTypes(array $fields = array(), array $params = array(), $pending = false) {
|
410 |
$this->assureId();
|
411 |
|
804 |
|
805 |
$param_types = array(
|
806 |
'checks' => 'list<string>',
|
807 |
+
'connection_method' => 'connection_method_enum',
|
808 |
);
|
809 |
$enums = array(
|
810 |
+
'connection_method_enum' => DACheckConnectionMethodValues::getInstance()->getValues(),
|
811 |
);
|
812 |
|
813 |
$request = new ApiRequest(
|
1058 |
return $pending ? $request : $request->execute();
|
1059 |
}
|
1060 |
|
1061 |
+
public function getLiveVideos(array $fields = array(), array $params = array(), $pending = false) {
|
1062 |
+
$this->assureId();
|
1063 |
+
|
1064 |
+
$param_types = array(
|
1065 |
+
'broadcast_status' => 'broadcast_status_enum',
|
1066 |
+
);
|
1067 |
+
$enums = array(
|
1068 |
+
'broadcast_status_enum' => LiveVideoBroadcastStatusValues::getInstance()->getValues(),
|
1069 |
+
);
|
1070 |
+
|
1071 |
+
$request = new ApiRequest(
|
1072 |
+
$this->api,
|
1073 |
+
$this->data['id'],
|
1074 |
+
RequestInterface::METHOD_GET,
|
1075 |
+
'/live_videos',
|
1076 |
+
new LiveVideo(),
|
1077 |
+
'EDGE',
|
1078 |
+
LiveVideo::getFieldsEnum()->getValues(),
|
1079 |
+
new TypeChecker($param_types, $enums)
|
1080 |
+
);
|
1081 |
+
$request->addParams($params);
|
1082 |
+
$request->addFields($fields);
|
1083 |
+
return $pending ? $request : $request->execute();
|
1084 |
+
}
|
1085 |
+
|
1086 |
public function createMmpAuditing(array $fields = array(), array $params = array(), $pending = false) {
|
1087 |
$this->assureId();
|
1088 |
|
1126 |
$param_types = array(
|
1127 |
'device_id' => 'string',
|
1128 |
'extinfo' => 'Object',
|
1129 |
+
'os_version' => 'string',
|
1130 |
'platform' => 'platform_enum',
|
1131 |
'sdk_version' => 'string',
|
1132 |
);
|
1617 |
$param_types = array(
|
1618 |
'an_platforms' => 'list<an_platforms_enum>',
|
1619 |
'android_class_name' => 'string',
|
|
|
1620 |
'android_key_hashes' => 'list<string>',
|
1621 |
'android_package_name' => 'string',
|
1622 |
'android_sso' => 'bool',
|
1634 |
'canvas_fluid_height' => 'bool',
|
1635 |
'canvas_fluid_width' => 'bool',
|
1636 |
'canvas_url' => 'string',
|
|
|
1637 |
'contact_email' => 'string',
|
1638 |
'deauth_callback_url' => 'string',
|
1639 |
'ios_bundle_id' => 'list<string>',
|
|
|
|
|
1640 |
'mobile_web_url' => 'string',
|
1641 |
'namespace' => 'string',
|
1642 |
'page_tab_default_name' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AtlasCampaign.php
CHANGED
@@ -110,10 +110,13 @@ class AtlasCampaign extends AbstractCrudObject {
|
|
110 |
'dimensions' => 'list<dimensions_enum>',
|
111 |
'granularity' => 'granularity_enum',
|
112 |
'metric_scope' => 'map',
|
113 |
-
'order_by' => 'list',
|
114 |
);
|
115 |
$enums = array(
|
116 |
'dimensions_enum' => array(
|
|
|
|
|
|
|
117 |
'DEVICE_TYPE',
|
118 |
'SOURCE_CHANNEL',
|
119 |
),
|
@@ -121,7 +124,7 @@ class AtlasCampaign extends AbstractCrudObject {
|
|
121 |
'DAY',
|
122 |
'HOUR',
|
123 |
'MONTH',
|
124 |
-
'
|
125 |
'YEAR',
|
126 |
),
|
127 |
);
|
110 |
'dimensions' => 'list<dimensions_enum>',
|
111 |
'granularity' => 'granularity_enum',
|
112 |
'metric_scope' => 'map',
|
113 |
+
'order_by' => 'list<map>',
|
114 |
);
|
115 |
$enums = array(
|
116 |
'dimensions_enum' => array(
|
117 |
+
'AD_ID',
|
118 |
+
'AD_SET_ID',
|
119 |
+
'CAMPAIGN_ID',
|
120 |
'DEVICE_TYPE',
|
121 |
'SOURCE_CHANNEL',
|
122 |
),
|
124 |
'DAY',
|
125 |
'HOUR',
|
126 |
'MONTH',
|
127 |
+
'WEEK_SUNDAY',
|
128 |
'YEAR',
|
129 |
),
|
130 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php
CHANGED
@@ -35,25 +35,16 @@ use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultMetricsValues;
|
|
35 |
use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues;
|
36 |
use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues;
|
37 |
use FacebookAds\Object\Values\AdStudyTypeValues;
|
38 |
-
use FacebookAds\Object\Values\AdVideoContainerTypeValues;
|
39 |
-
use FacebookAds\Object\Values\AdVideoContentCategoryValues;
|
40 |
-
use FacebookAds\Object\Values\AdVideoFormattingValues;
|
41 |
-
use FacebookAds\Object\Values\AdVideoOriginalProjectionTypeValues;
|
42 |
-
use FacebookAds\Object\Values\AdVideoSwapModeValues;
|
43 |
-
use FacebookAds\Object\Values\AdVideoUnpublishedContentTypeValues;
|
44 |
-
use FacebookAds\Object\Values\AdVideoUploadPhaseValues;
|
45 |
-
use FacebookAds\Object\Values\AdVideoValidationAdPlacementsValues;
|
46 |
use FacebookAds\Object\Values\AdsPixelSortByValues;
|
47 |
use FacebookAds\Object\Values\BusinessAgreementRequestStatusValues;
|
48 |
use FacebookAds\Object\Values\BusinessAssetSharingAgreementRequestStatusValues;
|
49 |
-
use FacebookAds\Object\Values\BusinessCreativeFolderSharingAgreementRequestStatusValues;
|
50 |
-
use FacebookAds\Object\Values\BusinessImageValidationAdPlacementsValues;
|
51 |
use FacebookAds\Object\Values\BusinessPagePermittedTasksValues;
|
52 |
use FacebookAds\Object\Values\BusinessPermittedTasksValues;
|
53 |
use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
|
54 |
use FacebookAds\Object\Values\BusinessTwoFactorTypeValues;
|
55 |
use FacebookAds\Object\Values\BusinessUserRoleValues;
|
56 |
use FacebookAds\Object\Values\BusinessVerticalValues;
|
|
|
57 |
use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
|
58 |
use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
|
59 |
use FacebookAds\Object\Values\CustomConversionCustomEventTypeValues;
|
@@ -64,6 +55,7 @@ use FacebookAds\Object\Values\MeasurementUploadEventMatchUniverseValues;
|
|
64 |
use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
|
65 |
use FacebookAds\Object\Values\OracleTransactionTypeValues;
|
66 |
use FacebookAds\Object\Values\ProductCatalogVerticalValues;
|
|
|
67 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
68 |
use FacebookAds\Object\Values\SystemUserRoleValues;
|
69 |
|
@@ -101,6 +93,7 @@ class Business extends AbstractCrudObject {
|
|
101 |
|
102 |
$param_types = array(
|
103 |
'app_id' => 'string',
|
|
|
104 |
'scope' => 'list<Permission>',
|
105 |
'system_user_name' => 'string',
|
106 |
);
|
@@ -413,10 +406,13 @@ class Business extends AbstractCrudObject {
|
|
413 |
return $pending ? $request : $request->execute();
|
414 |
}
|
415 |
|
416 |
-
public function
|
417 |
$this->assureId();
|
418 |
|
419 |
$param_types = array(
|
|
|
|
|
|
|
420 |
);
|
421 |
$enums = array(
|
422 |
);
|
@@ -424,11 +420,11 @@ class Business extends AbstractCrudObject {
|
|
424 |
$request = new ApiRequest(
|
425 |
$this->api,
|
426 |
$this->data['id'],
|
427 |
-
RequestInterface::
|
428 |
-
'/
|
429 |
-
new
|
430 |
'EDGE',
|
431 |
-
|
432 |
new TypeChecker($param_types, $enums)
|
433 |
);
|
434 |
$request->addParams($params);
|
@@ -436,25 +432,22 @@ class Business extends AbstractCrudObject {
|
|
436 |
return $pending ? $request : $request->execute();
|
437 |
}
|
438 |
|
439 |
-
public function
|
440 |
$this->assureId();
|
441 |
|
442 |
$param_types = array(
|
443 |
-
'request_status' => 'request_status_enum',
|
444 |
-
'requesting_business_id' => 'string',
|
445 |
);
|
446 |
$enums = array(
|
447 |
-
'request_status_enum' => BusinessCreativeFolderSharingAgreementRequestStatusValues::getInstance()->getValues(),
|
448 |
);
|
449 |
|
450 |
$request = new ApiRequest(
|
451 |
$this->api,
|
452 |
$this->data['id'],
|
453 |
RequestInterface::METHOD_GET,
|
454 |
-
'/
|
455 |
-
new
|
456 |
'EDGE',
|
457 |
-
|
458 |
new TypeChecker($param_types, $enums)
|
459 |
);
|
460 |
$request->addParams($params);
|
@@ -851,6 +844,29 @@ class Business extends AbstractCrudObject {
|
|
851 |
return $pending ? $request : $request->execute();
|
852 |
}
|
853 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
854 |
public function deleteClients(array $fields = array(), array $params = array(), $pending = false) {
|
855 |
$this->assureId();
|
856 |
|
@@ -898,10 +914,11 @@ class Business extends AbstractCrudObject {
|
|
898 |
return $pending ? $request : $request->execute();
|
899 |
}
|
900 |
|
901 |
-
public function
|
902 |
$this->assureId();
|
903 |
|
904 |
$param_types = array(
|
|
|
905 |
);
|
906 |
$enums = array(
|
907 |
);
|
@@ -910,10 +927,10 @@ class Business extends AbstractCrudObject {
|
|
910 |
$this->api,
|
911 |
$this->data['id'],
|
912 |
RequestInterface::METHOD_GET,
|
913 |
-
'/
|
914 |
-
new
|
915 |
'EDGE',
|
916 |
-
|
917 |
new TypeChecker($param_types, $enums)
|
918 |
);
|
919 |
$request->addParams($params);
|
@@ -921,30 +938,31 @@ class Business extends AbstractCrudObject {
|
|
921 |
return $pending ? $request : $request->execute();
|
922 |
}
|
923 |
|
924 |
-
public function
|
925 |
$this->assureId();
|
926 |
|
927 |
$param_types = array(
|
928 |
-
'
|
929 |
-
'
|
930 |
-
'
|
931 |
-
'
|
932 |
-
'
|
933 |
-
'
|
|
|
|
|
934 |
);
|
935 |
$enums = array(
|
936 |
-
'
|
937 |
-
'position_enum' => ContentDeliveryReportPositionValues::getInstance()->getValues(),
|
938 |
);
|
939 |
|
940 |
$request = new ApiRequest(
|
941 |
$this->api,
|
942 |
$this->data['id'],
|
943 |
-
RequestInterface::
|
944 |
-
'/
|
945 |
-
new
|
946 |
'EDGE',
|
947 |
-
|
948 |
new TypeChecker($param_types, $enums)
|
949 |
);
|
950 |
$request->addParams($params);
|
@@ -952,7 +970,7 @@ class Business extends AbstractCrudObject {
|
|
952 |
return $pending ? $request : $request->execute();
|
953 |
}
|
954 |
|
955 |
-
public function
|
956 |
$this->assureId();
|
957 |
|
958 |
$param_types = array(
|
@@ -964,10 +982,10 @@ class Business extends AbstractCrudObject {
|
|
964 |
$this->api,
|
965 |
$this->data['id'],
|
966 |
RequestInterface::METHOD_GET,
|
967 |
-
'/
|
968 |
-
new
|
969 |
'EDGE',
|
970 |
-
|
971 |
new TypeChecker($param_types, $enums)
|
972 |
);
|
973 |
$request->addParams($params);
|
@@ -975,7 +993,7 @@ class Business extends AbstractCrudObject {
|
|
975 |
return $pending ? $request : $request->execute();
|
976 |
}
|
977 |
|
978 |
-
public function
|
979 |
$this->assureId();
|
980 |
|
981 |
$param_types = array(
|
@@ -987,10 +1005,10 @@ class Business extends AbstractCrudObject {
|
|
987 |
$this->api,
|
988 |
$this->data['id'],
|
989 |
RequestInterface::METHOD_GET,
|
990 |
-
'/
|
991 |
-
new
|
992 |
'EDGE',
|
993 |
-
|
994 |
new TypeChecker($param_types, $enums)
|
995 |
);
|
996 |
$request->addParams($params);
|
@@ -998,25 +1016,30 @@ class Business extends AbstractCrudObject {
|
|
998 |
return $pending ? $request : $request->execute();
|
999 |
}
|
1000 |
|
1001 |
-
public function
|
1002 |
$this->assureId();
|
1003 |
|
1004 |
$param_types = array(
|
1005 |
-
'
|
1006 |
-
'
|
1007 |
-
'
|
|
|
|
|
|
|
1008 |
);
|
1009 |
$enums = array(
|
|
|
|
|
1010 |
);
|
1011 |
|
1012 |
$request = new ApiRequest(
|
1013 |
$this->api,
|
1014 |
$this->data['id'],
|
1015 |
-
RequestInterface::
|
1016 |
-
'/
|
1017 |
-
new
|
1018 |
'EDGE',
|
1019 |
-
|
1020 |
new TypeChecker($param_types, $enums)
|
1021 |
);
|
1022 |
$request->addParams($params);
|
@@ -1024,11 +1047,13 @@ class Business extends AbstractCrudObject {
|
|
1024 |
return $pending ? $request : $request->execute();
|
1025 |
}
|
1026 |
|
1027 |
-
public function
|
1028 |
$this->assureId();
|
1029 |
|
1030 |
$param_types = array(
|
1031 |
-
'
|
|
|
|
|
1032 |
);
|
1033 |
$enums = array(
|
1034 |
);
|
@@ -1036,11 +1061,11 @@ class Business extends AbstractCrudObject {
|
|
1036 |
$request = new ApiRequest(
|
1037 |
$this->api,
|
1038 |
$this->data['id'],
|
1039 |
-
RequestInterface::
|
1040 |
-
'/
|
1041 |
-
new
|
1042 |
'EDGE',
|
1043 |
-
|
1044 |
new TypeChecker($param_types, $enums)
|
1045 |
);
|
1046 |
$request->addParams($params);
|
@@ -1151,35 +1176,6 @@ class Business extends AbstractCrudObject {
|
|
1151 |
return $pending ? $request : $request->execute();
|
1152 |
}
|
1153 |
|
1154 |
-
public function createImage(array $fields = array(), array $params = array(), $pending = false) {
|
1155 |
-
$this->assureId();
|
1156 |
-
|
1157 |
-
$param_types = array(
|
1158 |
-
'ad_placements_validation_only' => 'bool',
|
1159 |
-
'bytes' => 'Object',
|
1160 |
-
'creative_folder_id' => 'string',
|
1161 |
-
'name' => 'string',
|
1162 |
-
'validation_ad_placements' => 'list<validation_ad_placements_enum>',
|
1163 |
-
);
|
1164 |
-
$enums = array(
|
1165 |
-
'validation_ad_placements_enum' => BusinessImageValidationAdPlacementsValues::getInstance()->getValues(),
|
1166 |
-
);
|
1167 |
-
|
1168 |
-
$request = new ApiRequest(
|
1169 |
-
$this->api,
|
1170 |
-
$this->data['id'],
|
1171 |
-
RequestInterface::METHOD_POST,
|
1172 |
-
'/images',
|
1173 |
-
new BusinessImage(),
|
1174 |
-
'EDGE',
|
1175 |
-
BusinessImage::getFieldsEnum()->getValues(),
|
1176 |
-
new TypeChecker($param_types, $enums)
|
1177 |
-
);
|
1178 |
-
$request->addParams($params);
|
1179 |
-
$request->addFields($fields);
|
1180 |
-
return $pending ? $request : $request->execute();
|
1181 |
-
}
|
1182 |
-
|
1183 |
public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
|
1184 |
$this->assureId();
|
1185 |
|
@@ -1307,6 +1303,7 @@ class Business extends AbstractCrudObject {
|
|
1307 |
$this->assureId();
|
1308 |
|
1309 |
$param_types = array(
|
|
|
1310 |
'existing_client_business_id' => 'string',
|
1311 |
'name' => 'string',
|
1312 |
'sales_rep_email' => 'string',
|
@@ -1534,6 +1531,7 @@ class Business extends AbstractCrudObject {
|
|
1534 |
$this->assureId();
|
1535 |
|
1536 |
$param_types = array(
|
|
|
1537 |
'client_user_id' => 'int',
|
1538 |
);
|
1539 |
$enums = array(
|
@@ -1558,6 +1556,7 @@ class Business extends AbstractCrudObject {
|
|
1558 |
$this->assureId();
|
1559 |
|
1560 |
$param_types = array(
|
|
|
1561 |
'name' => 'string',
|
1562 |
'page_permitted_tasks' => 'list<page_permitted_tasks_enum>',
|
1563 |
'sales_rep_email' => 'string',
|
@@ -1710,12 +1709,15 @@ class Business extends AbstractCrudObject {
|
|
1710 |
$this->assureId();
|
1711 |
|
1712 |
$param_types = array(
|
|
|
|
|
1713 |
'commerce_merchant_settings' => 'Object',
|
1714 |
'da_display_settings' => 'Object',
|
1715 |
'destination_catalog_settings' => 'map',
|
1716 |
'flight_catalog_settings' => 'map',
|
1717 |
'name' => 'string',
|
1718 |
'onsite_commerce_merchant' => 'Object',
|
|
|
1719 |
'store_catalog_settings' => 'map',
|
1720 |
'vertical' => 'vertical_enum',
|
1721 |
);
|
@@ -1877,29 +1879,6 @@ class Business extends AbstractCrudObject {
|
|
1877 |
return $pending ? $request : $request->execute();
|
1878 |
}
|
1879 |
|
1880 |
-
public function getPendingSharedCreativeFolders(array $fields = array(), array $params = array(), $pending = false) {
|
1881 |
-
$this->assureId();
|
1882 |
-
|
1883 |
-
$param_types = array(
|
1884 |
-
);
|
1885 |
-
$enums = array(
|
1886 |
-
);
|
1887 |
-
|
1888 |
-
$request = new ApiRequest(
|
1889 |
-
$this->api,
|
1890 |
-
$this->data['id'],
|
1891 |
-
RequestInterface::METHOD_GET,
|
1892 |
-
'/pending_shared_creative_folders',
|
1893 |
-
new BusinessCreativeFolder(),
|
1894 |
-
'EDGE',
|
1895 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
1896 |
-
new TypeChecker($param_types, $enums)
|
1897 |
-
);
|
1898 |
-
$request->addParams($params);
|
1899 |
-
$request->addFields($fields);
|
1900 |
-
return $pending ? $request : $request->execute();
|
1901 |
-
}
|
1902 |
-
|
1903 |
public function getPendingUsers(array $fields = array(), array $params = array(), $pending = false) {
|
1904 |
$this->assureId();
|
1905 |
|
@@ -1928,12 +1907,14 @@ class Business extends AbstractCrudObject {
|
|
1928 |
$this->assureId();
|
1929 |
|
1930 |
$param_types = array(
|
|
|
1931 |
'height' => 'int',
|
1932 |
'redirect' => 'bool',
|
1933 |
'type' => 'type_enum',
|
1934 |
'width' => 'int',
|
1935 |
);
|
1936 |
$enums = array(
|
|
|
1937 |
'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
|
1938 |
);
|
1939 |
|
@@ -2136,110 +2117,6 @@ class Business extends AbstractCrudObject {
|
|
2136 |
return $pending ? $request : $request->execute();
|
2137 |
}
|
2138 |
|
2139 |
-
public function createVideo(array $fields = array(), array $params = array(), $pending = false) {
|
2140 |
-
$this->assureId();
|
2141 |
-
|
2142 |
-
$param_types = array(
|
2143 |
-
'ad_placements_validation_only' => 'bool',
|
2144 |
-
'adaptive_type' => 'string',
|
2145 |
-
'animated_effect_id' => 'unsigned int',
|
2146 |
-
'application_id' => 'string',
|
2147 |
-
'asked_fun_fact_prompt_id' => 'unsigned int',
|
2148 |
-
'attribution_app_id' => 'string',
|
2149 |
-
'audio_story_wave_animation_handle' => 'string',
|
2150 |
-
'chunk_session_id' => 'string',
|
2151 |
-
'composer_entry_picker' => 'string',
|
2152 |
-
'composer_entry_point' => 'string',
|
2153 |
-
'composer_entry_time' => 'unsigned int',
|
2154 |
-
'composer_session_events_log' => 'string',
|
2155 |
-
'composer_session_id' => 'string',
|
2156 |
-
'composer_source_surface' => 'string',
|
2157 |
-
'composer_type' => 'string',
|
2158 |
-
'container_type' => 'container_type_enum',
|
2159 |
-
'content_category' => 'content_category_enum',
|
2160 |
-
'creative_folder_id' => 'string',
|
2161 |
-
'description' => 'string',
|
2162 |
-
'embeddable' => 'bool',
|
2163 |
-
'end_offset' => 'unsigned int',
|
2164 |
-
'fbuploader_video_file_chunk' => 'string',
|
2165 |
-
'file_size' => 'unsigned int',
|
2166 |
-
'file_url' => 'string',
|
2167 |
-
'fisheye_video_cropped' => 'bool',
|
2168 |
-
'formatting' => 'formatting_enum',
|
2169 |
-
'fov' => 'unsigned int',
|
2170 |
-
'front_z_rotation' => 'float',
|
2171 |
-
'fun_fact_prompt_id' => 'unsigned int',
|
2172 |
-
'fun_fact_toastee_id' => 'unsigned int',
|
2173 |
-
'guide' => 'list<list<unsigned int>>',
|
2174 |
-
'guide_enabled' => 'bool',
|
2175 |
-
'has_nickname' => 'bool',
|
2176 |
-
'holiday_card' => 'string',
|
2177 |
-
'initial_heading' => 'unsigned int',
|
2178 |
-
'initial_pitch' => 'unsigned int',
|
2179 |
-
'instant_game_entry_point_data' => 'string',
|
2180 |
-
'is_boost_intended' => 'bool',
|
2181 |
-
'is_group_linking_post' => 'bool',
|
2182 |
-
'is_voice_clip' => 'bool',
|
2183 |
-
'location_source_id' => 'string',
|
2184 |
-
'offer_like_post_id' => 'unsigned int',
|
2185 |
-
'og_action_type_id' => 'string',
|
2186 |
-
'og_icon_id' => 'string',
|
2187 |
-
'og_object_id' => 'string',
|
2188 |
-
'og_phrase' => 'string',
|
2189 |
-
'og_suggestion_mechanism' => 'string',
|
2190 |
-
'original_fov' => 'unsigned int',
|
2191 |
-
'original_projection_type' => 'original_projection_type_enum',
|
2192 |
-
'publish_event_id' => 'unsigned int',
|
2193 |
-
'react_mode_metadata' => 'string',
|
2194 |
-
'referenced_sticker_id' => 'string',
|
2195 |
-
'replace_video_id' => 'string',
|
2196 |
-
'sales_promo_id' => 'unsigned int',
|
2197 |
-
'slideshow_spec' => 'map',
|
2198 |
-
'source' => 'string',
|
2199 |
-
'spherical' => 'bool',
|
2200 |
-
'start_offset' => 'unsigned int',
|
2201 |
-
'swap_mode' => 'swap_mode_enum',
|
2202 |
-
'text_format_metadata' => 'string',
|
2203 |
-
'throwback_camera_roll_media' => 'string',
|
2204 |
-
'thumb' => 'file',
|
2205 |
-
'time_since_original_post' => 'unsigned int',
|
2206 |
-
'title' => 'string',
|
2207 |
-
'transcode_setting_properties' => 'string',
|
2208 |
-
'unpublished_content_type' => 'unpublished_content_type_enum',
|
2209 |
-
'upload_phase' => 'upload_phase_enum',
|
2210 |
-
'upload_session_id' => 'string',
|
2211 |
-
'upload_setting_properties' => 'string',
|
2212 |
-
'validation_ad_placements' => 'list<validation_ad_placements_enum>',
|
2213 |
-
'video_file_chunk' => 'string',
|
2214 |
-
'video_start_time_ms' => 'unsigned int',
|
2215 |
-
'waterfall_id' => 'string',
|
2216 |
-
);
|
2217 |
-
$enums = array(
|
2218 |
-
'container_type_enum' => AdVideoContainerTypeValues::getInstance()->getValues(),
|
2219 |
-
'content_category_enum' => AdVideoContentCategoryValues::getInstance()->getValues(),
|
2220 |
-
'formatting_enum' => AdVideoFormattingValues::getInstance()->getValues(),
|
2221 |
-
'original_projection_type_enum' => AdVideoOriginalProjectionTypeValues::getInstance()->getValues(),
|
2222 |
-
'swap_mode_enum' => AdVideoSwapModeValues::getInstance()->getValues(),
|
2223 |
-
'unpublished_content_type_enum' => AdVideoUnpublishedContentTypeValues::getInstance()->getValues(),
|
2224 |
-
'upload_phase_enum' => AdVideoUploadPhaseValues::getInstance()->getValues(),
|
2225 |
-
'validation_ad_placements_enum' => AdVideoValidationAdPlacementsValues::getInstance()->getValues(),
|
2226 |
-
);
|
2227 |
-
|
2228 |
-
$request = new ApiRequest(
|
2229 |
-
$this->api,
|
2230 |
-
$this->data['id'],
|
2231 |
-
RequestInterface::METHOD_POST,
|
2232 |
-
'/videos',
|
2233 |
-
new AdVideo(),
|
2234 |
-
'EDGE',
|
2235 |
-
AdVideo::getFieldsEnum()->getValues(),
|
2236 |
-
new TypeChecker($param_types, $enums)
|
2237 |
-
);
|
2238 |
-
$request->addParams($params);
|
2239 |
-
$request->addFields($fields);
|
2240 |
-
return $pending ? $request : $request->execute();
|
2241 |
-
}
|
2242 |
-
|
2243 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
2244 |
$this->assureId();
|
2245 |
|
35 |
use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues;
|
36 |
use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues;
|
37 |
use FacebookAds\Object\Values\AdStudyTypeValues;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
use FacebookAds\Object\Values\AdsPixelSortByValues;
|
39 |
use FacebookAds\Object\Values\BusinessAgreementRequestStatusValues;
|
40 |
use FacebookAds\Object\Values\BusinessAssetSharingAgreementRequestStatusValues;
|
|
|
|
|
41 |
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\BusinessUserRoleValues;
|
46 |
use FacebookAds\Object\Values\BusinessVerticalValues;
|
47 |
+
use FacebookAds\Object\Values\CPASCollaborationRequestRequesterAgencyOrBrandValues;
|
48 |
use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
|
49 |
use FacebookAds\Object\Values\ContentDeliveryReportPositionValues;
|
50 |
use FacebookAds\Object\Values\CustomConversionCustomEventTypeValues;
|
55 |
use FacebookAds\Object\Values\MeasurementUploadEventTimezoneValues;
|
56 |
use FacebookAds\Object\Values\OracleTransactionTypeValues;
|
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 |
|
93 |
|
94 |
$param_types = array(
|
95 |
'app_id' => 'string',
|
96 |
+
'fbe_external_business_id' => 'string',
|
97 |
'scope' => 'list<Permission>',
|
98 |
'system_user_name' => 'string',
|
99 |
);
|
406 |
return $pending ? $request : $request->execute();
|
407 |
}
|
408 |
|
409 |
+
public function createAggregateRevenue(array $fields = array(), array $params = array(), $pending = false) {
|
410 |
$this->assureId();
|
411 |
|
412 |
$param_types = array(
|
413 |
+
'ecpms' => 'list<string>',
|
414 |
+
'query_ids' => 'list<string>',
|
415 |
+
'request_id' => 'string',
|
416 |
);
|
417 |
$enums = array(
|
418 |
);
|
420 |
$request = new ApiRequest(
|
421 |
$this->api,
|
422 |
$this->data['id'],
|
423 |
+
RequestInterface::METHOD_POST,
|
424 |
+
'/aggregate_revenue',
|
425 |
+
new AbstractCrudObject(),
|
426 |
'EDGE',
|
427 |
+
array(),
|
428 |
new TypeChecker($param_types, $enums)
|
429 |
);
|
430 |
$request->addParams($params);
|
432 |
return $pending ? $request : $request->execute();
|
433 |
}
|
434 |
|
435 |
+
public function getAnPlacements(array $fields = array(), array $params = array(), $pending = false) {
|
436 |
$this->assureId();
|
437 |
|
438 |
$param_types = array(
|
|
|
|
|
439 |
);
|
440 |
$enums = array(
|
|
|
441 |
);
|
442 |
|
443 |
$request = new ApiRequest(
|
444 |
$this->api,
|
445 |
$this->data['id'],
|
446 |
RequestInterface::METHOD_GET,
|
447 |
+
'/an_placements',
|
448 |
+
new AdPlacement(),
|
449 |
'EDGE',
|
450 |
+
AdPlacement::getFieldsEnum()->getValues(),
|
451 |
new TypeChecker($param_types, $enums)
|
452 |
);
|
453 |
$request->addParams($params);
|
844 |
return $pending ? $request : $request->execute();
|
845 |
}
|
846 |
|
847 |
+
public function getClientWhatsAppBusinessAccounts(array $fields = array(), array $params = array(), $pending = false) {
|
848 |
+
$this->assureId();
|
849 |
+
|
850 |
+
$param_types = array(
|
851 |
+
);
|
852 |
+
$enums = array(
|
853 |
+
);
|
854 |
+
|
855 |
+
$request = new ApiRequest(
|
856 |
+
$this->api,
|
857 |
+
$this->data['id'],
|
858 |
+
RequestInterface::METHOD_GET,
|
859 |
+
'/client_whatsapp_business_accounts',
|
860 |
+
new WhatsAppBusinessAccount(),
|
861 |
+
'EDGE',
|
862 |
+
WhatsAppBusinessAccount::getFieldsEnum()->getValues(),
|
863 |
+
new TypeChecker($param_types, $enums)
|
864 |
+
);
|
865 |
+
$request->addParams($params);
|
866 |
+
$request->addFields($fields);
|
867 |
+
return $pending ? $request : $request->execute();
|
868 |
+
}
|
869 |
+
|
870 |
public function deleteClients(array $fields = array(), array $params = array(), $pending = false) {
|
871 |
$this->assureId();
|
872 |
|
914 |
return $pending ? $request : $request->execute();
|
915 |
}
|
916 |
|
917 |
+
public function getCollaborativeAdsCollaborationRequests(array $fields = array(), array $params = array(), $pending = false) {
|
918 |
$this->assureId();
|
919 |
|
920 |
$param_types = array(
|
921 |
+
'status' => 'string',
|
922 |
);
|
923 |
$enums = array(
|
924 |
);
|
927 |
$this->api,
|
928 |
$this->data['id'],
|
929 |
RequestInterface::METHOD_GET,
|
930 |
+
'/collaborative_ads_collaboration_requests',
|
931 |
+
new CPASCollaborationRequest(),
|
932 |
'EDGE',
|
933 |
+
CPASCollaborationRequest::getFieldsEnum()->getValues(),
|
934 |
new TypeChecker($param_types, $enums)
|
935 |
);
|
936 |
$request->addParams($params);
|
938 |
return $pending ? $request : $request->execute();
|
939 |
}
|
940 |
|
941 |
+
public function createCollaborativeAdsCollaborationRequest(array $fields = array(), array $params = array(), $pending = false) {
|
942 |
$this->assureId();
|
943 |
|
944 |
$param_types = array(
|
945 |
+
'brands' => 'list<string>',
|
946 |
+
'contact_email' => 'string',
|
947 |
+
'contact_first_name' => 'string',
|
948 |
+
'contact_last_name' => 'string',
|
949 |
+
'phone_number' => 'string',
|
950 |
+
'receiver_business' => 'string',
|
951 |
+
'requester_agency_or_brand' => 'requester_agency_or_brand_enum',
|
952 |
+
'sender_client_business' => 'string',
|
953 |
);
|
954 |
$enums = array(
|
955 |
+
'requester_agency_or_brand_enum' => CPASCollaborationRequestRequesterAgencyOrBrandValues::getInstance()->getValues(),
|
|
|
956 |
);
|
957 |
|
958 |
$request = new ApiRequest(
|
959 |
$this->api,
|
960 |
$this->data['id'],
|
961 |
+
RequestInterface::METHOD_POST,
|
962 |
+
'/collaborative_ads_collaboration_requests',
|
963 |
+
new CPASCollaborationRequest(),
|
964 |
'EDGE',
|
965 |
+
CPASCollaborationRequest::getFieldsEnum()->getValues(),
|
966 |
new TypeChecker($param_types, $enums)
|
967 |
);
|
968 |
$request->addParams($params);
|
970 |
return $pending ? $request : $request->execute();
|
971 |
}
|
972 |
|
973 |
+
public function getCollaborativeAdsSuggestedPartners(array $fields = array(), array $params = array(), $pending = false) {
|
974 |
$this->assureId();
|
975 |
|
976 |
$param_types = array(
|
982 |
$this->api,
|
983 |
$this->data['id'],
|
984 |
RequestInterface::METHOD_GET,
|
985 |
+
'/collaborative_ads_suggested_partners',
|
986 |
+
new CPASAdvertiserPartnershipRecommendation(),
|
987 |
'EDGE',
|
988 |
+
CPASAdvertiserPartnershipRecommendation::getFieldsEnum()->getValues(),
|
989 |
new TypeChecker($param_types, $enums)
|
990 |
);
|
991 |
$request->addParams($params);
|
993 |
return $pending ? $request : $request->execute();
|
994 |
}
|
995 |
|
996 |
+
public function getCommerceMerchantSettings(array $fields = array(), array $params = array(), $pending = false) {
|
997 |
$this->assureId();
|
998 |
|
999 |
$param_types = array(
|
1005 |
$this->api,
|
1006 |
$this->data['id'],
|
1007 |
RequestInterface::METHOD_GET,
|
1008 |
+
'/commerce_merchant_settings',
|
1009 |
+
new CommerceMerchantSettings(),
|
1010 |
'EDGE',
|
1011 |
+
CommerceMerchantSettings::getFieldsEnum()->getValues(),
|
1012 |
new TypeChecker($param_types, $enums)
|
1013 |
);
|
1014 |
$request->addParams($params);
|
1016 |
return $pending ? $request : $request->execute();
|
1017 |
}
|
1018 |
|
1019 |
+
public function getContentDeliveryReport(array $fields = array(), array $params = array(), $pending = false) {
|
1020 |
$this->assureId();
|
1021 |
|
1022 |
$param_types = array(
|
1023 |
+
'end_date' => 'datetime',
|
1024 |
+
'page_id' => 'unsigned int',
|
1025 |
+
'platform' => 'platform_enum',
|
1026 |
+
'position' => 'position_enum',
|
1027 |
+
'start_date' => 'datetime',
|
1028 |
+
'summary' => 'bool',
|
1029 |
);
|
1030 |
$enums = array(
|
1031 |
+
'platform_enum' => ContentDeliveryReportPlatformValues::getInstance()->getValues(),
|
1032 |
+
'position_enum' => ContentDeliveryReportPositionValues::getInstance()->getValues(),
|
1033 |
);
|
1034 |
|
1035 |
$request = new ApiRequest(
|
1036 |
$this->api,
|
1037 |
$this->data['id'],
|
1038 |
+
RequestInterface::METHOD_GET,
|
1039 |
+
'/content_delivery_report',
|
1040 |
+
new ContentDeliveryReport(),
|
1041 |
'EDGE',
|
1042 |
+
ContentDeliveryReport::getFieldsEnum()->getValues(),
|
1043 |
new TypeChecker($param_types, $enums)
|
1044 |
);
|
1045 |
$request->addParams($params);
|
1047 |
return $pending ? $request : $request->execute();
|
1048 |
}
|
1049 |
|
1050 |
+
public function createCreateAndApplyPublisherBlockList(array $fields = array(), array $params = array(), $pending = false) {
|
1051 |
$this->assureId();
|
1052 |
|
1053 |
$param_types = array(
|
1054 |
+
'is_auto_blocking_on' => 'bool',
|
1055 |
+
'name' => 'string',
|
1056 |
+
'publisher_urls' => 'list<string>',
|
1057 |
);
|
1058 |
$enums = array(
|
1059 |
);
|
1061 |
$request = new ApiRequest(
|
1062 |
$this->api,
|
1063 |
$this->data['id'],
|
1064 |
+
RequestInterface::METHOD_POST,
|
1065 |
+
'/create_and_apply_publisher_block_list',
|
1066 |
+
new AbstractCrudObject(),
|
1067 |
'EDGE',
|
1068 |
+
array(),
|
1069 |
new TypeChecker($param_types, $enums)
|
1070 |
);
|
1071 |
$request->addParams($params);
|
1176 |
return $pending ? $request : $request->execute();
|
1177 |
}
|
1178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1179 |
public function getInitiatedAudienceSharingRequests(array $fields = array(), array $params = array(), $pending = false) {
|
1180 |
$this->assureId();
|
1181 |
|
1303 |
$this->assureId();
|
1304 |
|
1305 |
$param_types = array(
|
1306 |
+
'child_business_external_id' => 'string',
|
1307 |
'existing_client_business_id' => 'string',
|
1308 |
'name' => 'string',
|
1309 |
'sales_rep_email' => 'string',
|
1531 |
$this->assureId();
|
1532 |
|
1533 |
$param_types = array(
|
1534 |
+
'child_business_external_id' => 'string',
|
1535 |
'client_user_id' => 'int',
|
1536 |
);
|
1537 |
$enums = array(
|
1556 |
$this->assureId();
|
1557 |
|
1558 |
$param_types = array(
|
1559 |
+
'child_business_external_id' => 'string',
|
1560 |
'name' => 'string',
|
1561 |
'page_permitted_tasks' => 'list<page_permitted_tasks_enum>',
|
1562 |
'sales_rep_email' => 'string',
|
1709 |
$this->assureId();
|
1710 |
|
1711 |
$param_types = array(
|
1712 |
+
'catalog_segment_filter' => 'Object',
|
1713 |
+
'catalog_segment_product_set_id' => 'string',
|
1714 |
'commerce_merchant_settings' => 'Object',
|
1715 |
'da_display_settings' => 'Object',
|
1716 |
'destination_catalog_settings' => 'map',
|
1717 |
'flight_catalog_settings' => 'map',
|
1718 |
'name' => 'string',
|
1719 |
'onsite_commerce_merchant' => 'Object',
|
1720 |
+
'parent_catalog_id' => 'string',
|
1721 |
'store_catalog_settings' => 'map',
|
1722 |
'vertical' => 'vertical_enum',
|
1723 |
);
|
1879 |
return $pending ? $request : $request->execute();
|
1880 |
}
|
1881 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1882 |
public function getPendingUsers(array $fields = array(), array $params = array(), $pending = false) {
|
1883 |
$this->assureId();
|
1884 |
|
1907 |
$this->assureId();
|
1908 |
|
1909 |
$param_types = array(
|
1910 |
+
'breaking_change' => 'breaking_change_enum',
|
1911 |
'height' => 'int',
|
1912 |
'redirect' => 'bool',
|
1913 |
'type' => 'type_enum',
|
1914 |
'width' => 'int',
|
1915 |
);
|
1916 |
$enums = array(
|
1917 |
+
'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
|
1918 |
'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
|
1919 |
);
|
1920 |
|
2117 |
return $pending ? $request : $request->execute();
|
2118 |
}
|
2119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2120 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
2121 |
$this->assureId();
|
2122 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreative.php
DELETED
@@ -1,80 +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;
|
26 |
-
|
27 |
-
use FacebookAds\ApiRequest;
|
28 |
-
use FacebookAds\Cursor;
|
29 |
-
use FacebookAds\Http\RequestInterface;
|
30 |
-
use FacebookAds\TypeChecker;
|
31 |
-
use FacebookAds\Object\Fields\BusinessCreativeFields;
|
32 |
-
|
33 |
-
/**
|
34 |
-
* This class is auto-generated.
|
35 |
-
*
|
36 |
-
* For any issues or feature requests related to this class, please let us know
|
37 |
-
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
38 |
-
* pull request for this class.
|
39 |
-
*
|
40 |
-
*/
|
41 |
-
|
42 |
-
class BusinessCreative extends AbstractCrudObject {
|
43 |
-
|
44 |
-
/**
|
45 |
-
* @return BusinessCreativeFields
|
46 |
-
*/
|
47 |
-
public static function getFieldsEnum() {
|
48 |
-
return BusinessCreativeFields::getInstance();
|
49 |
-
}
|
50 |
-
|
51 |
-
protected static function getReferencedEnums() {
|
52 |
-
$ref_enums = array();
|
53 |
-
return $ref_enums;
|
54 |
-
}
|
55 |
-
|
56 |
-
|
57 |
-
public function getAdPlacementValidationResults(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 |
-
'/ad_placement_validation_results',
|
70 |
-
new AbstractCrudObject(),
|
71 |
-
'EDGE',
|
72 |
-
array(),
|
73 |
-
new TypeChecker($param_types, $enums)
|
74 |
-
);
|
75 |
-
$request->addParams($params);
|
76 |
-
$request->addFields($fields);
|
77 |
-
return $pending ? $request : $request->execute();
|
78 |
-
}
|
79 |
-
|
80 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessCreativeFolder.php
DELETED
@@ -1,262 +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;
|
26 |
-
|
27 |
-
use FacebookAds\ApiRequest;
|
28 |
-
use FacebookAds\Cursor;
|
29 |
-
use FacebookAds\Http\RequestInterface;
|
30 |
-
use FacebookAds\TypeChecker;
|
31 |
-
use FacebookAds\Object\Fields\BusinessCreativeFolderFields;
|
32 |
-
use FacebookAds\Object\Values\BusinessCreativeFolderPermittedTasksValues;
|
33 |
-
use FacebookAds\Object\Values\BusinessCreativeFolderTasksValues;
|
34 |
-
|
35 |
-
/**
|
36 |
-
* This class is auto-generated.
|
37 |
-
*
|
38 |
-
* For any issues or feature requests related to this class, please let us know
|
39 |
-
* on github and we'll fix in our codegen framework. We'll not be able to accept
|
40 |
-
* pull request for this class.
|
41 |
-
*
|
42 |
-
*/
|
43 |
-
|
44 |
-
class BusinessCreativeFolder extends AbstractCrudObject {
|
45 |
-
|
46 |
-
/**
|
47 |
-
* @deprecated getEndpoint function is deprecated
|
48 |
-
*/
|
49 |
-
protected function getEndpoint() {
|
50 |
-
return 'creative_folders';
|
51 |
-
}
|
52 |
-
|
53 |
-
/**
|
54 |
-
* @return BusinessCreativeFolderFields
|
55 |
-
*/
|
56 |
-
public static function getFieldsEnum() {
|
57 |
-
return BusinessCreativeFolderFields::getInstance();
|
58 |
-
}
|
59 |
-
|
60 |
-
protected static function getReferencedEnums() {
|
61 |
-
$ref_enums = array();
|
62 |
-
$ref_enums['PermittedTasks'] = BusinessCreativeFolderPermittedTasksValues::getInstance()->getValues();
|
63 |
-
$ref_enums['Tasks'] = BusinessCreativeFolderTasksValues::getInstance()->getValues();
|
64 |
-
return $ref_enums;
|
65 |
-
}
|
66 |
-
|
67 |
-
|
68 |
-
public function getAgencies(array $fields = array(), array $params = array(), $pending = false) {
|
69 |
-
$this->assureId();
|
70 |
-
|
71 |
-
$param_types = array(
|
72 |
-
);
|
73 |
-
$enums = array(
|
74 |
-
);
|
75 |
-
|
76 |
-
$request = new ApiRequest(
|
77 |
-
$this->api,
|
78 |
-
$this->data['id'],
|
79 |
-
RequestInterface::METHOD_GET,
|
80 |
-
'/agencies',
|
81 |
-
new Business(),
|
82 |
-
'EDGE',
|
83 |
-
Business::getFieldsEnum()->getValues(),
|
84 |
-
new TypeChecker($param_types, $enums)
|
85 |
-
);
|
86 |
-
$request->addParams($params);
|
87 |
-
$request->addFields($fields);
|
88 |
-
return $pending ? $request : $request->execute();
|
89 |
-
}
|
90 |
-
|
91 |
-
public function createAgency(array $fields = array(), array $params = array(), $pending = false) {
|
92 |
-
$this->assureId();
|
93 |
-
|
94 |
-
$param_types = array(
|
95 |
-
'business' => 'string',
|
96 |
-
'permitted_tasks' => 'list<permitted_tasks_enum>',
|
97 |
-
);
|
98 |
-
$enums = array(
|
99 |
-
'permitted_tasks_enum' => BusinessCreativeFolderPermittedTasksValues::getInstance()->getValues(),
|
100 |
-
);
|
101 |
-
|
102 |
-
$request = new ApiRequest(
|
103 |
-
$this->api,
|
104 |
-
$this->data['id'],
|
105 |
-
RequestInterface::METHOD_POST,
|
106 |
-
'/agencies',
|
107 |
-
new BusinessCreativeFolder(),
|
108 |
-
'EDGE',
|
109 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
110 |
-
new TypeChecker($param_types, $enums)
|
111 |
-
);
|
112 |
-
$request->addParams($params);
|
113 |
-
$request->addFields($fields);
|
114 |
-
return $pending ? $request : $request->execute();
|
115 |
-
}
|
116 |
-
|
117 |
-
public function getAssignedUsers(array $fields = array(), array $params = array(), $pending = false) {
|
118 |
-
$this->assureId();
|
119 |
-
|
120 |
-
$param_types = array(
|
121 |
-
'business' => 'string',
|
122 |
-
);
|
123 |
-
$enums = array(
|
124 |
-
);
|
125 |
-
|
126 |
-
$request = new ApiRequest(
|
127 |
-
$this->api,
|
128 |
-
$this->data['id'],
|
129 |
-
RequestInterface::METHOD_GET,
|
130 |
-
'/assigned_users',
|
131 |
-
new AssignedUser(),
|
132 |
-
'EDGE',
|
133 |
-
AssignedUser::getFieldsEnum()->getValues(),
|
134 |
-
new TypeChecker($param_types, $enums)
|
135 |
-
);
|
136 |
-
$request->addParams($params);
|
137 |
-
$request->addFields($fields);
|
138 |
-
return $pending ? $request : $request->execute();
|
139 |
-
}
|
140 |
-
|
141 |
-
public function createAssignedUser(array $fields = array(), array $params = array(), $pending = false) {
|
142 |
-
$this->assureId();
|
143 |
-
|
144 |
-
$param_types = array(
|
145 |
-
'tasks' => 'list<tasks_enum>',
|
146 |
-
'user' => 'int',
|
147 |
-
);
|
148 |
-
$enums = array(
|
149 |
-
'tasks_enum' => BusinessCreativeFolderTasksValues::getInstance()->getValues(),
|
150 |
-
);
|
151 |
-
|
152 |
-
$request = new ApiRequest(
|
153 |
-
$this->api,
|
154 |
-
$this->data['id'],
|
155 |
-
RequestInterface::METHOD_POST,
|
156 |
-
'/assigned_users',
|
157 |
-
new BusinessCreativeFolder(),
|
158 |
-
'EDGE',
|
159 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
160 |
-
new TypeChecker($param_types, $enums)
|
161 |
-
);
|
162 |
-
$request->addParams($params);
|
163 |
-
$request->addFields($fields);
|
164 |
-
return $pending ? $request : $request->execute();
|
165 |
-
}
|
166 |
-
|
167 |
-
public function getSubFolders(array $fields = array(), array $params = array(), $pending = false) {
|
168 |
-
$this->assureId();
|
169 |
-
|
170 |
-
$param_types = array(
|
171 |
-
);
|
172 |
-
$enums = array(
|
173 |
-
);
|
174 |
-
|
175 |
-
$request = new ApiRequest(
|
176 |
-
$this->api,
|
177 |
-
$this->data['id'],
|
178 |
-
RequestInterface::METHOD_GET,
|
179 |
-
'/subfolders',
|
180 |
-
new BusinessCreativeFolder(),
|
181 |
-
'EDGE',
|
182 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
183 |
-
new TypeChecker($param_types, $enums)
|
184 |
-
);
|
185 |
-
$request->addParams($params);
|
186 |
-
$request->addFields($fields);
|
187 |
-
return $pending ? $request : $request->execute();
|
188 |
-
}
|
189 |
-
|
190 |
-
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
191 |
-
$this->assureId();
|
192 |
-
|
193 |
-
$param_types = array(
|
194 |
-
);
|
195 |
-
$enums = array(
|
196 |
-
);
|
197 |
-
|
198 |
-
$request = new ApiRequest(
|
199 |
-
$this->api,
|
200 |
-
$this->data['id'],
|
201 |
-
RequestInterface::METHOD_DELETE,
|
202 |
-
'/',
|
203 |
-
new AbstractCrudObject(),
|
204 |
-
'NODE',
|
205 |
-
array(),
|
206 |
-
new TypeChecker($param_types, $enums)
|
207 |
-
);
|
208 |
-
$request->addParams($params);
|
209 |
-
$request->addFields($fields);
|
210 |
-
return $pending ? $request : $request->execute();
|
211 |
-
}
|
212 |
-
|
213 |
-
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
214 |
-
$this->assureId();
|
215 |
-
|
216 |
-
$param_types = array(
|
217 |
-
);
|
218 |
-
$enums = array(
|
219 |
-
);
|
220 |
-
|
221 |
-
$request = new ApiRequest(
|
222 |
-
$this->api,
|
223 |
-
$this->data['id'],
|
224 |
-
RequestInterface::METHOD_GET,
|
225 |
-
'/',
|
226 |
-
new BusinessCreativeFolder(),
|
227 |
-
'NODE',
|
228 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
229 |
-
new TypeChecker($param_types, $enums)
|
230 |
-
);
|
231 |
-
$request->addParams($params);
|
232 |
-
$request->addFields($fields);
|
233 |
-
return $pending ? $request : $request->execute();
|
234 |
-
}
|
235 |
-
|
236 |
-
public function updateSelf(array $fields = array(), array $params = array(), $pending = false) {
|
237 |
-
$this->assureId();
|
238 |
-
|
239 |
-
$param_types = array(
|
240 |
-
'creative_insight_permissions' => 'map',
|
241 |
-
'description' => 'string',
|
242 |
-
'name' => 'string',
|
243 |
-
);
|
244 |
-
$enums = array(
|
245 |
-
);
|
246 |
-
|
247 |
-
$request = new ApiRequest(
|
248 |
-
$this->api,
|
249 |
-
$this->data['id'],
|
250 |
-
RequestInterface::METHOD_POST,
|
251 |
-
'/',
|
252 |
-
new BusinessCreativeFolder(),
|
253 |
-
'NODE',
|
254 |
-
BusinessCreativeFolder::getFieldsEnum()->getValues(),
|
255 |
-
new TypeChecker($param_types, $enums)
|
256 |
-
);
|
257 |
-
$request->addParams($params);
|
258 |
-
$request->addFields($fields);
|
259 |
-
return $pending ? $request : $request->execute();
|
260 |
-
}
|
261 |
-
|
262 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessImage.php
DELETED
@@ -1,245 +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;
|
26 |
-
|
27 |
-
use FacebookAds\ApiRequest;
|
28 |
-
use FacebookAds\Cursor;
|
29 |
-
use FacebookAds\Http\RequestInterface;
|
30 |
-
use FacebookAds\TypeChecker;
|
31 |
-
use FacebookAds\Object\Fields\BusinessImageFields;
|
32 |
-
use FacebookAds\Object\Values\BusinessImageValidationAdPlacementsValues;
|
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 BusinessImage extends AbstractCrudObject {
|
44 |
-
|
45 |
-
/**
|
46 |
-
* @deprecated getEndpoint function is deprecated
|
47 |
-
*/
|
48 |
-
protected function getEndpoint() {
|
49 |
-
return 'images';
|
50 |
-
}
|
51 |
-
|
52 |
-
/**
|
53 |
-
* @return BusinessImageFields
|
54 |
-
*/
|
55 |
-
public static function getFieldsEnum() {
|
56 |
-
return BusinessImageFields::getInstance();
|
57 |
-
}
|
58 |
-
|
59 |
-
protected static function getReferencedEnums() {
|
60 |
-
$ref_enums = array();
|
61 |
-
$ref_enums['ValidationAdPlacements'] = BusinessImageValidationAdPlacementsValues::getInstance()->getValues();
|
62 |
-
return $ref_enums;
|
63 |
-
}
|
64 |
-
|
65 |
-
|
66 |
-
public function getAdPlacementValidationResults(array $fields = array(), array $params = array(), $pending = false) {
|
67 |
-
$this->assureId();
|
68 |
-
|
69 |
-
$param_types = array(
|
70 |
-
);
|
71 |
-
$enums = array(
|
72 |
-
);
|
73 |
-
|
74 |
-
$request = new ApiRequest(
|
75 |
-
$this->api,
|
76 |
-
$this->data['id'],
|
77 |
-
RequestInterface::METHOD_GET,
|
78 |
-
'/ad_placement_validation_results',
|
79 |
-
new AbstractCrudObject(),
|
80 |
-
'EDGE',
|
81 |
-
array(),
|
82 |
-
new TypeChecker($param_types, $enums)
|
83 |
-
);
|
84 |
-
$request->addParams($params);
|
85 |
-
$request->addFields($fields);
|
86 |
-
return $pending ? $request : $request->execute();
|
87 |
-
}
|
88 |
-
|
89 |
-
public function deleteCreativeAssetTags(array $fields = array(), array $params = array(), $pending = false) {
|
90 |
-
$this->assureId();
|
91 |
-
|
92 |
-
$param_types = array(
|
93 |
-
'business_id' => 'string',
|
94 |
-
'tag_name' => 'string',
|
95 |
-
);
|
96 |
-
$enums = array(
|
97 |
-
);
|
98 |
-
|
99 |
-
$request = new ApiRequest(
|
100 |
-
$this->api,
|
101 |
-
$this->data['id'],
|
102 |
-
RequestInterface::METHOD_DELETE,
|
103 |
-
'/creative_asset_tags',
|
104 |
-
new AbstractCrudObject(),
|
105 |
-
'EDGE',
|
106 |
-
array(),
|
107 |
-
new TypeChecker($param_types, $enums)
|
108 |
-
);
|
109 |
-
$request->addParams($params);
|
110 |
-
$request->addFields($fields);
|
111 |
-
return $pending ? $request : $request->execute();
|
112 |
-
}
|
113 |
-
|
114 |
-
public function getCreativeAssetTags(array $fields = array(), array $params = array(), $pending = false) {
|
115 |
-
$this->assureId();
|
116 |
-
|
117 |
-
$param_types = array(
|
118 |
-
'business_id' => 'string',
|
119 |
-
);
|
120 |
-
$enums = array(
|
121 |
-
);
|
122 |
-
|
123 |
-
$request = new ApiRequest(
|
124 |
-
$this->api,
|
125 |
-
$this->data['id'],
|
126 |
-
RequestInterface::METHOD_GET,
|
127 |
-
'/creative_asset_tags',
|
128 |
-
new CreativeAssetTag(),
|
129 |
-
'EDGE',
|
130 |
-
CreativeAssetTag::getFieldsEnum()->getValues(),
|
131 |
-
new TypeChecker($param_types, $enums)
|
132 |
-
);
|
133 |
-
$request->addParams($params);
|
134 |
-
$request->addFields($fields);
|
135 |
-
return $pending ? $request : $request->execute();
|
136 |
-
}
|
137 |
-
|
138 |
-
public function createCreativeAssetTag(array $fields = array(), array $params = array(), $pending = false) {
|
139 |
-
$this->assureId();
|
140 |
-
|
141 |
-
$param_types = array(
|
142 |
-
'business_id' => 'string',
|
143 |
-
'tag_name' => 'string',
|
144 |
-
);
|
145 |
-
$enums = array(
|
146 |
-
);
|
147 |
-
|
148 |
-
$request = new ApiRequest(
|
149 |
-
$this->api,
|
150 |
-
$this->data['id'],
|
151 |
-
RequestInterface::METHOD_POST,
|
152 |
-
'/creative_asset_tags',
|
153 |
-
new BusinessImage(),
|
154 |
-
'EDGE',
|
155 |
-
BusinessImage::getFieldsEnum()->getValues(),
|
156 |
-
new TypeChecker($param_types, $enums)
|
157 |
-
);
|
158 |
-
$request->addParams($params);
|
159 |
-
$request->addFields($fields);
|
160 |
-
return $pending ? $request : $request->execute();
|
161 |
-
}
|
162 |
-
|
163 |
-
public function getInsights(array $fields = array(), array $params = array(), $pending = false) {
|
164 |
-
$this->assureId();
|
165 |
-
|
166 |
-
$param_types = array(
|
167 |
-
'breakdowns' => 'list<breakdowns_enum>',
|
168 |
-
'time_range' => 'Object',
|
169 |
-
);
|
170 |
-
$enums = array(
|
171 |
-
'breakdowns_enum' => array(
|
172 |
-
'ad_id',
|
173 |
-
'age',
|
174 |
-
'country',
|
175 |
-
'device_platform',
|
176 |
-
'gender',
|
177 |
-
'objective',
|
178 |
-
'optimization_goal',
|
179 |
-
'platform_position',
|
180 |
-
'publisher_platform',
|
181 |
-
),
|
182 |
-
);
|
183 |
-
|
184 |
-
$request = new ApiRequest(
|
185 |
-
$this->api,
|
186 |
-
$this->data['id'],
|
187 |
-
RequestInterface::METHOD_GET,
|
188 |
-
'/insights',
|
189 |
-
new AbstractCrudObject(),
|
190 |
-
'EDGE',
|
191 |
-
array(),
|
192 |
-
new TypeChecker($param_types, $enums)
|
193 |
-
);
|
194 |
-
$request->addParams($params);
|
195 |
-
$request->addFields($fields);
|
196 |
-
return $pending ? $request : $request->execute();
|
197 |
-
}
|
198 |
-
|
199 |
-
public function deleteSelf(array $fields = array(), array $params = array(), $pending = false) {
|
200 |
-
$this->assureId();
|
201 |
-
|
202 |
-
$param_types = array(
|
203 |
-
);
|
204 |
-
$enums = array(
|
205 |
-
);
|
206 |
-
|
207 |
-
$request = new ApiRequest(
|
208 |
-
$this->api,
|
209 |
-
$this->data['id'],
|
210 |
-
RequestInterface::METHOD_DELETE,
|
211 |
-
'/',
|
212 |
-
new AbstractCrudObject(),
|
213 |
-
'NODE',
|
214 |
-
array(),
|
215 |
-
new TypeChecker($param_types, $enums)
|
216 |
-
);
|
217 |
-
$request->addParams($params);
|
218 |
-
$request->addFields($fields);
|
219 |
-
return $pending ? $request : $request->execute();
|
220 |
-
}
|
221 |
-
|
222 |
-
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
223 |
-
$this->assureId();
|
224 |
-
|
225 |
-
$param_types = array(
|
226 |
-
);
|
227 |
-
$enums = array(
|
228 |
-
);
|
229 |
-
|
230 |
-
$request = new ApiRequest(
|
231 |
-
$this->api,
|
232 |
-
$this->data['id'],
|
233 |
-
RequestInterface::METHOD_GET,
|
234 |
-
'/',
|
235 |
-
new BusinessImage(),
|
236 |
-
'NODE',
|
237 |
-
BusinessImage::getFieldsEnum()->getValues(),
|
238 |
-
new TypeChecker($param_types, $enums)
|
239 |
-
);
|
240 |
-
$request->addParams($params);
|
241 |
-
$request->addFields($fields);
|
242 |
-
return $pending ? $request : $request->execute();
|
243 |
-
}
|
244 |
-
|
245 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUnit.php
CHANGED
@@ -215,7 +215,7 @@ class BusinessUnit extends AbstractCrudObject {
|
|
215 |
|
216 |
$param_types = array(
|
217 |
'click_lookback_window' => 'unsigned int',
|
218 |
-
'date_range' => '
|
219 |
'fb_conversion_event_id' => 'unsigned int',
|
220 |
'limit' => 'unsigned int',
|
221 |
'metric_context' => 'map',
|
215 |
|
216 |
$param_types = array(
|
217 |
'click_lookback_window' => 'unsigned int',
|
218 |
+
'date_range' => 'map',
|
219 |
'fb_conversion_event_id' => 'unsigned int',
|
220 |
'limit' => 'unsigned int',
|
221 |
'metric_context' => 'map',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{IterativeSplitTestConfig.php → CPASAdvertiserPartnershipRecommendation.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\
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\IterativeSplitTestConfigFields;
|
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
-
class
|
43 |
|
44 |
/**
|
45 |
-
* @return
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
-
return
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
@@ -67,9 +67,9 @@ class IterativeSplitTestConfig extends AbstractCrudObject {
|
|
67 |
$this->data['id'],
|
68 |
RequestInterface::METHOD_GET,
|
69 |
'/',
|
70 |
-
new
|
71 |
'NODE',
|
72 |
-
|
73 |
new TypeChecker($param_types, $enums)
|
74 |
);
|
75 |
$request->addParams($params);
|
28 |
use FacebookAds\Cursor;
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\CPASAdvertiserPartnershipRecommendationFields;
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
+
class CPASAdvertiserPartnershipRecommendation extends AbstractCrudObject {
|
43 |
|
44 |
/**
|
45 |
+
* @return CPASAdvertiserPartnershipRecommendationFields
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
+
return CPASAdvertiserPartnershipRecommendationFields::getInstance();
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
67 |
$this->data['id'],
|
68 |
RequestInterface::METHOD_GET,
|
69 |
'/',
|
70 |
+
new CPASAdvertiserPartnershipRecommendation(),
|
71 |
'NODE',
|
72 |
+
CPASAdvertiserPartnershipRecommendation::getFieldsEnum()->getValues(),
|
73 |
new TypeChecker($param_types, $enums)
|
74 |
);
|
75 |
$request->addParams($params);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{BusinessCreativeFolderSharingAgreement.php → CPASCollaborationRequest.php}
RENAMED
@@ -28,8 +28,8 @@ use FacebookAds\ApiRequest;
|
|
28 |
use FacebookAds\Cursor;
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
-
use FacebookAds\Object\Fields\
|
32 |
-
use FacebookAds\Object\Values\
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
@@ -40,18 +40,25 @@ use FacebookAds\Object\Values\BusinessCreativeFolderSharingAgreementRequestStatu
|
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
-
class
|
44 |
|
45 |
/**
|
46 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
*/
|
48 |
public static function getFieldsEnum() {
|
49 |
-
return
|
50 |
}
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
-
$ref_enums['
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
@@ -69,9 +76,9 @@ class BusinessCreativeFolderSharingAgreement extends AbstractCrudObject {
|
|
69 |
$this->data['id'],
|
70 |
RequestInterface::METHOD_GET,
|
71 |
'/',
|
72 |
-
new
|
73 |
'NODE',
|
74 |
-
|
75 |
new TypeChecker($param_types, $enums)
|
76 |
);
|
77 |
$request->addParams($params);
|
28 |
use FacebookAds\Cursor;
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
+
use FacebookAds\Object\Fields\CPASCollaborationRequestFields;
|
32 |
+
use FacebookAds\Object\Values\CPASCollaborationRequestRequesterAgencyOrBrandValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
40 |
*
|
41 |
*/
|
42 |
|
43 |
+
class CPASCollaborationRequest extends AbstractCrudObject {
|
44 |
|
45 |
/**
|
46 |
+
* @deprecated getEndpoint function is deprecated
|
47 |
+
*/
|
48 |
+
protected function getEndpoint() {
|
49 |
+
return 'collaborative_ads_collaboration_requests';
|
50 |
+
}
|
51 |
+
|
52 |
+
/**
|
53 |
+
* @return CPASCollaborationRequestFields
|
54 |
*/
|
55 |
public static function getFieldsEnum() {
|
56 |
+
return CPASCollaborationRequestFields::getInstance();
|
57 |
}
|
58 |
|
59 |
protected static function getReferencedEnums() {
|
60 |
$ref_enums = array();
|
61 |
+
$ref_enums['RequesterAgencyOrBrand'] = CPASCollaborationRequestRequesterAgencyOrBrandValues::getInstance()->getValues();
|
62 |
return $ref_enums;
|
63 |
}
|
64 |
|
76 |
$this->data['id'],
|
77 |
RequestInterface::METHOD_GET,
|
78 |
'/',
|
79 |
+
new CPASCollaborationRequest(),
|
80 |
'NODE',
|
81 |
+
CPASCollaborationRequest::getFieldsEnum()->getValues(),
|
82 |
new TypeChecker($param_types, $enums)
|
83 |
);
|
84 |
$request->addParams($params);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php
CHANGED
@@ -47,6 +47,7 @@ use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
|
|
47 |
use FacebookAds\Object\Values\CampaignObjectiveValues;
|
48 |
use FacebookAds\Object\Values\CampaignOperatorValues;
|
49 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
|
|
|
50 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoryValues;
|
51 |
use FacebookAds\Object\Values\CampaignStatusOptionValues;
|
52 |
use FacebookAds\Object\Values\CampaignStatusValues;
|
@@ -93,6 +94,7 @@ class Campaign extends AbstractArchivableCrudObject {
|
|
93 |
$ref_enums['ExecutionOptions'] = CampaignExecutionOptionsValues::getInstance()->getValues();
|
94 |
$ref_enums['Objective'] = CampaignObjectiveValues::getInstance()->getValues();
|
95 |
$ref_enums['SpecialAdCategories'] = CampaignSpecialAdCategoriesValues::getInstance()->getValues();
|
|
|
96 |
$ref_enums['Operator'] = CampaignOperatorValues::getInstance()->getValues();
|
97 |
$ref_enums['SpecialAdCategory'] = CampaignSpecialAdCategoryValues::getInstance()->getValues();
|
98 |
$ref_enums['StatusOption'] = CampaignStatusOptionValues::getInstance()->getValues();
|
@@ -509,6 +511,7 @@ class Campaign extends AbstractArchivableCrudObject {
|
|
509 |
'promoted_object' => 'Object',
|
510 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
511 |
'special_ad_category' => 'special_ad_category_enum',
|
|
|
512 |
'spend_cap' => 'unsigned int',
|
513 |
'status' => 'status_enum',
|
514 |
'upstream_events' => 'map',
|
@@ -519,6 +522,7 @@ class Campaign extends AbstractArchivableCrudObject {
|
|
519 |
'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
|
520 |
'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
|
521 |
'special_ad_category_enum' => CampaignSpecialAdCategoryValues::getInstance()->getValues(),
|
|
|
522 |
'status_enum' => CampaignStatusValues::getInstance()->getValues(),
|
523 |
);
|
524 |
|
47 |
use FacebookAds\Object\Values\CampaignObjectiveValues;
|
48 |
use FacebookAds\Object\Values\CampaignOperatorValues;
|
49 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
|
50 |
+
use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
|
51 |
use FacebookAds\Object\Values\CampaignSpecialAdCategoryValues;
|
52 |
use FacebookAds\Object\Values\CampaignStatusOptionValues;
|
53 |
use FacebookAds\Object\Values\CampaignStatusValues;
|
94 |
$ref_enums['ExecutionOptions'] = CampaignExecutionOptionsValues::getInstance()->getValues();
|
95 |
$ref_enums['Objective'] = CampaignObjectiveValues::getInstance()->getValues();
|
96 |
$ref_enums['SpecialAdCategories'] = CampaignSpecialAdCategoriesValues::getInstance()->getValues();
|
97 |
+
$ref_enums['SpecialAdCategoryCountry'] = CampaignSpecialAdCategoryCountryValues::getInstance()->getValues();
|
98 |
$ref_enums['Operator'] = CampaignOperatorValues::getInstance()->getValues();
|
99 |
$ref_enums['SpecialAdCategory'] = CampaignSpecialAdCategoryValues::getInstance()->getValues();
|
100 |
$ref_enums['StatusOption'] = CampaignStatusOptionValues::getInstance()->getValues();
|
511 |
'promoted_object' => 'Object',
|
512 |
'special_ad_categories' => 'list<special_ad_categories_enum>',
|
513 |
'special_ad_category' => 'special_ad_category_enum',
|
514 |
+
'special_ad_category_country' => 'list<special_ad_category_country_enum>',
|
515 |
'spend_cap' => 'unsigned int',
|
516 |
'status' => 'status_enum',
|
517 |
'upstream_events' => 'map',
|
522 |
'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
|
523 |
'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
|
524 |
'special_ad_category_enum' => CampaignSpecialAdCategoryValues::getInstance()->getValues(),
|
525 |
+
'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
|
526 |
'status_enum' => CampaignStatusValues::getInstance()->getValues(),
|
527 |
);
|
528 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{ClientTransparencyStatus.php → CatalogSubVerticalList.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\
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\ClientTransparencyStatusFields;
|
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
-
class
|
43 |
|
44 |
/**
|
45 |
-
* @return
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
-
return
|
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\CatalogSubVerticalListFields;
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
+
class CatalogSubVerticalList extends AbstractObject {
|
43 |
|
44 |
/**
|
45 |
+
* @return CatalogSubVerticalListFields
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
+
return CatalogSubVerticalListFields::getInstance();
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\CommerceMerchantSettingsFields;
|
|
|
32 |
use FacebookAds\Object\Values\CommerceMerchantSettingsMerchantStatusValues;
|
33 |
|
34 |
/**
|
@@ -51,6 +52,7 @@ class CommerceMerchantSettings extends AbstractCrudObject {
|
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
|
|
54 |
$ref_enums['MerchantStatus'] = CommerceMerchantSettingsMerchantStatusValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
@@ -254,6 +256,58 @@ class CommerceMerchantSettings extends AbstractCrudObject {
|
|
254 |
return $pending ? $request : $request->execute();
|
255 |
}
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
public function getTaxSettings(array $fields = array(), array $params = array(), $pending = false) {
|
258 |
$this->assureId();
|
259 |
|
@@ -277,6 +331,35 @@ class CommerceMerchantSettings extends AbstractCrudObject {
|
|
277 |
return $pending ? $request : $request->execute();
|
278 |
}
|
279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
281 |
$this->assureId();
|
282 |
|
@@ -305,12 +388,14 @@ class CommerceMerchantSettings extends AbstractCrudObject {
|
|
305 |
|
306 |
$param_types = array(
|
307 |
'contact_email' => 'string',
|
|
|
308 |
'merchant_alert_email' => 'string',
|
309 |
'merchant_status' => 'merchant_status_enum',
|
310 |
'onsite_commerce_merchant' => 'Object',
|
311 |
'terms' => 'string',
|
312 |
);
|
313 |
$enums = array(
|
|
|
314 |
'merchant_status_enum' => CommerceMerchantSettingsMerchantStatusValues::getInstance()->getValues(),
|
315 |
);
|
316 |
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\CommerceMerchantSettingsFields;
|
32 |
+
use FacebookAds\Object\Values\CommerceMerchantSettingsCtaValues;
|
33 |
use FacebookAds\Object\Values\CommerceMerchantSettingsMerchantStatusValues;
|
34 |
|
35 |
/**
|
52 |
|
53 |
protected static function getReferencedEnums() {
|
54 |
$ref_enums = array();
|
55 |
+
$ref_enums['Cta'] = CommerceMerchantSettingsCtaValues::getInstance()->getValues();
|
56 |
$ref_enums['MerchantStatus'] = CommerceMerchantSettingsMerchantStatusValues::getInstance()->getValues();
|
57 |
return $ref_enums;
|
58 |
}
|
256 |
return $pending ? $request : $request->execute();
|
257 |
}
|
258 |
|
259 |
+
public function getShippingProfiles(array $fields = array(), array $params = array(), $pending = false) {
|
260 |
+
$this->assureId();
|
261 |
+
|
262 |
+
$param_types = array(
|
263 |
+
'reference_id' => 'string',
|
264 |
+
);
|
265 |
+
$enums = array(
|
266 |
+
);
|
267 |
+
|
268 |
+
$request = new ApiRequest(
|
269 |
+
$this->api,
|
270 |
+
$this->data['id'],
|
271 |
+
RequestInterface::METHOD_GET,
|
272 |
+
'/shipping_profiles',
|
273 |
+
new AbstractCrudObject(),
|
274 |
+
'EDGE',
|
275 |
+
array(),
|
276 |
+
new TypeChecker($param_types, $enums)
|
277 |
+
);
|
278 |
+
$request->addParams($params);
|
279 |
+
$request->addFields($fields);
|
280 |
+
return $pending ? $request : $request->execute();
|
281 |
+
}
|
282 |
+
|
283 |
+
public function createShippingProfile(array $fields = array(), array $params = array(), $pending = false) {
|
284 |
+
$this->assureId();
|
285 |
+
|
286 |
+
$param_types = array(
|
287 |
+
'handling_time' => 'map',
|
288 |
+
'is_default_shipping_profile' => 'bool',
|
289 |
+
'name' => 'string',
|
290 |
+
'reference_id' => 'string',
|
291 |
+
'shipping_destinations' => 'list<map>',
|
292 |
+
);
|
293 |
+
$enums = array(
|
294 |
+
);
|
295 |
+
|
296 |
+
$request = new ApiRequest(
|
297 |
+
$this->api,
|
298 |
+
$this->data['id'],
|
299 |
+
RequestInterface::METHOD_POST,
|
300 |
+
'/shipping_profiles',
|
301 |
+
new AbstractCrudObject(),
|
302 |
+
'EDGE',
|
303 |
+
array(),
|
304 |
+
new TypeChecker($param_types, $enums)
|
305 |
+
);
|
306 |
+
$request->addParams($params);
|
307 |
+
$request->addFields($fields);
|
308 |
+
return $pending ? $request : $request->execute();
|
309 |
+
}
|
310 |
+
|
311 |
public function getTaxSettings(array $fields = array(), array $params = array(), $pending = false) {
|
312 |
$this->assureId();
|
313 |
|
331 |
return $pending ? $request : $request->execute();
|
332 |
}
|
333 |
|
334 |
+
public function createWhatsappChannel(array $fields = array(), array $params = array(), $pending = false) {
|
335 |
+
$this->assureId();
|
336 |
+
|
337 |
+
$param_types = array(
|
338 |
+
'op' => 'op_enum',
|
339 |
+
'whatsapp_business_accounts' => 'list<string>',
|
340 |
+
);
|
341 |
+
$enums = array(
|
342 |
+
'op_enum' => array(
|
343 |
+
'ADD',
|
344 |
+
'REMOVE',
|
345 |
+
),
|
346 |
+
);
|
347 |
+
|
348 |
+
$request = new ApiRequest(
|
349 |
+
$this->api,
|
350 |
+
$this->data['id'],
|
351 |
+
RequestInterface::METHOD_POST,
|
352 |
+
'/whatsapp_channel',
|
353 |
+
new AbstractCrudObject(),
|
354 |
+
'EDGE',
|
355 |
+
array(),
|
356 |
+
new TypeChecker($param_types, $enums)
|
357 |
+
);
|
358 |
+
$request->addParams($params);
|
359 |
+
$request->addFields($fields);
|
360 |
+
return $pending ? $request : $request->execute();
|
361 |
+
}
|
362 |
+
|
363 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
364 |
$this->assureId();
|
365 |
|
388 |
|
389 |
$param_types = array(
|
390 |
'contact_email' => 'string',
|
391 |
+
'cta' => 'cta_enum',
|
392 |
'merchant_alert_email' => 'string',
|
393 |
'merchant_status' => 'merchant_status_enum',
|
394 |
'onsite_commerce_merchant' => 'Object',
|
395 |
'terms' => 'string',
|
396 |
);
|
397 |
$enums = array(
|
398 |
+
'cta_enum' => CommerceMerchantSettingsCtaValues::getInstance()->getValues(),
|
399 |
'merchant_status_enum' => CommerceMerchantSettingsMerchantStatusValues::getInstance()->getValues(),
|
400 |
);
|
401 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrder.php
CHANGED
@@ -66,6 +66,7 @@ class CommerceOrder extends AbstractCrudObject {
|
|
66 |
$param_types = array(
|
67 |
'idempotency_key' => 'string',
|
68 |
'merchant_order_reference' => 'string',
|
|
|
69 |
);
|
70 |
$enums = array(
|
71 |
);
|
@@ -181,6 +182,29 @@ class CommerceOrder extends AbstractCrudObject {
|
|
181 |
return $pending ? $request : $request->execute();
|
182 |
}
|
183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
public function getPromotions(array $fields = array(), array $params = array(), $pending = false) {
|
185 |
$this->assureId();
|
186 |
|
66 |
$param_types = array(
|
67 |
'idempotency_key' => 'string',
|
68 |
'merchant_order_reference' => 'string',
|
69 |
+
'return_error_response' => 'bool',
|
70 |
);
|
71 |
$enums = array(
|
72 |
);
|
182 |
return $pending ? $request : $request->execute();
|
183 |
}
|
184 |
|
185 |
+
public function getPromotionDetails(array $fields = array(), array $params = array(), $pending = false) {
|
186 |
+
$this->assureId();
|
187 |
+
|
188 |
+
$param_types = array(
|
189 |
+
);
|
190 |
+
$enums = array(
|
191 |
+
);
|
192 |
+
|
193 |
+
$request = new ApiRequest(
|
194 |
+
$this->api,
|
195 |
+
$this->data['id'],
|
196 |
+
RequestInterface::METHOD_GET,
|
197 |
+
'/promotion_details',
|
198 |
+
new AbstractCrudObject(),
|
199 |
+
'EDGE',
|
200 |
+
array(),
|
201 |
+
new TypeChecker($param_types, $enums)
|
202 |
+
);
|
203 |
+
$request->addParams($params);
|
204 |
+
$request->addFields($fields);
|
205 |
+
return $pending ? $request : $request->execute();
|
206 |
+
}
|
207 |
+
|
208 |
public function getPromotions(array $fields = array(), array $params = array(), $pending = false) {
|
209 |
$this->assureId();
|
210 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceOrderTransactionDetail.php
CHANGED
@@ -54,6 +54,29 @@ class CommerceOrderTransactionDetail extends AbstractCrudObject {
|
|
54 |
}
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
public function getTaxDetails(array $fields = array(), array $params = array(), $pending = false) {
|
58 |
$this->assureId();
|
59 |
|
54 |
}
|
55 |
|
56 |
|
57 |
+
public function getItems(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 |
+
'/items',
|
70 |
+
new AbstractCrudObject(),
|
71 |
+
'EDGE',
|
72 |
+
array(),
|
73 |
+
new TypeChecker($param_types, $enums)
|
74 |
+
);
|
75 |
+
$request->addParams($params);
|
76 |
+
$request->addFields($fields);
|
77 |
+
return $pending ? $request : $request->execute();
|
78 |
+
}
|
79 |
+
|
80 |
public function getTaxDetails(array $fields = array(), array $params = array(), $pending = false) {
|
81 |
$this->assureId();
|
82 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/{CreativeAssetTag.php → ConnectionsTargeting.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\
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -39,13 +39,13 @@ use FacebookAds\Object\Fields\CreativeAssetTagFields;
|
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
-
class
|
43 |
|
44 |
/**
|
45 |
-
* @return
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
-
return
|
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\ConnectionsTargetingFields;
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
39 |
*
|
40 |
*/
|
41 |
|
42 |
+
class ConnectionsTargeting extends AbstractCrudObject {
|
43 |
|
44 |
/**
|
45 |
+
* @return ConnectionsTargetingFields
|
46 |
*/
|
47 |
public static function getFieldsEnum() {
|
48 |
+
return ConnectionsTargetingFields::getInstance();
|
49 |
}
|
50 |
|
51 |
protected static function getReferencedEnums() {
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/DACheck.php
CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
|
|
29 |
use FacebookAds\Http\RequestInterface;
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\DACheckFields;
|
|
|
32 |
|
33 |
/**
|
34 |
* This class is auto-generated.
|
@@ -50,6 +51,7 @@ class DACheck extends AbstractObject {
|
|
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\DACheckFields;
|
32 |
+
use FacebookAds\Object\Values\DACheckConnectionMethodValues;
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
51 |
|
52 |
protected static function getReferencedEnums() {
|
53 |
$ref_enums = array();
|
54 |
+
$ref_enums['ConnectionMethod'] = DACheckConnectionMethodValues::getInstance()->getValues();
|
55 |
return $ref_enums;
|
56 |
}
|
57 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Event.php
CHANGED
@@ -31,6 +31,7 @@ use FacebookAds\TypeChecker;
|
|
31 |
use FacebookAds\Object\Fields\EventFields;
|
32 |
use FacebookAds\Object\Values\EventCategoryValues;
|
33 |
use FacebookAds\Object\Values\EventEventStateFilterValues;
|
|
|
34 |
use FacebookAds\Object\Values\EventTimeFilterValues;
|
35 |
use FacebookAds\Object\Values\EventTypeValues;
|
36 |
use FacebookAds\Object\Values\LiveVideoProjectionValues;
|
@@ -60,6 +61,7 @@ class Event extends AbstractCrudObject {
|
|
60 |
protected static function getReferencedEnums() {
|
61 |
$ref_enums = array();
|
62 |
$ref_enums['Category'] = EventCategoryValues::getInstance()->getValues();
|
|
|
63 |
$ref_enums['Type'] = EventTypeValues::getInstance()->getValues();
|
64 |
$ref_enums['EventStateFilter'] = EventEventStateFilterValues::getInstance()->getValues();
|
65 |
$ref_enums['TimeFilter'] = EventTimeFilterValues::getInstance()->getValues();
|
@@ -142,6 +144,7 @@ class Event extends AbstractCrudObject {
|
|
142 |
$param_types = array(
|
143 |
'content_tags' => 'list<string>',
|
144 |
'description' => 'string',
|
|
|
145 |
'encoding_settings' => 'string',
|
146 |
'fisheye_video_cropped' => 'bool',
|
147 |
'front_z_rotation' => 'float',
|
@@ -153,7 +156,6 @@ class Event extends AbstractCrudObject {
|
|
153 |
'privacy' => 'string',
|
154 |
'projection' => 'projection_enum',
|
155 |
'published' => 'bool',
|
156 |
-
'save_vod' => 'bool',
|
157 |
'schedule_custom_profile_image' => 'file',
|
158 |
'spatial_audio_format' => 'spatial_audio_format_enum',
|
159 |
'status' => 'status_enum',
|
31 |
use FacebookAds\Object\Fields\EventFields;
|
32 |
use FacebookAds\Object\Values\EventCategoryValues;
|
33 |
use FacebookAds\Object\Values\EventEventStateFilterValues;
|
34 |
+
use FacebookAds\Object\Values\EventOnlineEventFormatValues;
|
35 |
use FacebookAds\Object\Values\EventTimeFilterValues;
|
36 |
use FacebookAds\Object\Values\EventTypeValues;
|
37 |
use FacebookAds\Object\Values\LiveVideoProjectionValues;
|
61 |
protected static function getReferencedEnums() {
|
62 |
$ref_enums = array();
|
63 |
$ref_enums['Category'] = EventCategoryValues::getInstance()->getValues();
|
64 |
+
$ref_enums['OnlineEventFormat'] = EventOnlineEventFormatValues::getInstance()->getValues();
|
65 |
$ref_enums['Type'] = EventTypeValues::getInstance()->getValues();
|
66 |
$ref_enums['EventStateFilter'] = EventEventStateFilterValues::getInstance()->getValues();
|
67 |
$ref_enums['TimeFilter'] = EventTimeFilterValues::getInstance()->getValues();
|
144 |
$param_types = array(
|
145 |
'content_tags' => 'list<string>',
|
146 |
'description' => 'string',
|
147 |
+
'enable_backup_ingest' => 'bool',
|
148 |
'encoding_settings' => 'string',
|
149 |
'fisheye_video_cropped' => 'bool',
|
150 |
'front_z_rotation' => 'float',
|
156 |
'privacy' => 'string',
|
157 |
'projection' => 'projection_enum',
|
158 |
'published' => 'bool',
|
|
|
159 |
'schedule_custom_profile_image' => 'file',
|
160 |
'spatial_audio_format' => 'spatial_audio_format_enum',
|
161 |
'status' => 'status_enum',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExtendedCredit.php
CHANGED
@@ -160,6 +160,31 @@ class ExtendedCredit extends AbstractCrudObject {
|
|
160 |
return $pending ? $request : $request->execute();
|
161 |
}
|
162 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
164 |
$this->assureId();
|
165 |
|
160 |
return $pending ? $request : $request->execute();
|
161 |
}
|
162 |
|
163 |
+
public function createWhatsappCreditSharingAndAttach(array $fields = array(), array $params = array(), $pending = false) {
|
164 |
+
$this->assureId();
|
165 |
+
|
166 |
+
$param_types = array(
|
167 |
+
'waba_currency' => 'string',
|
168 |
+
'waba_id' => 'string',
|
169 |
+
);
|
170 |
+
$enums = array(
|
171 |
+
);
|
172 |
+
|
173 |
+
$request = new ApiRequest(
|
174 |
+
$this->api,
|
175 |
+
$this->data['id'],
|
176 |
+
RequestInterface::METHOD_POST,
|
177 |
+
'/whatsapp_credit_sharing_and_attach',
|
178 |
+
new AbstractCrudObject(),
|
179 |
+
'EDGE',
|
180 |
+
array(),
|
181 |
+
new TypeChecker($param_types, $enums)
|
182 |
+
);
|
183 |
+
$request->addParams($params);
|
184 |
+
$request->addFields($fields);
|
185 |
+
return $pending ? $request : $request->execute();
|
186 |
+
}
|
187 |
+
|
188 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
189 |
$this->assureId();
|
190 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/ExternalEventSource.php
CHANGED
@@ -61,27 +61,4 @@ class ExternalEventSource extends AbstractCrudObject {
|
|
61 |
}
|
62 |
|
63 |
|
64 |
-
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
65 |
-
$this->assureId();
|
66 |
-
|
67 |
-
$param_types = array(
|
68 |
-
);
|
69 |
-
$enums = array(
|
70 |
-
);
|
71 |
-
|
72 |
-
$request = new ApiRequest(
|
73 |
-
$this->api,
|
74 |
-
$this->data['id'],
|
75 |
-
RequestInterface::METHOD_GET,
|
76 |
-
'/',
|
77 |
-
new ExternalEventSource(),
|
78 |
-
'NODE',
|
79 |
-
ExternalEventSource::getFieldsEnum()->getValues(),
|
80 |
-
new TypeChecker($param_types, $enums)
|
81 |
-
);
|
82 |
-
$request->addParams($params);
|
83 |
-
$request->addFields($fields);
|
84 |
-
return $pending ? $request : $request->execute();
|
85 |
-
}
|
86 |
-
|
87 |
}
|
61 |
}
|
62 |
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAccountAdVolumeFields.php
CHANGED
@@ -38,14 +38,32 @@ use FacebookAds\Enum\AbstractEnum;
|
|
38 |
class AdAccountAdVolumeFields extends AbstractEnum {
|
39 |
|
40 |
const ACTOR_ID = 'actor_id';
|
|
|
|
|
|
|
|
|
41 |
const ADS_RUNNING_OR_IN_REVIEW_COUNT = 'ads_running_or_in_review_count';
|
|
|
42 |
const CURRENT_ACCOUNT_ADS_RUNNING_OR_IN_REVIEW_COUNT = 'current_account_ads_running_or_in_review_count';
|
|
|
|
|
|
|
|
|
43 |
|
44 |
public function getFieldTypes() {
|
45 |
return array(
|
46 |
'actor_id' => 'string',
|
|
|
|
|
|
|
|
|
47 |
'ads_running_or_in_review_count' => 'unsigned int',
|
|
|
48 |
'current_account_ads_running_or_in_review_count' => 'unsigned int',
|
|
|
|
|
|
|
|
|
49 |
);
|
50 |
}
|
51 |
}
|
38 |
class AdAccountAdVolumeFields extends AbstractEnum {
|
39 |
|
40 |
const ACTOR_ID = 'actor_id';
|
41 |
+
const ACTOR_NAME = 'actor_name';
|
42 |
+
const AD_LIMIT_SCOPE_BUSINESS = 'ad_limit_scope_business';
|
43 |
+
const AD_LIMIT_SCOPE_BUSINESS_MANAGER_ID = 'ad_limit_scope_business_manager_id';
|
44 |
+
const AD_LIMIT_SET_BY_PAGE_ADMIN = 'ad_limit_set_by_page_admin';
|
45 |
const ADS_RUNNING_OR_IN_REVIEW_COUNT = 'ads_running_or_in_review_count';
|
46 |
+
const ADS_RUNNING_OR_IN_REVIEW_COUNT_SUBJECT_TO_LIMIT_SET_BY_PAGE = 'ads_running_or_in_review_count_subject_to_limit_set_by_page';
|
47 |
const CURRENT_ACCOUNT_ADS_RUNNING_OR_IN_REVIEW_COUNT = 'current_account_ads_running_or_in_review_count';
|
48 |
+
const FUTURE_LIMIT_ACTIVATION_DATE = 'future_limit_activation_date';
|
49 |
+
const FUTURE_LIMIT_ON_ADS_RUNNING_OR_IN_REVIEW = 'future_limit_on_ads_running_or_in_review';
|
50 |
+
const LIMIT_ON_ADS_RUNNING_OR_IN_REVIEW = 'limit_on_ads_running_or_in_review';
|
51 |
+
const RECOMMENDATIONS = 'recommendations';
|
52 |
|
53 |
public function getFieldTypes() {
|
54 |
return array(
|
55 |
'actor_id' => 'string',
|
56 |
+
'actor_name' => 'string',
|
57 |
+
'ad_limit_scope_business' => 'Business',
|
58 |
+
'ad_limit_scope_business_manager_id' => 'string',
|
59 |
+
'ad_limit_set_by_page_admin' => 'unsigned int',
|
60 |
'ads_running_or_in_review_count' => 'unsigned int',
|
61 |
+
'ads_running_or_in_review_count_subject_to_limit_set_by_page' => 'unsigned int',
|
62 |
'current_account_ads_running_or_in_review_count' => 'unsigned int',
|
63 |
+
'future_limit_activation_date' => 'string',
|
64 |
+
'future_limit_on_ads_running_or_in_review' => 'unsigned int',
|
65 |
+
'limit_on_ads_running_or_in_review' => 'unsigned int',
|
66 |
+
'recommendations' => 'list<Object>',
|
67 |
);
|
68 |
}
|
69 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php
CHANGED
@@ -51,6 +51,7 @@ class AdAssetFeedSpecFields extends AbstractEnum {
|
|
51 |
const IMAGES = 'images';
|
52 |
const LINK_URLS = 'link_urls';
|
53 |
const OPTIMIZATION_TYPE = 'optimization_type';
|
|
|
54 |
const TITLES = 'titles';
|
55 |
const VIDEOS = 'videos';
|
56 |
|
@@ -70,6 +71,7 @@ class AdAssetFeedSpecFields extends AbstractEnum {
|
|
70 |
'images' => 'list<AdAssetFeedSpecImage>',
|
71 |
'link_urls' => 'list<AdAssetFeedSpecLinkURL>',
|
72 |
'optimization_type' => 'string',
|
|
|
73 |
'titles' => 'list<AdAssetFeedSpecTitle>',
|
74 |
'videos' => 'list<AdAssetFeedSpecVideo>',
|
75 |
);
|
51 |
const IMAGES = 'images';
|
52 |
const LINK_URLS = 'link_urls';
|
53 |
const OPTIMIZATION_TYPE = 'optimization_type';
|
54 |
+
const POSTS = 'posts';
|
55 |
const TITLES = 'titles';
|
56 |
const VIDEOS = 'videos';
|
57 |
|
71 |
'images' => 'list<AdAssetFeedSpecImage>',
|
72 |
'link_urls' => 'list<AdAssetFeedSpecLinkURL>',
|
73 |
'optimization_type' => 'string',
|
74 |
+
'posts' => 'list<Object>',
|
75 |
'titles' => 'list<AdAssetFeedSpecTitle>',
|
76 |
'videos' => 'list<AdAssetFeedSpecVideo>',
|
77 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignActivityFields.php
CHANGED
@@ -53,8 +53,6 @@ class AdCampaignActivityFields extends AbstractEnum {
|
|
53 |
const BID_TYPE_OLD = 'bid_type_old';
|
54 |
const BILLING_EVENT_NEW = 'billing_event_new';
|
55 |
const BILLING_EVENT_OLD = 'billing_event_old';
|
56 |
-
const BRANDE_AUDIENCE_ID_NEW = 'brande_audience_id_new';
|
57 |
-
const BRANDE_AUDIENCE_ID_OLD = 'brande_audience_id_old';
|
58 |
const BUDGET_LIMIT_NEW = 'budget_limit_new';
|
59 |
const BUDGET_LIMIT_OLD = 'budget_limit_old';
|
60 |
const CREATED_TIME = 'created_time';
|
@@ -112,8 +110,6 @@ class AdCampaignActivityFields extends AbstractEnum {
|
|
112 |
'bid_type_old' => 'string',
|
113 |
'billing_event_new' => 'BillingEventNew',
|
114 |
'billing_event_old' => 'BillingEventOld',
|
115 |
-
'brande_audience_id_new' => 'BrandAudience',
|
116 |
-
'brande_audience_id_old' => 'BrandAudience',
|
117 |
'budget_limit_new' => 'Object',
|
118 |
'budget_limit_old' => 'Object',
|
119 |
'created_time' => 'datetime',
|
53 |
const BID_TYPE_OLD = 'bid_type_old';
|
54 |
const BILLING_EVENT_NEW = 'billing_event_new';
|
55 |
const BILLING_EVENT_OLD = 'billing_event_old';
|
|
|
|
|
56 |
const BUDGET_LIMIT_NEW = 'budget_limit_new';
|
57 |
const BUDGET_LIMIT_OLD = 'budget_limit_old';
|
58 |
const CREATED_TIME = 'created_time';
|
110 |
'bid_type_old' => 'string',
|
111 |
'billing_event_new' => 'BillingEventNew',
|
112 |
'billing_event_old' => 'BillingEventOld',
|
|
|
|
|
113 |
'budget_limit_new' => 'Object',
|
114 |
'budget_limit_old' => 'Object',
|
115 |
'created_time' => 'datetime',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AtlasURLFields.php → AdCreativeInstagramBrandedContentFields.php}
RENAMED
@@ -35,13 +35,11 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const URL = 'url';
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
44 |
-
'url' => 'string',
|
45 |
);
|
46 |
}
|
47 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class AdCreativeInstagramBrandedContentFields extends AbstractEnum {
|
39 |
|
|
|
40 |
|
41 |
public function getFieldTypes() {
|
42 |
return array(
|
|
|
43 |
);
|
44 |
}
|
45 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeInteractiveComponentsSpecFields.php
CHANGED
@@ -37,10 +37,12 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class AdCreativeInteractiveComponentsSpecFields extends AbstractEnum {
|
39 |
|
|
|
40 |
const COMPONENTS = 'components';
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
|
|
44 |
'components' => 'list<Object>',
|
45 |
);
|
46 |
}
|
37 |
|
38 |
class AdCreativeInteractiveComponentsSpecFields extends AbstractEnum {
|
39 |
|
40 |
+
const CHILD_ATTACHMENTS = 'child_attachments';
|
41 |
const COMPONENTS = 'components';
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
+
'child_attachments' => 'list<Object>',
|
46 |
'components' => 'list<Object>',
|
47 |
);
|
48 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdPlacePageSetFields.php
CHANGED
@@ -43,6 +43,7 @@ class AdPlacePageSetFields extends AbstractEnum {
|
|
43 |
const NAME = 'name';
|
44 |
const PAGES_COUNT = 'pages_count';
|
45 |
const PARENT_PAGE = 'parent_page';
|
|
|
46 |
const TARGETED_AREA_TYPE = 'targeted_area_type';
|
47 |
|
48 |
public function getFieldTypes() {
|
@@ -53,6 +54,7 @@ class AdPlacePageSetFields extends AbstractEnum {
|
|
53 |
'name' => 'string',
|
54 |
'pages_count' => 'int',
|
55 |
'parent_page' => 'Page',
|
|
|
56 |
'targeted_area_type' => 'TargetedAreaType',
|
57 |
);
|
58 |
}
|
43 |
const NAME = 'name';
|
44 |
const PAGES_COUNT = 'pages_count';
|
45 |
const PARENT_PAGE = 'parent_page';
|
46 |
+
const CATEGORY = 'category';
|
47 |
const TARGETED_AREA_TYPE = 'targeted_area_type';
|
48 |
|
49 |
public function getFieldTypes() {
|
54 |
'name' => 'string',
|
55 |
'pages_count' => 'int',
|
56 |
'parent_page' => 'Page',
|
57 |
+
'category' => 'Category',
|
58 |
'targeted_area_type' => 'TargetedAreaType',
|
59 |
);
|
60 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdReportSpecFields.php
CHANGED
@@ -48,7 +48,6 @@ class AdReportSpecFields extends AbstractEnum {
|
|
48 |
const ID = 'id';
|
49 |
const INSIGHTS_SECTION = 'insights_section';
|
50 |
const NAME = 'name';
|
51 |
-
const REPORT_SCHEDULE = 'report_schedule';
|
52 |
const REPORT_SCHEDULE_ID = 'report_schedule_id';
|
53 |
const SORT_BY = 'sort_by';
|
54 |
const SORT_DIR = 'sort_dir';
|
@@ -69,7 +68,6 @@ class AdReportSpecFields extends AbstractEnum {
|
|
69 |
'id' => 'string',
|
70 |
'insights_section' => 'Object',
|
71 |
'name' => 'string',
|
72 |
-
'report_schedule' => 'Object',
|
73 |
'report_schedule_id' => 'string',
|
74 |
'sort_by' => 'string',
|
75 |
'sort_dir' => 'string',
|
48 |
const ID = 'id';
|
49 |
const INSIGHTS_SECTION = 'insights_section';
|
50 |
const NAME = 'name';
|
|
|
51 |
const REPORT_SCHEDULE_ID = 'report_schedule_id';
|
52 |
const SORT_BY = 'sort_by';
|
53 |
const SORT_DIR = 'sort_dir';
|
68 |
'id' => 'string',
|
69 |
'insights_section' => 'Object',
|
70 |
'name' => 'string',
|
|
|
71 |
'report_schedule_id' => 'string',
|
72 |
'sort_by' => 'string',
|
73 |
'sort_dir' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupPlacementSpecificReviewFeedbackFields.php
CHANGED
@@ -39,12 +39,16 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
|
|
39 |
|
40 |
const ACCOUNT_ADMIN = 'account_admin';
|
41 |
const AD = 'ad';
|
|
|
42 |
const B2C = 'b2c';
|
|
|
43 |
const BSG = 'bsg';
|
44 |
const CITY_COMMUNITY = 'city_community';
|
|
|
45 |
const DAILY_DEALS = 'daily_deals';
|
46 |
const DAILY_DEALS_LEGACY = 'daily_deals_legacy';
|
47 |
const DPA = 'dpa';
|
|
|
48 |
const DRI_COUNTERFEIT = 'dri_counterfeit';
|
49 |
const FACEBOOK = 'facebook';
|
50 |
const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
|
@@ -70,12 +74,16 @@ class AdgroupPlacementSpecificReviewFeedbackFields extends AbstractEnum {
|
|
70 |
return array(
|
71 |
'account_admin' => 'map<string, string>',
|
72 |
'ad' => 'map<string, string>',
|
|
|
73 |
'b2c' => 'map<string, string>',
|
|
|
74 |
'bsg' => 'map<string, string>',
|
75 |
'city_community' => 'map<string, string>',
|
|
|
76 |
'daily_deals' => 'map<string, string>',
|
77 |
'daily_deals_legacy' => 'map<string, string>',
|
78 |
'dpa' => 'map<string, string>',
|
|
|
79 |
'dri_counterfeit' => 'map<string, string>',
|
80 |
'facebook' => 'map<string, string>',
|
81 |
'facebook_pages_live_shopping' => 'map<string, string>',
|
39 |
|
40 |
const ACCOUNT_ADMIN = 'account_admin';
|
41 |
const AD = 'ad';
|
42 |
+
const ADS_CONVERSION_EXPERIENCES = 'ads_conversion_experiences';
|
43 |
const B2C = 'b2c';
|
44 |
+
const B2C_COMMERCE_UNIFIED = 'b2c_commerce_unified';
|
45 |
const BSG = 'bsg';
|
46 |
const CITY_COMMUNITY = 'city_community';
|
47 |
+
const COMMERCE = 'commerce';
|
48 |
const DAILY_DEALS = 'daily_deals';
|
49 |
const DAILY_DEALS_LEGACY = 'daily_deals_legacy';
|
50 |
const DPA = 'dpa';
|
51 |
+
const DRI_COPYRIGHT = 'dri_copyright';
|
52 |
const DRI_COUNTERFEIT = 'dri_counterfeit';
|
53 |
const FACEBOOK = 'facebook';
|
54 |
const FACEBOOK_PAGES_LIVE_SHOPPING = 'facebook_pages_live_shopping';
|
74 |
return array(
|
75 |
'account_admin' => 'map<string, string>',
|
76 |
'ad' => 'map<string, string>',
|
77 |
+
'ads_conversion_experiences' => 'map<string, string>',
|
78 |
'b2c' => 'map<string, string>',
|
79 |
+
'b2c_commerce_unified' => 'map<string, string>',
|
80 |
'bsg' => 'map<string, string>',
|
81 |
'city_community' => 'map<string, string>',
|
82 |
+
'commerce' => 'map<string, string>',
|
83 |
'daily_deals' => 'map<string, string>',
|
84 |
'daily_deals_legacy' => 'map<string, string>',
|
85 |
'dpa' => 'map<string, string>',
|
86 |
+
'dri_copyright' => 'map<string, string>',
|
87 |
'dri_counterfeit' => 'map<string, string>',
|
88 |
'facebook' => 'map<string, string>',
|
89 |
'facebook_pages_live_shopping' => 'map<string, string>',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{AdsInterestFields.php → AdoptablePetFields.php}
RENAMED
@@ -35,25 +35,53 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
const DESCRIPTION = 'description';
|
42 |
-
const
|
43 |
const ID = 'id';
|
|
|
44 |
const NAME = 'name';
|
45 |
-
const
|
46 |
-
const
|
|
|
|
|
|
|
|
|
47 |
|
48 |
public function getFieldTypes() {
|
49 |
return array(
|
50 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
'description' => 'string',
|
52 |
-
'
|
53 |
'id' => 'string',
|
|
|
54 |
'name' => 'string',
|
55 |
-
'
|
56 |
-
'
|
|
|
|
|
|
|
|
|
57 |
);
|
58 |
}
|
59 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class AdoptablePetFields extends AbstractEnum {
|
39 |
|
40 |
+
const ADDRESS = 'address';
|
41 |
+
const ADOPTABLE_PET_ID = 'adoptable_pet_id';
|
42 |
+
const ADOPTION_APPLICATION_FORM_URL = 'adoption_application_form_url';
|
43 |
+
const AGE_BUCKET = 'age_bucket';
|
44 |
+
const ANIMAL_TYPE = 'animal_type';
|
45 |
+
const APPLINKS = 'applinks';
|
46 |
+
const AVAILABILITY = 'availability';
|
47 |
+
const BREED = 'breed';
|
48 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
49 |
+
const CURRENCY = 'currency';
|
50 |
const DESCRIPTION = 'description';
|
51 |
+
const GENDER = 'gender';
|
52 |
const ID = 'id';
|
53 |
+
const IMAGES = 'images';
|
54 |
const NAME = 'name';
|
55 |
+
const PRICE = 'price';
|
56 |
+
const SANITIZED_IMAGES = 'sanitized_images';
|
57 |
+
const SHELTER_NAME = 'shelter_name';
|
58 |
+
const SHELTER_PAGE_ID = 'shelter_page_id';
|
59 |
+
const SIZE = 'size';
|
60 |
+
const URL = 'url';
|
61 |
|
62 |
public function getFieldTypes() {
|
63 |
return array(
|
64 |
+
'address' => 'Object',
|
65 |
+
'adoptable_pet_id' => 'string',
|
66 |
+
'adoption_application_form_url' => 'string',
|
67 |
+
'age_bucket' => 'string',
|
68 |
+
'animal_type' => 'string',
|
69 |
+
'applinks' => 'CatalogItemAppLinks',
|
70 |
+
'availability' => 'string',
|
71 |
+
'breed' => 'string',
|
72 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
73 |
+
'currency' => 'string',
|
74 |
'description' => 'string',
|
75 |
+
'gender' => 'string',
|
76 |
'id' => 'string',
|
77 |
+
'images' => 'list<string>',
|
78 |
'name' => 'string',
|
79 |
+
'price' => 'string',
|
80 |
+
'sanitized_images' => 'list<string>',
|
81 |
+
'shelter_name' => 'string',
|
82 |
+
'shelter_page_id' => 'Page',
|
83 |
+
'size' => 'string',
|
84 |
+
'url' => 'string',
|
85 |
);
|
86 |
}
|
87 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdsInsightsFields.php
CHANGED
@@ -67,6 +67,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
67 |
const CAMPAIGN_NAME = 'campaign_name';
|
68 |
const CANVAS_AVG_VIEW_PERCENT = 'canvas_avg_view_percent';
|
69 |
const CANVAS_AVG_VIEW_TIME = 'canvas_avg_view_time';
|
|
|
70 |
const CATALOG_SEGMENT_VALUE = 'catalog_segment_value';
|
71 |
const CATALOG_SEGMENT_VALUE_MOBILE_PURCHASE_ROAS = 'catalog_segment_value_mobile_purchase_roas';
|
72 |
const CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS = 'catalog_segment_value_omni_purchase_roas';
|
@@ -75,6 +76,8 @@ class AdsInsightsFields extends AbstractEnum {
|
|
75 |
const CONVERSION_RATE_RANKING = 'conversion_rate_ranking';
|
76 |
const CONVERSION_VALUES = 'conversion_values';
|
77 |
const CONVERSIONS = 'conversions';
|
|
|
|
|
78 |
const COST_PER_15_SEC_VIDEO_VIEW = 'cost_per_15_sec_video_view';
|
79 |
const COST_PER_2_SEC_CONTINUOUS_VIDEO_VIEW = 'cost_per_2_sec_continuous_video_view';
|
80 |
const COST_PER_ACTION_TYPE = 'cost_per_action_type';
|
@@ -119,6 +122,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
119 |
const INSTANT_EXPERIENCE_CLICKS_TO_OPEN = 'instant_experience_clicks_to_open';
|
120 |
const INSTANT_EXPERIENCE_CLICKS_TO_START = 'instant_experience_clicks_to_start';
|
121 |
const INSTANT_EXPERIENCE_OUTBOUND_CLICKS = 'instant_experience_outbound_clicks';
|
|
|
122 |
const LABELS = 'labels';
|
123 |
const LOCATION = 'location';
|
124 |
const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
|
@@ -200,6 +204,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
200 |
'campaign_name' => 'string',
|
201 |
'canvas_avg_view_percent' => 'string',
|
202 |
'canvas_avg_view_time' => 'string',
|
|
|
203 |
'catalog_segment_value' => 'list<AdsActionStats>',
|
204 |
'catalog_segment_value_mobile_purchase_roas' => 'list<AdsActionStats>',
|
205 |
'catalog_segment_value_omni_purchase_roas' => 'list<AdsActionStats>',
|
@@ -208,6 +213,8 @@ class AdsInsightsFields extends AbstractEnum {
|
|
208 |
'conversion_rate_ranking' => 'string',
|
209 |
'conversion_values' => 'list<AdsActionStats>',
|
210 |
'conversions' => 'list<AdsActionStats>',
|
|
|
|
|
211 |
'cost_per_15_sec_video_view' => 'list<AdsActionStats>',
|
212 |
'cost_per_2_sec_continuous_video_view' => 'list<AdsActionStats>',
|
213 |
'cost_per_action_type' => 'list<AdsActionStats>',
|
@@ -252,6 +259,7 @@ class AdsInsightsFields extends AbstractEnum {
|
|
252 |
'instant_experience_clicks_to_open' => 'string',
|
253 |
'instant_experience_clicks_to_start' => 'string',
|
254 |
'instant_experience_outbound_clicks' => 'string',
|
|
|
255 |
'labels' => 'string',
|
256 |
'location' => 'string',
|
257 |
'mobile_app_purchase_roas' => 'list<AdsActionStats>',
|
67 |
const CAMPAIGN_NAME = 'campaign_name';
|
68 |
const CANVAS_AVG_VIEW_PERCENT = 'canvas_avg_view_percent';
|
69 |
const CANVAS_AVG_VIEW_TIME = 'canvas_avg_view_time';
|
70 |
+
const CATALOG_SEGMENT_ACTIONS = 'catalog_segment_actions';
|
71 |
const CATALOG_SEGMENT_VALUE = 'catalog_segment_value';
|
72 |
const CATALOG_SEGMENT_VALUE_MOBILE_PURCHASE_ROAS = 'catalog_segment_value_mobile_purchase_roas';
|
73 |
const CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS = 'catalog_segment_value_omni_purchase_roas';
|
76 |
const CONVERSION_RATE_RANKING = 'conversion_rate_ranking';
|
77 |
const CONVERSION_VALUES = 'conversion_values';
|
78 |
const CONVERSIONS = 'conversions';
|
79 |
+
const CONVERTED_PRODUCT_QUANTITY = 'converted_product_quantity';
|
80 |
+
const CONVERTED_PRODUCT_VALUE = 'converted_product_value';
|
81 |
const COST_PER_15_SEC_VIDEO_VIEW = 'cost_per_15_sec_video_view';
|
82 |
const COST_PER_2_SEC_CONTINUOUS_VIDEO_VIEW = 'cost_per_2_sec_continuous_video_view';
|
83 |
const COST_PER_ACTION_TYPE = 'cost_per_action_type';
|
122 |
const INSTANT_EXPERIENCE_CLICKS_TO_OPEN = 'instant_experience_clicks_to_open';
|
123 |
const INSTANT_EXPERIENCE_CLICKS_TO_START = 'instant_experience_clicks_to_start';
|
124 |
const INSTANT_EXPERIENCE_OUTBOUND_CLICKS = 'instant_experience_outbound_clicks';
|
125 |
+
const INTERACTIVE_COMPONENT_TAP = 'interactive_component_tap';
|
126 |
const LABELS = 'labels';
|
127 |
const LOCATION = 'location';
|
128 |
const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas';
|
204 |
'campaign_name' => 'string',
|
205 |
'canvas_avg_view_percent' => 'string',
|
206 |
'canvas_avg_view_time' => 'string',
|
207 |
+
'catalog_segment_actions' => 'list<AdsActionStats>',
|
208 |
'catalog_segment_value' => 'list<AdsActionStats>',
|
209 |
'catalog_segment_value_mobile_purchase_roas' => 'list<AdsActionStats>',
|
210 |
'catalog_segment_value_omni_purchase_roas' => 'list<AdsActionStats>',
|
213 |
'conversion_rate_ranking' => 'string',
|
214 |
'conversion_values' => 'list<AdsActionStats>',
|
215 |
'conversions' => 'list<AdsActionStats>',
|
216 |
+
'converted_product_quantity' => 'list<AdsActionStats>',
|
217 |
+
'converted_product_value' => 'list<AdsActionStats>',
|
218 |
'cost_per_15_sec_video_view' => 'list<AdsActionStats>',
|
219 |
'cost_per_2_sec_continuous_video_view' => 'list<AdsActionStats>',
|
220 |
'cost_per_action_type' => 'list<AdsActionStats>',
|
259 |
'instant_experience_clicks_to_open' => 'string',
|
260 |
'instant_experience_clicks_to_start' => 'string',
|
261 |
'instant_experience_outbound_clicks' => 'string',
|
262 |
+
'interactive_component_tap' => 'list<AdsActionStats>',
|
263 |
'labels' => 'string',
|
264 |
'location' => 'string',
|
265 |
'mobile_app_purchase_roas' => 'list<AdsActionStats>',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AutomotiveModelFields.php
CHANGED
@@ -41,6 +41,7 @@ class AutomotiveModelFields extends AbstractEnum {
|
|
41 |
const AUTOMOTIVE_MODEL_ID = 'automotive_model_id';
|
42 |
const AVAILABILITY = 'availability';
|
43 |
const BODY_STYLE = 'body_style';
|
|
|
44 |
const CURRENCY = 'currency';
|
45 |
const CUSTOM_LABEL_0 = 'custom_label_0';
|
46 |
const DESCRIPTION = 'description';
|
@@ -70,6 +71,7 @@ class AutomotiveModelFields extends AbstractEnum {
|
|
70 |
'automotive_model_id' => 'string',
|
71 |
'availability' => 'string',
|
72 |
'body_style' => 'string',
|
|
|
73 |
'currency' => 'string',
|
74 |
'custom_label_0' => 'string',
|
75 |
'description' => 'string',
|
41 |
const AUTOMOTIVE_MODEL_ID = 'automotive_model_id';
|
42 |
const AVAILABILITY = 'availability';
|
43 |
const BODY_STYLE = 'body_style';
|
44 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
45 |
const CURRENCY = 'currency';
|
46 |
const CUSTOM_LABEL_0 = 'custom_label_0';
|
47 |
const DESCRIPTION = 'description';
|
71 |
'automotive_model_id' => 'string',
|
72 |
'availability' => 'string',
|
73 |
'body_style' => 'string',
|
74 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
75 |
'currency' => 'string',
|
76 |
'custom_label_0' => 'string',
|
77 |
'description' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFields.php
DELETED
@@ -1,67 +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 BusinessCreativeFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const CREATION_TIME = 'creation_time';
|
41 |
-
const DURATION = 'duration';
|
42 |
-
const HASH = 'hash';
|
43 |
-
const HEIGHT = 'height';
|
44 |
-
const ID = 'id';
|
45 |
-
const NAME = 'name';
|
46 |
-
const THUMBNAIL = 'thumbnail';
|
47 |
-
const TYPE = 'type';
|
48 |
-
const URL = 'url';
|
49 |
-
const VIDEO_ID = 'video_id';
|
50 |
-
const WIDTH = 'width';
|
51 |
-
|
52 |
-
public function getFieldTypes() {
|
53 |
-
return array(
|
54 |
-
'creation_time' => 'datetime',
|
55 |
-
'duration' => 'int',
|
56 |
-
'hash' => 'string',
|
57 |
-
'height' => 'int',
|
58 |
-
'id' => 'string',
|
59 |
-
'name' => 'string',
|
60 |
-
'thumbnail' => 'string',
|
61 |
-
'type' => 'string',
|
62 |
-
'url' => 'string',
|
63 |
-
'video_id' => 'string',
|
64 |
-
'width' => 'int',
|
65 |
-
);
|
66 |
-
}
|
67 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessCreativeFolderFields.php
DELETED
@@ -1,63 +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 BusinessCreativeFolderFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const BUSINESS = 'business';
|
41 |
-
const CREATION_TIME = 'creation_time';
|
42 |
-
const CREATIVE_INSIGHT_PERMISSIONS = 'creative_insight_permissions';
|
43 |
-
const DESCRIPTION = 'description';
|
44 |
-
const ID = 'id';
|
45 |
-
const MEDIA_LIBRARY_URL = 'media_library_url';
|
46 |
-
const NAME = 'name';
|
47 |
-
const PARENT_FOLDER = 'parent_folder';
|
48 |
-
const PARENT_FOLDER_ID = 'parent_folder_id';
|
49 |
-
|
50 |
-
public function getFieldTypes() {
|
51 |
-
return array(
|
52 |
-
'business' => 'Business',
|
53 |
-
'creation_time' => 'datetime',
|
54 |
-
'creative_insight_permissions' => 'map<string, string>',
|
55 |
-
'description' => 'string',
|
56 |
-
'id' => 'string',
|
57 |
-
'media_library_url' => 'string',
|
58 |
-
'name' => 'string',
|
59 |
-
'parent_folder' => 'BusinessCreativeFolder',
|
60 |
-
'parent_folder_id' => 'string',
|
61 |
-
);
|
62 |
-
}
|
63 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/BusinessImageFields.php
DELETED
@@ -1,73 +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 BusinessImageFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const BUSINESS = 'business';
|
41 |
-
const CREATION_TIME = 'creation_time';
|
42 |
-
const HASH = 'hash';
|
43 |
-
const HEIGHT = 'height';
|
44 |
-
const ID = 'id';
|
45 |
-
const MEDIA_LIBRARY_URL = 'media_library_url';
|
46 |
-
const NAME = 'name';
|
47 |
-
const URL = 'url';
|
48 |
-
const URL_128 = 'url_128';
|
49 |
-
const WIDTH = 'width';
|
50 |
-
const AD_PLACEMENTS_VALIDATION_ONLY = 'ad_placements_validation_only';
|
51 |
-
const BYTES = 'bytes';
|
52 |
-
const CREATIVE_FOLDER_ID = 'creative_folder_id';
|
53 |
-
const VALIDATION_AD_PLACEMENTS = 'validation_ad_placements';
|
54 |
-
|
55 |
-
public function getFieldTypes() {
|
56 |
-
return array(
|
57 |
-
'business' => 'Business',
|
58 |
-
'creation_time' => 'datetime',
|
59 |
-
'hash' => 'string',
|
60 |
-
'height' => 'int',
|
61 |
-
'id' => 'string',
|
62 |
-
'media_library_url' => 'string',
|
63 |
-
'name' => 'string',
|
64 |
-
'url' => 'string',
|
65 |
-
'url_128' => 'string',
|
66 |
-
'width' => 'int',
|
67 |
-
'ad_placements_validation_only' => 'bool',
|
68 |
-
'bytes' => 'Object',
|
69 |
-
'creative_folder_id' => 'string',
|
70 |
-
'validation_ad_placements' => 'list<ValidationAdPlacements>',
|
71 |
-
);
|
72 |
-
}
|
73 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{BusinessCreativeFolderSharingAgreementFields.php → CPASAdvertiserPartnershipRecommendationFields.php}
RENAMED
@@ -35,19 +35,29 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const
|
|
|
|
|
|
|
41 |
const ID = 'id';
|
42 |
-
const
|
|
|
43 |
const STATUS = 'status';
|
|
|
44 |
|
45 |
public function getFieldTypes() {
|
46 |
return array(
|
47 |
-
'
|
|
|
|
|
|
|
48 |
'id' => 'string',
|
49 |
-
'
|
|
|
50 |
'status' => 'string',
|
|
|
51 |
);
|
52 |
}
|
53 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class CPASAdvertiserPartnershipRecommendationFields extends AbstractEnum {
|
39 |
|
40 |
+
const ADVERTISER_BUSINESS_ID = 'advertiser_business_id';
|
41 |
+
const BRAND_BUSINESS_ID = 'brand_business_id';
|
42 |
+
const BRANDS = 'brands';
|
43 |
+
const COUNTRIES = 'countries';
|
44 |
const ID = 'id';
|
45 |
+
const MERCHANT_BUSINESS_ID = 'merchant_business_id';
|
46 |
+
const MERCHANT_CATEGORIES = 'merchant_categories';
|
47 |
const STATUS = 'status';
|
48 |
+
const STATUS_REASON = 'status_reason';
|
49 |
|
50 |
public function getFieldTypes() {
|
51 |
return array(
|
52 |
+
'advertiser_business_id' => 'string',
|
53 |
+
'brand_business_id' => 'string',
|
54 |
+
'brands' => 'list<string>',
|
55 |
+
'countries' => 'list<string>',
|
56 |
'id' => 'string',
|
57 |
+
'merchant_business_id' => 'string',
|
58 |
+
'merchant_categories' => 'list<string>',
|
59 |
'status' => 'string',
|
60 |
+
'status_reason' => 'string',
|
61 |
);
|
62 |
}
|
63 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{BrandAudienceFields.php → CPASCollaborationRequestFields.php}
RENAMED
@@ -35,31 +35,31 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const
|
41 |
-
const
|
42 |
-
const
|
|
|
43 |
const ID = 'id';
|
44 |
-
const
|
45 |
-
const
|
|
|
|
|
46 |
const STATUS = 'status';
|
47 |
-
const TARGETING = 'targeting';
|
48 |
-
const TIME_CREATED = 'time_created';
|
49 |
-
const TIME_UPDATED = 'time_updated';
|
50 |
|
51 |
public function getFieldTypes() {
|
52 |
return array(
|
53 |
-
'
|
54 |
-
'
|
55 |
-
'
|
|
|
56 |
'id' => 'string',
|
57 |
-
'
|
58 |
-
'
|
|
|
|
|
59 |
'status' => 'string',
|
60 |
-
'targeting' => 'Targeting',
|
61 |
-
'time_created' => 'datetime',
|
62 |
-
'time_updated' => 'datetime',
|
63 |
);
|
64 |
}
|
65 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class CPASCollaborationRequestFields extends AbstractEnum {
|
39 |
|
40 |
+
const BRANDS = 'brands';
|
41 |
+
const CONTACT_EMAIL = 'contact_email';
|
42 |
+
const CONTACT_FIRST_NAME = 'contact_first_name';
|
43 |
+
const CONTACT_LAST_NAME = 'contact_last_name';
|
44 |
const ID = 'id';
|
45 |
+
const PHONE_NUMBER = 'phone_number';
|
46 |
+
const RECEIVER_BUSINESS = 'receiver_business';
|
47 |
+
const REQUESTER_AGENCY_OR_BRAND = 'requester_agency_or_brand';
|
48 |
+
const SENDER_CLIENT_BUSINESS = 'sender_client_business';
|
49 |
const STATUS = 'status';
|
|
|
|
|
|
|
50 |
|
51 |
public function getFieldTypes() {
|
52 |
return array(
|
53 |
+
'brands' => 'list<string>',
|
54 |
+
'contact_email' => 'string',
|
55 |
+
'contact_first_name' => 'string',
|
56 |
+
'contact_last_name' => 'string',
|
57 |
'id' => 'string',
|
58 |
+
'phone_number' => 'string',
|
59 |
+
'receiver_business' => 'Business',
|
60 |
+
'requester_agency_or_brand' => 'string',
|
61 |
+
'sender_client_business' => 'Business',
|
62 |
'status' => 'string',
|
|
|
|
|
|
|
63 |
);
|
64 |
}
|
65 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CampaignFields.php
CHANGED
@@ -64,6 +64,7 @@ class CampaignFields extends AbstractEnum {
|
|
64 |
const SOURCE_CAMPAIGN_ID = 'source_campaign_id';
|
65 |
const SPECIAL_AD_CATEGORIES = 'special_ad_categories';
|
66 |
const SPECIAL_AD_CATEGORY = 'special_ad_category';
|
|
|
67 |
const SPEND_CAP = 'spend_cap';
|
68 |
const START_TIME = 'start_time';
|
69 |
const STATUS = 'status';
|
@@ -104,6 +105,7 @@ class CampaignFields extends AbstractEnum {
|
|
104 |
'source_campaign_id' => 'string',
|
105 |
'special_ad_categories' => 'list<string>',
|
106 |
'special_ad_category' => 'string',
|
|
|
107 |
'spend_cap' => 'string',
|
108 |
'start_time' => 'datetime',
|
109 |
'status' => 'Status',
|
64 |
const SOURCE_CAMPAIGN_ID = 'source_campaign_id';
|
65 |
const SPECIAL_AD_CATEGORIES = 'special_ad_categories';
|
66 |
const SPECIAL_AD_CATEGORY = 'special_ad_category';
|
67 |
+
const SPECIAL_AD_CATEGORY_COUNTRY = 'special_ad_category_country';
|
68 |
const SPEND_CAP = 'spend_cap';
|
69 |
const START_TIME = 'start_time';
|
70 |
const STATUS = 'status';
|
105 |
'source_campaign_id' => 'string',
|
106 |
'special_ad_categories' => 'list<string>',
|
107 |
'special_ad_category' => 'string',
|
108 |
+
'special_ad_category_country' => 'list<string>',
|
109 |
'spend_cap' => 'string',
|
110 |
'start_time' => 'datetime',
|
111 |
'status' => 'Status',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CatalogSubVerticalListFields.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 CatalogSubVerticalListFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const APPLIANCES = 'appliances';
|
41 |
+
const BABY_FEEDING = 'baby_feeding';
|
42 |
+
const BABY_TRANSPORT = 'baby_transport';
|
43 |
+
const BEAUTY = 'beauty';
|
44 |
+
const BEDDING = 'bedding';
|
45 |
+
const CAMERAS = 'cameras';
|
46 |
+
const CAMERAS_AND_PHOTOS = 'cameras_and_photos';
|
47 |
+
const CELL_PHONES_AND_SMART_WATCHES = 'cell_phones_and_smart_watches';
|
48 |
+
const CLEANING_SUPPLIES = 'cleaning_supplies';
|
49 |
+
const CLO_OFFER = 'clo_offer';
|
50 |
+
const CLOTHING = 'clothing';
|
51 |
+
const CLOTHING_ACCESSORIES = 'clothing_accessories';
|
52 |
+
const CLOTHING_GROUP = 'clothing_group';
|
53 |
+
const COMPUTER_COMPONENTS = 'computer_components';
|
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';
|
60 |
+
const HEALTH = 'health';
|
61 |
+
const HOME = 'home';
|
62 |
+
const HOME_GOODS = 'home_goods';
|
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';
|
69 |
+
const PRINTERS_AND_SCANNERS = 'printers_and_scanners';
|
70 |
+
const PRINTERS_SCANNERS_AND_FAX_MACHINES = 'printers_scanners_and_fax_machines';
|
71 |
+
const PRODUCT_DISCOUNT = 'product_discount';
|
72 |
+
const PROJECTORS = 'projectors';
|
73 |
+
const SHOES = 'shoes';
|
74 |
+
const SHOES_AND_FOOTWEAR = 'shoes_and_footwear';
|
75 |
+
const SOFTWARE = 'software';
|
76 |
+
const TELEVISIONS_AND_MONITORS = 'televisions_and_monitors';
|
77 |
+
const TEST_CHILD_SUB_VERTICAL = 'test_child_sub_vertical';
|
78 |
+
const TEST_GRAND_CHILD_SUB_VERTICAL = 'test_grand_child_sub_vertical';
|
79 |
+
const TEST_SUB_VERTICAL = 'test_sub_vertical';
|
80 |
+
const TEST_SUB_VERTICAL_ALIAS = 'test_sub_vertical_alias';
|
81 |
+
const TEST_SUB_VERTICAL_DATA_OBJECT = 'test_sub_vertical_data_object';
|
82 |
+
const THIRD_PARTY_ELECTRONICS = 'third_party_electronics';
|
83 |
+
const THIRD_PARTY_TOYS_AND_GAMES = 'third_party_toys_and_games';
|
84 |
+
const TOYS = 'toys';
|
85 |
+
const TOYS_AND_GAMES = 'toys_and_games';
|
86 |
+
const TVS_AND_MONITORS = 'tvs_and_monitors';
|
87 |
+
const VEHICLE_MANUFACTURER = 'vehicle_manufacturer';
|
88 |
+
const VIDEO_GAME_CONSOLES_AND_VIDEO_GAMES = 'video_game_consoles_and_video_games';
|
89 |
+
const VIDEO_GAMES_AND_CONSOLES = 'video_games_and_consoles';
|
90 |
+
const VIDEO_PROJECTORS = 'video_projectors';
|
91 |
+
const WATCHES = 'watches';
|
92 |
+
|
93 |
+
public function getFieldTypes() {
|
94 |
+
return array(
|
95 |
+
'appliances' => 'Object',
|
96 |
+
'baby_feeding' => 'Object',
|
97 |
+
'baby_transport' => 'Object',
|
98 |
+
'beauty' => 'Object',
|
99 |
+
'bedding' => 'Object',
|
100 |
+
'cameras' => 'Object',
|
101 |
+
'cameras_and_photos' => 'Object',
|
102 |
+
'cell_phones_and_smart_watches' => 'Object',
|
103 |
+
'cleaning_supplies' => 'Object',
|
104 |
+
'clo_offer' => 'Object',
|
105 |
+
'clothing' => 'Object',
|
106 |
+
'clothing_accessories' => 'Object',
|
107 |
+
'clothing_group' => 'Object',
|
108 |
+
'computer_components' => 'Object',
|
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',
|
115 |
+
'health' => 'Object',
|
116 |
+
'home' => 'Object',
|
117 |
+
'home_goods' => 'Object',
|
118 |
+
'household_and_cleaning_supplies' => 'Object',
|
119 |
+
'jewelry' => 'Object',
|
120 |
+
'large_appliances' => 'Object',
|
121 |
+
'loyalty_offer' => 'Object',
|
122 |
+
'meetup_space' => 'Object',
|
123 |
+
'nursery' => 'Object',
|
124 |
+
'printers_and_scanners' => 'Object',
|
125 |
+
'printers_scanners_and_fax_machines' => 'Object',
|
126 |
+
'product_discount' => 'Object',
|
127 |
+
'projectors' => 'Object',
|
128 |
+
'shoes' => 'Object',
|
129 |
+
'shoes_and_footwear' => 'Object',
|
130 |
+
'software' => 'Object',
|
131 |
+
'televisions_and_monitors' => 'Object',
|
132 |
+
'test_child_sub_vertical' => 'Object',
|
133 |
+
'test_grand_child_sub_vertical' => 'Object',
|
134 |
+
'test_sub_vertical' => 'Object',
|
135 |
+
'test_sub_vertical_alias' => 'Object',
|
136 |
+
'test_sub_vertical_data_object' => 'Object',
|
137 |
+
'third_party_electronics' => 'Object',
|
138 |
+
'third_party_toys_and_games' => 'Object',
|
139 |
+
'toys' => 'Object',
|
140 |
+
'toys_and_games' => 'Object',
|
141 |
+
'tvs_and_monitors' => 'Object',
|
142 |
+
'vehicle_manufacturer' => 'Object',
|
143 |
+
'video_game_consoles_and_video_games' => 'Object',
|
144 |
+
'video_games_and_consoles' => 'Object',
|
145 |
+
'video_projectors' => 'Object',
|
146 |
+
'watches' => 'Object',
|
147 |
+
);
|
148 |
+
}
|
149 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ClientTransparencyStatusFields.php
DELETED
@@ -1,53 +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 ClientTransparencyStatusFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const GRACE_PERIOD_EXPIRATION_DATE = 'grace_period_expiration_date';
|
41 |
-
const HAS_OWNING_BUSINESS = 'has_owning_business';
|
42 |
-
const IS_SATISFIED = 'is_satisfied';
|
43 |
-
const OWNING_BUSINESS_REQUIREMENTS = 'owning_business_requirements';
|
44 |
-
|
45 |
-
public function getFieldTypes() {
|
46 |
-
return array(
|
47 |
-
'grace_period_expiration_date' => 'datetime',
|
48 |
-
'has_owning_business' => 'bool',
|
49 |
-
'is_satisfied' => 'bool',
|
50 |
-
'owning_business_requirements' => 'Object',
|
51 |
-
);
|
52 |
-
}
|
53 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php
CHANGED
@@ -40,6 +40,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
|
|
40 |
const BRAINTREE_MERCHANT_ID = 'braintree_merchant_id';
|
41 |
const CHECKOUT_MESSAGE = 'checkout_message';
|
42 |
const CONTACT_EMAIL = 'contact_email';
|
|
|
43 |
const DISABLE_CHECKOUT_URLS = 'disable_checkout_urls';
|
44 |
const DISPLAY_NAME = 'display_name';
|
45 |
const FACEBOOK_CHANNEL = 'facebook_channel';
|
@@ -58,12 +59,14 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
|
|
58 |
const SUPPORTED_CARD_TYPES = 'supported_card_types';
|
59 |
const TERMS = 'terms';
|
60 |
const TERMS_URL_BY_LOCALE = 'terms_url_by_locale';
|
|
|
61 |
|
62 |
public function getFieldTypes() {
|
63 |
return array(
|
64 |
'braintree_merchant_id' => 'string',
|
65 |
'checkout_message' => 'string',
|
66 |
'contact_email' => 'string',
|
|
|
67 |
'disable_checkout_urls' => 'bool',
|
68 |
'display_name' => 'string',
|
69 |
'facebook_channel' => 'Object',
|
@@ -82,6 +85,7 @@ class CommerceMerchantSettingsFields extends AbstractEnum {
|
|
82 |
'supported_card_types' => 'list<string>',
|
83 |
'terms' => 'string',
|
84 |
'terms_url_by_locale' => 'map<string, string>',
|
|
|
85 |
);
|
86 |
}
|
87 |
}
|
40 |
const BRAINTREE_MERCHANT_ID = 'braintree_merchant_id';
|
41 |
const CHECKOUT_MESSAGE = 'checkout_message';
|
42 |
const CONTACT_EMAIL = 'contact_email';
|
43 |
+
const CTA = 'cta';
|
44 |
const DISABLE_CHECKOUT_URLS = 'disable_checkout_urls';
|
45 |
const DISPLAY_NAME = 'display_name';
|
46 |
const FACEBOOK_CHANNEL = 'facebook_channel';
|
59 |
const SUPPORTED_CARD_TYPES = 'supported_card_types';
|
60 |
const TERMS = 'terms';
|
61 |
const TERMS_URL_BY_LOCALE = 'terms_url_by_locale';
|
62 |
+
const WHATSAPP_CHANNEL = 'whatsapp_channel';
|
63 |
|
64 |
public function getFieldTypes() {
|
65 |
return array(
|
66 |
'braintree_merchant_id' => 'string',
|
67 |
'checkout_message' => 'string',
|
68 |
'contact_email' => 'string',
|
69 |
+
'cta' => 'string',
|
70 |
'disable_checkout_urls' => 'bool',
|
71 |
'display_name' => 'string',
|
72 |
'facebook_channel' => 'Object',
|
85 |
'supported_card_types' => 'list<string>',
|
86 |
'terms' => 'string',
|
87 |
'terms_url_by_locale' => 'map<string, string>',
|
88 |
+
'whatsapp_channel' => 'Object',
|
89 |
);
|
90 |
}
|
91 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceOrderFields.php
CHANGED
@@ -43,6 +43,7 @@ class CommerceOrderFields extends AbstractEnum {
|
|
43 |
const ESTIMATED_PAYMENT_DETAILS = 'estimated_payment_details';
|
44 |
const ID = 'id';
|
45 |
const IS_GROUP_BUY = 'is_group_buy';
|
|
|
46 |
const LAST_UPDATED = 'last_updated';
|
47 |
const MERCHANT_ORDER_ID = 'merchant_order_id';
|
48 |
const ORDER_STATUS = 'order_status';
|
@@ -58,6 +59,7 @@ class CommerceOrderFields extends AbstractEnum {
|
|
58 |
'estimated_payment_details' => 'Object',
|
59 |
'id' => 'string',
|
60 |
'is_group_buy' => 'bool',
|
|
|
61 |
'last_updated' => 'string',
|
62 |
'merchant_order_id' => 'string',
|
63 |
'order_status' => 'Object',
|
43 |
const ESTIMATED_PAYMENT_DETAILS = 'estimated_payment_details';
|
44 |
const ID = 'id';
|
45 |
const IS_GROUP_BUY = 'is_group_buy';
|
46 |
+
const IS_TEST_ORDER = 'is_test_order';
|
47 |
const LAST_UPDATED = 'last_updated';
|
48 |
const MERCHANT_ORDER_ID = 'merchant_order_id';
|
49 |
const ORDER_STATUS = 'order_status';
|
59 |
'estimated_payment_details' => 'Object',
|
60 |
'id' => 'string',
|
61 |
'is_group_buy' => 'bool',
|
62 |
+
'is_test_order' => 'bool',
|
63 |
'last_updated' => 'string',
|
64 |
'merchant_order_id' => 'string',
|
65 |
'order_status' => 'Object',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{CreativeAssetTagFields.php → ConnectionsTargetingFields.php}
RENAMED
@@ -35,12 +35,14 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
|
|
40 |
const NAME = 'name';
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
|
|
44 |
'name' => 'string',
|
45 |
);
|
46 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class ConnectionsTargetingFields extends AbstractEnum {
|
39 |
|
40 |
+
const ID = 'id';
|
41 |
const NAME = 'name';
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
+
'id' => 'string',
|
46 |
'name' => 'string',
|
47 |
);
|
48 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/DestinationFields.php
CHANGED
@@ -39,6 +39,7 @@ class DestinationFields extends AbstractEnum {
|
|
39 |
|
40 |
const ADDRESS = 'address';
|
41 |
const APPLINKS = 'applinks';
|
|
|
42 |
const CURRENCY = 'currency';
|
43 |
const DESCRIPTION = 'description';
|
44 |
const DESTINATION_ID = 'destination_id';
|
@@ -55,6 +56,7 @@ class DestinationFields extends AbstractEnum {
|
|
55 |
return array(
|
56 |
'address' => 'string',
|
57 |
'applinks' => 'CatalogItemAppLinks',
|
|
|
58 |
'currency' => 'string',
|
59 |
'description' => 'string',
|
60 |
'destination_id' => 'string',
|
39 |
|
40 |
const ADDRESS = 'address';
|
41 |
const APPLINKS = 'applinks';
|
42 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
43 |
const CURRENCY = 'currency';
|
44 |
const DESCRIPTION = 'description';
|
45 |
const DESTINATION_ID = 'destination_id';
|
56 |
return array(
|
57 |
'address' => 'string',
|
58 |
'applinks' => 'CatalogItemAppLinks',
|
59 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
60 |
'currency' => 'string',
|
61 |
'description' => 'string',
|
62 |
'destination_id' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/EventFields.php
CHANGED
@@ -56,6 +56,8 @@ class EventFields extends AbstractEnum {
|
|
56 |
const MAYBE_COUNT = 'maybe_count';
|
57 |
const NAME = 'name';
|
58 |
const NOREPLY_COUNT = 'noreply_count';
|
|
|
|
|
59 |
const OWNER = 'owner';
|
60 |
const PARENT_GROUP = 'parent_group';
|
61 |
const PLACE = 'place';
|
@@ -90,6 +92,8 @@ class EventFields extends AbstractEnum {
|
|
90 |
'maybe_count' => 'int',
|
91 |
'name' => 'string',
|
92 |
'noreply_count' => 'int',
|
|
|
|
|
93 |
'owner' => 'Object',
|
94 |
'parent_group' => 'Group',
|
95 |
'place' => 'Place',
|
56 |
const MAYBE_COUNT = 'maybe_count';
|
57 |
const NAME = 'name';
|
58 |
const NOREPLY_COUNT = 'noreply_count';
|
59 |
+
const ONLINE_EVENT_FORMAT = 'online_event_format';
|
60 |
+
const ONLINE_EVENT_THIRD_PARTY_URL = 'online_event_third_party_url';
|
61 |
const OWNER = 'owner';
|
62 |
const PARENT_GROUP = 'parent_group';
|
63 |
const PLACE = 'place';
|
92 |
'maybe_count' => 'int',
|
93 |
'name' => 'string',
|
94 |
'noreply_count' => 'int',
|
95 |
+
'online_event_format' => 'OnlineEventFormat',
|
96 |
+
'online_event_third_party_url' => 'string',
|
97 |
'owner' => 'Object',
|
98 |
'parent_group' => 'Group',
|
99 |
'place' => 'Place',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/FlightFields.php
CHANGED
@@ -38,6 +38,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
38 |
class FlightFields extends AbstractEnum {
|
39 |
|
40 |
const APPLINKS = 'applinks';
|
|
|
41 |
const CURRENCY = 'currency';
|
42 |
const DESCRIPTION = 'description';
|
43 |
const DESTINATION_AIRPORT = 'destination_airport';
|
@@ -56,6 +57,7 @@ class FlightFields extends AbstractEnum {
|
|
56 |
public function getFieldTypes() {
|
57 |
return array(
|
58 |
'applinks' => 'CatalogItemAppLinks',
|
|
|
59 |
'currency' => 'string',
|
60 |
'description' => 'string',
|
61 |
'destination_airport' => 'string',
|
38 |
class FlightFields extends AbstractEnum {
|
39 |
|
40 |
const APPLINKS = 'applinks';
|
41 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
42 |
const CURRENCY = 'currency';
|
43 |
const DESCRIPTION = 'description';
|
44 |
const DESTINATION_AIRPORT = 'destination_airport';
|
57 |
public function getFieldTypes() {
|
58 |
return array(
|
59 |
'applinks' => 'CatalogItemAppLinks',
|
60 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
61 |
'currency' => 'string',
|
62 |
'description' => 'string',
|
63 |
'destination_airport' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HomeListingFields.php
CHANGED
@@ -49,6 +49,7 @@ class HomeListingFields extends AbstractEnum {
|
|
49 |
const AREA_SIZE = 'area_size';
|
50 |
const AREA_UNIT = 'area_unit';
|
51 |
const AVAILABILITY = 'availability';
|
|
|
52 |
const CO_2_EMISSION_RATING_EU = 'co_2_emission_rating_eu';
|
53 |
const CURRENCY = 'currency';
|
54 |
const DAYS_ON_MARKET = 'days_on_market';
|
@@ -94,6 +95,7 @@ class HomeListingFields extends AbstractEnum {
|
|
94 |
'area_size' => 'unsigned int',
|
95 |
'area_unit' => 'string',
|
96 |
'availability' => 'string',
|
|
|
97 |
'co_2_emission_rating_eu' => 'Object',
|
98 |
'currency' => 'string',
|
99 |
'days_on_market' => 'unsigned int',
|
49 |
const AREA_SIZE = 'area_size';
|
50 |
const AREA_UNIT = 'area_unit';
|
51 |
const AVAILABILITY = 'availability';
|
52 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
53 |
const CO_2_EMISSION_RATING_EU = 'co_2_emission_rating_eu';
|
54 |
const CURRENCY = 'currency';
|
55 |
const DAYS_ON_MARKET = 'days_on_market';
|
95 |
'area_size' => 'unsigned int',
|
96 |
'area_unit' => 'string',
|
97 |
'availability' => 'string',
|
98 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
99 |
'co_2_emission_rating_eu' => 'Object',
|
100 |
'currency' => 'string',
|
101 |
'days_on_market' => 'unsigned int',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/HotelFields.php
CHANGED
@@ -41,6 +41,7 @@ class HotelFields extends AbstractEnum {
|
|
41 |
const APPLINKS = 'applinks';
|
42 |
const BRAND = 'brand';
|
43 |
const CATEGORY = 'category';
|
|
|
44 |
const CURRENCY = 'currency';
|
45 |
const DESCRIPTION = 'description';
|
46 |
const GUEST_RATINGS = 'guest_ratings';
|
@@ -64,6 +65,7 @@ class HotelFields extends AbstractEnum {
|
|
64 |
'applinks' => 'CatalogItemAppLinks',
|
65 |
'brand' => 'string',
|
66 |
'category' => 'string',
|
|
|
67 |
'currency' => 'string',
|
68 |
'description' => 'string',
|
69 |
'guest_ratings' => 'string',
|
41 |
const APPLINKS = 'applinks';
|
42 |
const BRAND = 'brand';
|
43 |
const CATEGORY = 'category';
|
44 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
45 |
const CURRENCY = 'currency';
|
46 |
const DESCRIPTION = 'description';
|
47 |
const GUEST_RATINGS = 'guest_ratings';
|
65 |
'applinks' => 'CatalogItemAppLinks',
|
66 |
'brand' => 'string',
|
67 |
'category' => 'string',
|
68 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
69 |
'currency' => 'string',
|
70 |
'description' => 'string',
|
71 |
'guest_ratings' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IGMediaFields.php
CHANGED
@@ -37,6 +37,7 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class IGMediaFields extends AbstractEnum {
|
39 |
|
|
|
40 |
const CAPTION = 'caption';
|
41 |
const COMMENTS_COUNT = 'comments_count';
|
42 |
const ID = 'id';
|
@@ -54,6 +55,7 @@ class IGMediaFields extends AbstractEnum {
|
|
54 |
|
55 |
public function getFieldTypes() {
|
56 |
return array(
|
|
|
57 |
'caption' => 'string',
|
58 |
'comments_count' => 'int',
|
59 |
'id' => 'string',
|
37 |
|
38 |
class IGMediaFields extends AbstractEnum {
|
39 |
|
40 |
+
const ALT_TEXT = 'alt_text';
|
41 |
const CAPTION = 'caption';
|
42 |
const COMMENTS_COUNT = 'comments_count';
|
43 |
const ID = 'id';
|
55 |
|
56 |
public function getFieldTypes() {
|
57 |
return array(
|
58 |
+
'alt_text' => 'string',
|
59 |
'caption' => 'string',
|
60 |
'comments_count' => 'int',
|
61 |
'id' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/IterativeSplitTestConfigFields.php
DELETED
@@ -1,63 +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 IterativeSplitTestConfigFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const BUDGET = 'budget';
|
41 |
-
const END_TIME = 'end_time';
|
42 |
-
const GUIDANCE = 'guidance';
|
43 |
-
const ID = 'id';
|
44 |
-
const ITERATIVE_SPLIT_TEST_ORIGINAL_VARIANT_ID = 'iterative_split_test_original_variant_id';
|
45 |
-
const ITERATIVE_SPLIT_TEST_VARIANT_TO_SPLIT_MAPPING = 'iterative_split_test_variant_to_split_mapping';
|
46 |
-
const RESULTS_WINDOW = 'results_window';
|
47 |
-
const SPLITS = 'splits';
|
48 |
-
const START_TIME = 'start_time';
|
49 |
-
|
50 |
-
public function getFieldTypes() {
|
51 |
-
return array(
|
52 |
-
'budget' => 'int',
|
53 |
-
'end_time' => 'datetime',
|
54 |
-
'guidance' => 'Object',
|
55 |
-
'id' => 'string',
|
56 |
-
'iterative_split_test_original_variant_id' => 'string',
|
57 |
-
'iterative_split_test_variant_to_split_mapping' => 'map<string, int>',
|
58 |
-
'results_window' => 'Object',
|
59 |
-
'splits' => 'list<int>',
|
60 |
-
'start_time' => 'datetime',
|
61 |
-
);
|
62 |
-
}
|
63 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/OracleTransactionFields.php
CHANGED
@@ -42,7 +42,6 @@ class OracleTransactionFields extends AbstractEnum {
|
|
42 |
const AMOUNT_DUE = 'amount_due';
|
43 |
const BILLED_AMOUNT_DETAILS = 'billed_amount_details';
|
44 |
const BILLING_PERIOD = 'billing_period';
|
45 |
-
const CAMPAIGN = 'campaign';
|
46 |
const CDN_DOWNLOAD_URI = 'cdn_download_uri';
|
47 |
const CURRENCY = 'currency';
|
48 |
const DOWNLOAD_URI = 'download_uri';
|
@@ -64,7 +63,6 @@ class OracleTransactionFields extends AbstractEnum {
|
|
64 |
'amount_due' => 'CurrencyAmount',
|
65 |
'billed_amount_details' => 'BilledAmountDetails',
|
66 |
'billing_period' => 'string',
|
67 |
-
'campaign' => 'AtlasCampaign',
|
68 |
'cdn_download_uri' => 'string',
|
69 |
'currency' => 'string',
|
70 |
'download_uri' => 'string',
|
42 |
const AMOUNT_DUE = 'amount_due';
|
43 |
const BILLED_AMOUNT_DETAILS = 'billed_amount_details';
|
44 |
const BILLING_PERIOD = 'billing_period';
|
|
|
45 |
const CDN_DOWNLOAD_URI = 'cdn_download_uri';
|
46 |
const CURRENCY = 'currency';
|
47 |
const DOWNLOAD_URI = 'download_uri';
|
63 |
'amount_due' => 'CurrencyAmount',
|
64 |
'billed_amount_details' => 'BilledAmountDetails',
|
65 |
'billing_period' => 'string',
|
|
|
66 |
'cdn_download_uri' => 'string',
|
67 |
'currency' => 'string',
|
68 |
'download_uri' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAboutStoryFields.php
DELETED
@@ -1,59 +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 PageAboutStoryFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const COMPOSED_TEXT = 'composed_text';
|
41 |
-
const COVER_PHOTO = 'cover_photo';
|
42 |
-
const ENTITY_MAP = 'entity_map';
|
43 |
-
const ID = 'id';
|
44 |
-
const IS_PUBLISHED = 'is_published';
|
45 |
-
const PAGE_ID = 'page_id';
|
46 |
-
const TITLE = 'title';
|
47 |
-
|
48 |
-
public function getFieldTypes() {
|
49 |
-
return array(
|
50 |
-
'composed_text' => 'list<Object>',
|
51 |
-
'cover_photo' => 'Photo',
|
52 |
-
'entity_map' => 'list<Object>',
|
53 |
-
'id' => 'string',
|
54 |
-
'is_published' => 'bool',
|
55 |
-
'page_id' => 'string',
|
56 |
-
'title' => 'string',
|
57 |
-
);
|
58 |
-
}
|
59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageAdminNoteFields.php
CHANGED
@@ -40,6 +40,7 @@ class PageAdminNoteFields extends AbstractEnum {
|
|
40 |
const BODY = 'body';
|
41 |
const FROM = 'from';
|
42 |
const ID = 'id';
|
|
|
43 |
const USER = 'user';
|
44 |
|
45 |
public function getFieldTypes() {
|
@@ -47,6 +48,7 @@ class PageAdminNoteFields extends AbstractEnum {
|
|
47 |
'body' => 'string',
|
48 |
'from' => 'Page',
|
49 |
'id' => 'string',
|
|
|
50 |
'user' => 'User',
|
51 |
);
|
52 |
}
|
40 |
const BODY = 'body';
|
41 |
const FROM = 'from';
|
42 |
const ID = 'id';
|
43 |
+
const NOTE_LABEL = 'note_label';
|
44 |
const USER = 'user';
|
45 |
|
46 |
public function getFieldTypes() {
|
48 |
'body' => 'string',
|
49 |
'from' => 'Page',
|
50 |
'id' => 'string',
|
51 |
+
'note_label' => 'string',
|
52 |
'user' => 'User',
|
53 |
);
|
54 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php
CHANGED
@@ -128,7 +128,6 @@ class PageFields extends AbstractEnum {
|
|
128 |
const NEW_LIKE_COUNT = 'new_like_count';
|
129 |
const OFFER_ELIGIBLE = 'offer_eligible';
|
130 |
const OVERALL_STAR_RATING = 'overall_star_rating';
|
131 |
-
const PAGE_ABOUT_STORY = 'page_about_story';
|
132 |
const PAGE_TOKEN = 'page_token';
|
133 |
const PARENT_PAGE = 'parent_page';
|
134 |
const PARKING = 'parking';
|
@@ -137,6 +136,7 @@ class PageFields extends AbstractEnum {
|
|
137 |
const PERSONAL_INTERESTS = 'personal_interests';
|
138 |
const PHARMA_SAFETY_INFO = 'pharma_safety_info';
|
139 |
const PHONE = 'phone';
|
|
|
140 |
const PLACE_TYPE = 'place_type';
|
141 |
const PLOT_OUTLINE = 'plot_outline';
|
142 |
const PREFERRED_AUDIENCE = 'preferred_audience';
|
@@ -272,7 +272,6 @@ class PageFields extends AbstractEnum {
|
|
272 |
'new_like_count' => 'unsigned int',
|
273 |
'offer_eligible' => 'bool',
|
274 |
'overall_star_rating' => 'float',
|
275 |
-
'page_about_story' => 'PageAboutStory',
|
276 |
'page_token' => 'string',
|
277 |
'parent_page' => 'Page',
|
278 |
'parking' => 'PageParking',
|
@@ -281,6 +280,7 @@ class PageFields extends AbstractEnum {
|
|
281 |
'personal_interests' => 'string',
|
282 |
'pharma_safety_info' => 'string',
|
283 |
'phone' => 'string',
|
|
|
284 |
'place_type' => 'string',
|
285 |
'plot_outline' => 'string',
|
286 |
'preferred_audience' => 'Targeting',
|
128 |
const NEW_LIKE_COUNT = 'new_like_count';
|
129 |
const OFFER_ELIGIBLE = 'offer_eligible';
|
130 |
const OVERALL_STAR_RATING = 'overall_star_rating';
|
|
|
131 |
const PAGE_TOKEN = 'page_token';
|
132 |
const PARENT_PAGE = 'parent_page';
|
133 |
const PARKING = 'parking';
|
136 |
const PERSONAL_INTERESTS = 'personal_interests';
|
137 |
const PHARMA_SAFETY_INFO = 'pharma_safety_info';
|
138 |
const PHONE = 'phone';
|
139 |
+
const PICKUP_OPTIONS = 'pickup_options';
|
140 |
const PLACE_TYPE = 'place_type';
|
141 |
const PLOT_OUTLINE = 'plot_outline';
|
142 |
const PREFERRED_AUDIENCE = 'preferred_audience';
|
272 |
'new_like_count' => 'unsigned int',
|
273 |
'offer_eligible' => 'bool',
|
274 |
'overall_star_rating' => 'float',
|
|
|
275 |
'page_token' => 'string',
|
276 |
'parent_page' => 'Page',
|
277 |
'parking' => 'PageParking',
|
280 |
'personal_interests' => 'string',
|
281 |
'pharma_safety_info' => 'string',
|
282 |
'phone' => 'string',
|
283 |
+
'pickup_options' => 'list<string>',
|
284 |
'place_type' => 'string',
|
285 |
'plot_outline' => 'string',
|
286 |
'preferred_audience' => 'Targeting',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PagePostFields.php
CHANGED
@@ -62,6 +62,7 @@ class PagePostFields extends AbstractEnum {
|
|
62 |
const ID = 'id';
|
63 |
const IMPLICIT_PLACE = 'implicit_place';
|
64 |
const INSTAGRAM_ELIGIBILITY = 'instagram_eligibility';
|
|
|
65 |
const IS_APP_SHARE = 'is_app_share';
|
66 |
const IS_ELIGIBLE_FOR_PROMOTION = 'is_eligible_for_promotion';
|
67 |
const IS_EXPIRED = 'is_expired';
|
@@ -80,6 +81,7 @@ class PagePostFields extends AbstractEnum {
|
|
80 |
const PERMALINK_URL = 'permalink_url';
|
81 |
const PICTURE = 'picture';
|
82 |
const PLACE = 'place';
|
|
|
83 |
const PRIVACY = 'privacy';
|
84 |
const PROMOTABLE_ID = 'promotable_id';
|
85 |
const PROMOTION_STATUS = 'promotion_status';
|
@@ -128,6 +130,7 @@ class PagePostFields extends AbstractEnum {
|
|
128 |
'id' => 'string',
|
129 |
'implicit_place' => 'Place',
|
130 |
'instagram_eligibility' => 'string',
|
|
|
131 |
'is_app_share' => 'bool',
|
132 |
'is_eligible_for_promotion' => 'bool',
|
133 |
'is_expired' => 'bool',
|
@@ -146,6 +149,7 @@ class PagePostFields extends AbstractEnum {
|
|
146 |
'permalink_url' => 'Object',
|
147 |
'picture' => 'string',
|
148 |
'place' => 'Place',
|
|
|
149 |
'privacy' => 'Privacy',
|
150 |
'promotable_id' => 'string',
|
151 |
'promotion_status' => 'string',
|
62 |
const ID = 'id';
|
63 |
const IMPLICIT_PLACE = 'implicit_place';
|
64 |
const INSTAGRAM_ELIGIBILITY = 'instagram_eligibility';
|
65 |
+
const INSTREAM_ELIGIBILITY = 'instream_eligibility';
|
66 |
const IS_APP_SHARE = 'is_app_share';
|
67 |
const IS_ELIGIBLE_FOR_PROMOTION = 'is_eligible_for_promotion';
|
68 |
const IS_EXPIRED = 'is_expired';
|
81 |
const PERMALINK_URL = 'permalink_url';
|
82 |
const PICTURE = 'picture';
|
83 |
const PLACE = 'place';
|
84 |
+
const POLL = 'poll';
|
85 |
const PRIVACY = 'privacy';
|
86 |
const PROMOTABLE_ID = 'promotable_id';
|
87 |
const PROMOTION_STATUS = 'promotion_status';
|
130 |
'id' => 'string',
|
131 |
'implicit_place' => 'Place',
|
132 |
'instagram_eligibility' => 'string',
|
133 |
+
'instream_eligibility' => 'string',
|
134 |
'is_app_share' => 'bool',
|
135 |
'is_eligible_for_promotion' => 'bool',
|
136 |
'is_expired' => 'bool',
|
149 |
'permalink_url' => 'Object',
|
150 |
'picture' => 'string',
|
151 |
'place' => 'Place',
|
152 |
+
'poll' => 'Object',
|
153 |
'privacy' => 'Privacy',
|
154 |
'promotable_id' => 'string',
|
155 |
'promotion_status' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PaymentSubscriptionFields.php
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 PaymentSubscriptionFields extends AbstractEnum {
|
39 |
+
|
40 |
+
const AMOUNT = 'amount';
|
41 |
+
const APP_PARAM_DATA = 'app_param_data';
|
42 |
+
const APPLICATION = 'application';
|
43 |
+
const BILLING_PERIOD = 'billing_period';
|
44 |
+
const CANCELED_REASON = 'canceled_reason';
|
45 |
+
const CREATED_TIME = 'created_time';
|
46 |
+
const CURRENCY = 'currency';
|
47 |
+
const ID = 'id';
|
48 |
+
const LAST_PAYMENT = 'last_payment';
|
49 |
+
const NEXT_BILL_TIME = 'next_bill_time';
|
50 |
+
const NEXT_PERIOD_AMOUNT = 'next_period_amount';
|
51 |
+
const NEXT_PERIOD_CURRENCY = 'next_period_currency';
|
52 |
+
const NEXT_PERIOD_PRODUCT = 'next_period_product';
|
53 |
+
const PAYMENT_STATUS = 'payment_status';
|
54 |
+
const PENDING_CANCEL = 'pending_cancel';
|
55 |
+
const PERIOD_START_TIME = 'period_start_time';
|
56 |
+
const PRODUCT = 'product';
|
57 |
+
const STATUS = 'status';
|
58 |
+
const TEST = 'test';
|
59 |
+
const TRIAL_AMOUNT = 'trial_amount';
|
60 |
+
const TRIAL_CURRENCY = 'trial_currency';
|
61 |
+
const TRIAL_EXPIRY_TIME = 'trial_expiry_time';
|
62 |
+
const UPDATED_TIME = 'updated_time';
|
63 |
+
const USER = 'user';
|
64 |
+
|
65 |
+
public function getFieldTypes() {
|
66 |
+
return array(
|
67 |
+
'amount' => 'string',
|
68 |
+
'app_param_data' => 'string',
|
69 |
+
'application' => 'Profile',
|
70 |
+
'billing_period' => 'string',
|
71 |
+
'canceled_reason' => 'string',
|
72 |
+
'created_time' => 'datetime',
|
73 |
+
'currency' => 'string',
|
74 |
+
'id' => 'string',
|
75 |
+
'last_payment' => 'string',
|
76 |
+
'next_bill_time' => 'datetime',
|
77 |
+
'next_period_amount' => 'string',
|
78 |
+
'next_period_currency' => 'string',
|
79 |
+
'next_period_product' => 'string',
|
80 |
+
'payment_status' => 'string',
|
81 |
+
'pending_cancel' => 'bool',
|
82 |
+
'period_start_time' => 'datetime',
|
83 |
+
'product' => 'string',
|
84 |
+
'status' => 'string',
|
85 |
+
'test' => 'unsigned int',
|
86 |
+
'trial_amount' => 'string',
|
87 |
+
'trial_currency' => 'string',
|
88 |
+
'trial_expiry_time' => 'datetime',
|
89 |
+
'updated_time' => 'datetime',
|
90 |
+
'user' => 'Profile',
|
91 |
+
);
|
92 |
+
}
|
93 |
+
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PostFields.php
CHANGED
@@ -64,6 +64,7 @@ class PostFields extends AbstractEnum {
|
|
64 |
const ID = 'id';
|
65 |
const IMPLICIT_PLACE = 'implicit_place';
|
66 |
const INSTAGRAM_ELIGIBILITY = 'instagram_eligibility';
|
|
|
67 |
const IS_APP_SHARE = 'is_app_share';
|
68 |
const IS_ELIGIBLE_FOR_PROMOTION = 'is_eligible_for_promotion';
|
69 |
const IS_EXPIRED = 'is_expired';
|
@@ -85,6 +86,7 @@ class PostFields extends AbstractEnum {
|
|
85 |
const PERMALINK_URL = 'permalink_url';
|
86 |
const PICTURE = 'picture';
|
87 |
const PLACE = 'place';
|
|
|
88 |
const PRIVACY = 'privacy';
|
89 |
const PROMOTABLE_ID = 'promotable_id';
|
90 |
const PROMOTION_STATUS = 'promotion_status';
|
@@ -137,6 +139,7 @@ class PostFields extends AbstractEnum {
|
|
137 |
'id' => 'string',
|
138 |
'implicit_place' => 'Place',
|
139 |
'instagram_eligibility' => 'string',
|
|
|
140 |
'is_app_share' => 'bool',
|
141 |
'is_eligible_for_promotion' => 'bool',
|
142 |
'is_expired' => 'bool',
|
@@ -158,6 +161,7 @@ class PostFields extends AbstractEnum {
|
|
158 |
'permalink_url' => 'Object',
|
159 |
'picture' => 'string',
|
160 |
'place' => 'Place',
|
|
|
161 |
'privacy' => 'Privacy',
|
162 |
'promotable_id' => 'string',
|
163 |
'promotion_status' => 'string',
|
64 |
const ID = 'id';
|
65 |
const IMPLICIT_PLACE = 'implicit_place';
|
66 |
const INSTAGRAM_ELIGIBILITY = 'instagram_eligibility';
|
67 |
+
const INSTREAM_ELIGIBILITY = 'instream_eligibility';
|
68 |
const IS_APP_SHARE = 'is_app_share';
|
69 |
const IS_ELIGIBLE_FOR_PROMOTION = 'is_eligible_for_promotion';
|
70 |
const IS_EXPIRED = 'is_expired';
|
86 |
const PERMALINK_URL = 'permalink_url';
|
87 |
const PICTURE = 'picture';
|
88 |
const PLACE = 'place';
|
89 |
+
const POLL = 'poll';
|
90 |
const PRIVACY = 'privacy';
|
91 |
const PROMOTABLE_ID = 'promotable_id';
|
92 |
const PROMOTION_STATUS = 'promotion_status';
|
139 |
'id' => 'string',
|
140 |
'implicit_place' => 'Place',
|
141 |
'instagram_eligibility' => 'string',
|
142 |
+
'instream_eligibility' => 'string',
|
143 |
'is_app_share' => 'bool',
|
144 |
'is_eligible_for_promotion' => 'bool',
|
145 |
'is_expired' => 'bool',
|
161 |
'permalink_url' => 'Object',
|
162 |
'picture' => 'string',
|
163 |
'place' => 'Place',
|
164 |
+
'poll' => 'Object',
|
165 |
'privacy' => 'Privacy',
|
166 |
'promotable_id' => 'string',
|
167 |
'promotion_status' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogFields.php
CHANGED
@@ -49,9 +49,12 @@ class ProductCatalogFields extends AbstractEnum {
|
|
49 |
const PRODUCT_COUNT = 'product_count';
|
50 |
const STORE_CATALOG_SETTINGS = 'store_catalog_settings';
|
51 |
const VERTICAL = 'vertical';
|
|
|
|
|
52 |
const DESTINATION_CATALOG_SETTINGS = 'destination_catalog_settings';
|
53 |
const FLIGHT_CATALOG_SETTINGS = 'flight_catalog_settings';
|
54 |
const ONSITE_COMMERCE_MERCHANT = 'onsite_commerce_merchant';
|
|
|
55 |
|
56 |
public function getFieldTypes() {
|
57 |
return array(
|
@@ -67,9 +70,12 @@ class ProductCatalogFields extends AbstractEnum {
|
|
67 |
'product_count' => 'int',
|
68 |
'store_catalog_settings' => 'StoreCatalogSettings',
|
69 |
'vertical' => 'string',
|
|
|
|
|
70 |
'destination_catalog_settings' => 'map',
|
71 |
'flight_catalog_settings' => 'map',
|
72 |
'onsite_commerce_merchant' => 'Object',
|
|
|
73 |
);
|
74 |
}
|
75 |
}
|
49 |
const PRODUCT_COUNT = 'product_count';
|
50 |
const STORE_CATALOG_SETTINGS = 'store_catalog_settings';
|
51 |
const VERTICAL = 'vertical';
|
52 |
+
const CATALOG_SEGMENT_FILTER = 'catalog_segment_filter';
|
53 |
+
const CATALOG_SEGMENT_PRODUCT_SET_ID = 'catalog_segment_product_set_id';
|
54 |
const DESTINATION_CATALOG_SETTINGS = 'destination_catalog_settings';
|
55 |
const FLIGHT_CATALOG_SETTINGS = 'flight_catalog_settings';
|
56 |
const ONSITE_COMMERCE_MERCHANT = 'onsite_commerce_merchant';
|
57 |
+
const PARENT_CATALOG_ID = 'parent_catalog_id';
|
58 |
|
59 |
public function getFieldTypes() {
|
60 |
return array(
|
70 |
'product_count' => 'int',
|
71 |
'store_catalog_settings' => 'StoreCatalogSettings',
|
72 |
'vertical' => 'string',
|
73 |
+
'catalog_segment_filter' => 'Object',
|
74 |
+
'catalog_segment_product_set_id' => 'string',
|
75 |
'destination_catalog_settings' => 'map',
|
76 |
'flight_catalog_settings' => 'map',
|
77 |
'onsite_commerce_merchant' => 'Object',
|
78 |
+
'parent_catalog_id' => 'string',
|
79 |
);
|
80 |
}
|
81 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductFeedFields.php
CHANGED
@@ -45,6 +45,7 @@ class ProductFeedFields extends AbstractEnum {
|
|
45 |
const ENCODING = 'encoding';
|
46 |
const FILE_NAME = 'file_name';
|
47 |
const ID = 'id';
|
|
|
48 |
const LATEST_UPLOAD = 'latest_upload';
|
49 |
const NAME = 'name';
|
50 |
const OVERRIDE_TYPE = 'override_type';
|
@@ -67,6 +68,7 @@ class ProductFeedFields extends AbstractEnum {
|
|
67 |
'encoding' => 'string',
|
68 |
'file_name' => 'string',
|
69 |
'id' => 'string',
|
|
|
70 |
'latest_upload' => 'ProductFeedUpload',
|
71 |
'name' => 'string',
|
72 |
'override_type' => 'string',
|
45 |
const ENCODING = 'encoding';
|
46 |
const FILE_NAME = 'file_name';
|
47 |
const ID = 'id';
|
48 |
+
const ITEM_SUB_TYPE = 'item_sub_type';
|
49 |
const LATEST_UPLOAD = 'latest_upload';
|
50 |
const NAME = 'name';
|
51 |
const OVERRIDE_TYPE = 'override_type';
|
68 |
'encoding' => 'string',
|
69 |
'file_name' => 'string',
|
70 |
'id' => 'string',
|
71 |
+
'item_sub_type' => 'string',
|
72 |
'latest_upload' => 'ProductFeedUpload',
|
73 |
'name' => 'string',
|
74 |
'override_type' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php
CHANGED
@@ -46,6 +46,7 @@ class ProductItemFields extends AbstractEnum {
|
|
46 |
const BRAND = 'brand';
|
47 |
const CAPABILITY_TO_REVIEW_STATUS = 'capability_to_review_status';
|
48 |
const CATEGORY = 'category';
|
|
|
49 |
const COLOR = 'color';
|
50 |
const COMMERCE_INSIGHTS = 'commerce_insights';
|
51 |
const CONDITION = 'condition';
|
@@ -58,6 +59,7 @@ class ProductItemFields extends AbstractEnum {
|
|
58 |
const CUSTOM_LABEL_4 = 'custom_label_4';
|
59 |
const DESCRIPTION = 'description';
|
60 |
const EXPIRATION_DATE = 'expiration_date';
|
|
|
61 |
const GENDER = 'gender';
|
62 |
const GTIN = 'gtin';
|
63 |
const ID = 'id';
|
@@ -125,6 +127,7 @@ class ProductItemFields extends AbstractEnum {
|
|
125 |
'brand' => 'string',
|
126 |
'capability_to_review_status' => 'map<Object, Object>',
|
127 |
'category' => 'string',
|
|
|
128 |
'color' => 'string',
|
129 |
'commerce_insights' => 'ProductItemCommerceInsights',
|
130 |
'condition' => 'Condition',
|
@@ -137,6 +140,7 @@ class ProductItemFields extends AbstractEnum {
|
|
137 |
'custom_label_4' => 'string',
|
138 |
'description' => 'string',
|
139 |
'expiration_date' => 'string',
|
|
|
140 |
'gender' => 'Gender',
|
141 |
'gtin' => 'string',
|
142 |
'id' => 'string',
|
46 |
const BRAND = 'brand';
|
47 |
const CAPABILITY_TO_REVIEW_STATUS = 'capability_to_review_status';
|
48 |
const CATEGORY = 'category';
|
49 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
50 |
const COLOR = 'color';
|
51 |
const COMMERCE_INSIGHTS = 'commerce_insights';
|
52 |
const CONDITION = 'condition';
|
59 |
const CUSTOM_LABEL_4 = 'custom_label_4';
|
60 |
const DESCRIPTION = 'description';
|
61 |
const EXPIRATION_DATE = 'expiration_date';
|
62 |
+
const FB_PRODUCT_CATEGORY = 'fb_product_category';
|
63 |
const GENDER = 'gender';
|
64 |
const GTIN = 'gtin';
|
65 |
const ID = 'id';
|
127 |
'brand' => 'string',
|
128 |
'capability_to_review_status' => 'map<Object, Object>',
|
129 |
'category' => 'string',
|
130 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
131 |
'color' => 'string',
|
132 |
'commerce_insights' => 'ProductItemCommerceInsights',
|
133 |
'condition' => 'Condition',
|
140 |
'custom_label_4' => 'string',
|
141 |
'description' => 'string',
|
142 |
'expiration_date' => 'string',
|
143 |
+
'fb_product_category' => 'string',
|
144 |
'gender' => 'Gender',
|
145 |
'gtin' => 'string',
|
146 |
'id' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductSetFields.php
CHANGED
@@ -40,18 +40,26 @@ class ProductSetFields extends AbstractEnum {
|
|
40 |
const AUTO_CREATION_URL = 'auto_creation_url';
|
41 |
const FILTER = 'filter';
|
42 |
const ID = 'id';
|
|
|
|
|
43 |
const NAME = 'name';
|
44 |
const PRODUCT_CATALOG = 'product_catalog';
|
45 |
const PRODUCT_COUNT = 'product_count';
|
|
|
|
|
46 |
|
47 |
public function getFieldTypes() {
|
48 |
return array(
|
49 |
'auto_creation_url' => 'string',
|
50 |
'filter' => 'string',
|
51 |
'id' => 'string',
|
|
|
|
|
52 |
'name' => 'string',
|
53 |
'product_catalog' => 'ProductCatalog',
|
54 |
'product_count' => 'unsigned int',
|
|
|
|
|
55 |
);
|
56 |
}
|
57 |
}
|
40 |
const AUTO_CREATION_URL = 'auto_creation_url';
|
41 |
const FILTER = 'filter';
|
42 |
const ID = 'id';
|
43 |
+
const LATEST_METADATA = 'latest_metadata';
|
44 |
+
const LIVE_METADATA = 'live_metadata';
|
45 |
const NAME = 'name';
|
46 |
const PRODUCT_CATALOG = 'product_catalog';
|
47 |
const PRODUCT_COUNT = 'product_count';
|
48 |
+
const RETAILER_ID = 'retailer_id';
|
49 |
+
const METADATA = 'metadata';
|
50 |
|
51 |
public function getFieldTypes() {
|
52 |
return array(
|
53 |
'auto_creation_url' => 'string',
|
54 |
'filter' => 'string',
|
55 |
'id' => 'string',
|
56 |
+
'latest_metadata' => 'ProductSetMetadata',
|
57 |
+
'live_metadata' => 'ProductSetMetadata',
|
58 |
'name' => 'string',
|
59 |
'product_catalog' => 'ProductCatalog',
|
60 |
'product_count' => 'unsigned int',
|
61 |
+
'retailer_id' => 'string',
|
62 |
+
'metadata' => 'map',
|
63 |
);
|
64 |
}
|
65 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{MessengerPlatformReferralFields.php → ProductSetMetadataFields.php}
RENAMED
@@ -35,21 +35,19 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const
|
41 |
-
const
|
42 |
-
const
|
43 |
-
const
|
44 |
-
const TYPE = 'type';
|
45 |
|
46 |
public function getFieldTypes() {
|
47 |
return array(
|
48 |
-
'
|
49 |
-
'
|
50 |
-
'
|
51 |
-
'
|
52 |
-
'type' => 'string',
|
53 |
);
|
54 |
}
|
55 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class ProductSetMetadataFields extends AbstractEnum {
|
39 |
|
40 |
+
const COVER_IMAGE_URL = 'cover_image_url';
|
41 |
+
const DESCRIPTION = 'description';
|
42 |
+
const EXTERNAL_URL = 'external_url';
|
43 |
+
const INTEGRITY_REVIEW_STATUS = 'integrity_review_status';
|
|
|
44 |
|
45 |
public function getFieldTypes() {
|
46 |
return array(
|
47 |
+
'cover_image_url' => 'string',
|
48 |
+
'description' => 'string',
|
49 |
+
'external_url' => 'string',
|
50 |
+
'integrity_review_status' => 'string',
|
|
|
51 |
);
|
52 |
}
|
53 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SecuritySettingsFields.php
CHANGED
@@ -37,11 +37,9 @@ use FacebookAds\Enum\AbstractEnum;
|
|
37 |
|
38 |
class SecuritySettingsFields extends AbstractEnum {
|
39 |
|
40 |
-
const SECURE_BROWSING = 'secure_browsing';
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
44 |
-
'secure_browsing' => 'Object',
|
45 |
);
|
46 |
}
|
47 |
}
|
37 |
|
38 |
class SecuritySettingsFields extends AbstractEnum {
|
39 |
|
|
|
40 |
|
41 |
public function getFieldTypes() {
|
42 |
return array(
|
|
|
43 |
);
|
44 |
}
|
45 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/SplitTestConfigFields.php
DELETED
@@ -1,59 +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 SplitTestConfigFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const BUDGET = 'budget';
|
41 |
-
const EARLY_WINNER_DECLARATION_ENABLED = 'early_winner_declaration_enabled';
|
42 |
-
const END_TIME = 'end_time';
|
43 |
-
const SPLITS = 'splits';
|
44 |
-
const START_TIME = 'start_time';
|
45 |
-
const TEST_VARIABLE = 'test_variable';
|
46 |
-
const ID = 'id';
|
47 |
-
|
48 |
-
public function getFieldTypes() {
|
49 |
-
return array(
|
50 |
-
'budget' => 'int',
|
51 |
-
'early_winner_declaration_enabled' => 'bool',
|
52 |
-
'end_time' => 'datetime',
|
53 |
-
'splits' => 'list<int>',
|
54 |
-
'start_time' => 'datetime',
|
55 |
-
'test_variable' => 'string',
|
56 |
-
'id' => 'string',
|
57 |
-
);
|
58 |
-
}
|
59 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/TargetingFields.php
CHANGED
@@ -95,6 +95,7 @@ class TargetingFields extends AbstractEnum {
|
|
95 |
const INCOME = 'income';
|
96 |
const INDUSTRIES = 'industries';
|
97 |
const INSTAGRAM_POSITIONS = 'instagram_positions';
|
|
|
98 |
const INTERESTED_IN = 'interested_in';
|
99 |
const INTERESTS = 'interests';
|
100 |
const IS_WHATSAPP_DESTINATION_AD = 'is_whatsapp_destination_ad';
|
@@ -137,7 +138,7 @@ class TargetingFields extends AbstractEnum {
|
|
137 |
'catalog_based_targeting' => 'CatalogBasedTargeting',
|
138 |
'cities' => 'list<IDName>',
|
139 |
'college_years' => 'list<unsigned int>',
|
140 |
-
'connections' => 'list<
|
141 |
'contextual_targeting_categories' => 'list<IDName>',
|
142 |
'countries' => 'list<string>',
|
143 |
'country' => 'list<string>',
|
@@ -159,7 +160,7 @@ class TargetingFields extends AbstractEnum {
|
|
159 |
'ethnic_affinity' => 'list<IDName>',
|
160 |
'exclude_reached_since' => 'list<string>',
|
161 |
'excluded_brand_safety_content_types' => 'list<string>',
|
162 |
-
'excluded_connections' => 'list<
|
163 |
'excluded_custom_audiences' => 'list<RawCustomAudience>',
|
164 |
'excluded_dynamic_audience_ids' => 'list<string>',
|
165 |
'excluded_engagement_specs' => 'list<TargetingDynamicRule>',
|
@@ -174,7 +175,7 @@ class TargetingFields extends AbstractEnum {
|
|
174 |
'family_statuses' => 'list<IDName>',
|
175 |
'fb_deal_id' => 'string',
|
176 |
'flexible_spec' => 'list<FlexibleTargeting>',
|
177 |
-
'friends_of_connections' => 'list<
|
178 |
'genders' => 'list<unsigned int>',
|
179 |
'generation' => 'list<IDName>',
|
180 |
'geo_locations' => 'TargetingGeoLocation',
|
@@ -185,6 +186,7 @@ class TargetingFields extends AbstractEnum {
|
|
185 |
'income' => 'list<IDName>',
|
186 |
'industries' => 'list<IDName>',
|
187 |
'instagram_positions' => 'list<string>',
|
|
|
188 |
'interested_in' => 'list<unsigned int>',
|
189 |
'interests' => 'list<IDName>',
|
190 |
'is_whatsapp_destination_ad' => 'bool',
|
95 |
const INCOME = 'income';
|
96 |
const INDUSTRIES = 'industries';
|
97 |
const INSTAGRAM_POSITIONS = 'instagram_positions';
|
98 |
+
const INSTREAM_VIDEO_SKIPPABLE_EXCLUDED = 'instream_video_skippable_excluded';
|
99 |
const INTERESTED_IN = 'interested_in';
|
100 |
const INTERESTS = 'interests';
|
101 |
const IS_WHATSAPP_DESTINATION_AD = 'is_whatsapp_destination_ad';
|
138 |
'catalog_based_targeting' => 'CatalogBasedTargeting',
|
139 |
'cities' => 'list<IDName>',
|
140 |
'college_years' => 'list<unsigned int>',
|
141 |
+
'connections' => 'list<ConnectionsTargeting>',
|
142 |
'contextual_targeting_categories' => 'list<IDName>',
|
143 |
'countries' => 'list<string>',
|
144 |
'country' => 'list<string>',
|
160 |
'ethnic_affinity' => 'list<IDName>',
|
161 |
'exclude_reached_since' => 'list<string>',
|
162 |
'excluded_brand_safety_content_types' => 'list<string>',
|
163 |
+
'excluded_connections' => 'list<ConnectionsTargeting>',
|
164 |
'excluded_custom_audiences' => 'list<RawCustomAudience>',
|
165 |
'excluded_dynamic_audience_ids' => 'list<string>',
|
166 |
'excluded_engagement_specs' => 'list<TargetingDynamicRule>',
|
175 |
'family_statuses' => 'list<IDName>',
|
176 |
'fb_deal_id' => 'string',
|
177 |
'flexible_spec' => 'list<FlexibleTargeting>',
|
178 |
+
'friends_of_connections' => 'list<ConnectionsTargeting>',
|
179 |
'genders' => 'list<unsigned int>',
|
180 |
'generation' => 'list<IDName>',
|
181 |
'geo_locations' => 'TargetingGeoLocation',
|
186 |
'income' => 'list<IDName>',
|
187 |
'industries' => 'list<IDName>',
|
188 |
'instagram_positions' => 'list<string>',
|
189 |
+
'instream_video_skippable_excluded' => 'bool',
|
190 |
'interested_in' => 'list<unsigned int>',
|
191 |
'interests' => 'list<IDName>',
|
192 |
'is_whatsapp_destination_ad' => 'bool',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/{StreamingReactionFields.php → TargetingRelaxationFields.php}
RENAMED
@@ -35,15 +35,13 @@ use FacebookAds\Enum\AbstractEnum;
|
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
-
class
|
39 |
|
40 |
-
const
|
41 |
-
const REACTION_TYPE = 'reaction_type';
|
42 |
|
43 |
public function getFieldTypes() {
|
44 |
return array(
|
45 |
-
'
|
46 |
-
'reaction_type' => 'ReactionType',
|
47 |
);
|
48 |
}
|
49 |
}
|
35 |
*
|
36 |
*/
|
37 |
|
38 |
+
class TargetingRelaxationFields extends AbstractEnum {
|
39 |
|
40 |
+
const LOOKALIKE = 'lookalike';
|
|
|
41 |
|
42 |
public function getFieldTypes() {
|
43 |
return array(
|
44 |
+
'lookalike' => 'unsigned int',
|
|
|
45 |
);
|
46 |
}
|
47 |
}
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UnifiedThreadFields.php
CHANGED
@@ -42,6 +42,7 @@ class UnifiedThreadFields extends AbstractEnum {
|
|
42 |
const ID = 'id';
|
43 |
const IS_SUBSCRIBED = 'is_subscribed';
|
44 |
const LINK = 'link';
|
|
|
45 |
const MESSAGE_COUNT = 'message_count';
|
46 |
const NAME = 'name';
|
47 |
const PARTICIPANTS = 'participants';
|
@@ -60,6 +61,7 @@ class UnifiedThreadFields extends AbstractEnum {
|
|
60 |
'id' => 'string',
|
61 |
'is_subscribed' => 'bool',
|
62 |
'link' => 'string',
|
|
|
63 |
'message_count' => 'int',
|
64 |
'name' => 'string',
|
65 |
'participants' => 'Object',
|
42 |
const ID = 'id';
|
43 |
const IS_SUBSCRIBED = 'is_subscribed';
|
44 |
const LINK = 'link';
|
45 |
+
const LINKED_GROUP = 'linked_group';
|
46 |
const MESSAGE_COUNT = 'message_count';
|
47 |
const NAME = 'name';
|
48 |
const PARTICIPANTS = 'participants';
|
61 |
'id' => 'string',
|
62 |
'is_subscribed' => 'bool',
|
63 |
'link' => 'string',
|
64 |
+
'linked_group' => 'Group',
|
65 |
'message_count' => 'int',
|
66 |
'name' => 'string',
|
67 |
'participants' => 'Object',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserFields.php
CHANGED
@@ -43,7 +43,6 @@ class UserFields extends AbstractEnum {
|
|
43 |
const AGE_RANGE = 'age_range';
|
44 |
const AUTH_METHOD = 'auth_method';
|
45 |
const BIRTHDAY = 'birthday';
|
46 |
-
const CAN_REVIEW_MEASUREMENT_REQUEST = 'can_review_measurement_request';
|
47 |
const COVER = 'cover';
|
48 |
const CURRENCY = 'currency';
|
49 |
const DEVICES = 'devices';
|
@@ -59,9 +58,7 @@ class UserFields extends AbstractEnum {
|
|
59 |
const INSTALL_TYPE = 'install_type';
|
60 |
const INSTALLED = 'installed';
|
61 |
const INTERESTED_IN = 'interested_in';
|
62 |
-
const IS_FAMEDEEPLINKINGUSER = 'is_famedeeplinkinguser';
|
63 |
const IS_GUEST_USER = 'is_guest_user';
|
64 |
-
const IS_SHARED_LOGIN = 'is_shared_login';
|
65 |
const IS_VERIFIED = 'is_verified';
|
66 |
const LANGUAGES = 'languages';
|
67 |
const LAST_NAME = 'last_name';
|
@@ -81,20 +78,17 @@ class UserFields extends AbstractEnum {
|
|
81 |
const QUOTES = 'quotes';
|
82 |
const RELATIONSHIP_STATUS = 'relationship_status';
|
83 |
const RELIGION = 'religion';
|
84 |
-
const SECURITY_SETTINGS = 'security_settings';
|
85 |
const SHARED_LOGIN_UPGRADE_REQUIRED_BY = 'shared_login_upgrade_required_by';
|
86 |
const SHORT_NAME = 'short_name';
|
87 |
const SIGNIFICANT_OTHER = 'significant_other';
|
88 |
const SPORTS = 'sports';
|
89 |
const SUPPORTS_DONATE_BUTTON_IN_LIVE_VIDEO = 'supports_donate_button_in_live_video';
|
90 |
-
const TEST_GROUP = 'test_group';
|
91 |
const THIRD_PARTY_ID = 'third_party_id';
|
92 |
const TIMEZONE = 'timezone';
|
93 |
const TOKEN_FOR_BUSINESS = 'token_for_business';
|
94 |
const UPDATED_TIME = 'updated_time';
|
95 |
const VERIFIED = 'verified';
|
96 |
const VIDEO_UPLOAD_LIMITS = 'video_upload_limits';
|
97 |
-
const VIEWER_CAN_SEND_GIFT = 'viewer_can_send_gift';
|
98 |
const WEBSITE = 'website';
|
99 |
const WORK = 'work';
|
100 |
|
@@ -106,7 +100,6 @@ class UserFields extends AbstractEnum {
|
|
106 |
'age_range' => 'AgeRange',
|
107 |
'auth_method' => 'string',
|
108 |
'birthday' => 'string',
|
109 |
-
'can_review_measurement_request' => 'bool',
|
110 |
'cover' => 'UserCoverPhoto',
|
111 |
'currency' => 'Currency',
|
112 |
'devices' => 'list<UserDevice>',
|
@@ -122,9 +115,7 @@ class UserFields extends AbstractEnum {
|
|
122 |
'install_type' => 'string',
|
123 |
'installed' => 'bool',
|
124 |
'interested_in' => 'list<string>',
|
125 |
-
'is_famedeeplinkinguser' => 'bool',
|
126 |
'is_guest_user' => 'bool',
|
127 |
-
'is_shared_login' => 'bool',
|
128 |
'is_verified' => 'bool',
|
129 |
'languages' => 'list<Experience>',
|
130 |
'last_name' => 'string',
|
@@ -144,20 +135,17 @@ class UserFields extends AbstractEnum {
|
|
144 |
'quotes' => 'string',
|
145 |
'relationship_status' => 'string',
|
146 |
'religion' => 'string',
|
147 |
-
'security_settings' => 'SecuritySettings',
|
148 |
'shared_login_upgrade_required_by' => 'datetime',
|
149 |
'short_name' => 'string',
|
150 |
'significant_other' => 'User',
|
151 |
'sports' => 'list<Experience>',
|
152 |
'supports_donate_button_in_live_video' => 'bool',
|
153 |
-
'test_group' => 'unsigned int',
|
154 |
'third_party_id' => 'string',
|
155 |
'timezone' => 'float',
|
156 |
'token_for_business' => 'string',
|
157 |
'updated_time' => 'datetime',
|
158 |
'verified' => 'bool',
|
159 |
'video_upload_limits' => 'VideoUploadLimits',
|
160 |
-
'viewer_can_send_gift' => 'bool',
|
161 |
'website' => 'string',
|
162 |
'work' => 'list<Object>',
|
163 |
);
|
43 |
const AGE_RANGE = 'age_range';
|
44 |
const AUTH_METHOD = 'auth_method';
|
45 |
const BIRTHDAY = 'birthday';
|
|
|
46 |
const COVER = 'cover';
|
47 |
const CURRENCY = 'currency';
|
48 |
const DEVICES = 'devices';
|
58 |
const INSTALL_TYPE = 'install_type';
|
59 |
const INSTALLED = 'installed';
|
60 |
const INTERESTED_IN = 'interested_in';
|
|
|
61 |
const IS_GUEST_USER = 'is_guest_user';
|
|
|
62 |
const IS_VERIFIED = 'is_verified';
|
63 |
const LANGUAGES = 'languages';
|
64 |
const LAST_NAME = 'last_name';
|
78 |
const QUOTES = 'quotes';
|
79 |
const RELATIONSHIP_STATUS = 'relationship_status';
|
80 |
const RELIGION = 'religion';
|
|
|
81 |
const SHARED_LOGIN_UPGRADE_REQUIRED_BY = 'shared_login_upgrade_required_by';
|
82 |
const SHORT_NAME = 'short_name';
|
83 |
const SIGNIFICANT_OTHER = 'significant_other';
|
84 |
const SPORTS = 'sports';
|
85 |
const SUPPORTS_DONATE_BUTTON_IN_LIVE_VIDEO = 'supports_donate_button_in_live_video';
|
|
|
86 |
const THIRD_PARTY_ID = 'third_party_id';
|
87 |
const TIMEZONE = 'timezone';
|
88 |
const TOKEN_FOR_BUSINESS = 'token_for_business';
|
89 |
const UPDATED_TIME = 'updated_time';
|
90 |
const VERIFIED = 'verified';
|
91 |
const VIDEO_UPLOAD_LIMITS = 'video_upload_limits';
|
|
|
92 |
const WEBSITE = 'website';
|
93 |
const WORK = 'work';
|
94 |
|
100 |
'age_range' => 'AgeRange',
|
101 |
'auth_method' => 'string',
|
102 |
'birthday' => 'string',
|
|
|
103 |
'cover' => 'UserCoverPhoto',
|
104 |
'currency' => 'Currency',
|
105 |
'devices' => 'list<UserDevice>',
|
115 |
'install_type' => 'string',
|
116 |
'installed' => 'bool',
|
117 |
'interested_in' => 'list<string>',
|
|
|
118 |
'is_guest_user' => 'bool',
|
|
|
119 |
'is_verified' => 'bool',
|
120 |
'languages' => 'list<Experience>',
|
121 |
'last_name' => 'string',
|
135 |
'quotes' => 'string',
|
136 |
'relationship_status' => 'string',
|
137 |
'religion' => 'string',
|
|
|
138 |
'shared_login_upgrade_required_by' => 'datetime',
|
139 |
'short_name' => 'string',
|
140 |
'significant_other' => 'User',
|
141 |
'sports' => 'list<Experience>',
|
142 |
'supports_donate_button_in_live_video' => 'bool',
|
|
|
143 |
'third_party_id' => 'string',
|
144 |
'timezone' => 'float',
|
145 |
'token_for_business' => 'string',
|
146 |
'updated_time' => 'datetime',
|
147 |
'verified' => 'bool',
|
148 |
'video_upload_limits' => 'VideoUploadLimits',
|
|
|
149 |
'website' => 'string',
|
150 |
'work' => 'list<Object>',
|
151 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserInfluenceFields.php
DELETED
@@ -1,51 +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 UserInfluenceFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const TRUST = 'trust';
|
41 |
-
const TRUST_CODE = 'trust_code';
|
42 |
-
const VERSION = 'version';
|
43 |
-
|
44 |
-
public function getFieldTypes() {
|
45 |
-
return array(
|
46 |
-
'trust' => 'string',
|
47 |
-
'trust_code' => 'int',
|
48 |
-
'version' => 'int',
|
49 |
-
);
|
50 |
-
}
|
51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserTaggableFriendFields.php
DELETED
@@ -1,55 +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 UserTaggableFriendFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const FIRST_NAME = 'first_name';
|
41 |
-
const ID = 'id';
|
42 |
-
const LAST_NAME = 'last_name';
|
43 |
-
const MIDDLE_NAME = 'middle_name';
|
44 |
-
const NAME = 'name';
|
45 |
-
|
46 |
-
public function getFieldTypes() {
|
47 |
-
return array(
|
48 |
-
'first_name' => 'string',
|
49 |
-
'id' => 'string',
|
50 |
-
'last_name' => 'string',
|
51 |
-
'middle_name' => 'string',
|
52 |
-
'name' => 'string',
|
53 |
-
);
|
54 |
-
}
|
55 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleFields.php
CHANGED
@@ -41,6 +41,7 @@ class VehicleFields extends AbstractEnum {
|
|
41 |
const APPLINKS = 'applinks';
|
42 |
const AVAILABILITY = 'availability';
|
43 |
const BODY_STYLE = 'body_style';
|
|
|
44 |
const CONDITION = 'condition';
|
45 |
const CURRENCY = 'currency';
|
46 |
const CUSTOM_LABEL_0 = 'custom_label_0';
|
@@ -88,6 +89,7 @@ class VehicleFields extends AbstractEnum {
|
|
88 |
'applinks' => 'CatalogItemAppLinks',
|
89 |
'availability' => 'string',
|
90 |
'body_style' => 'string',
|
|
|
91 |
'condition' => 'string',
|
92 |
'currency' => 'string',
|
93 |
'custom_label_0' => 'string',
|
41 |
const APPLINKS = 'applinks';
|
42 |
const AVAILABILITY = 'availability';
|
43 |
const BODY_STYLE = 'body_style';
|
44 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
45 |
const CONDITION = 'condition';
|
46 |
const CURRENCY = 'currency';
|
47 |
const CUSTOM_LABEL_0 = 'custom_label_0';
|
89 |
'applinks' => 'CatalogItemAppLinks',
|
90 |
'availability' => 'string',
|
91 |
'body_style' => 'string',
|
92 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
93 |
'condition' => 'string',
|
94 |
'currency' => 'string',
|
95 |
'custom_label_0' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/VehicleOfferFields.php
CHANGED
@@ -45,6 +45,7 @@ class VehicleOfferFields extends AbstractEnum {
|
|
45 |
const BODY_STYLE = 'body_style';
|
46 |
const CASHBACK_CURRENCY = 'cashback_currency';
|
47 |
const CASHBACK_PRICE = 'cashback_price';
|
|
|
48 |
const CURRENCY = 'currency';
|
49 |
const DMA_CODES = 'dma_codes';
|
50 |
const DOWNPAYMENT_CURRENCY = 'downpayment_currency';
|
@@ -81,6 +82,7 @@ class VehicleOfferFields extends AbstractEnum {
|
|
81 |
'body_style' => 'string',
|
82 |
'cashback_currency' => 'string',
|
83 |
'cashback_price' => 'string',
|
|
|
84 |
'currency' => 'string',
|
85 |
'dma_codes' => 'list<string>',
|
86 |
'downpayment_currency' => 'string',
|
45 |
const BODY_STYLE = 'body_style';
|
46 |
const CASHBACK_CURRENCY = 'cashback_currency';
|
47 |
const CASHBACK_PRICE = 'cashback_price';
|
48 |
+
const CATEGORY_SPECIFIC_FIELDS = 'category_specific_fields';
|
49 |
const CURRENCY = 'currency';
|
50 |
const DMA_CODES = 'dma_codes';
|
51 |
const DOWNPAYMENT_CURRENCY = 'downpayment_currency';
|
82 |
'body_style' => 'string',
|
83 |
'cashback_currency' => 'string',
|
84 |
'cashback_price' => 'string',
|
85 |
+
'category_specific_fields' => 'CatalogSubVerticalList',
|
86 |
'currency' => 'string',
|
87 |
'dma_codes' => 'list<string>',
|
88 |
'downpayment_currency' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php
CHANGED
@@ -43,6 +43,7 @@ class WhatsAppBusinessAccountFields extends AbstractEnum {
|
|
43 |
const MESSAGE_TEMPLATE_NAMESPACE = 'message_template_namespace';
|
44 |
const NAME = 'name';
|
45 |
const ON_BEHALF_OF_BUSINESS_INFO = 'on_behalf_of_business_info';
|
|
|
46 |
const PURCHASE_ORDER_NUMBER = 'purchase_order_number';
|
47 |
const STATUS = 'status';
|
48 |
const TIMEZONE_ID = 'timezone_id';
|
@@ -55,6 +56,7 @@ class WhatsAppBusinessAccountFields extends AbstractEnum {
|
|
55 |
'message_template_namespace' => 'string',
|
56 |
'name' => 'string',
|
57 |
'on_behalf_of_business_info' => 'Object',
|
|
|
58 |
'purchase_order_number' => 'string',
|
59 |
'status' => 'string',
|
60 |
'timezone_id' => 'string',
|
43 |
const MESSAGE_TEMPLATE_NAMESPACE = 'message_template_namespace';
|
44 |
const NAME = 'name';
|
45 |
const ON_BEHALF_OF_BUSINESS_INFO = 'on_behalf_of_business_info';
|
46 |
+
const PRIMARY_FUNDING_ID = 'primary_funding_id';
|
47 |
const PURCHASE_ORDER_NUMBER = 'purchase_order_number';
|
48 |
const STATUS = 'status';
|
49 |
const TIMEZONE_ID = 'timezone_id';
|
56 |
'message_template_namespace' => 'string',
|
57 |
'name' => 'string',
|
58 |
'on_behalf_of_business_info' => 'Object',
|
59 |
+
'primary_funding_id' => 'string',
|
60 |
'purchase_order_number' => 'string',
|
61 |
'status' => 'string',
|
62 |
'timezone_id' => 'string',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessProfileFields.php
DELETED
@@ -1,51 +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 WhatsAppBusinessProfileFields extends AbstractEnum {
|
39 |
-
|
40 |
-
const ID = 'id';
|
41 |
-
const NAME_VERIFICATION = 'name_verification';
|
42 |
-
const VERIFIED_NAME = 'verified_name';
|
43 |
-
|
44 |
-
public function getFieldTypes() {
|
45 |
-
return array(
|
46 |
-
'id' => 'string',
|
47 |
-
'name_verification' => 'Object',
|
48 |
-
'verified_name' => 'string',
|
49 |
-
);
|
50 |
-
}
|
51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php
CHANGED
@@ -51,6 +51,7 @@ use FacebookAds\Object\Values\LiveVideoStereoscopicModeValues;
|
|
51 |
use FacebookAds\Object\Values\LiveVideoStreamTypeValues;
|
52 |
use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
|
53 |
use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
|
|
|
54 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
55 |
|
56 |
/**
|
@@ -510,6 +511,7 @@ class Group extends AbstractCrudObject {
|
|
510 |
$param_types = array(
|
511 |
'content_tags' => 'list<string>',
|
512 |
'description' => 'string',
|
|
|
513 |
'encoding_settings' => 'string',
|
514 |
'fisheye_video_cropped' => 'bool',
|
515 |
'front_z_rotation' => 'float',
|
@@ -521,7 +523,6 @@ class Group extends AbstractCrudObject {
|
|
521 |
'privacy' => 'string',
|
522 |
'projection' => 'projection_enum',
|
523 |
'published' => 'bool',
|
524 |
-
'save_vod' => 'bool',
|
525 |
'schedule_custom_profile_image' => 'file',
|
526 |
'spatial_audio_format' => 'spatial_audio_format_enum',
|
527 |
'status' => 'status_enum',
|
@@ -710,12 +711,14 @@ class Group extends AbstractCrudObject {
|
|
710 |
$this->assureId();
|
711 |
|
712 |
$param_types = array(
|
|
|
713 |
'height' => 'int',
|
714 |
'redirect' => 'bool',
|
715 |
'type' => 'type_enum',
|
716 |
'width' => 'int',
|
717 |
);
|
718 |
$enums = array(
|
|
|
719 |
'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
|
720 |
);
|
721 |
|
@@ -778,6 +781,7 @@ class Group extends AbstractCrudObject {
|
|
778 |
'composer_type' => 'string',
|
779 |
'container_type' => 'container_type_enum',
|
780 |
'content_category' => 'content_category_enum',
|
|
|
781 |
'description' => 'string',
|
782 |
'embeddable' => 'bool',
|
783 |
'end_offset' => 'unsigned int',
|
@@ -833,6 +837,7 @@ class Group extends AbstractCrudObject {
|
|
833 |
'upload_session_id' => 'string',
|
834 |
'upload_setting_properties' => 'string',
|
835 |
'video_file_chunk' => 'string',
|
|
|
836 |
'video_start_time_ms' => 'unsigned int',
|
837 |
'waterfall_id' => 'string',
|
838 |
);
|
51 |
use FacebookAds\Object\Values\LiveVideoStreamTypeValues;
|
52 |
use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues;
|
53 |
use FacebookAds\Object\Values\PhotoUnpublishedContentTypeValues;
|
54 |
+
use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
|
55 |
use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
|
56 |
|
57 |
/**
|
511 |
$param_types = array(
|
512 |
'content_tags' => 'list<string>',
|
513 |
'description' => 'string',
|
514 |
+
'enable_backup_ingest' => 'bool',
|
515 |
'encoding_settings' => 'string',
|
516 |
'fisheye_video_cropped' => 'bool',
|
517 |
'front_z_rotation' => 'float',
|
523 |
'privacy' => 'string',
|
524 |
'projection' => 'projection_enum',
|
525 |
'published' => 'bool',
|
|
|
526 |
'schedule_custom_profile_image' => 'file',
|
527 |
'spatial_audio_format' => 'spatial_audio_format_enum',
|
528 |
'status' => 'status_enum',
|
711 |
$this->assureId();
|
712 |
|
713 |
$param_types = array(
|
714 |
+
'breaking_change' => 'breaking_change_enum',
|
715 |
'height' => 'int',
|
716 |
'redirect' => 'bool',
|
717 |
'type' => 'type_enum',
|
718 |
'width' => 'int',
|
719 |
);
|
720 |
$enums = array(
|
721 |
+
'breaking_change_enum' => ProfilePictureSourceBreakingChangeValues::getInstance()->getValues(),
|
722 |
'type_enum' => ProfilePictureSourceTypeValues::getInstance()->getValues(),
|
723 |
);
|
724 |
|
781 |
'composer_type' => 'string',
|
782 |
'container_type' => 'container_type_enum',
|
783 |
'content_category' => 'content_category_enum',
|
784 |
+
'creative_tools' => 'string',
|
785 |
'description' => 'string',
|
786 |
'embeddable' => 'bool',
|
787 |
'end_offset' => 'unsigned int',
|
837 |
'upload_session_id' => 'string',
|
838 |
'upload_setting_properties' => 'string',
|
839 |
'video_file_chunk' => 'string',
|
840 |
+
'video_id_original' => 'string',
|
841 |
'video_start_time_ms' => 'unsigned int',
|
842 |
'waterfall_id' => 'string',
|
843 |
);
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/LifeEvent.php
CHANGED
@@ -110,29 +110,6 @@ class LifeEvent extends AbstractCrudObject {
|
|
110 |
return $pending ? $request : $request->execute();
|
111 |
}
|
112 |
|
113 |
-
public function getPhotos(array $fields = array(), array $params = array(), $pending = false) {
|
114 |
-
$this->assureId();
|
115 |
-
|
116 |
-
$param_types = array(
|
117 |
-
);
|
118 |
-
$enums = array(
|
119 |
-
);
|
120 |
-
|
121 |
-
$request = new ApiRequest(
|
122 |
-
$this->api,
|
123 |
-
$this->data['id'],
|
124 |
-
RequestInterface::METHOD_GET,
|
125 |
-
'/photos',
|
126 |
-
new Photo(),
|
127 |
-
'EDGE',
|
128 |
-
Photo::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 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
137 |
$this->assureId();
|
138 |
|
110 |
return $pending ? $request : $request->execute();
|
111 |
}
|
112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
public function getSelf(array $fields = array(), array $params = array(), $pending = false) {
|
114 |
$this->assureId();
|
115 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Link.php
CHANGED
@@ -30,7 +30,6 @@ use FacebookAds\Http\RequestInterface;
|
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\LinkFields;
|
32 |
use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
|
33 |
-
use FacebookAds\Object\Values\ProfileTypeValues;
|
34 |
|
35 |
/**
|
36 |
* This class is auto-generated.
|
@@ -116,31 +115,6 @@ class Link extends AbstractCrudObject {
|
|
116 |
return $pending ? $request : $request->execute();
|
117 |
}
|
118 |
|
119 |
-
public function getReactions(array $fields = array(), array $params = array(), $pending = false) {
|
120 |
-
$this->assureId();
|
121 |
-
|
122 |
-
$param_types = array(
|
123 |
-
'type' => 'type_enum',
|
124 |
-
);
|
125 |
-
$enums = array(
|
126 |
-
'type_enum' => ProfileTypeValues::getInstance()->getValues(),
|
127 |
-
);
|
128 |
-
|
129 |
-
$request = new ApiRequest(
|
130 |
-
$this->api,
|
131 |
-
$this->data['id'],
|
132 |
-
RequestInterface::METHOD_GET,
|
133 |
-
'/reactions',
|
134 |
-
new Profile(),
|
135 |
-
'EDGE',
|
136 |
-
Profile::getFieldsEnum()->getValues(),
|
137 |
-
new TypeChecker($param_types, $enums)
|
138 |
-
);
|
139 |
-
$request->addParams($params);
|
140 |
-
$request->addFields($fields);
|
141 |
-
return $pending ? $request : $request->execute();
|
142 |
-
}
|
143 |
-
|
144 |
public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
|
145 |
$this->assureId();
|
146 |
|
30 |
use FacebookAds\TypeChecker;
|
31 |
use FacebookAds\Object\Fields\LinkFields;
|
32 |
use FacebookAds\Object\Values\CommentCommentPrivacyValueValues;
|
|
|
33 |
|
34 |
/**
|
35 |
* This class is auto-generated.
|
115 |
return $pending ? $request : $request->execute();
|
116 |
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) {
|
119 |
$this->assureId();
|
120 |
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php
CHANGED
@@ -62,12 +62,12 @@ class LiveVideo extends AbstractCrudObject {
|
|
62 |
|
63 |
protected static function getReferencedEnums() {
|
64 |
$ref_enums = array();
|
|
|
65 |
$ref_enums['Projection'] = LiveVideoProjectionValues::getInstance()->getValues();
|
66 |
$ref_enums['SpatialAudioFormat'] = LiveVideoSpatialAudioFormatValues::getInstance()->getValues();
|
67 |
$ref_enums['Status'] = LiveVideoStatusValues::getInstance()->getValues();
|
68 |
$ref_enums['StereoscopicMode'] = LiveVideoStereoscopicModeValues::getInstance()->getValues();
|
69 |
$ref_enums['StreamType'] = LiveVideoStreamTypeValues::getInstance()->getValues();
|
70 |
-
$ref_enums['BroadcastStatus'] = LiveVideoBroadcastStatusValues::getInstance()->getValues();
|
71 |
$ref_enums['Source'] = LiveVideoSourceValues::getInstance()->getValues();
|
72 |
$ref_enums['LiveCommentModerationSetting'] = LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues();
|
73 |
return $ref_enums;
|
@@ -220,29 +220,6 @@ class LiveVideo extends AbstractCrudObject {
|
|
220 |
return $pending ? $request : $request->execute();
|
221 |
}
|
222 |
|
223 |
-
public function getLikes(array $fields = array(), array $params = array(), $pending = false) {
|
224 |
-
$this->assureId();
|
225 |
-
|
226 |
-
$param_types = array(
|
227 |
-
);
|
228 |
-
$enums = array(
|
229 |
-
);
|
230 |
-
|
231 |
-
$request = new ApiRequest(
|
232 |
-
$this->api,
|
233 |
-
$this->data['id'],
|
234 |
-
RequestInterface::METHOD_GET,
|
235 |
-
'/likes',
|
236 |
-
new Profile(),
|
237 |
-
'EDGE',
|
238 |
-
Profile::getFieldsEnum()->getValues(),
|
239 |
-
new TypeChecker($param_types, $enums)
|
240 |
-
);
|
241 |
-
$request->addParams($params);
|
242 |
-
$request->addFields($fields);
|
243 |
-
return $pending ? $request : $request->execute();
|
244 |
-
}
|
245 |
-
|
246 |
public function getPolls(array $fields = array(), array $params = array(), $pending = false) {
|
247 |
$this->assureId();
|
248 |
|
@@ -392,6 +369,7 @@ class LiveVideo extends AbstractCrudObject {
|
|
392 |
'is_manual_mode' => 'bool',
|
393 |
'live_comment_moderation_setting' => 'list<live_comment_moderation_setting_enum>',
|
394 |
'live_encoders' => 'list<string>',
|
|
|
395 |
'og_icon_id' => 'string',
|
396 |
'og_phrase' => 'string',
|
397 |
'place' => 'Object',
|
62 |
|
63 |
protected static function getReferencedEnums() {
|
64 |
$ref_enums = array();
|
65 |
+
$ref_enums['BroadcastStatus'] = LiveVideoBroadcastStatusValues::getInstance()->getValues();
|
66 |
$ref_enums['Projection'] = LiveVideoProjectionValues::getInstance()->getValues();
|
67 |
$ref_enums['SpatialAudioFormat'] = LiveVideoSpatialAudioFormatValues::getInstance()->getValues();
|
68 |
$ref_enums['Status'] = LiveVideoStatusValues::getInstance()->getValues();
|
69 |
$ref_enums['StereoscopicMode'] = LiveVideoStereoscopicModeValues::getInstance()->getValues();
|
70 |
$ref_enums['StreamType'] = LiveVideoStreamTypeValues::getInstance()->getValues();
|
|
|
71 |
$ref_enums['Source'] = LiveVideoSourceValues::getInstance()->getValues();
|
72 |
$ref_enums['LiveCommentModerationSetting'] = LiveVideoLiveCommentModerationSettingValues::getInstance()->getValues();
|
73 |
return $ref_enums;
|
220 |
return $pending ? $request : $request->execute();
|
221 |
}
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
public function getPolls(array $fields = array(), array $params = array(), $pending = false) {
|
224 |
$this->assureId();
|
225 |
|
369 |
'is_manual_mode' => 'bool',
|
370 |
'live_comment_moderation_setting' => 'list<live_comment_moderation_setting_enum>',
|
371 |
'live_encoders' => 'list<string>',
|
372 |
+
'master_ingest_stream_id' => 'string',
|
373 |
'og_icon_id' => 'string',
|
374 |
'og_phrase' => 'string',
|
375 |
'place' => 'Object',
|
vendor/facebook/php-business-sdk/src/FacebookAds/Object/MediaFingerprint.php
CHANGED
@@ -102,4 +102,31 @@ class MediaFingerprint extends AbstractCrudObject {
|
|
102 |
return $pending ? $request : $request->execute();
|
103 |
}
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|