From 649e6ca18892e34f49c7304c6dc3aae2a52694fe Mon Sep 17 00:00:00 2001 From: Jing Ping Date: Tue, 9 Oct 2018 23:10:21 -0700 Subject: [PATCH] Auto-generated php SDK code update Summary: The controller you requested could not be found. Reviewed By: jingping2015 Differential Revision: D10287925 fbshipit-source-id: f5d56548 --- README.md | 4 +- src/FacebookAds/ApiConfig.php | 2 +- src/FacebookAds/Object/Ad.php | 1 - src/FacebookAds/Object/AdAccount.php | 28 +-- .../Object/AdAccountASLSchedule.php | 80 ------- .../Object/AdAccountAllPaymentMethods.php | 80 ------- .../Object/AdAccountBankInfoList.php | 91 ------- .../Object/AdAccountBillingDatePreference.php | 80 ------- src/FacebookAds/Object/AdAccountCheckout.php | 80 ------- .../Object/AdAccountCheckoutPayment.php | 80 ------- .../Object/AdAccountPaymentDetails.php | 80 ------- .../Object/AdAccountPaymentOptions.php | 81 ------- .../Object/AdAccountPrepayDetails.php | 108 --------- .../Object/AdAccountPromotionProgressBar.php | 80 ------- .../Object/AdAccountSpendLimit.php | 80 ------- .../Object/AdAccountSubsidyAmountDetails.php | 93 -------- .../Object/AdAccountTargetingUnified.php | 80 ------- .../Object/AdAccountUserSettings.php | 80 ------- .../Object/AdCampaignDeliveryStats.php | 80 ------- src/FacebookAds/Object/AdColumnSizes.php | 80 ------- .../Object/AdCustomDerivedMetrics.php | 80 ------- src/FacebookAds/Object/AdDraft.php | 80 ------- src/FacebookAds/Object/AdExportPreset.php | 80 ------- src/FacebookAds/Object/AdLightAdgroup.php | 80 ------- src/FacebookAds/Object/AdLightCampaign.php | 80 ------- .../Object/AdLightCampaignGroup.php | 80 ------- .../AdRuleAggregatedExecutionHistory.php | 80 ------- src/FacebookAds/Object/AdSavedLocation.php | 80 ------- src/FacebookAds/Object/AdSavedReport.php | 80 ------- src/FacebookAds/Object/AdScript.php | 80 ------- src/FacebookAds/Object/AdSet.php | 11 +- src/FacebookAds/Object/AdStudyObjectiveID.php | 80 ------- ...efaultValues.php => AdgroupIssuesInfo.php} | 12 +- .../Object/AdsCreationSavedState.php | 105 -------- src/FacebookAds/Object/AdsPaymentCycle.php | 80 ------- src/FacebookAds/Object/AdsPixel.php | 8 + .../Object/AdsPixelEventPrediction.php | 80 ------- .../Object/AdsPixelEventSuggestionRule.php | 80 ------- .../Object/AdsPixelTrafficAnomalyConfig.php | 80 ------- .../Object/AdsReportBuilderSavedReport.php | 80 ------- .../Object/AdsTargetingInsights.php | 80 ------- src/FacebookAds/Object/AdsUserSettings.php | 80 ------- src/FacebookAds/Object/AnalyticsConfig.php | 80 ------- .../Object/AnalyticsEntityUserConfig.php | 80 ------- .../Object/AnalyticsPlatformMetricsConfig.php | 80 ------- src/FacebookAds/Object/AnalyticsSegment.php | 83 ------- .../Object/AnalyticsUserConfig.php | 80 ------- src/FacebookAds/Object/AppEventConfig.php | 81 ------- src/FacebookAds/Object/Application.php | 59 +++-- .../Object/ApplicationThirdPartyPayload.php | 80 ------- src/FacebookAds/Object/AtlasCampaign.php | 155 ------------ src/FacebookAds/Object/AtlasCompany.php | 80 ------- src/FacebookAds/Object/AtlasUser.php | 80 ------- .../Object/AudienceSharingAccountValid.php | 80 ------- .../AudienceSharingRecipientAccounts.php | 80 ------- src/FacebookAds/Object/AudienceStudy.php | 80 ------- src/FacebookAds/Object/AudioRelease.php | 80 ------- src/FacebookAds/Object/Auto.php | 80 ------- src/FacebookAds/Object/AutoMarket.php | 80 ------- src/FacebookAds/Object/AutoOffer.php | 80 ------- .../Object/BigDataUploadSession.php | 80 ------- src/FacebookAds/Object/BlindPig.php | 195 --------------- src/FacebookAds/Object/BrandRequest.php | 80 ------- src/FacebookAds/Object/BrazilCreditMemo.php | 80 ------- src/FacebookAds/Object/Business.php | 39 ++- src/FacebookAds/Object/BusinessObject.php | 80 ------- .../BusinessOwnedObjectOnBehalfOfRequest.php | 80 ------- src/FacebookAds/Object/BusinessPersona.php | 80 ------- src/FacebookAds/Object/BusinessPixelTOS.php | 80 ------- src/FacebookAds/Object/BusinessRequest.php | 80 ------- .../Object/BusinessResourceGroup.php | 80 ------- src/FacebookAds/Object/BusinessTag.php | 80 ------- src/FacebookAds/Object/CRMAddress.php | 80 ------- src/FacebookAds/Object/Campaign.php | 8 +- .../Object/CanvasDynamicSetting.php | 80 ------- src/FacebookAds/Object/CanvasTemplate.php | 80 ------- .../Object/CatalogSmartPixelSettings.php | 80 ------- .../Object/CommerceMerchantSettings.php | 103 -------- .../CommerceMerchantSettingsSetupStatus.php | 80 ------- .../Object/CommerceMerchantTOSAcceptance.php | 80 ------- src/FacebookAds/Object/CommerceOrder.php | 80 ------- src/FacebookAds/Object/CreditCard.php | 103 -------- src/FacebookAds/Object/CustomUserSettings.php | 80 ------- src/FacebookAds/Object/CustomVoicemail.php | 80 ------- src/FacebookAds/Object/DeliveryInfo.php | 80 ------- src/FacebookAds/Object/DirectDebit.php | 80 ------- src/FacebookAds/Object/DocumentFont.php | 80 ------- .../Object/DynamicItemDisplayBundle.php | 80 ------- .../Object/DynamicItemDisplayBundleFolder.php | 80 ------- src/FacebookAds/Object/EntWithSponsor.php | 80 ------- .../Object/EventExternalTicketInfo.php | 80 ------- .../Object/EventRegistrationSetting.php | 80 ------- src/FacebookAds/Object/EventTicketSetting.php | 80 ------- src/FacebookAds/Object/EventTicketTier.php | 80 ------- src/FacebookAds/Object/ExportAdCampaign.php | 80 ------- .../Object/ExportAdCampaignGroup.php | 80 ------- src/FacebookAds/Object/ExportAdgroup.php | 80 ------- .../Object/ExtendedCreditApplication.php | 80 ------- src/FacebookAds/Object/ExtendedCreditInfo.php | 80 ------- .../Object/ExternalMerchantSettings.php | 105 -------- src/FacebookAds/Object/FAMEAdCampaign.php | 103 -------- .../Object/FAMEAdCampaignGroup.php | 103 -------- src/FacebookAds/Object/FAMEAdGroup.php | 103 -------- src/FacebookAds/Object/FAMEKumo.php | 80 ------- .../Fields/AdAccountASLScheduleFields.php | 57 ----- .../AdAccountAllPaymentMethodsFields.php | 47 ---- .../Fields/AdAccountBankInfoListFields.php | 49 ---- .../AdAccountBillingDatePreferenceFields.php | 57 ----- .../Object/Fields/AdAccountCheckoutFields.php | 59 ----- .../Fields/AdAccountCheckoutPaymentFields.php | 63 ----- .../Fields/AdAccountPaymentDetailsFields.php | 57 ----- .../Fields/AdAccountPaymentOptionsFields.php | 55 ----- .../Fields/AdAccountPrepayDetailsFields.php | 55 ----- .../AdAccountPromotionProgressBarFields.php | 63 ----- .../Fields/AdAccountSpendLimitFields.php | 61 ----- .../AdAccountSubsidyAmountDetailsFields.php | 53 ----- .../AdAccountTargetingUnifiedFields.php | 89 ------- .../Fields/AdAccountUserPermissionsFields.php | 2 +- .../Fields/AdAccountUserSettingsFields.php | 87 ------- .../Fields/AdCampaignDeliveryStatsFields.php | 61 ----- .../Object/Fields/AdColumnSizesFields.php | 63 ----- .../Fields/AdCustomDerivedMetricsFields.php | 59 ----- .../Object/Fields/AdDefaultValuesFields.php | 49 ---- .../Object/Fields/AdDraftFields.php | 71 ------ .../Object/Fields/AdExportPresetFields.php | 57 ----- src/FacebookAds/Object/Fields/AdFields.php | 4 +- .../Object/Fields/AdLightCampaignFields.php | 47 ---- .../Fields/AdLightCampaignGroupFields.php | 47 ---- ...AdRuleAggregatedExecutionHistoryFields.php | 53 ----- .../Object/Fields/AdSavedLocationFields.php | 65 ----- .../Object/Fields/AdSavedReportFields.php | 81 ------- .../Object/Fields/AdScriptFields.php | 67 ------ src/FacebookAds/Object/Fields/AdSetFields.php | 2 - .../Fields/AdStudyObjectiveIDFields.php | 51 ---- ...Fields.php => AdgroupIssuesInfoFields.php} | 8 +- .../Fields/AdsCreationSavedStateFields.php | 55 ----- .../Object/Fields/AdsInsightsFields.php | 8 +- .../Object/Fields/AdsPaymentCycleFields.php | 59 ----- .../Fields/AdsPixelEventPredictionFields.php | 53 ----- .../AdsPixelEventSuggestionRuleFields.php | 63 ----- .../Object/Fields/AdsPixelFields.php | 4 + .../Fields/AdsPixelStatsResultFields.php | 2 +- .../AdsPixelTrafficAnomalyConfigFields.php | 57 ----- .../AdsReportBuilderSavedReportFields.php | 103 -------- .../Fields/AdsTargetingInsightsFields.php | 67 ------ .../Object/Fields/AdsUserSettingsFields.php | 99 -------- .../Object/Fields/AnalyticsConfigFields.php | 101 -------- .../AnalyticsEntityUserConfigFields.php | 49 ---- .../AnalyticsPlatformMetricsConfigFields.php | 65 ----- .../Object/Fields/AnalyticsSegmentFields.php | 83 ------- .../Fields/AnalyticsUserConfigFields.php | 51 ---- .../Object/Fields/AppEventConfigFields.php | 101 -------- .../Object/Fields/ApplicationFields.php | 2 + .../ApplicationThirdPartyPayloadFields.php | 53 ----- .../Object/Fields/AtlasCampaignFields.php | 89 ------- .../Object/Fields/AtlasCompanyFields.php | 71 ------ .../Object/Fields/AtlasUserFields.php | 81 ------- .../Fields/AudienceInsightsRuleFields.php | 2 +- .../AudienceSharingAccountValidFields.php | 57 ----- ...AudienceSharingRecipientAccountsFields.php | 59 ----- .../Object/Fields/AudienceStudyFields.php | 69 ------ .../Object/Fields/AudioReleaseFields.php | 73 ------ src/FacebookAds/Object/Fields/AutoFields.php | 59 ----- .../Object/Fields/AutoMarketFields.php | 53 ----- .../Object/Fields/AutoOfferFields.php | 81 ------- .../Fields/BigDataUploadSessionFields.php | 53 ----- .../Object/Fields/BlindPigFields.php | 207 ---------------- .../Object/Fields/BrandRequestFields.php | 85 ------- .../Object/Fields/BrazilCreditMemoFields.php | 57 ----- .../Object/Fields/BusinessObjectFields.php | 55 ----- ...nessOwnedObjectOnBehalfOfRequestFields.php | 55 ----- .../Object/Fields/BusinessPersonaFields.php | 71 ------ .../Object/Fields/BusinessPixelTOSFields.php | 49 ---- .../Object/Fields/BusinessRequestFields.php | 63 ----- .../Fields/BusinessResourceGroupFields.php | 49 ---- .../Object/Fields/BusinessTagFields.php | 49 ---- .../Object/Fields/CRMAddressFields.php | 73 ------ .../Fields/CanvasDynamicSettingFields.php | 51 ---- .../Object/Fields/CanvasTemplateFields.php | 73 ------ .../CatalogSmartPixelSettingsFields.php | 73 ------ .../Fields/CommerceMerchantSettingsFields.php | 79 ------ ...merceMerchantSettingsSetupStatusFields.php | 55 ----- .../CommerceMerchantTOSAcceptanceFields.php | 49 ---- .../Object/Fields/CommerceOrderFields.php | 61 ----- .../Object/Fields/CreditCardFields.php | 77 ------ .../Fields/CustomUserSettingsFields.php | 51 ---- .../Object/Fields/CustomVoicemailFields.php | 51 ---- .../Object/Fields/DeliveryInfoFields.php | 141 ----------- .../Object/Fields/DirectDebitFields.php | 65 ----- .../Object/Fields/DocumentFontFields.php | 57 ----- .../Fields/DynamicItemDisplayBundleFields.php | 59 ----- .../DynamicItemDisplayBundleFolderFields.php | 57 ----- .../Object/Fields/EntWithSponsorFields.php | 53 ----- .../Fields/EventExternalTicketInfoFields.php | 53 ----- .../Fields/EventRegistrationSettingFields.php | 53 ----- .../Fields/EventTicketSettingFields.php | 49 ---- .../Object/Fields/EventTicketTierFields.php | 81 ------- .../Object/Fields/ExportAdCampaignFields.php | 51 ---- .../Fields/ExportAdCampaignGroupFields.php | 51 ---- .../Object/Fields/ExportAdgroupFields.php | 51 ---- .../ExtendedCreditApplicationFields.php | 85 ------- .../Fields/ExtendedCreditInfoFields.php | 51 ---- .../ExternalEventSourceDebuggingFields.php | 4 + .../Fields/ExternalMerchantSettingsFields.php | 51 ---- .../Object/Fields/FAMEAdCampaignFields.php | 69 ------ .../Fields/FAMEAdCampaignGroupFields.php | 63 ----- .../Object/Fields/FAMEAdGroupFields.php | 57 ----- .../Object/Fields/FAMEKumoFields.php | 47 ---- .../FundraiserPersonToCharityFields.php | 89 ------- .../Object/Fields/GameItemFields.php | 61 ----- .../Object/Fields/GameTimeFields.php | 53 ----- .../Object/Fields/GamesPersonaFields.php | 51 ---- .../Object/Fields/GamesStatFields.php | 53 ----- .../Object/Fields/GenericVideoAssetFields.php | 133 ----------- .../Object/Fields/GeoAreaFields.php | 53 ----- .../Object/Fields/HashedUserFields.php | 49 ---- .../Fields/HomeServiceProviderFields.php | 113 --------- .../Fields/HotelCatalogSettingsFields.php | 47 ---- .../Object/Fields/IPObjectFields.php | 51 ---- .../Object/Fields/InstagramBusinessFields.php | 53 ----- .../Object/Fields/InstagramCommentFields.php | 57 ----- .../Object/Fields/InstagramUserFields.php | 63 ----- .../Object/Fields/JobOpeningFields.php | 97 -------- .../Object/Fields/LeadGenDataDraftFields.php | 10 - ...irectCRMIntegrationThirdPartyAppFields.php | 55 ----- .../Object/Fields/LiveEncoderFields.php | 65 ----- .../Object/Fields/LiveVideoFields.php | 2 +- .../Object/Fields/LoomConfigFields.php | 47 ---- .../Fields/MHubTermsOfServiceFields.php | 51 ---- .../Object/Fields/MarketingAreaFields.php | 51 ---- .../Fields/MeasurementPlaygroundFields.php | 59 ----- .../MediaCopyrightAttributionFields.php | 73 ------ .../Object/Fields/MediaTitleFields.php | 111 --------- src/FacebookAds/Object/Fields/MenuFields.php | 51 ---- .../Fields/MessagingSuggestedGroupFields.php | 55 ----- ...engerAdsPartialAutomatedStepListFields.php | 57 ----- .../Object/Fields/NotaFiscalFields.php | 57 ----- src/FacebookAds/Object/Fields/OfferFields.php | 69 ------ .../Fields/OfflineConversionDataSetFields.php | 2 + .../Fields/PageAppWithLeadsAccessFields.php | 51 ---- .../Fields/PageBreakingNewsUsageFields.php | 51 ---- .../Fields/PageCustomerInsightsFields.php | 53 ----- ...ectIntegrationCrmWithLeadsAccessFields.php | 51 ---- .../Fields/PageLeadsAccessConfigFields.php | 49 ---- ...PageMessageResponsivenessMetricsFields.php | 53 ----- .../PagePartnerWithLeadsAccessFields.php | 53 ----- .../Fields/PagePostExperimentFields.php | 69 ------ .../Object/Fields/PageStatusCardFields.php | 61 ----- ...CustomAudiencesEligibleCountriesFields.php | 53 ----- .../Fields/PageUserWithLeadsAccessFields.php | 55 ----- .../PagesPlatformComponentFlowFields.php | 53 ----- .../Object/Fields/PartnerStudyFields.php | 81 ------- .../Fields/PersistentStreamProfileFields.php | 51 ---- .../Fields/PersonalAdsPersonaFields.php | 55 ----- .../ProductCatalogUserPermissionsFields.php | 2 +- .../Object/Fields/ProductFeedRuleFields.php | 53 ----- .../ProductFeedRulePreviewSampleFields.php | 51 ---- .../ProductFeedRuleSuggestionFields.php | 53 ----- .../Object/Fields/ProductItemOfferFields.php | 53 ----- .../Object/Fields/RateCardFields.php | 53 ----- .../Object/Fields/ResearchPollStudyFields.php | 51 ---- src/FacebookAds/Object/Fields/RobotFields.php | 61 ----- .../Object/Fields/SearchDialogDataFields.php | 59 ----- .../Fields/SimpleAttributionWebhookFields.php | 53 ----- .../Fields/SpacoDsDataCollectionFields.php | 61 ----- .../StonehengeSubscriptionPublisherFields.php | 67 ------ .../Fields/StoreCatalogSettingsFields.php | 49 ---- .../Fields/SuggestedProductSetFields.php | 53 ----- .../Object/Fields/TarotDigestFields.php | 61 ----- src/FacebookAds/Object/Fields/TopicFields.php | 51 ---- .../Fields/TransactionDetailsFields.php | 49 ---- .../Object/Fields/TransactionFields.php | 85 ------- .../Object/Fields/TrustMetricsFields.php | 53 ----- .../Object/Fields/UniqueAdCreativeFields.php | 51 ---- .../Object/Fields/VaultDeviceFields.php | 63 ----- .../Object/Fields/VaultImageFields.php | 63 ----- .../Object/Fields/VehicleOfferFields.php | 91 ------- .../Object/Fields/VideoAssetFields.php | 133 ----------- .../Fields/VideoCopyrightMatchFields.php | 57 ----- .../Object/Fields/VideoGroupFields.php | 77 ------ .../Fields/VideoMetricsReportFields.php | 67 ------ .../Fields/VideoReferenceMatchFields.php | 83 ------- .../Object/Fields/VideoStatsFields.php | 59 ----- .../Fields/WhatsAppBusinessAccountFields.php | 65 ----- .../Object/Fields/WifiInformationFields.php | 57 ----- .../Object/FundraiserPersonToCharity.php | 80 ------- src/FacebookAds/Object/GameItem.php | 82 ------- src/FacebookAds/Object/GameTime.php | 82 ------- src/FacebookAds/Object/GamesPersona.php | 80 ------- src/FacebookAds/Object/GamesStat.php | 80 ------- src/FacebookAds/Object/GenericVideoAsset.php | 80 ------- src/FacebookAds/Object/GeoArea.php | 80 ------- src/FacebookAds/Object/HashedUser.php | 80 ------- .../Object/HomeServiceProvider.php | 80 ------- .../Object/HotelCatalogSettings.php | 80 ------- src/FacebookAds/Object/IPObject.php | 80 ------- src/FacebookAds/Object/InstagramBusiness.php | 103 -------- src/FacebookAds/Object/InstagramComment.php | 129 ---------- src/FacebookAds/Object/InstagramUser.php | 225 ------------------ src/FacebookAds/Object/JobOpening.php | 88 ------- src/FacebookAds/Object/LeadGenDataDraft.php | 1 - ...adGenDirectCRMIntegrationThirdPartyApp.php | 80 ------- src/FacebookAds/Object/LiveEncoder.php | 80 ------- src/FacebookAds/Object/LoomConfig.php | 80 ------- src/FacebookAds/Object/MHubTermsOfService.php | 80 ------- src/FacebookAds/Object/MarketingArea.php | 80 ------- .../Object/MeasurementPlayground.php | 80 ------- .../Object/MediaCopyrightAttribution.php | 80 ------- src/FacebookAds/Object/MediaTitle.php | 80 ------- src/FacebookAds/Object/Menu.php | 80 ------- .../Object/MessagingSuggestedGroup.php | 80 ------- .../MessengerAdsPartialAutomatedStepList.php | 80 ------- src/FacebookAds/Object/NotaFiscal.php | 80 ------- src/FacebookAds/Object/Offer.php | 172 ------------- src/FacebookAds/Object/Page.php | 65 +++-- .../Object/PageAppWithLeadsAccess.php | 80 ------- .../Object/PageBreakingNewsUsage.php | 80 ------- .../Object/PageCustomerInsights.php | 80 ------- ...ageDirectIntegrationCrmWithLeadsAccess.php | 80 ------- .../Object/PageLeadsAccessConfig.php | 80 ------- .../PageMessageResponsivenessMetrics.php | 80 ------- .../Object/PagePartnerWithLeadsAccess.php | 80 ------- src/FacebookAds/Object/PagePostExperiment.php | 80 ------- src/FacebookAds/Object/PageStatusCard.php | 80 ------- ...VisitsCustomAudiencesEligibleCountries.php | 80 ------- .../Object/PageUserWithLeadsAccess.php | 80 ------- .../Object/PagesPlatformComponentFlow.php | 80 ------- src/FacebookAds/Object/PartnerStudy.php | 126 ---------- .../Object/PersistentStreamProfile.php | 80 ------- src/FacebookAds/Object/PersonalAdsPersona.php | 80 ------- src/FacebookAds/Object/ProductFeed.php | 17 +- src/FacebookAds/Object/ProductFeedRule.php | 82 ------- .../Object/ProductFeedRulePreviewSample.php | 80 ------- .../Object/ProductFeedRuleSuggestion.php | 80 ------- src/FacebookAds/Object/ProductItemOffer.php | 80 ------- src/FacebookAds/Object/RTBDynamicPost.php | 4 +- src/FacebookAds/Object/RateCard.php | 87 ------- src/FacebookAds/Object/ResearchPollStudy.php | 80 ------- src/FacebookAds/Object/Robot.php | 80 ------- src/FacebookAds/Object/SearchDialogData.php | 80 ------- src/FacebookAds/Object/ShadowIGUser.php | 1 + .../Object/SimpleAttributionWebhook.php | 80 ------- .../Object/SpacoDsDataCollection.php | 87 ------- .../StonehengeSubscriptionPublisher.php | 81 ------- .../Object/StoreCatalogSettings.php | 80 ------- .../Object/SuggestedProductSet.php | 80 ------- src/FacebookAds/Object/TarotDigest.php | 103 -------- src/FacebookAds/Object/Topic.php | 80 ------- src/FacebookAds/Object/Transaction.php | 89 ------- src/FacebookAds/Object/TransactionDetails.php | 80 ------- src/FacebookAds/Object/TrustMetrics.php | 80 ------- src/FacebookAds/Object/UniqueAdCreative.php | 80 ------- src/FacebookAds/Object/User.php | 34 ++- .../Object/UserPaymentMethodsInfo.php | 1 + .../Object/UserPaymentModulesOptions.php | 1 + .../AdAssetFeedOptimizationTypeValues.php | 1 + ...s.php => AdsPixelDataUseSettingValues.php} | 10 +- ... AdsPixelFirstPartyCookieStatusValues.php} | 10 +- .../AdsPixelStatsResultAggregationValues.php | 7 + ...=> ApplicationAggregationPeriodValues.php} | 4 +- ...es.php => ApplicationBreakdownsValues.php} | 4 +- ...alues.php => ApplicationMetricsValues.php} | 4 +- ...hp => ApplicationOrderingColumnValues.php} | 4 +- ....php => ApplicationOrderingTypeValues.php} | 4 +- .../Object/Values/GameTimeActionValues.php | 43 ---- .../Values/JobOpeningJobStatusValues.php | 44 ---- ...JobOpeningReviewRejectionReasonsValues.php | 47 ---- .../Object/Values/JobOpeningTypeValues.php | 45 ---- .../Object/Values/PageSettingTypeValues.php | 45 ---- .../Object/Values/PageThreadStateValues.php | 42 ---- .../Values/ProductFeedRuleRuleTypeValues.php | 45 ---- ...SignalsIWLExtractorExtractorTypeValues.php | 1 + .../Values/TransactionProductTypeValues.php | 42 ---- .../VideoCopyrightMatchActionValues.php | 45 ---- ...eoCopyrightMatchMatchContentTypeValues.php | 43 ---- src/FacebookAds/Object/VaultDevice.php | 80 ------- src/FacebookAds/Object/VaultImage.php | 103 -------- src/FacebookAds/Object/VehicleOffer.php | 80 ------- src/FacebookAds/Object/VideoAsset.php | 109 --------- .../Object/VideoCopyrightMatch.php | 84 ------- src/FacebookAds/Object/VideoGroup.php | 80 ------- src/FacebookAds/Object/VideoMetricsReport.php | 80 ------- .../Object/VideoReferenceMatch.php | 80 ------- src/FacebookAds/Object/VideoStats.php | 80 ------- .../Object/WhatsAppBusinessAccount.php | 80 ------- src/FacebookAds/Object/WifiInformation.php | 80 ------- 386 files changed, 227 insertions(+), 25506 deletions(-) delete mode 100644 src/FacebookAds/Object/AdAccountASLSchedule.php delete mode 100644 src/FacebookAds/Object/AdAccountAllPaymentMethods.php delete mode 100644 src/FacebookAds/Object/AdAccountBankInfoList.php delete mode 100644 src/FacebookAds/Object/AdAccountBillingDatePreference.php delete mode 100644 src/FacebookAds/Object/AdAccountCheckout.php delete mode 100644 src/FacebookAds/Object/AdAccountCheckoutPayment.php delete mode 100644 src/FacebookAds/Object/AdAccountPaymentDetails.php delete mode 100644 src/FacebookAds/Object/AdAccountPaymentOptions.php delete mode 100644 src/FacebookAds/Object/AdAccountPrepayDetails.php delete mode 100644 src/FacebookAds/Object/AdAccountPromotionProgressBar.php delete mode 100644 src/FacebookAds/Object/AdAccountSpendLimit.php delete mode 100644 src/FacebookAds/Object/AdAccountSubsidyAmountDetails.php delete mode 100644 src/FacebookAds/Object/AdAccountTargetingUnified.php delete mode 100644 src/FacebookAds/Object/AdAccountUserSettings.php delete mode 100644 src/FacebookAds/Object/AdCampaignDeliveryStats.php delete mode 100644 src/FacebookAds/Object/AdColumnSizes.php delete mode 100644 src/FacebookAds/Object/AdCustomDerivedMetrics.php delete mode 100644 src/FacebookAds/Object/AdDraft.php delete mode 100644 src/FacebookAds/Object/AdExportPreset.php delete mode 100644 src/FacebookAds/Object/AdLightAdgroup.php delete mode 100644 src/FacebookAds/Object/AdLightCampaign.php delete mode 100644 src/FacebookAds/Object/AdLightCampaignGroup.php delete mode 100644 src/FacebookAds/Object/AdRuleAggregatedExecutionHistory.php delete mode 100644 src/FacebookAds/Object/AdSavedLocation.php delete mode 100644 src/FacebookAds/Object/AdSavedReport.php delete mode 100644 src/FacebookAds/Object/AdScript.php delete mode 100644 src/FacebookAds/Object/AdStudyObjectiveID.php rename src/FacebookAds/Object/{AdDefaultValues.php => AdgroupIssuesInfo.php} (88%) delete mode 100644 src/FacebookAds/Object/AdsCreationSavedState.php delete mode 100644 src/FacebookAds/Object/AdsPaymentCycle.php delete mode 100644 src/FacebookAds/Object/AdsPixelEventPrediction.php delete mode 100644 src/FacebookAds/Object/AdsPixelEventSuggestionRule.php delete mode 100644 src/FacebookAds/Object/AdsPixelTrafficAnomalyConfig.php delete mode 100644 src/FacebookAds/Object/AdsReportBuilderSavedReport.php delete mode 100644 src/FacebookAds/Object/AdsTargetingInsights.php delete mode 100644 src/FacebookAds/Object/AdsUserSettings.php delete mode 100644 src/FacebookAds/Object/AnalyticsConfig.php delete mode 100644 src/FacebookAds/Object/AnalyticsEntityUserConfig.php delete mode 100644 src/FacebookAds/Object/AnalyticsPlatformMetricsConfig.php delete mode 100644 src/FacebookAds/Object/AnalyticsSegment.php delete mode 100644 src/FacebookAds/Object/AnalyticsUserConfig.php delete mode 100644 src/FacebookAds/Object/AppEventConfig.php delete mode 100644 src/FacebookAds/Object/ApplicationThirdPartyPayload.php delete mode 100644 src/FacebookAds/Object/AtlasCampaign.php delete mode 100644 src/FacebookAds/Object/AtlasCompany.php delete mode 100644 src/FacebookAds/Object/AtlasUser.php delete mode 100644 src/FacebookAds/Object/AudienceSharingAccountValid.php delete mode 100644 src/FacebookAds/Object/AudienceSharingRecipientAccounts.php delete mode 100644 src/FacebookAds/Object/AudienceStudy.php delete mode 100644 src/FacebookAds/Object/AudioRelease.php delete mode 100644 src/FacebookAds/Object/Auto.php delete mode 100644 src/FacebookAds/Object/AutoMarket.php delete mode 100644 src/FacebookAds/Object/AutoOffer.php delete mode 100644 src/FacebookAds/Object/BigDataUploadSession.php delete mode 100644 src/FacebookAds/Object/BlindPig.php delete mode 100644 src/FacebookAds/Object/BrandRequest.php delete mode 100644 src/FacebookAds/Object/BrazilCreditMemo.php delete mode 100644 src/FacebookAds/Object/BusinessObject.php delete mode 100644 src/FacebookAds/Object/BusinessOwnedObjectOnBehalfOfRequest.php delete mode 100644 src/FacebookAds/Object/BusinessPersona.php delete mode 100644 src/FacebookAds/Object/BusinessPixelTOS.php delete mode 100644 src/FacebookAds/Object/BusinessRequest.php delete mode 100644 src/FacebookAds/Object/BusinessResourceGroup.php delete mode 100644 src/FacebookAds/Object/BusinessTag.php delete mode 100644 src/FacebookAds/Object/CRMAddress.php delete mode 100644 src/FacebookAds/Object/CanvasDynamicSetting.php delete mode 100644 src/FacebookAds/Object/CanvasTemplate.php delete mode 100644 src/FacebookAds/Object/CatalogSmartPixelSettings.php delete mode 100644 src/FacebookAds/Object/CommerceMerchantSettings.php delete mode 100644 src/FacebookAds/Object/CommerceMerchantSettingsSetupStatus.php delete mode 100644 src/FacebookAds/Object/CommerceMerchantTOSAcceptance.php delete mode 100644 src/FacebookAds/Object/CommerceOrder.php delete mode 100644 src/FacebookAds/Object/CreditCard.php delete mode 100644 src/FacebookAds/Object/CustomUserSettings.php delete mode 100644 src/FacebookAds/Object/CustomVoicemail.php delete mode 100644 src/FacebookAds/Object/DeliveryInfo.php delete mode 100644 src/FacebookAds/Object/DirectDebit.php delete mode 100644 src/FacebookAds/Object/DocumentFont.php delete mode 100644 src/FacebookAds/Object/DynamicItemDisplayBundle.php delete mode 100644 src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php delete mode 100644 src/FacebookAds/Object/EntWithSponsor.php delete mode 100644 src/FacebookAds/Object/EventExternalTicketInfo.php delete mode 100644 src/FacebookAds/Object/EventRegistrationSetting.php delete mode 100644 src/FacebookAds/Object/EventTicketSetting.php delete mode 100644 src/FacebookAds/Object/EventTicketTier.php delete mode 100644 src/FacebookAds/Object/ExportAdCampaign.php delete mode 100644 src/FacebookAds/Object/ExportAdCampaignGroup.php delete mode 100644 src/FacebookAds/Object/ExportAdgroup.php delete mode 100644 src/FacebookAds/Object/ExtendedCreditApplication.php delete mode 100644 src/FacebookAds/Object/ExtendedCreditInfo.php delete mode 100644 src/FacebookAds/Object/ExternalMerchantSettings.php delete mode 100644 src/FacebookAds/Object/FAMEAdCampaign.php delete mode 100644 src/FacebookAds/Object/FAMEAdCampaignGroup.php delete mode 100644 src/FacebookAds/Object/FAMEAdGroup.php delete mode 100644 src/FacebookAds/Object/FAMEKumo.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountBankInfoListFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountCheckoutFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountCheckoutPaymentFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountTargetingUnifiedFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdColumnSizesFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdDefaultValuesFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdDraftFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdExportPresetFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdLightCampaignFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdRuleAggregatedExecutionHistoryFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdSavedLocationFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdSavedReportFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdScriptFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdStudyObjectiveIDFields.php rename src/FacebookAds/Object/Fields/{AdLightAdgroupFields.php => AdgroupIssuesInfoFields.php} (85%) delete mode 100644 src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsPixelTrafficAnomalyConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AdsUserSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AnalyticsConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/AnalyticsSegmentFields.php delete mode 100644 src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/AppEventConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/ApplicationThirdPartyPayloadFields.php delete mode 100644 src/FacebookAds/Object/Fields/AtlasCampaignFields.php delete mode 100644 src/FacebookAds/Object/Fields/AtlasCompanyFields.php delete mode 100644 src/FacebookAds/Object/Fields/AtlasUserFields.php delete mode 100644 src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php delete mode 100644 src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php delete mode 100644 src/FacebookAds/Object/Fields/AudienceStudyFields.php delete mode 100644 src/FacebookAds/Object/Fields/AudioReleaseFields.php delete mode 100644 src/FacebookAds/Object/Fields/AutoFields.php delete mode 100644 src/FacebookAds/Object/Fields/AutoMarketFields.php delete mode 100644 src/FacebookAds/Object/Fields/AutoOfferFields.php delete mode 100644 src/FacebookAds/Object/Fields/BigDataUploadSessionFields.php delete mode 100644 src/FacebookAds/Object/Fields/BlindPigFields.php delete mode 100644 src/FacebookAds/Object/Fields/BrandRequestFields.php delete mode 100644 src/FacebookAds/Object/Fields/BrazilCreditMemoFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessObjectFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessOwnedObjectOnBehalfOfRequestFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessPersonaFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessPixelTOSFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessRequestFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessResourceGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/BusinessTagFields.php delete mode 100644 src/FacebookAds/Object/Fields/CRMAddressFields.php delete mode 100644 src/FacebookAds/Object/Fields/CanvasDynamicSettingFields.php delete mode 100644 src/FacebookAds/Object/Fields/CanvasTemplateFields.php delete mode 100644 src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/CommerceMerchantSettingsSetupStatusFields.php delete mode 100644 src/FacebookAds/Object/Fields/CommerceMerchantTOSAcceptanceFields.php delete mode 100644 src/FacebookAds/Object/Fields/CommerceOrderFields.php delete mode 100644 src/FacebookAds/Object/Fields/CreditCardFields.php delete mode 100644 src/FacebookAds/Object/Fields/CustomUserSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/CustomVoicemailFields.php delete mode 100644 src/FacebookAds/Object/Fields/DeliveryInfoFields.php delete mode 100644 src/FacebookAds/Object/Fields/DirectDebitFields.php delete mode 100644 src/FacebookAds/Object/Fields/DocumentFontFields.php delete mode 100644 src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php delete mode 100644 src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php delete mode 100644 src/FacebookAds/Object/Fields/EntWithSponsorFields.php delete mode 100644 src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php delete mode 100644 src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php delete mode 100644 src/FacebookAds/Object/Fields/EventTicketSettingFields.php delete mode 100644 src/FacebookAds/Object/Fields/EventTicketTierFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExportAdCampaignFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExportAdCampaignGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExportAdgroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php delete mode 100644 src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/FAMEAdCampaignFields.php delete mode 100644 src/FacebookAds/Object/Fields/FAMEAdCampaignGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/FAMEAdGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/FAMEKumoFields.php delete mode 100644 src/FacebookAds/Object/Fields/FundraiserPersonToCharityFields.php delete mode 100644 src/FacebookAds/Object/Fields/GameItemFields.php delete mode 100644 src/FacebookAds/Object/Fields/GameTimeFields.php delete mode 100644 src/FacebookAds/Object/Fields/GamesPersonaFields.php delete mode 100644 src/FacebookAds/Object/Fields/GamesStatFields.php delete mode 100644 src/FacebookAds/Object/Fields/GenericVideoAssetFields.php delete mode 100644 src/FacebookAds/Object/Fields/GeoAreaFields.php delete mode 100644 src/FacebookAds/Object/Fields/HashedUserFields.php delete mode 100644 src/FacebookAds/Object/Fields/HomeServiceProviderFields.php delete mode 100644 src/FacebookAds/Object/Fields/HotelCatalogSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/IPObjectFields.php delete mode 100644 src/FacebookAds/Object/Fields/InstagramBusinessFields.php delete mode 100644 src/FacebookAds/Object/Fields/InstagramCommentFields.php delete mode 100644 src/FacebookAds/Object/Fields/InstagramUserFields.php delete mode 100644 src/FacebookAds/Object/Fields/JobOpeningFields.php delete mode 100644 src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationThirdPartyAppFields.php delete mode 100644 src/FacebookAds/Object/Fields/LiveEncoderFields.php delete mode 100644 src/FacebookAds/Object/Fields/LoomConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/MHubTermsOfServiceFields.php delete mode 100644 src/FacebookAds/Object/Fields/MarketingAreaFields.php delete mode 100644 src/FacebookAds/Object/Fields/MeasurementPlaygroundFields.php delete mode 100644 src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php delete mode 100644 src/FacebookAds/Object/Fields/MediaTitleFields.php delete mode 100644 src/FacebookAds/Object/Fields/MenuFields.php delete mode 100644 src/FacebookAds/Object/Fields/MessagingSuggestedGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/MessengerAdsPartialAutomatedStepListFields.php delete mode 100644 src/FacebookAds/Object/Fields/NotaFiscalFields.php delete mode 100644 src/FacebookAds/Object/Fields/OfferFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageBreakingNewsUsageFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageCustomerInsightsFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php delete mode 100644 src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php delete mode 100644 src/FacebookAds/Object/Fields/PagePostExperimentFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageStatusCardFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageStoreVisitsCustomAudiencesEligibleCountriesFields.php delete mode 100644 src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php delete mode 100644 src/FacebookAds/Object/Fields/PagesPlatformComponentFlowFields.php delete mode 100644 src/FacebookAds/Object/Fields/PartnerStudyFields.php delete mode 100644 src/FacebookAds/Object/Fields/PersistentStreamProfileFields.php delete mode 100644 src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php delete mode 100644 src/FacebookAds/Object/Fields/ProductFeedRuleFields.php delete mode 100644 src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php delete mode 100644 src/FacebookAds/Object/Fields/ProductFeedRuleSuggestionFields.php delete mode 100644 src/FacebookAds/Object/Fields/ProductItemOfferFields.php delete mode 100644 src/FacebookAds/Object/Fields/RateCardFields.php delete mode 100644 src/FacebookAds/Object/Fields/ResearchPollStudyFields.php delete mode 100644 src/FacebookAds/Object/Fields/RobotFields.php delete mode 100644 src/FacebookAds/Object/Fields/SearchDialogDataFields.php delete mode 100644 src/FacebookAds/Object/Fields/SimpleAttributionWebhookFields.php delete mode 100644 src/FacebookAds/Object/Fields/SpacoDsDataCollectionFields.php delete mode 100644 src/FacebookAds/Object/Fields/StonehengeSubscriptionPublisherFields.php delete mode 100644 src/FacebookAds/Object/Fields/StoreCatalogSettingsFields.php delete mode 100644 src/FacebookAds/Object/Fields/SuggestedProductSetFields.php delete mode 100644 src/FacebookAds/Object/Fields/TarotDigestFields.php delete mode 100644 src/FacebookAds/Object/Fields/TopicFields.php delete mode 100644 src/FacebookAds/Object/Fields/TransactionDetailsFields.php delete mode 100644 src/FacebookAds/Object/Fields/TransactionFields.php delete mode 100644 src/FacebookAds/Object/Fields/TrustMetricsFields.php delete mode 100644 src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php delete mode 100644 src/FacebookAds/Object/Fields/VaultDeviceFields.php delete mode 100644 src/FacebookAds/Object/Fields/VaultImageFields.php delete mode 100644 src/FacebookAds/Object/Fields/VehicleOfferFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoAssetFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoGroupFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoMetricsReportFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoReferenceMatchFields.php delete mode 100644 src/FacebookAds/Object/Fields/VideoStatsFields.php delete mode 100644 src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php delete mode 100644 src/FacebookAds/Object/Fields/WifiInformationFields.php delete mode 100644 src/FacebookAds/Object/FundraiserPersonToCharity.php delete mode 100644 src/FacebookAds/Object/GameItem.php delete mode 100644 src/FacebookAds/Object/GameTime.php delete mode 100644 src/FacebookAds/Object/GamesPersona.php delete mode 100644 src/FacebookAds/Object/GamesStat.php delete mode 100644 src/FacebookAds/Object/GenericVideoAsset.php delete mode 100644 src/FacebookAds/Object/GeoArea.php delete mode 100644 src/FacebookAds/Object/HashedUser.php delete mode 100644 src/FacebookAds/Object/HomeServiceProvider.php delete mode 100644 src/FacebookAds/Object/HotelCatalogSettings.php delete mode 100644 src/FacebookAds/Object/IPObject.php delete mode 100644 src/FacebookAds/Object/InstagramBusiness.php delete mode 100644 src/FacebookAds/Object/InstagramComment.php delete mode 100644 src/FacebookAds/Object/InstagramUser.php delete mode 100644 src/FacebookAds/Object/JobOpening.php delete mode 100644 src/FacebookAds/Object/LeadGenDirectCRMIntegrationThirdPartyApp.php delete mode 100644 src/FacebookAds/Object/LiveEncoder.php delete mode 100644 src/FacebookAds/Object/LoomConfig.php delete mode 100644 src/FacebookAds/Object/MHubTermsOfService.php delete mode 100644 src/FacebookAds/Object/MarketingArea.php delete mode 100644 src/FacebookAds/Object/MeasurementPlayground.php delete mode 100644 src/FacebookAds/Object/MediaCopyrightAttribution.php delete mode 100644 src/FacebookAds/Object/MediaTitle.php delete mode 100644 src/FacebookAds/Object/Menu.php delete mode 100644 src/FacebookAds/Object/MessagingSuggestedGroup.php delete mode 100644 src/FacebookAds/Object/MessengerAdsPartialAutomatedStepList.php delete mode 100644 src/FacebookAds/Object/NotaFiscal.php delete mode 100644 src/FacebookAds/Object/Offer.php delete mode 100644 src/FacebookAds/Object/PageAppWithLeadsAccess.php delete mode 100644 src/FacebookAds/Object/PageBreakingNewsUsage.php delete mode 100644 src/FacebookAds/Object/PageCustomerInsights.php delete mode 100644 src/FacebookAds/Object/PageDirectIntegrationCrmWithLeadsAccess.php delete mode 100644 src/FacebookAds/Object/PageLeadsAccessConfig.php delete mode 100644 src/FacebookAds/Object/PageMessageResponsivenessMetrics.php delete mode 100644 src/FacebookAds/Object/PagePartnerWithLeadsAccess.php delete mode 100644 src/FacebookAds/Object/PagePostExperiment.php delete mode 100644 src/FacebookAds/Object/PageStatusCard.php delete mode 100644 src/FacebookAds/Object/PageStoreVisitsCustomAudiencesEligibleCountries.php delete mode 100644 src/FacebookAds/Object/PageUserWithLeadsAccess.php delete mode 100644 src/FacebookAds/Object/PagesPlatformComponentFlow.php delete mode 100644 src/FacebookAds/Object/PartnerStudy.php delete mode 100644 src/FacebookAds/Object/PersistentStreamProfile.php delete mode 100644 src/FacebookAds/Object/PersonalAdsPersona.php delete mode 100644 src/FacebookAds/Object/ProductFeedRule.php delete mode 100644 src/FacebookAds/Object/ProductFeedRulePreviewSample.php delete mode 100644 src/FacebookAds/Object/ProductFeedRuleSuggestion.php delete mode 100644 src/FacebookAds/Object/ProductItemOffer.php delete mode 100644 src/FacebookAds/Object/RateCard.php delete mode 100644 src/FacebookAds/Object/ResearchPollStudy.php delete mode 100644 src/FacebookAds/Object/Robot.php delete mode 100644 src/FacebookAds/Object/SearchDialogData.php delete mode 100644 src/FacebookAds/Object/SimpleAttributionWebhook.php delete mode 100644 src/FacebookAds/Object/SpacoDsDataCollection.php delete mode 100644 src/FacebookAds/Object/StonehengeSubscriptionPublisher.php delete mode 100644 src/FacebookAds/Object/StoreCatalogSettings.php delete mode 100644 src/FacebookAds/Object/SuggestedProductSet.php delete mode 100644 src/FacebookAds/Object/TarotDigest.php delete mode 100644 src/FacebookAds/Object/Topic.php delete mode 100644 src/FacebookAds/Object/Transaction.php delete mode 100644 src/FacebookAds/Object/TransactionDetails.php delete mode 100644 src/FacebookAds/Object/TrustMetrics.php delete mode 100644 src/FacebookAds/Object/UniqueAdCreative.php rename src/FacebookAds/Object/Values/{GameItemActionValues.php => AdsPixelDataUseSettingValues.php} (85%) rename src/FacebookAds/Object/Values/{JobOpeningPlatformReviewStatusValues.php => AdsPixelFirstPartyCookieStatusValues.php} (83%) rename src/FacebookAds/Object/Values/{BusinessAggregationPeriodValues.php => ApplicationAggregationPeriodValues.php} (91%) rename src/FacebookAds/Object/Values/{BusinessBreakdownsValues.php => ApplicationBreakdownsValues.php} (94%) rename src/FacebookAds/Object/Values/{BusinessMetricsValues.php => ApplicationMetricsValues.php} (97%) rename src/FacebookAds/Object/Values/{BusinessOrderingColumnValues.php => ApplicationOrderingColumnValues.php} (92%) rename src/FacebookAds/Object/Values/{BusinessOrderingTypeValues.php => ApplicationOrderingTypeValues.php} (92%) delete mode 100644 src/FacebookAds/Object/Values/GameTimeActionValues.php delete mode 100644 src/FacebookAds/Object/Values/JobOpeningJobStatusValues.php delete mode 100644 src/FacebookAds/Object/Values/JobOpeningReviewRejectionReasonsValues.php delete mode 100644 src/FacebookAds/Object/Values/JobOpeningTypeValues.php delete mode 100644 src/FacebookAds/Object/Values/PageSettingTypeValues.php delete mode 100644 src/FacebookAds/Object/Values/PageThreadStateValues.php delete mode 100644 src/FacebookAds/Object/Values/ProductFeedRuleRuleTypeValues.php delete mode 100644 src/FacebookAds/Object/Values/TransactionProductTypeValues.php delete mode 100644 src/FacebookAds/Object/Values/VideoCopyrightMatchActionValues.php delete mode 100644 src/FacebookAds/Object/Values/VideoCopyrightMatchMatchContentTypeValues.php delete mode 100644 src/FacebookAds/Object/VaultDevice.php delete mode 100644 src/FacebookAds/Object/VaultImage.php delete mode 100644 src/FacebookAds/Object/VehicleOffer.php delete mode 100644 src/FacebookAds/Object/VideoAsset.php delete mode 100644 src/FacebookAds/Object/VideoCopyrightMatch.php delete mode 100644 src/FacebookAds/Object/VideoGroup.php delete mode 100644 src/FacebookAds/Object/VideoMetricsReport.php delete mode 100644 src/FacebookAds/Object/VideoReferenceMatch.php delete mode 100644 src/FacebookAds/Object/VideoStats.php delete mode 100644 src/FacebookAds/Object/WhatsAppBusinessAccount.php delete mode 100644 src/FacebookAds/Object/WifiInformation.php diff --git a/README.md b/README.md index 3b6b8a0b6..65b1edf96 100644 --- a/README.md +++ b/README.md @@ -229,8 +229,8 @@ $cursor->fetchAfter(); #### Implicit Fetching Whenever all object connected to a parent are required (carelessly from the number of HTTP requests) implicit fetching can help reducing the amount of code required. -If cursor has Implicit Fetching enabled, while iterating (foreach, Cursor::next(), Cursor::prev()) the page end is reached, the SDK will automatically fetch and append a new page, until cursor end. -Implicit Fetching will make you lose control of the number of HTTP request that will be sent and, for this reason, is disabled by default. +If cursor has Implicit Fetching enabled, while iterating (foreach, Cursor::next(), Cursor::prev()) the page end is reached, the SDK will automatically fetch and append a new page, untill cursor end. +Implicit Fetching will make you lose controll of the number of HTTP request that will be sent and, for this reason, is disabled by default. Implicit Fetching can be enabled for a specific cursor: ```php diff --git a/src/FacebookAds/ApiConfig.php b/src/FacebookAds/ApiConfig.php index dac0a5cfd..aff273bb5 100644 --- a/src/FacebookAds/ApiConfig.php +++ b/src/FacebookAds/ApiConfig.php @@ -24,6 +24,6 @@ namespace FacebookAds; class ApiConfig { const APIVersion = '3.1'; - const SDKVersion = '3.1.6'; + const SDKVersion = '3.1.7'; const TYPE_CHECKER_STRICT_MODE = false; } diff --git a/src/FacebookAds/Object/Ad.php b/src/FacebookAds/Object/Ad.php index 31f7e753d..4275d3c84 100644 --- a/src/FacebookAds/Object/Ad.php +++ b/src/FacebookAds/Object/Ad.php @@ -596,7 +596,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'execution_options' => 'list', 'adlabels' => 'list', 'bid_amount' => 'int', - 'redownload' => 'bool', ); $enums = array( 'status_enum' => AdStatusValues::getInstance()->getValues(), diff --git a/src/FacebookAds/Object/AdAccount.php b/src/FacebookAds/Object/AdAccount.php index fc6117c77..dc0302ce5 100644 --- a/src/FacebookAds/Object/AdAccount.php +++ b/src/FacebookAds/Object/AdAccount.php @@ -1123,7 +1123,6 @@ public function createAd(array $fields = array(), array $params = array(), $pend 'execution_options' => 'list', 'adlabels' => 'list', 'bid_amount' => 'int', - 'redownload' => 'bool', 'source_ad_id' => 'string', ); $enums = array( @@ -1239,7 +1238,7 @@ public function createAdSet(array $fields = array(), array $params = array(), $p $this->assureId(); $param_types = array( - 'ad_keywords' => 'map', + 'ad_keywords' => 'Object', 'adlabels' => 'list', 'bid_amount' => 'int', 'bid_adjustments' => 'Object', @@ -1276,7 +1275,6 @@ public function createAdSet(array $fields = array(), array $params = array(), $p 'pacing_type' => 'list', 'promoted_object' => 'Object', 'rb_prediction_id' => 'string', - 'redownload' => 'bool', 'rf_prediction_id' => 'string', 'source_adset_id' => 'string', 'start_time' => 'datetime', @@ -3162,29 +3160,6 @@ public function createPublisherBlockList(array $fields = array(), array $params return $pending ? $request : $request->execute(); } - public function getRateCard(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/ratecard', - new RateCard(), - 'EDGE', - RateCard::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - public function getReachEstimate(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -3909,7 +3884,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'agency_client_declaration' => 'map', 'business_info' => 'map', 'tos_accepted' => 'map', - 'redownload' => 'bool', 'currency' => 'currency_enum', 'timezone_id' => 'unsigned int', 'end_advertiser' => 'string', diff --git a/src/FacebookAds/Object/AdAccountASLSchedule.php b/src/FacebookAds/Object/AdAccountASLSchedule.php deleted file mode 100644 index 03757355f..000000000 --- a/src/FacebookAds/Object/AdAccountASLSchedule.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountASLSchedule(), - 'NODE', - AdAccountASLSchedule::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountAllPaymentMethods.php b/src/FacebookAds/Object/AdAccountAllPaymentMethods.php deleted file mode 100644 index e2230fa85..000000000 --- a/src/FacebookAds/Object/AdAccountAllPaymentMethods.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountAllPaymentMethods(), - 'NODE', - AdAccountAllPaymentMethods::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountBankInfoList.php b/src/FacebookAds/Object/AdAccountBankInfoList.php deleted file mode 100644 index 35be18f05..000000000 --- a/src/FacebookAds/Object/AdAccountBankInfoList.php +++ /dev/null @@ -1,91 +0,0 @@ -assureId(); - - $param_types = array( - 'credential_id' => 'string', - 'payment_method_type' => 'payment_method_type_enum', - ); - $enums = array( - 'payment_method_type_enum' => array( - 'UNKNOWN', - 'CC', - 'NEW_CC', - 'ADYEN', - 'LIVEGAMER', - 'PAYU', - 'DLOCAL', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountBankInfoList(), - 'NODE', - AdAccountBankInfoList::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountBillingDatePreference.php b/src/FacebookAds/Object/AdAccountBillingDatePreference.php deleted file mode 100644 index d75afbd3c..000000000 --- a/src/FacebookAds/Object/AdAccountBillingDatePreference.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountBillingDatePreference(), - 'NODE', - AdAccountBillingDatePreference::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountCheckout.php b/src/FacebookAds/Object/AdAccountCheckout.php deleted file mode 100644 index 5511b1210..000000000 --- a/src/FacebookAds/Object/AdAccountCheckout.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountCheckout(), - 'NODE', - AdAccountCheckout::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountCheckoutPayment.php b/src/FacebookAds/Object/AdAccountCheckoutPayment.php deleted file mode 100644 index 3f6c5ab1d..000000000 --- a/src/FacebookAds/Object/AdAccountCheckoutPayment.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountCheckoutPayment(), - 'NODE', - AdAccountCheckoutPayment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountPaymentDetails.php b/src/FacebookAds/Object/AdAccountPaymentDetails.php deleted file mode 100644 index b99bdae3a..000000000 --- a/src/FacebookAds/Object/AdAccountPaymentDetails.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountPaymentDetails(), - 'NODE', - AdAccountPaymentDetails::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountPaymentOptions.php b/src/FacebookAds/Object/AdAccountPaymentOptions.php deleted file mode 100644 index a9723048c..000000000 --- a/src/FacebookAds/Object/AdAccountPaymentOptions.php +++ /dev/null @@ -1,81 +0,0 @@ -assureId(); - - $param_types = array( - 'country_code' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountPaymentOptions(), - 'NODE', - AdAccountPaymentOptions::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountPrepayDetails.php b/src/FacebookAds/Object/AdAccountPrepayDetails.php deleted file mode 100644 index aed40a4c4..000000000 --- a/src/FacebookAds/Object/AdAccountPrepayDetails.php +++ /dev/null @@ -1,108 +0,0 @@ -assureId(); - - $param_types = array( - 'budget_amount' => 'string', - 'budget_currency' => 'string', - 'budget_type' => 'budget_type_enum', - 'credential_id' => 'string', - 'payment_method_type' => 'payment_method_type_enum', - 'type' => 'type_enum', - ); - $enums = array( - 'budget_type_enum' => array( - 'daily_budget', - 'lifetime_budget', - ), - 'payment_method_type_enum' => array( - 'UNKNOWN', - 'CC', - 'NEW_CC', - 'ADYEN', - 'LIVEGAMER', - 'PAYU', - 'DLOCAL', - ), - 'type_enum' => array( - 'UNKNOWN', - 'CC', - 'NEW_CC', - 'ADYEN', - 'LIVEGAMER', - 'PAYU', - 'DLOCAL', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountPrepayDetails(), - 'NODE', - AdAccountPrepayDetails::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountPromotionProgressBar.php b/src/FacebookAds/Object/AdAccountPromotionProgressBar.php deleted file mode 100644 index a73f7a304..000000000 --- a/src/FacebookAds/Object/AdAccountPromotionProgressBar.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountPromotionProgressBar(), - 'NODE', - AdAccountPromotionProgressBar::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountSpendLimit.php b/src/FacebookAds/Object/AdAccountSpendLimit.php deleted file mode 100644 index df2138ac8..000000000 --- a/src/FacebookAds/Object/AdAccountSpendLimit.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountSpendLimit(), - 'NODE', - AdAccountSpendLimit::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountSubsidyAmountDetails.php b/src/FacebookAds/Object/AdAccountSubsidyAmountDetails.php deleted file mode 100644 index 94f701d6f..000000000 --- a/src/FacebookAds/Object/AdAccountSubsidyAmountDetails.php +++ /dev/null @@ -1,93 +0,0 @@ -assureId(); - - $param_types = array( - 'amount' => 'string', - 'credential_id' => 'string', - 'currency' => 'string', - 'payment_method_type' => 'payment_method_type_enum', - ); - $enums = array( - 'payment_method_type_enum' => array( - 'UNKNOWN', - 'CC', - 'NEW_CC', - 'ADYEN', - 'LIVEGAMER', - 'PAYU', - 'DLOCAL', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountSubsidyAmountDetails(), - 'NODE', - AdAccountSubsidyAmountDetails::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountTargetingUnified.php b/src/FacebookAds/Object/AdAccountTargetingUnified.php deleted file mode 100644 index 81bdad77f..000000000 --- a/src/FacebookAds/Object/AdAccountTargetingUnified.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountTargetingUnified(), - 'NODE', - AdAccountTargetingUnified::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdAccountUserSettings.php b/src/FacebookAds/Object/AdAccountUserSettings.php deleted file mode 100644 index 77ddce3e1..000000000 --- a/src/FacebookAds/Object/AdAccountUserSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdAccountUserSettings(), - 'NODE', - AdAccountUserSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdCampaignDeliveryStats.php b/src/FacebookAds/Object/AdCampaignDeliveryStats.php deleted file mode 100644 index 9d32205ed..000000000 --- a/src/FacebookAds/Object/AdCampaignDeliveryStats.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdCampaignDeliveryStats(), - 'NODE', - AdCampaignDeliveryStats::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdColumnSizes.php b/src/FacebookAds/Object/AdColumnSizes.php deleted file mode 100644 index 0eb8c46df..000000000 --- a/src/FacebookAds/Object/AdColumnSizes.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdColumnSizes(), - 'NODE', - AdColumnSizes::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdCustomDerivedMetrics.php b/src/FacebookAds/Object/AdCustomDerivedMetrics.php deleted file mode 100644 index 8cceb90ea..000000000 --- a/src/FacebookAds/Object/AdCustomDerivedMetrics.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdCustomDerivedMetrics(), - 'NODE', - AdCustomDerivedMetrics::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdDraft.php b/src/FacebookAds/Object/AdDraft.php deleted file mode 100644 index ebec673d2..000000000 --- a/src/FacebookAds/Object/AdDraft.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdDraft(), - 'NODE', - AdDraft::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdExportPreset.php b/src/FacebookAds/Object/AdExportPreset.php deleted file mode 100644 index 8ccec2df0..000000000 --- a/src/FacebookAds/Object/AdExportPreset.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdExportPreset(), - 'NODE', - AdExportPreset::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdLightAdgroup.php b/src/FacebookAds/Object/AdLightAdgroup.php deleted file mode 100644 index c604e51cf..000000000 --- a/src/FacebookAds/Object/AdLightAdgroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdLightAdgroup(), - 'NODE', - AdLightAdgroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdLightCampaign.php b/src/FacebookAds/Object/AdLightCampaign.php deleted file mode 100644 index 020a099c2..000000000 --- a/src/FacebookAds/Object/AdLightCampaign.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdLightCampaign(), - 'NODE', - AdLightCampaign::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdLightCampaignGroup.php b/src/FacebookAds/Object/AdLightCampaignGroup.php deleted file mode 100644 index 9add14b51..000000000 --- a/src/FacebookAds/Object/AdLightCampaignGroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdLightCampaignGroup(), - 'NODE', - AdLightCampaignGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdRuleAggregatedExecutionHistory.php b/src/FacebookAds/Object/AdRuleAggregatedExecutionHistory.php deleted file mode 100644 index aae64f2ab..000000000 --- a/src/FacebookAds/Object/AdRuleAggregatedExecutionHistory.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdRuleAggregatedExecutionHistory(), - 'NODE', - AdRuleAggregatedExecutionHistory::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdSavedLocation.php b/src/FacebookAds/Object/AdSavedLocation.php deleted file mode 100644 index cb3613b23..000000000 --- a/src/FacebookAds/Object/AdSavedLocation.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdSavedLocation(), - 'NODE', - AdSavedLocation::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdSavedReport.php b/src/FacebookAds/Object/AdSavedReport.php deleted file mode 100644 index e415c1821..000000000 --- a/src/FacebookAds/Object/AdSavedReport.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdSavedReport(), - 'NODE', - AdSavedReport::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdScript.php b/src/FacebookAds/Object/AdScript.php deleted file mode 100644 index e9e3531b9..000000000 --- a/src/FacebookAds/Object/AdScript.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdScript(), - 'NODE', - AdScript::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdSet.php b/src/FacebookAds/Object/AdSet.php index d0e2b6c35..09fa6d148 100644 --- a/src/FacebookAds/Object/AdSet.php +++ b/src/FacebookAds/Object/AdSet.php @@ -187,7 +187,9 @@ public function deleteAdLabels(array $fields = array(), array $params = array(), 'execution_options' => 'list', ); $enums = array( - 'execution_options_enum' => AdSetExecutionOptionsValues::getInstance()->getValues(), + 'execution_options_enum' => array( + 'validate_only', + ), ); $request = new ApiRequest( @@ -213,7 +215,9 @@ public function createAdLabel(array $fields = array(), array $params = array(), 'execution_options' => 'list', ); $enums = array( - 'execution_options_enum' => AdSetExecutionOptionsValues::getInstance()->getValues(), + 'execution_options_enum' => array( + 'validate_only', + ), ); $request = new ApiRequest( @@ -571,7 +575,7 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe $param_types = array( 'account_id' => 'string', - 'ad_keywords' => 'map', + 'ad_keywords' => 'Object', 'adlabels' => 'list', 'bid_amount' => 'int', 'bid_adjustments' => 'Object', @@ -603,7 +607,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'pacing_type' => 'list', 'promoted_object' => 'Object', 'rb_prediction_id' => 'string', - 'redownload' => 'bool', 'rf_prediction_id' => 'string', 'start_time' => 'datetime', 'targeting' => 'Targeting', diff --git a/src/FacebookAds/Object/AdStudyObjectiveID.php b/src/FacebookAds/Object/AdStudyObjectiveID.php deleted file mode 100644 index f95ad9a3f..000000000 --- a/src/FacebookAds/Object/AdStudyObjectiveID.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdStudyObjectiveID(), - 'NODE', - AdStudyObjectiveID::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdDefaultValues.php b/src/FacebookAds/Object/AdgroupIssuesInfo.php similarity index 88% rename from src/FacebookAds/Object/AdDefaultValues.php rename to src/FacebookAds/Object/AdgroupIssuesInfo.php index 457037b23..c18962af4 100644 --- a/src/FacebookAds/Object/AdDefaultValues.php +++ b/src/FacebookAds/Object/AdgroupIssuesInfo.php @@ -28,7 +28,7 @@ use FacebookAds\Cursor; use FacebookAds\Http\RequestInterface; use FacebookAds\TypeChecker; -use FacebookAds\Object\Fields\AdDefaultValuesFields; +use FacebookAds\Object\Fields\AdgroupIssuesInfoFields; /** * This class is auto-generated. @@ -39,13 +39,13 @@ * */ -class AdDefaultValues extends AbstractCrudObject { +class AdgroupIssuesInfo extends AbstractCrudObject { /** - * @return AdDefaultValuesFields + * @return AdgroupIssuesInfoFields */ public static function getFieldsEnum() { - return AdDefaultValuesFields::getInstance(); + return AdgroupIssuesInfoFields::getInstance(); } protected static function getReferencedEnums() { @@ -67,9 +67,9 @@ public function getSelf(array $fields = array(), array $params = array(), $pendi $this->data['id'], RequestInterface::METHOD_GET, '/', - new AdDefaultValues(), + new AdgroupIssuesInfo(), 'NODE', - AdDefaultValues::getFieldsEnum()->getValues(), + AdgroupIssuesInfo::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/AdsCreationSavedState.php b/src/FacebookAds/Object/AdsCreationSavedState.php deleted file mode 100644 index 10e6856cd..000000000 --- a/src/FacebookAds/Object/AdsCreationSavedState.php +++ /dev/null @@ -1,105 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsCreationSavedState(), - 'NODE', - AdsCreationSavedState::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function updateSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'ad_account_id' => 'string', - 'serialized_store_data' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/', - new AdsCreationSavedState(), - 'NODE', - AdsCreationSavedState::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsPaymentCycle.php b/src/FacebookAds/Object/AdsPaymentCycle.php deleted file mode 100644 index 2c095c62a..000000000 --- a/src/FacebookAds/Object/AdsPaymentCycle.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsPaymentCycle(), - 'NODE', - AdsPaymentCycle::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsPixel.php b/src/FacebookAds/Object/AdsPixel.php index 00fee6657..ac8638e10 100644 --- a/src/FacebookAds/Object/AdsPixel.php +++ b/src/FacebookAds/Object/AdsPixel.php @@ -29,6 +29,8 @@ use FacebookAds\Http\RequestInterface; use FacebookAds\TypeChecker; use FacebookAds\Object\Fields\AdsPixelFields; +use FacebookAds\Object\Values\AdsPixelDataUseSettingValues; +use FacebookAds\Object\Values\AdsPixelFirstPartyCookieStatusValues; use FacebookAds\Object\Values\AdsPixelRelationshipTypeValues; use FacebookAds\Object\Values\AdsPixelSortByValues; use FacebookAds\Object\Values\AdsPixelStatsResultAggregationValues; @@ -65,6 +67,8 @@ public static function getFieldsEnum() { protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['SortBy'] = AdsPixelSortByValues::getInstance()->getValues(); + $ref_enums['DataUseSetting'] = AdsPixelDataUseSettingValues::getInstance()->getValues(); + $ref_enums['FirstPartyCookieStatus'] = AdsPixelFirstPartyCookieStatusValues::getInstance()->getValues(); $ref_enums['Tasks'] = AdsPixelTasksValues::getInstance()->getValues(); $ref_enums['Type'] = AdsPixelTypeValues::getInstance()->getValues(); $ref_enums['RelationshipType'] = AdsPixelRelationshipTypeValues::getInstance()->getValues(); @@ -526,8 +530,12 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe $param_types = array( 'name' => 'string', + 'first_party_cookie_status' => 'first_party_cookie_status_enum', + 'data_use_setting' => 'data_use_setting_enum', ); $enums = array( + 'first_party_cookie_status_enum' => AdsPixelFirstPartyCookieStatusValues::getInstance()->getValues(), + 'data_use_setting_enum' => AdsPixelDataUseSettingValues::getInstance()->getValues(), ); $request = new ApiRequest( diff --git a/src/FacebookAds/Object/AdsPixelEventPrediction.php b/src/FacebookAds/Object/AdsPixelEventPrediction.php deleted file mode 100644 index c0f10334e..000000000 --- a/src/FacebookAds/Object/AdsPixelEventPrediction.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsPixelEventPrediction(), - 'NODE', - AdsPixelEventPrediction::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsPixelEventSuggestionRule.php b/src/FacebookAds/Object/AdsPixelEventSuggestionRule.php deleted file mode 100644 index 37454f975..000000000 --- a/src/FacebookAds/Object/AdsPixelEventSuggestionRule.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsPixelEventSuggestionRule(), - 'NODE', - AdsPixelEventSuggestionRule::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsPixelTrafficAnomalyConfig.php b/src/FacebookAds/Object/AdsPixelTrafficAnomalyConfig.php deleted file mode 100644 index 0abedf9e2..000000000 --- a/src/FacebookAds/Object/AdsPixelTrafficAnomalyConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsPixelTrafficAnomalyConfig(), - 'NODE', - AdsPixelTrafficAnomalyConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsReportBuilderSavedReport.php b/src/FacebookAds/Object/AdsReportBuilderSavedReport.php deleted file mode 100644 index 55a9476b8..000000000 --- a/src/FacebookAds/Object/AdsReportBuilderSavedReport.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsReportBuilderSavedReport(), - 'NODE', - AdsReportBuilderSavedReport::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsTargetingInsights.php b/src/FacebookAds/Object/AdsTargetingInsights.php deleted file mode 100644 index 295cb459e..000000000 --- a/src/FacebookAds/Object/AdsTargetingInsights.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsTargetingInsights(), - 'NODE', - AdsTargetingInsights::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AdsUserSettings.php b/src/FacebookAds/Object/AdsUserSettings.php deleted file mode 100644 index f34c7eedf..000000000 --- a/src/FacebookAds/Object/AdsUserSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AdsUserSettings(), - 'NODE', - AdsUserSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AnalyticsConfig.php b/src/FacebookAds/Object/AnalyticsConfig.php deleted file mode 100644 index 6a9e74cbc..000000000 --- a/src/FacebookAds/Object/AnalyticsConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AnalyticsConfig(), - 'NODE', - AnalyticsConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AnalyticsEntityUserConfig.php b/src/FacebookAds/Object/AnalyticsEntityUserConfig.php deleted file mode 100644 index 4a95ef9c6..000000000 --- a/src/FacebookAds/Object/AnalyticsEntityUserConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AnalyticsEntityUserConfig(), - 'NODE', - AnalyticsEntityUserConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AnalyticsPlatformMetricsConfig.php b/src/FacebookAds/Object/AnalyticsPlatformMetricsConfig.php deleted file mode 100644 index 8e4228283..000000000 --- a/src/FacebookAds/Object/AnalyticsPlatformMetricsConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AnalyticsPlatformMetricsConfig(), - 'NODE', - AnalyticsPlatformMetricsConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AnalyticsSegment.php b/src/FacebookAds/Object/AnalyticsSegment.php deleted file mode 100644 index 4e6f519bb..000000000 --- a/src/FacebookAds/Object/AnalyticsSegment.php +++ /dev/null @@ -1,83 +0,0 @@ -assureId(); - - $param_types = array( - 'async_task_id' => 'string', - 'end_date' => 'int', - 'start_date' => 'int', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AnalyticsSegment(), - 'NODE', - AnalyticsSegment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AnalyticsUserConfig.php b/src/FacebookAds/Object/AnalyticsUserConfig.php deleted file mode 100644 index 497613f10..000000000 --- a/src/FacebookAds/Object/AnalyticsUserConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AnalyticsUserConfig(), - 'NODE', - AnalyticsUserConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AppEventConfig.php b/src/FacebookAds/Object/AppEventConfig.php deleted file mode 100644 index 0524b445e..000000000 --- a/src/FacebookAds/Object/AppEventConfig.php +++ /dev/null @@ -1,81 +0,0 @@ -assureId(); - - $param_types = array( - 'event_name' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AppEventConfig(), - 'NODE', - AppEventConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Application.php b/src/FacebookAds/Object/Application.php index 65f2c2dca..140b61470 100644 --- a/src/FacebookAds/Object/Application.php +++ b/src/FacebookAds/Object/Application.php @@ -29,13 +29,13 @@ use FacebookAds\Http\RequestInterface; use FacebookAds\TypeChecker; use FacebookAds\Object\Fields\ApplicationFields; -use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues; -use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultBreakdownsValues; -use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultMetricsValues; -use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues; -use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues; +use FacebookAds\Object\Values\ApplicationAggregationPeriodValues; use FacebookAds\Object\Values\ApplicationAnPlatformsValues; +use FacebookAds\Object\Values\ApplicationBreakdownsValues; +use FacebookAds\Object\Values\ApplicationMetricsValues; use FacebookAds\Object\Values\ApplicationMutationMethodValues; +use FacebookAds\Object\Values\ApplicationOrderingColumnValues; +use FacebookAds\Object\Values\ApplicationOrderingTypeValues; use FacebookAds\Object\Values\ApplicationPlatformValues; use FacebookAds\Object\Values\ApplicationRequestTypeValues; use FacebookAds\Object\Values\ApplicationRoleValues; @@ -69,6 +69,11 @@ protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['SupportedPlatforms'] = ApplicationSupportedPlatformsValues::getInstance()->getValues(); $ref_enums['AnPlatforms'] = ApplicationAnPlatformsValues::getInstance()->getValues(); + $ref_enums['AggregationPeriod'] = ApplicationAggregationPeriodValues::getInstance()->getValues(); + $ref_enums['Breakdowns'] = ApplicationBreakdownsValues::getInstance()->getValues(); + $ref_enums['Metrics'] = ApplicationMetricsValues::getInstance()->getValues(); + $ref_enums['OrderingColumn'] = ApplicationOrderingColumnValues::getInstance()->getValues(); + $ref_enums['OrderingType'] = ApplicationOrderingTypeValues::getInstance()->getValues(); $ref_enums['Platform'] = ApplicationPlatformValues::getInstance()->getValues(); $ref_enums['RequestType'] = ApplicationRequestTypeValues::getInstance()->getValues(); $ref_enums['MutationMethod'] = ApplicationMutationMethodValues::getInstance()->getValues(); @@ -292,11 +297,11 @@ public function getAdNetworkAnalytics(array $fields = array(), array $params = a 'until' => 'Object', ); $enums = array( - 'aggregation_period_enum' => AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues::getInstance()->getValues(), - 'breakdowns_enum' => AdNetworkAnalyticsSyncQueryResultBreakdownsValues::getInstance()->getValues(), - 'metrics_enum' => AdNetworkAnalyticsSyncQueryResultMetricsValues::getInstance()->getValues(), - 'ordering_column_enum' => AdNetworkAnalyticsSyncQueryResultOrderingColumnValues::getInstance()->getValues(), - 'ordering_type_enum' => AdNetworkAnalyticsSyncQueryResultOrderingTypeValues::getInstance()->getValues(), + 'aggregation_period_enum' => ApplicationAggregationPeriodValues::getInstance()->getValues(), + 'breakdowns_enum' => ApplicationBreakdownsValues::getInstance()->getValues(), + 'metrics_enum' => ApplicationMetricsValues::getInstance()->getValues(), + 'ordering_column_enum' => ApplicationOrderingColumnValues::getInstance()->getValues(), + 'ordering_type_enum' => ApplicationOrderingTypeValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -329,11 +334,11 @@ public function createAdNetworkAnalytic(array $fields = array(), array $params = 'until' => 'Object', ); $enums = array( - 'aggregation_period_enum' => AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues::getInstance()->getValues(), - 'breakdowns_enum' => AdNetworkAnalyticsSyncQueryResultBreakdownsValues::getInstance()->getValues(), - 'metrics_enum' => AdNetworkAnalyticsSyncQueryResultMetricsValues::getInstance()->getValues(), - 'ordering_column_enum' => AdNetworkAnalyticsSyncQueryResultOrderingColumnValues::getInstance()->getValues(), - 'ordering_type_enum' => AdNetworkAnalyticsSyncQueryResultOrderingTypeValues::getInstance()->getValues(), + 'aggregation_period_enum' => ApplicationAggregationPeriodValues::getInstance()->getValues(), + 'breakdowns_enum' => ApplicationBreakdownsValues::getInstance()->getValues(), + 'metrics_enum' => ApplicationMetricsValues::getInstance()->getValues(), + 'ordering_column_enum' => ApplicationOrderingColumnValues::getInstance()->getValues(), + 'ordering_type_enum' => ApplicationOrderingTypeValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -1302,6 +1307,30 @@ public function createFullAppIndexingInfo(array $fields = array(), array $params return $pending ? $request : $request->execute(); } + public function createGroupsAppSetting(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'post_install_url' => 'Object', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/groups_app_settings', + new AbstractCrudObject(), + 'EDGE', + array(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function getInsightsEventLabels(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); diff --git a/src/FacebookAds/Object/ApplicationThirdPartyPayload.php b/src/FacebookAds/Object/ApplicationThirdPartyPayload.php deleted file mode 100644 index 21e1fc20d..000000000 --- a/src/FacebookAds/Object/ApplicationThirdPartyPayload.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ApplicationThirdPartyPayload(), - 'NODE', - ApplicationThirdPartyPayload::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AtlasCampaign.php b/src/FacebookAds/Object/AtlasCampaign.php deleted file mode 100644 index b2f5e5bd8..000000000 --- a/src/FacebookAds/Object/AtlasCampaign.php +++ /dev/null @@ -1,155 +0,0 @@ -assureId(); - - $param_types = array( - 'filename' => 'string', - 'template' => 'string', - 'export' => 'string', - 'format' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/importtemplate', - new AtlasCampaign(), - 'EDGE', - AtlasCampaign::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getInvoices(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/invoices', - new OracleTransaction(), - 'EDGE', - OracleTransaction::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getTraffickingData(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'redirect' => 'bool', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/trafficking_data', - new AtlasURL(), - 'EDGE', - AtlasURL::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'metric_scope' => 'map', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AtlasCampaign(), - 'NODE', - AtlasCampaign::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AtlasCompany.php b/src/FacebookAds/Object/AtlasCompany.php deleted file mode 100644 index 734b47844..000000000 --- a/src/FacebookAds/Object/AtlasCompany.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AtlasCompany(), - 'NODE', - AtlasCompany::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AtlasUser.php b/src/FacebookAds/Object/AtlasUser.php deleted file mode 100644 index 45873edc6..000000000 --- a/src/FacebookAds/Object/AtlasUser.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AtlasUser(), - 'NODE', - AtlasUser::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AudienceSharingAccountValid.php b/src/FacebookAds/Object/AudienceSharingAccountValid.php deleted file mode 100644 index ceda9c072..000000000 --- a/src/FacebookAds/Object/AudienceSharingAccountValid.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AudienceSharingAccountValid(), - 'NODE', - AudienceSharingAccountValid::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AudienceSharingRecipientAccounts.php b/src/FacebookAds/Object/AudienceSharingRecipientAccounts.php deleted file mode 100644 index 54d3c2448..000000000 --- a/src/FacebookAds/Object/AudienceSharingRecipientAccounts.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AudienceSharingRecipientAccounts(), - 'NODE', - AudienceSharingRecipientAccounts::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AudienceStudy.php b/src/FacebookAds/Object/AudienceStudy.php deleted file mode 100644 index f58110240..000000000 --- a/src/FacebookAds/Object/AudienceStudy.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AudienceStudy(), - 'NODE', - AudienceStudy::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AudioRelease.php b/src/FacebookAds/Object/AudioRelease.php deleted file mode 100644 index 388db9804..000000000 --- a/src/FacebookAds/Object/AudioRelease.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AudioRelease(), - 'NODE', - AudioRelease::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Auto.php b/src/FacebookAds/Object/Auto.php deleted file mode 100644 index 01f87fbe6..000000000 --- a/src/FacebookAds/Object/Auto.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Auto(), - 'NODE', - Auto::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AutoMarket.php b/src/FacebookAds/Object/AutoMarket.php deleted file mode 100644 index 2ddf31624..000000000 --- a/src/FacebookAds/Object/AutoMarket.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AutoMarket(), - 'NODE', - AutoMarket::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/AutoOffer.php b/src/FacebookAds/Object/AutoOffer.php deleted file mode 100644 index ba597ca1f..000000000 --- a/src/FacebookAds/Object/AutoOffer.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new AutoOffer(), - 'NODE', - AutoOffer::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BigDataUploadSession.php b/src/FacebookAds/Object/BigDataUploadSession.php deleted file mode 100644 index 037eff248..000000000 --- a/src/FacebookAds/Object/BigDataUploadSession.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BigDataUploadSession(), - 'NODE', - BigDataUploadSession::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BlindPig.php b/src/FacebookAds/Object/BlindPig.php deleted file mode 100644 index f24276955..000000000 --- a/src/FacebookAds/Object/BlindPig.php +++ /dev/null @@ -1,195 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/bar_games', - new Application(), - 'EDGE', - Application::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getCardHolders(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/card_holders', - new User(), - 'EDGE', - User::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getKnownPatrons(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/known_patrons', - new User(), - 'EDGE', - User::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSupervisors(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/supervisors', - new User(), - 'EDGE', - User::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getUniqueBarGames(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/unique_bar_games', - new Application(), - 'EDGE', - Application::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BlindPig(), - 'NODE', - BlindPig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BrandRequest.php b/src/FacebookAds/Object/BrandRequest.php deleted file mode 100644 index d90e7ee53..000000000 --- a/src/FacebookAds/Object/BrandRequest.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BrandRequest(), - 'NODE', - BrandRequest::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BrazilCreditMemo.php b/src/FacebookAds/Object/BrazilCreditMemo.php deleted file mode 100644 index 4ecd25ea3..000000000 --- a/src/FacebookAds/Object/BrazilCreditMemo.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BrazilCreditMemo(), - 'NODE', - BrazilCreditMemo::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Business.php b/src/FacebookAds/Object/Business.php index 343b7975d..79dee3e67 100644 --- a/src/FacebookAds/Object/Business.php +++ b/src/FacebookAds/Object/Business.php @@ -32,17 +32,17 @@ use FacebookAds\Object\Values\AdAccountCreationRequestStatusValues; use FacebookAds\Object\Values\AdAccountCreationRequestSubverticalValues; use FacebookAds\Object\Values\AdAccountCreationRequestVerticalValues; +use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues; +use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultBreakdownsValues; +use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultMetricsValues; +use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingColumnValues; +use FacebookAds\Object\Values\AdNetworkAnalyticsSyncQueryResultOrderingTypeValues; use FacebookAds\Object\Values\AdStudyTypeValues; use FacebookAds\Object\Values\AdsPixelSortByValues; use FacebookAds\Object\Values\BusinessAccessTypeValues; -use FacebookAds\Object\Values\BusinessAggregationPeriodValues; use FacebookAds\Object\Values\BusinessAgreementRequestStatusValues; use FacebookAds\Object\Values\BusinessAssetSharingAgreementRequestStatusValues; -use FacebookAds\Object\Values\BusinessBreakdownsValues; use FacebookAds\Object\Values\BusinessMatchedSearchApplicationsEdgeDataAppStoreValues; -use FacebookAds\Object\Values\BusinessMetricsValues; -use FacebookAds\Object\Values\BusinessOrderingColumnValues; -use FacebookAds\Object\Values\BusinessOrderingTypeValues; use FacebookAds\Object\Values\BusinessPagePermittedRolesValues; use FacebookAds\Object\Values\BusinessPermittedRolesValues; use FacebookAds\Object\Values\BusinessPermittedTasksValues; @@ -84,11 +84,6 @@ protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['TwoFactorType'] = BusinessTwoFactorTypeValues::getInstance()->getValues(); $ref_enums['Vertical'] = BusinessVerticalValues::getInstance()->getValues(); - $ref_enums['AggregationPeriod'] = BusinessAggregationPeriodValues::getInstance()->getValues(); - $ref_enums['Breakdowns'] = BusinessBreakdownsValues::getInstance()->getValues(); - $ref_enums['Metrics'] = BusinessMetricsValues::getInstance()->getValues(); - $ref_enums['OrderingColumn'] = BusinessOrderingColumnValues::getInstance()->getValues(); - $ref_enums['OrderingType'] = BusinessOrderingTypeValues::getInstance()->getValues(); $ref_enums['AccessType'] = BusinessAccessTypeValues::getInstance()->getValues(); $ref_enums['PermittedTasks'] = BusinessPermittedTasksValues::getInstance()->getValues(); $ref_enums['PagePermittedRoles'] = BusinessPagePermittedRolesValues::getInstance()->getValues(); @@ -332,11 +327,11 @@ public function getAdNetworkAnalytics(array $fields = array(), array $params = a 'until' => 'Object', ); $enums = array( - 'aggregation_period_enum' => BusinessAggregationPeriodValues::getInstance()->getValues(), - 'breakdowns_enum' => BusinessBreakdownsValues::getInstance()->getValues(), - 'metrics_enum' => BusinessMetricsValues::getInstance()->getValues(), - 'ordering_column_enum' => BusinessOrderingColumnValues::getInstance()->getValues(), - 'ordering_type_enum' => BusinessOrderingTypeValues::getInstance()->getValues(), + 'aggregation_period_enum' => AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues::getInstance()->getValues(), + 'breakdowns_enum' => AdNetworkAnalyticsSyncQueryResultBreakdownsValues::getInstance()->getValues(), + 'metrics_enum' => AdNetworkAnalyticsSyncQueryResultMetricsValues::getInstance()->getValues(), + 'ordering_column_enum' => AdNetworkAnalyticsSyncQueryResultOrderingColumnValues::getInstance()->getValues(), + 'ordering_type_enum' => AdNetworkAnalyticsSyncQueryResultOrderingTypeValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -369,11 +364,11 @@ public function createAdNetworkAnalytic(array $fields = array(), array $params = 'until' => 'Object', ); $enums = array( - 'aggregation_period_enum' => BusinessAggregationPeriodValues::getInstance()->getValues(), - 'breakdowns_enum' => BusinessBreakdownsValues::getInstance()->getValues(), - 'metrics_enum' => BusinessMetricsValues::getInstance()->getValues(), - 'ordering_column_enum' => BusinessOrderingColumnValues::getInstance()->getValues(), - 'ordering_type_enum' => BusinessOrderingTypeValues::getInstance()->getValues(), + 'aggregation_period_enum' => AdNetworkAnalyticsSyncQueryResultAggregationPeriodValues::getInstance()->getValues(), + 'breakdowns_enum' => AdNetworkAnalyticsSyncQueryResultBreakdownsValues::getInstance()->getValues(), + 'metrics_enum' => AdNetworkAnalyticsSyncQueryResultMetricsValues::getInstance()->getValues(), + 'ordering_column_enum' => AdNetworkAnalyticsSyncQueryResultOrderingColumnValues::getInstance()->getValues(), + 'ordering_type_enum' => AdNetworkAnalyticsSyncQueryResultOrderingTypeValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -2387,9 +2382,9 @@ public function createSpacoDataSetCollection(array $fields = array(), array $par $this->data['id'], RequestInterface::METHOD_POST, '/spaco_dataset_collections', - new SpacoDsDataCollection(), + new AbstractCrudObject(), 'EDGE', - SpacoDsDataCollection::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/BusinessObject.php b/src/FacebookAds/Object/BusinessObject.php deleted file mode 100644 index b32bb813b..000000000 --- a/src/FacebookAds/Object/BusinessObject.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessObject(), - 'NODE', - BusinessObject::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessOwnedObjectOnBehalfOfRequest.php b/src/FacebookAds/Object/BusinessOwnedObjectOnBehalfOfRequest.php deleted file mode 100644 index 2288c6c2e..000000000 --- a/src/FacebookAds/Object/BusinessOwnedObjectOnBehalfOfRequest.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessOwnedObjectOnBehalfOfRequest(), - 'NODE', - BusinessOwnedObjectOnBehalfOfRequest::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessPersona.php b/src/FacebookAds/Object/BusinessPersona.php deleted file mode 100644 index 1e527a17e..000000000 --- a/src/FacebookAds/Object/BusinessPersona.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessPersona(), - 'NODE', - BusinessPersona::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessPixelTOS.php b/src/FacebookAds/Object/BusinessPixelTOS.php deleted file mode 100644 index 65e138121..000000000 --- a/src/FacebookAds/Object/BusinessPixelTOS.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessPixelTOS(), - 'NODE', - BusinessPixelTOS::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessRequest.php b/src/FacebookAds/Object/BusinessRequest.php deleted file mode 100644 index af0e6767a..000000000 --- a/src/FacebookAds/Object/BusinessRequest.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessRequest(), - 'NODE', - BusinessRequest::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessResourceGroup.php b/src/FacebookAds/Object/BusinessResourceGroup.php deleted file mode 100644 index 167771984..000000000 --- a/src/FacebookAds/Object/BusinessResourceGroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessResourceGroup(), - 'NODE', - BusinessResourceGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/BusinessTag.php b/src/FacebookAds/Object/BusinessTag.php deleted file mode 100644 index c1331e712..000000000 --- a/src/FacebookAds/Object/BusinessTag.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new BusinessTag(), - 'NODE', - BusinessTag::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CRMAddress.php b/src/FacebookAds/Object/CRMAddress.php deleted file mode 100644 index 75df08ccd..000000000 --- a/src/FacebookAds/Object/CRMAddress.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CRMAddress(), - 'NODE', - CRMAddress::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Campaign.php b/src/FacebookAds/Object/Campaign.php index c19fb7366..ce5851c77 100644 --- a/src/FacebookAds/Object/Campaign.php +++ b/src/FacebookAds/Object/Campaign.php @@ -125,9 +125,7 @@ public function deleteAdLabels(array $fields = array(), array $params = array(), 'execution_options' => 'list', ); $enums = array( - 'execution_options_enum' => array( - 'validate_only', - ), + 'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -153,9 +151,7 @@ public function createAdLabel(array $fields = array(), array $params = array(), 'execution_options' => 'list', ); $enums = array( - 'execution_options_enum' => array( - 'validate_only', - ), + 'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(), ); $request = new ApiRequest( diff --git a/src/FacebookAds/Object/CanvasDynamicSetting.php b/src/FacebookAds/Object/CanvasDynamicSetting.php deleted file mode 100644 index a2eb1e19a..000000000 --- a/src/FacebookAds/Object/CanvasDynamicSetting.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CanvasDynamicSetting(), - 'NODE', - CanvasDynamicSetting::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CanvasTemplate.php b/src/FacebookAds/Object/CanvasTemplate.php deleted file mode 100644 index e9a9c614b..000000000 --- a/src/FacebookAds/Object/CanvasTemplate.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CanvasTemplate(), - 'NODE', - CanvasTemplate::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CatalogSmartPixelSettings.php b/src/FacebookAds/Object/CatalogSmartPixelSettings.php deleted file mode 100644 index f9a553870..000000000 --- a/src/FacebookAds/Object/CatalogSmartPixelSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CatalogSmartPixelSettings(), - 'NODE', - CatalogSmartPixelSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CommerceMerchantSettings.php b/src/FacebookAds/Object/CommerceMerchantSettings.php deleted file mode 100644 index 3f4784e4d..000000000 --- a/src/FacebookAds/Object/CommerceMerchantSettings.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/product_catalogs', - new ProductCatalog(), - 'EDGE', - ProductCatalog::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CommerceMerchantSettings(), - 'NODE', - CommerceMerchantSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CommerceMerchantSettingsSetupStatus.php b/src/FacebookAds/Object/CommerceMerchantSettingsSetupStatus.php deleted file mode 100644 index 11fad0d79..000000000 --- a/src/FacebookAds/Object/CommerceMerchantSettingsSetupStatus.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CommerceMerchantSettingsSetupStatus(), - 'NODE', - CommerceMerchantSettingsSetupStatus::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CommerceMerchantTOSAcceptance.php b/src/FacebookAds/Object/CommerceMerchantTOSAcceptance.php deleted file mode 100644 index db5c4c9a2..000000000 --- a/src/FacebookAds/Object/CommerceMerchantTOSAcceptance.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CommerceMerchantTOSAcceptance(), - 'NODE', - CommerceMerchantTOSAcceptance::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CommerceOrder.php b/src/FacebookAds/Object/CommerceOrder.php deleted file mode 100644 index c768f6b9e..000000000 --- a/src/FacebookAds/Object/CommerceOrder.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CommerceOrder(), - 'NODE', - CommerceOrder::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CreditCard.php b/src/FacebookAds/Object/CreditCard.php deleted file mode 100644 index 6c7129935..000000000 --- a/src/FacebookAds/Object/CreditCard.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/', - new AbstractCrudObject(), - 'NODE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CreditCard(), - 'NODE', - CreditCard::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CustomUserSettings.php b/src/FacebookAds/Object/CustomUserSettings.php deleted file mode 100644 index 17ae502be..000000000 --- a/src/FacebookAds/Object/CustomUserSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CustomUserSettings(), - 'NODE', - CustomUserSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/CustomVoicemail.php b/src/FacebookAds/Object/CustomVoicemail.php deleted file mode 100644 index cbcbbc839..000000000 --- a/src/FacebookAds/Object/CustomVoicemail.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new CustomVoicemail(), - 'NODE', - CustomVoicemail::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/DeliveryInfo.php b/src/FacebookAds/Object/DeliveryInfo.php deleted file mode 100644 index fb35c43ad..000000000 --- a/src/FacebookAds/Object/DeliveryInfo.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new DeliveryInfo(), - 'NODE', - DeliveryInfo::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/DirectDebit.php b/src/FacebookAds/Object/DirectDebit.php deleted file mode 100644 index f30b409c6..000000000 --- a/src/FacebookAds/Object/DirectDebit.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new DirectDebit(), - 'NODE', - DirectDebit::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/DocumentFont.php b/src/FacebookAds/Object/DocumentFont.php deleted file mode 100644 index a40f677a7..000000000 --- a/src/FacebookAds/Object/DocumentFont.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new DocumentFont(), - 'NODE', - DocumentFont::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/DynamicItemDisplayBundle.php b/src/FacebookAds/Object/DynamicItemDisplayBundle.php deleted file mode 100644 index 824c731ab..000000000 --- a/src/FacebookAds/Object/DynamicItemDisplayBundle.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new DynamicItemDisplayBundle(), - 'NODE', - DynamicItemDisplayBundle::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php b/src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php deleted file mode 100644 index 59e9064f8..000000000 --- a/src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new DynamicItemDisplayBundleFolder(), - 'NODE', - DynamicItemDisplayBundleFolder::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/EntWithSponsor.php b/src/FacebookAds/Object/EntWithSponsor.php deleted file mode 100644 index cb172561c..000000000 --- a/src/FacebookAds/Object/EntWithSponsor.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new EntWithSponsor(), - 'NODE', - EntWithSponsor::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/EventExternalTicketInfo.php b/src/FacebookAds/Object/EventExternalTicketInfo.php deleted file mode 100644 index aeb1d1de3..000000000 --- a/src/FacebookAds/Object/EventExternalTicketInfo.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new EventExternalTicketInfo(), - 'NODE', - EventExternalTicketInfo::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/EventRegistrationSetting.php b/src/FacebookAds/Object/EventRegistrationSetting.php deleted file mode 100644 index 0c48ddaff..000000000 --- a/src/FacebookAds/Object/EventRegistrationSetting.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new EventRegistrationSetting(), - 'NODE', - EventRegistrationSetting::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/EventTicketSetting.php b/src/FacebookAds/Object/EventTicketSetting.php deleted file mode 100644 index 2cadcb9f0..000000000 --- a/src/FacebookAds/Object/EventTicketSetting.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new EventTicketSetting(), - 'NODE', - EventTicketSetting::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/EventTicketTier.php b/src/FacebookAds/Object/EventTicketTier.php deleted file mode 100644 index 1865b5d9d..000000000 --- a/src/FacebookAds/Object/EventTicketTier.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new EventTicketTier(), - 'NODE', - EventTicketTier::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExportAdCampaign.php b/src/FacebookAds/Object/ExportAdCampaign.php deleted file mode 100644 index 869a2e8a1..000000000 --- a/src/FacebookAds/Object/ExportAdCampaign.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExportAdCampaign(), - 'NODE', - ExportAdCampaign::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExportAdCampaignGroup.php b/src/FacebookAds/Object/ExportAdCampaignGroup.php deleted file mode 100644 index a5d783606..000000000 --- a/src/FacebookAds/Object/ExportAdCampaignGroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExportAdCampaignGroup(), - 'NODE', - ExportAdCampaignGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExportAdgroup.php b/src/FacebookAds/Object/ExportAdgroup.php deleted file mode 100644 index bd5366489..000000000 --- a/src/FacebookAds/Object/ExportAdgroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExportAdgroup(), - 'NODE', - ExportAdgroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExtendedCreditApplication.php b/src/FacebookAds/Object/ExtendedCreditApplication.php deleted file mode 100644 index a8de90ee3..000000000 --- a/src/FacebookAds/Object/ExtendedCreditApplication.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExtendedCreditApplication(), - 'NODE', - ExtendedCreditApplication::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExtendedCreditInfo.php b/src/FacebookAds/Object/ExtendedCreditInfo.php deleted file mode 100644 index 22d763ab1..000000000 --- a/src/FacebookAds/Object/ExtendedCreditInfo.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExtendedCreditInfo(), - 'NODE', - ExtendedCreditInfo::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ExternalMerchantSettings.php b/src/FacebookAds/Object/ExternalMerchantSettings.php deleted file mode 100644 index 4e7c5c33b..000000000 --- a/src/FacebookAds/Object/ExternalMerchantSettings.php +++ /dev/null @@ -1,105 +0,0 @@ -assureId(); - - $param_types = array( - 'message' => 'string', - 'error' => 'bool', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/log_events', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ExternalMerchantSettings(), - 'NODE', - ExternalMerchantSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/FAMEAdCampaign.php b/src/FacebookAds/Object/FAMEAdCampaign.php deleted file mode 100644 index 090f7b94d..000000000 --- a/src/FacebookAds/Object/FAMEAdCampaign.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - 'date_preset' => 'date_preset_enum', - 'time_range' => 'Object', - ); - $enums = array( - 'date_preset_enum' => array( - 'today', - 'yesterday', - 'this_month', - 'last_month', - 'this_quarter', - 'lifetime', - 'last_3d', - 'last_7d', - 'last_14d', - 'last_28d', - 'last_30d', - 'last_90d', - 'last_week_mon_sun', - 'last_week_sun_sat', - 'last_quarter', - 'last_year', - 'this_week_mon_today', - 'this_week_sun_today', - 'this_year', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new FAMEAdCampaign(), - 'NODE', - FAMEAdCampaign::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/FAMEAdCampaignGroup.php b/src/FacebookAds/Object/FAMEAdCampaignGroup.php deleted file mode 100644 index 6dd4923c6..000000000 --- a/src/FacebookAds/Object/FAMEAdCampaignGroup.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - 'date_preset' => 'date_preset_enum', - 'time_range' => 'Object', - ); - $enums = array( - 'date_preset_enum' => array( - 'today', - 'yesterday', - 'this_month', - 'last_month', - 'this_quarter', - 'lifetime', - 'last_3d', - 'last_7d', - 'last_14d', - 'last_28d', - 'last_30d', - 'last_90d', - 'last_week_mon_sun', - 'last_week_sun_sat', - 'last_quarter', - 'last_year', - 'this_week_mon_today', - 'this_week_sun_today', - 'this_year', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new FAMEAdCampaignGroup(), - 'NODE', - FAMEAdCampaignGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/FAMEAdGroup.php b/src/FacebookAds/Object/FAMEAdGroup.php deleted file mode 100644 index 7ab6fe9b7..000000000 --- a/src/FacebookAds/Object/FAMEAdGroup.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - 'date_preset' => 'date_preset_enum', - 'time_range' => 'Object', - ); - $enums = array( - 'date_preset_enum' => array( - 'today', - 'yesterday', - 'this_month', - 'last_month', - 'this_quarter', - 'lifetime', - 'last_3d', - 'last_7d', - 'last_14d', - 'last_28d', - 'last_30d', - 'last_90d', - 'last_week_mon_sun', - 'last_week_sun_sat', - 'last_quarter', - 'last_year', - 'this_week_mon_today', - 'this_week_sun_today', - 'this_year', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new FAMEAdGroup(), - 'NODE', - FAMEAdGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/FAMEKumo.php b/src/FacebookAds/Object/FAMEKumo.php deleted file mode 100644 index a10622855..000000000 --- a/src/FacebookAds/Object/FAMEKumo.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new FAMEKumo(), - 'NODE', - FAMEKumo::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php b/src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php deleted file mode 100644 index 9256ed4a7..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'AdAccount', - 'id' => 'string', - 'spend_cap' => 'int', - 'temporary_value' => 'int', - 'time_created' => 'datetime', - 'time_updated' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php b/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php deleted file mode 100644 index 39b73965b..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountBankInfoListFields.php b/src/FacebookAds/Object/Fields/AdAccountBankInfoListFields.php deleted file mode 100644 index ef2f81d32..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountBankInfoListFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php b/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php deleted file mode 100644 index aa08de745..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'AdAccount', - 'day_of_month' => 'int', - 'id' => 'string', - 'next_bill_date' => 'datetime', - 'time_created' => 'datetime', - 'time_effective' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountCheckoutFields.php b/src/FacebookAds/Object/Fields/AdAccountCheckoutFields.php deleted file mode 100644 index 59030368f..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountCheckoutFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'graduation_nag' => 'unsigned int', - 'graduation_reason' => 'string', - 'state' => 'string', - 'time_created' => 'unsigned int', - 'time_updated' => 'unsigned int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountCheckoutPaymentFields.php b/src/FacebookAds/Object/Fields/AdAccountCheckoutPaymentFields.php deleted file mode 100644 index 5e24315e1..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountCheckoutPaymentFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'AdAccount', - 'amount' => 'unsigned int', - 'campaign' => 'Campaign', - 'id' => 'string', - 'payment_id' => 'string', - 'payment_type' => 'string', - 'state' => 'string', - 'time_created' => 'datetime', - 'time_updated' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php deleted file mode 100644 index bdc3f39a7..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'CurrencyAmount', - 'create_date' => 'int', - 'id' => 'string', - 'last_action_status' => 'string', - 'metadata' => 'Object', - 'payment_details_id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php b/src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php deleted file mode 100644 index d70a2dd2d..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'list', - 'available_card_types' => 'list', - 'available_payment_options' => 'list', - 'existing_payment_methods' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php deleted file mode 100644 index c4535c8a3..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'CurrencyAmount', - 'max_acceptable_amount' => 'CurrencyAmount', - 'min_acceptable_amount' => 'CurrencyAmount', - 'should_collect_business_details' => 'bool', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php b/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php deleted file mode 100644 index fffcfd44b..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'bool', - 'coupon_currency' => 'string', - 'coupon_value' => 'int', - 'expiration_time' => 'datetime', - 'progress_completed' => 'bool', - 'promotion_type' => 'string', - 'spend_requirement_in_cent' => 'int', - 'spend_since_enrollment' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php b/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php deleted file mode 100644 index c6b70f242..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'string', - 'group_id' => 'string', - 'limit_id' => 'string', - 'limit_value' => 'string', - 'time_created' => 'unsigned int', - 'time_start' => 'unsigned int', - 'time_stop' => 'unsigned int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php deleted file mode 100644 index 4267be1a0..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'CurrencyAmount', - 'fee_amount' => 'CurrencyAmount', - 'total_amount' => 'CurrencyAmount', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountTargetingUnifiedFields.php b/src/FacebookAds/Object/Fields/AdAccountTargetingUnifiedFields.php deleted file mode 100644 index a77053de2..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountTargetingUnifiedFields.php +++ /dev/null @@ -1,89 +0,0 @@ - 'unsigned int', - 'conversion_lift' => 'float', - 'description' => 'string', - 'id' => 'string', - 'img' => 'string', - 'info' => 'string', - 'info_title' => 'string', - 'is_recommendation' => 'bool', - 'key' => 'string', - 'link' => 'string', - 'name' => 'string', - 'parent' => 'string', - 'partner' => 'string', - 'path' => 'list', - 'performance_rating' => 'unsigned int', - 'raw_name' => 'string', - 'recommendation_model' => 'string', - 'search_interest_id' => 'string', - 'source' => 'string', - 'spend' => 'float', - 'type' => 'string', - 'valid' => 'bool', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php b/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php index ad199126d..cb202d86b 100644 --- a/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php +++ b/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php @@ -52,7 +52,7 @@ class AdAccountUserPermissionsFields extends AbstractEnum { public function getFieldTypes() { return array( 'business' => 'Business', - 'business_persona' => 'BusinessPersona', + 'business_persona' => 'Object', 'created_by' => 'User', 'created_time' => 'datetime', 'email' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php b/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php deleted file mode 100644 index 456a9cb0a..000000000 --- a/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php +++ /dev/null @@ -1,87 +0,0 @@ - 'AdAccount', - 'ad_object_export_format' => 'string', - 'auto_review_video_caption' => 'bool', - 'column_suggestion_status' => 'string', - 'default_account_overview_agegender_metrics' => 'list', - 'default_account_overview_location_metrics' => 'list', - 'default_account_overview_metrics' => 'list', - 'default_account_overview_time_metrics' => 'list', - 'default_builtin_column_preset' => 'string', - 'default_nam_time_range' => 'string', - 'draft_mode_enabled' => 'bool', - 'export_deleted_items_with_delivery' => 'bool', - 'export_summary_row' => 'bool', - 'id' => 'string', - 'last_used_columns' => 'Object', - 'last_used_pe_filters' => 'list', - 'rb_export_format' => 'string', - 'rb_export_raw_data' => 'bool', - 'rb_export_summary_row' => 'bool', - 'show_archived_data' => 'bool', - 'user' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php b/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php deleted file mode 100644 index d6bbcc5ba..000000000 --- a/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'int', - 'current_average_cost' => 'float', - 'delivery_warning' => 'list', - 'has_unrealistic_high_bid' => 'bool', - 'last_significant_edit_ts' => 'int', - 'learning_stage_info' => 'AdCampaignLearningStageInfo', - 'recommendations' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdColumnSizesFields.php b/src/FacebookAds/Object/Fields/AdColumnSizesFields.php deleted file mode 100644 index ab44fc7db..000000000 --- a/src/FacebookAds/Object/Fields/AdColumnSizesFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'AdAccount', - 'app_id' => 'string', - 'columns' => 'list', - 'id' => 'string', - 'owner' => 'User', - 'page' => 'string', - 'report' => 'string', - 'tab' => 'string', - 'view' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php b/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php deleted file mode 100644 index e18c7ae2a..000000000 --- a/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'description' => 'string', - 'format_type' => 'string', - 'formula' => 'string', - 'has_attribution_windows' => 'bool', - 'id' => 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php b/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php deleted file mode 100644 index 2cbc6fc5c..000000000 --- a/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'Object', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdDraftFields.php b/src/FacebookAds/Object/Fields/AdDraftFields.php deleted file mode 100644 index 97929b33c..000000000 --- a/src/FacebookAds/Object/Fields/AdDraftFields.php +++ /dev/null @@ -1,71 +0,0 @@ - 'string', - 'api_version' => 'string', - 'async_request_set' => 'AdAsyncRequestSet', - 'author_id' => 'string', - 'created_by' => 'string', - 'id' => 'string', - 'is_active' => 'bool', - 'name' => 'string', - 'publish_status' => 'Object', - 'state' => 'string', - 'summary' => 'string', - 'time_created' => 'datetime', - 'time_updated' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdExportPresetFields.php b/src/FacebookAds/Object/Fields/AdExportPresetFields.php deleted file mode 100644 index 1f230f5f2..000000000 --- a/src/FacebookAds/Object/Fields/AdExportPresetFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'datetime', - 'fields' => 'list', - 'id' => 'string', - 'name' => 'string', - 'owner' => 'User', - 'updated_time' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdFields.php b/src/FacebookAds/Object/Fields/AdFields.php index ea0f53754..942619129 100644 --- a/src/FacebookAds/Object/Fields/AdFields.php +++ b/src/FacebookAds/Object/Fields/AdFields.php @@ -58,6 +58,7 @@ class AdFields extends AbstractEnum { const FAILED_DELIVERY_CHECKS = 'failed_delivery_checks'; const ID = 'id'; const IMPRESSION_CONTROL_MAP = 'impression_control_map'; + const ISSUES_INFO = 'issues_info'; const LAST_UPDATED_BY_APP_ID = 'last_updated_by_app_id'; const LOCATIONS = 'locations'; const NAME = 'name'; @@ -80,7 +81,6 @@ class AdFields extends AbstractEnum { const ADSET_SPEC = 'adset_spec'; const DRAFT_ADGROUP_ID = 'draft_adgroup_id'; const EXECUTION_OPTIONS = 'execution_options'; - const REDOWNLOAD = 'redownload'; const FILENAME = 'filename'; public function getFieldTypes() { @@ -106,6 +106,7 @@ public function getFieldTypes() { 'failed_delivery_checks' => 'list', 'id' => 'string', 'impression_control_map' => 'list', + 'issues_info' => 'list', 'last_updated_by_app_id' => 'string', 'locations' => 'list', 'name' => 'string', @@ -128,7 +129,6 @@ public function getFieldTypes() { 'adset_spec' => 'AdSet', 'draft_adgroup_id' => 'string', 'execution_options' => 'list', - 'redownload' => 'bool', 'filename' => 'file', ); } diff --git a/src/FacebookAds/Object/Fields/AdLightCampaignFields.php b/src/FacebookAds/Object/Fields/AdLightCampaignFields.php deleted file mode 100644 index 0bb63463f..000000000 --- a/src/FacebookAds/Object/Fields/AdLightCampaignFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php b/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php deleted file mode 100644 index 2cb7fd93f..000000000 --- a/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdRuleAggregatedExecutionHistoryFields.php b/src/FacebookAds/Object/Fields/AdRuleAggregatedExecutionHistoryFields.php deleted file mode 100644 index 571beb403..000000000 --- a/src/FacebookAds/Object/Fields/AdRuleAggregatedExecutionHistoryFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'list', - 'adset_results' => 'list', - 'campaign_results' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdSavedLocationFields.php b/src/FacebookAds/Object/Fields/AdSavedLocationFields.php deleted file mode 100644 index b3a29abe3..000000000 --- a/src/FacebookAds/Object/Fields/AdSavedLocationFields.php +++ /dev/null @@ -1,65 +0,0 @@ - 'list', - 'countries' => 'list', - 'country_groups' => 'list', - 'custom_locations' => 'list', - 'geo_markets' => 'list', - 'id' => 'string', - 'location_sentences' => 'list', - 'name' => 'string', - 'regions' => 'list', - 'zips' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdSavedReportFields.php b/src/FacebookAds/Object/Fields/AdSavedReportFields.php deleted file mode 100644 index db4222491..000000000 --- a/src/FacebookAds/Object/Fields/AdSavedReportFields.php +++ /dev/null @@ -1,81 +0,0 @@ - 'Application', - 'breakdowns' => 'list', - 'builtin_column_set' => 'string', - 'creation_source' => 'string', - 'date_interval' => 'Object', - 'date_preset' => 'string', - 'format_version' => 'int', - 'id' => 'string', - 'insights_section' => 'Object', - 'is_shared_unread' => 'bool', - 'level' => 'string', - 'name' => 'string', - 'normalized_filter' => 'list', - 'sort' => 'list', - 'user_attribution_windows' => 'list', - 'user_columns' => 'list', - 'user_filter' => 'list', - 'user_owner' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdScriptFields.php b/src/FacebookAds/Object/Fields/AdScriptFields.php deleted file mode 100644 index 69a96084a..000000000 --- a/src/FacebookAds/Object/Fields/AdScriptFields.php +++ /dev/null @@ -1,67 +0,0 @@ - 'string', - 'api_version' => 'string', - 'created_time' => 'datetime', - 'creator_id' => 'User', - 'id' => 'string', - 'name' => 'string', - 'schedule_spec' => 'Object', - 'script' => 'string', - 'status' => 'string', - 'updated_time' => 'datetime', - 'user_id' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdSetFields.php b/src/FacebookAds/Object/Fields/AdSetFields.php index 64442da5c..0c17e0f69 100644 --- a/src/FacebookAds/Object/Fields/AdSetFields.php +++ b/src/FacebookAds/Object/Fields/AdSetFields.php @@ -102,7 +102,6 @@ class AdSetFields extends AbstractEnum { const EXECUTION_OPTIONS = 'execution_options'; const LINE_NUMBER = 'line_number'; const RB_PREDICTION_ID = 'rb_prediction_id'; - const REDOWNLOAD = 'redownload'; const TIME_START = 'time_start'; const TIME_STOP = 'time_stop'; const TOPLINE_ID = 'topline_id'; @@ -175,7 +174,6 @@ public function getFieldTypes() { 'execution_options' => 'list', 'line_number' => 'unsigned int', 'rb_prediction_id' => 'string', - 'redownload' => 'bool', 'time_start' => 'datetime', 'time_stop' => 'datetime', 'topline_id' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdStudyObjectiveIDFields.php b/src/FacebookAds/Object/Fields/AdStudyObjectiveIDFields.php deleted file mode 100644 index 231f86597..000000000 --- a/src/FacebookAds/Object/Fields/AdStudyObjectiveIDFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'list', - 'id' => 'string', - 'type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdLightAdgroupFields.php b/src/FacebookAds/Object/Fields/AdgroupIssuesInfoFields.php similarity index 85% rename from src/FacebookAds/Object/Fields/AdLightAdgroupFields.php rename to src/FacebookAds/Object/Fields/AdgroupIssuesInfoFields.php index c14b7a403..2d8ce413c 100644 --- a/src/FacebookAds/Object/Fields/AdLightAdgroupFields.php +++ b/src/FacebookAds/Object/Fields/AdgroupIssuesInfoFields.php @@ -35,12 +35,18 @@ * */ -class AdLightAdgroupFields extends AbstractEnum { +class AdgroupIssuesInfoFields extends AbstractEnum { + const ERROR_CODE = 'error_code'; + const ERROR_MESSAGE = 'error_message'; + const ERROR_SUMMARY = 'error_summary'; const ID = 'id'; public function getFieldTypes() { return array( + 'error_code' => 'int', + 'error_message' => 'string', + 'error_summary' => 'string', 'id' => 'string', ); } diff --git a/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php b/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php deleted file mode 100644 index e2639e9d7..000000000 --- a/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'AdAccount', - 'id' => 'string', - 'serialized_store_data' => 'string', - 'time_updated' => 'datetime', - 'user' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsInsightsFields.php b/src/FacebookAds/Object/Fields/AdsInsightsFields.php index 0aa6a16b0..84c5b3468 100644 --- a/src/FacebookAds/Object/Fields/AdsInsightsFields.php +++ b/src/FacebookAds/Object/Fields/AdsInsightsFields.php @@ -44,11 +44,9 @@ class AdsInsightsFields extends AbstractEnum { const ACTIONS = 'actions'; const ACTIVITY_RECENCY = 'activity_recency'; const AD_CLICK_ACTIONS = 'ad_click_actions'; - const AD_CLICK_VALUE = 'ad_click_value'; const AD_FORMAT_ASSET = 'ad_format_asset'; const AD_ID = 'ad_id'; const AD_IMPRESSION_ACTIONS = 'ad_impression_actions'; - const AD_IMPRESSION_VALUE = 'ad_impression_value'; const AD_NAME = 'ad_name'; const ADSET_ID = 'adset_id'; const ADSET_NAME = 'adset_name'; @@ -68,11 +66,11 @@ class AdsInsightsFields extends AbstractEnum { const COST_PER_2_SEC_CONTINUOUS_VIDEO_VIEW = 'cost_per_2_sec_continuous_video_view'; const COST_PER_ACTION_TYPE = 'cost_per_action_type'; const COST_PER_AD_CLICK = 'cost_per_ad_click'; - const COST_PER_AD_IMPRESSION = 'cost_per_ad_impression'; const COST_PER_DDA_COUNTBY_CONVS = 'cost_per_dda_countby_convs'; const COST_PER_ESTIMATED_AD_RECALLERS = 'cost_per_estimated_ad_recallers'; const COST_PER_INLINE_LINK_CLICK = 'cost_per_inline_link_click'; const COST_PER_INLINE_POST_ENGAGEMENT = 'cost_per_inline_post_engagement'; + const COST_PER_ONE_THOUSAND_AD_IMPRESSION = 'cost_per_one_thousand_ad_impression'; const COST_PER_OUTBOUND_CLICK = 'cost_per_outbound_click'; const COST_PER_UNIQUE_ACTION_TYPE = 'cost_per_unique_action_type'; const COST_PER_UNIQUE_CLICK = 'cost_per_unique_click'; @@ -172,11 +170,9 @@ public function getFieldTypes() { 'actions' => 'list', 'activity_recency' => 'string', 'ad_click_actions' => 'list', - 'ad_click_value' => 'list', 'ad_format_asset' => 'string', 'ad_id' => 'string', 'ad_impression_actions' => 'list', - 'ad_impression_value' => 'list', 'ad_name' => 'string', 'adset_id' => 'string', 'adset_name' => 'string', @@ -196,11 +192,11 @@ public function getFieldTypes() { 'cost_per_2_sec_continuous_video_view' => 'list', 'cost_per_action_type' => 'list', 'cost_per_ad_click' => 'list', - 'cost_per_ad_impression' => 'list', 'cost_per_dda_countby_convs' => 'string', 'cost_per_estimated_ad_recallers' => 'string', 'cost_per_inline_link_click' => 'string', 'cost_per_inline_post_engagement' => 'string', + 'cost_per_one_thousand_ad_impression' => 'list', 'cost_per_outbound_click' => 'list', 'cost_per_unique_action_type' => 'list', 'cost_per_unique_click' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php b/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php deleted file mode 100644 index 3b8da4e54..000000000 --- a/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'created_time' => 'datetime', - 'multiplier' => 'unsigned int', - 'requested_threshold_amount' => 'unsigned int', - 'threshold_amount' => 'unsigned int', - 'updated_time' => 'datetime', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php b/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php deleted file mode 100644 index 6dcfbb303..000000000 --- a/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'bool', - 'event_type' => 'string', - 'rule' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php b/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php deleted file mode 100644 index e54d05170..000000000 --- a/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'int', - 'dismissed' => 'bool', - 'end_time' => 'datetime', - 'event_type' => 'string', - 'rank' => 'int', - 'rule' => 'string', - 'sample_urls' => 'list', - 'start_time' => 'datetime', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsPixelFields.php b/src/FacebookAds/Object/Fields/AdsPixelFields.php index 7fcb38e91..fc35bacad 100644 --- a/src/FacebookAds/Object/Fields/AdsPixelFields.php +++ b/src/FacebookAds/Object/Fields/AdsPixelFields.php @@ -41,6 +41,8 @@ class AdsPixelFields extends AbstractEnum { const CODE = 'code'; const CREATION_TIME = 'creation_time'; const CREATOR = 'creator'; + const DATA_USE_SETTING = 'data_use_setting'; + const FIRST_PARTY_COOKIE_STATUS = 'first_party_cookie_status'; const ID = 'id'; const IS_CREATED_BY_BUSINESS = 'is_created_by_business'; const LAST_FIRED_TIME = 'last_fired_time'; @@ -54,6 +56,8 @@ public function getFieldTypes() { 'code' => 'string', 'creation_time' => 'datetime', 'creator' => 'User', + 'data_use_setting' => 'string', + 'first_party_cookie_status' => 'string', 'id' => 'string', 'is_created_by_business' => 'bool', 'last_fired_time' => 'datetime', diff --git a/src/FacebookAds/Object/Fields/AdsPixelStatsResultFields.php b/src/FacebookAds/Object/Fields/AdsPixelStatsResultFields.php index b71250af5..930918ca4 100644 --- a/src/FacebookAds/Object/Fields/AdsPixelStatsResultFields.php +++ b/src/FacebookAds/Object/Fields/AdsPixelStatsResultFields.php @@ -44,7 +44,7 @@ class AdsPixelStatsResultFields extends AbstractEnum { public function getFieldTypes() { return array( - 'aggregation' => 'Aggregation', + 'aggregation' => 'string', 'data' => 'list', 'start_time' => 'datetime', 'id' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdsPixelTrafficAnomalyConfigFields.php b/src/FacebookAds/Object/Fields/AdsPixelTrafficAnomalyConfigFields.php deleted file mode 100644 index 7a7759e30..000000000 --- a/src/FacebookAds/Object/Fields/AdsPixelTrafficAnomalyConfigFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'last_updated_time' => 'datetime', - 'lookback_aggregation_window' => 'unsigned int', - 'lower_bound_traffic_volume' => 'Object', - 'preferred_events' => 'list', - 'upper_bound_traffic_volume' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php deleted file mode 100644 index 4d0a472d5..000000000 --- a/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php +++ /dev/null @@ -1,103 +0,0 @@ - 'string', - 'attribution_windows' => 'list', - 'creation_source' => 'string', - 'creation_time' => 'datetime', - 'date_interval' => 'Object', - 'date_preset' => 'string', - 'dimension_groups' => 'list>', - 'dimensions' => 'list', - 'filtering' => 'list', - 'id' => 'string', - 'is_mutated' => 'bool', - 'last_access_time' => 'datetime', - 'last_report_snapshot_id' => 'string', - 'last_report_snapshot_time' => 'datetime', - 'locked_dimensions' => 'int', - 'metrics' => 'list', - 'old_report_schedule' => 'Object', - 'report_name' => 'string', - 'report_snapshot_async_percent_completion' => 'int', - 'report_snapshot_async_status' => 'string', - 'schedule_frequency' => 'string', - 'sorting' => 'list', - 'start_date' => 'string', - 'status' => 'string', - 'subscribers' => 'list', - 'update_time' => 'datetime', - 'user' => 'Profile', - 'user_dimensions' => 'list', - 'user_metrics' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php b/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php deleted file mode 100644 index 52913e81c..000000000 --- a/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php +++ /dev/null @@ -1,67 +0,0 @@ - 'int', - 'clicks' => 'unsigned int', - 'conversion_cost' => 'float', - 'conversions' => 'unsigned int', - 'description' => 'string', - 'id' => 'string', - 'impressions' => 'string', - 'name' => 'string', - 'revenue' => 'float', - 'spend' => 'float', - 'type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php b/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php deleted file mode 100644 index 44b46b5ba..000000000 --- a/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php +++ /dev/null @@ -1,99 +0,0 @@ - 'list', - 'adgroup_name_template' => 'Object', - 'adgroup_widths' => 'list', - 'ads_tool_visits' => 'list', - 'bookmarked_pages' => 'list', - 'campaign_column_visibility' => 'list', - 'campaign_group_column_visibility' => 'list', - 'campaign_group_name_template' => 'Object', - 'campaign_group_widths' => 'list', - 'campaign_name_template' => 'Object', - 'campaign_widths' => 'list', - 'default_creation_mode' => 'string', - 'id' => 'string', - 'last_used_post_format' => 'string', - 'last_visited_time' => 'datetime', - 'open_tabs' => 'list', - 'selected_ad_account' => 'AdAccount', - 'selected_comparison_timerange' => 'Object', - 'selected_page' => 'Page', - 'selected_page_section' => 'string', - 'selected_power_editor_pane' => 'string', - 'selected_stat_range' => 'Object', - 'should_not_show_publish_message_on_editor_close' => 'bool', - 'unowned_pages' => 'list', - 'use_pe_create_flow' => 'bool', - 'use_stepper_primary_entry' => 'bool', - 'user' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php deleted file mode 100644 index 1b0119354..000000000 --- a/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php +++ /dev/null @@ -1,101 +0,0 @@ - 'bool', - 'aws_kinesis_firehose_setting' => 'Object', - 'breakdowns_config' => 'list', - 'builtin_fields_config' => 'list', - 'deprecated_events_config' => 'list', - 'events_config' => 'list', - 'ios_purchase_validation_secret' => 'string', - 'is_any_role_able_to_see_restricted_insights' => 'bool', - 'is_implicit_purchase_logging_on_android_supported' => 'bool', - 'is_implicit_purchase_logging_on_ios_supported' => 'bool', - 'is_track_ios_app_uninstall_supported' => 'bool', - 'journey_backfill_status' => 'string', - 'journey_conversion_events' => 'list', - 'journey_enabled' => 'bool', - 'journey_impacting_change_time' => 'datetime', - 'journey_timeout' => 'string', - 'latest_sdk_versions' => 'map', - 'log_android_implicit_purchase_events' => 'bool', - 'log_automatic_analytics_events' => 'bool', - 'log_implicit_purchase_events' => 'bool', - 'prev_journey_conversion_events' => 'list', - 'query_approximation_accuracy_level' => 'string', - 'query_currency' => 'string', - 'query_timezone' => 'string', - 'recent_events_update_time' => 'datetime', - 'session_timeout_interval' => 'unsigned int', - 'track_ios_app_uninstall' => 'bool', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php deleted file mode 100644 index 4d76c9eec..000000000 --- a/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php deleted file mode 100644 index 32dd5b3cd..000000000 --- a/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php +++ /dev/null @@ -1,65 +0,0 @@ - 'bool', - 'has_api_calls' => 'bool', - 'has_app_invites' => 'bool', - 'has_fb_login' => 'bool', - 'has_game_requests' => 'bool', - 'has_payments' => 'bool', - 'has_referrals' => 'bool', - 'has_stories' => 'bool', - 'has_structured_requests' => 'bool', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AnalyticsSegmentFields.php b/src/FacebookAds/Object/Fields/AnalyticsSegmentFields.php deleted file mode 100644 index d0c908422..000000000 --- a/src/FacebookAds/Object/Fields/AnalyticsSegmentFields.php +++ /dev/null @@ -1,83 +0,0 @@ - 'list', - 'description' => 'string', - 'estimated_custom_audience_size' => 'unsigned int', - 'event_info_rules' => 'list', - 'event_rules' => 'list', - 'event_source' => 'ExternalEventSource', - 'filter_set' => 'string', - 'has_demographic_rules' => 'bool', - 'id' => 'string', - 'is_all_user' => 'bool', - 'is_eligible_for_push_campaign' => 'bool', - 'is_internal' => 'bool', - 'name' => 'string', - 'percentile_rules' => 'list', - 'push_backfill_status' => 'Object', - 'time_last_seen' => 'unsigned int', - 'time_last_updated' => 'unsigned int', - 'user_property_rules' => 'list', - 'web_param_rules' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php deleted file mode 100644 index 5936307d9..000000000 --- a/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'Object', - 'flags' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AppEventConfigFields.php b/src/FacebookAds/Object/Fields/AppEventConfigFields.php deleted file mode 100644 index 3923e4d7a..000000000 --- a/src/FacebookAds/Object/Fields/AppEventConfigFields.php +++ /dev/null @@ -1,101 +0,0 @@ - 'Object', - 'breakdowns_config' => 'list', - 'builtin_fields_config' => 'list', - 'deprecated_events_config' => 'list', - 'events_config' => 'list', - 'id' => 'string', - 'ios_purchase_validation_secret' => 'string', - 'is_any_role_able_to_see_restricted_insights' => 'bool', - 'is_implicit_purchase_logging_on_android_supported' => 'bool', - 'is_implicit_purchase_logging_on_ios_supported' => 'bool', - 'is_track_android_app_uninstall_supported' => 'bool', - 'is_track_ios_app_uninstall_supported' => 'bool', - 'journey_backfill_status' => 'string', - 'journey_conversion_events' => 'list', - 'journey_enabled' => 'bool', - 'journey_timeout' => 'string', - 'latest_sdk_versions' => 'map', - 'log_android_implicit_purchase_events' => 'bool', - 'log_automatic_analytics_events' => 'bool', - 'log_implicit_purchase_events' => 'bool', - 'prev_journey_conversion_events' => 'list', - 'query_approximation_accuracy_level' => 'string', - 'query_currency' => 'string', - 'query_timezone' => 'string', - 'recent_events_update_time' => 'datetime', - 'session_timeout_interval' => 'unsigned int', - 'track_android_app_uninstall' => 'bool', - 'track_ios_app_uninstall' => 'bool', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ApplicationFields.php b/src/FacebookAds/Object/Fields/ApplicationFields.php index 65d95f9c4..67e3a8298 100644 --- a/src/FacebookAds/Object/Fields/ApplicationFields.php +++ b/src/FacebookAds/Object/Fields/ApplicationFields.php @@ -82,6 +82,7 @@ class ApplicationFields extends AbstractEnum { const GDPV4_ENABLED = 'gdpv4_enabled'; const GDPV4_NUX_CONTENT = 'gdpv4_nux_content'; const GDPV4_NUX_ENABLED = 'gdpv4_nux_enabled'; + const GROUPS_APP_SETTINGS = 'groups_app_settings'; const HAS_MESSENGER_PRODUCT = 'has_messenger_product'; const HOSTING_URL = 'hosting_url'; const ICON_URL = 'icon_url'; @@ -184,6 +185,7 @@ public function getFieldTypes() { 'gdpv4_enabled' => 'bool', 'gdpv4_nux_content' => 'string', 'gdpv4_nux_enabled' => 'bool', + 'groups_app_settings' => 'Object', 'has_messenger_product' => 'bool', 'hosting_url' => 'string', 'icon_url' => 'string', diff --git a/src/FacebookAds/Object/Fields/ApplicationThirdPartyPayloadFields.php b/src/FacebookAds/Object/Fields/ApplicationThirdPartyPayloadFields.php deleted file mode 100644 index 142b18cf1..000000000 --- a/src/FacebookAds/Object/Fields/ApplicationThirdPartyPayloadFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'Campaign', - 'id' => 'string', - 'last_update_time' => 'datetime', - 'metadata' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AtlasCampaignFields.php b/src/FacebookAds/Object/Fields/AtlasCampaignFields.php deleted file mode 100644 index 865d1ee7d..000000000 --- a/src/FacebookAds/Object/Fields/AtlasCampaignFields.php +++ /dev/null @@ -1,89 +0,0 @@ - 'string', - 'created_by' => 'Object', - 'created_date' => 'datetime', - 'created_time' => 'datetime', - 'creator_name' => 'string', - 'cumulative_edited_date' => 'datetime', - 'custom_fields' => 'list', - 'description' => 'string', - 'flight_dates' => 'Object', - 'id' => 'string', - 'is_archived' => 'bool', - 'is_auto_tracked' => 'bool', - 'is_favorite' => 'bool', - 'is_mta' => 'bool', - 'last_modified_by' => 'Object', - 'last_modified_date' => 'datetime', - 'last_modified_time' => 'datetime', - 'name' => 'string', - 'purchase_order_alias' => 'string', - 'target_audience' => 'Object', - 'type' => 'string', - 'version' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AtlasCompanyFields.php b/src/FacebookAds/Object/Fields/AtlasCompanyFields.php deleted file mode 100644 index a91d04026..000000000 --- a/src/FacebookAds/Object/Fields/AtlasCompanyFields.php +++ /dev/null @@ -1,71 +0,0 @@ - 'Object', - 'created_date' => 'datetime', - 'created_time' => 'datetime', - 'cumulative_edited_date' => 'datetime', - 'id' => 'string', - 'is_mta' => 'bool', - 'last_modified_by' => 'Object', - 'last_modified_date' => 'datetime', - 'last_modified_time' => 'datetime', - 'login_security' => 'string', - 'name' => 'string', - 'version' => 'string', - 'visibility_type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AtlasUserFields.php b/src/FacebookAds/Object/Fields/AtlasUserFields.php deleted file mode 100644 index 8765cb65c..000000000 --- a/src/FacebookAds/Object/Fields/AtlasUserFields.php +++ /dev/null @@ -1,81 +0,0 @@ - 'bool', - 'created_by' => 'Object', - 'created_date' => 'datetime', - 'created_time' => 'datetime', - 'cumulative_edited_date' => 'datetime', - 'email' => 'string', - 'first_name' => 'string', - 'id' => 'string', - 'last_login_date' => 'datetime', - 'last_modified_by' => 'Object', - 'last_modified_date' => 'datetime', - 'last_modified_time' => 'datetime', - 'last_name' => 'string', - 'name' => 'string', - 'organization' => 'Object', - 'state' => 'string', - 'user_id' => 'string', - 'version' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AudienceInsightsRuleFields.php b/src/FacebookAds/Object/Fields/AudienceInsightsRuleFields.php index 5a26d8945..01ed1c5d1 100644 --- a/src/FacebookAds/Object/Fields/AudienceInsightsRuleFields.php +++ b/src/FacebookAds/Object/Fields/AudienceInsightsRuleFields.php @@ -59,7 +59,7 @@ public function getFieldTypes() { 'language' => 'string', 'name' => 'string', 'rule_components' => 'list', - 'studies' => 'list', + 'studies' => 'list', ); } } diff --git a/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php b/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php deleted file mode 100644 index 525faf153..000000000 --- a/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'account_type' => 'string', - 'business_id' => 'string', - 'business_name' => 'string', - 'sharing_agreement_status' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php b/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php deleted file mode 100644 index 4a3be5730..000000000 --- a/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'account_name' => 'string', - 'account_type' => 'string', - 'business_id' => 'string', - 'business_name' => 'string', - 'sharing_agreement_status' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AudienceStudyFields.php b/src/FacebookAds/Object/Fields/AudienceStudyFields.php deleted file mode 100644 index 5ed1b3c9b..000000000 --- a/src/FacebookAds/Object/Fields/AudienceStudyFields.php +++ /dev/null @@ -1,69 +0,0 @@ - 'Object', - 'category' => 'string', - 'created_by' => 'User', - 'creation_time' => 'datetime', - 'custom_audience' => 'CustomAudience', - 'description' => 'string', - 'end_date' => 'datetime', - 'id' => 'string', - 'name' => 'string', - 'purpose' => 'string', - 'start_date' => 'datetime', - 'status' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AudioReleaseFields.php b/src/FacebookAds/Object/Fields/AudioReleaseFields.php deleted file mode 100644 index e6bb10472..000000000 --- a/src/FacebookAds/Object/Fields/AudioReleaseFields.php +++ /dev/null @@ -1,73 +0,0 @@ - 'string', - 'audio_release_image_uri' => 'string', - 'created_time' => 'datetime', - 'displayed_artist' => 'string', - 'ean' => 'string', - 'genre' => 'string', - 'grid' => 'string', - 'id' => 'string', - 'isrc' => 'string', - 'label_name' => 'string', - 'original_release_date' => 'datetime', - 'parental_warning_type' => 'string', - 'proprietary_id' => 'string', - 'upc' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AutoFields.php b/src/FacebookAds/Object/Fields/AutoFields.php deleted file mode 100644 index 1c47a3913..000000000 --- a/src/FacebookAds/Object/Fields/AutoFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'body_style' => 'string', - 'currency' => 'string', - 'id' => 'string', - 'price' => 'string', - 'trim' => 'string', - 'year' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AutoMarketFields.php b/src/FacebookAds/Object/Fields/AutoMarketFields.php deleted file mode 100644 index 97dacb36b..000000000 --- a/src/FacebookAds/Object/Fields/AutoMarketFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'id' => 'string', - 'name' => 'string', - 'postal_codes' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/AutoOfferFields.php b/src/FacebookAds/Object/Fields/AutoOfferFields.php deleted file mode 100644 index b6109c2be..000000000 --- a/src/FacebookAds/Object/Fields/AutoOfferFields.php +++ /dev/null @@ -1,81 +0,0 @@ - 'string', - 'amount_percentage' => 'float', - 'amount_price' => 'string', - 'amount_qualifier' => 'string', - 'applinks' => 'AppLinks', - 'auto_offer_id' => 'string', - 'downpayment_currency' => 'string', - 'downpayment_price' => 'string', - 'downpayment_qualifier' => 'string', - 'id' => 'string', - 'images' => 'list', - 'offer_description' => 'string', - 'offer_disclaimer' => 'string', - 'offer_type' => 'string', - 'sanitized_images' => 'list', - 'term_length' => 'Object', - 'term_qualifier' => 'string', - 'url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BigDataUploadSessionFields.php b/src/FacebookAds/Object/Fields/BigDataUploadSessionFields.php deleted file mode 100644 index 9e90c2804..000000000 --- a/src/FacebookAds/Object/Fields/BigDataUploadSessionFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'list', - 'id' => 'string', - 'number_chunks' => 'int', - 'status' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BlindPigFields.php b/src/FacebookAds/Object/Fields/BlindPigFields.php deleted file mode 100644 index 8a17c6853..000000000 --- a/src/FacebookAds/Object/Fields/BlindPigFields.php +++ /dev/null @@ -1,207 +0,0 @@ - 'list', - 'alternately_named_field' => 'int', - 'always_null' => 'User', - 'always_secret_pattern_time' => 'datetime', - 'always_secret_time' => 'datetime', - 'ambience' => 'string', - 'async_drinks_info' => 'list', - 'average_customer_age' => 'float', - 'awesomeness' => 'string', - 'bar_game_ids' => 'string', - 'beer_types' => 'list', - 'blind_pig_profile' => 'Profile', - 'cards_accepted' => 'bool', - 'category' => 'string', - 'celebrity' => 'string', - 'chair_count' => 'Object', - 'cocktails' => 'list', - 'color' => 'string', - 'company_name' => 'string', - 'country_of_origin' => 'string', - 'creation_time_from_tao_server' => 'datetime', - 'creator' => 'User', - 'creator_as_field' => 'User', - 'currency_code' => 'string', - 'days_open' => 'string', - 'drinks_info' => 'list', - 'dynamically_named_field' => 'int', - 'ein' => 'string', - 'email_address_blacklist' => 'list', - 'embedded_updated_time' => 'datetime', - 'even_number' => 'int', - 'favorite_meal' => 'string', - 'favorite_person' => 'User', - 'favorite_person_again' => 'User', - 'favorite_place' => 'string', - 'feedback_list' => 'list', - 'field_on_shadow_ent_pattern' => 'string', - 'field_on_trait' => 'string', - 'founded_time' => 'datetime', - 'geocities_page_uri' => 'string', - 'id' => 'string', - 'instruments' => 'list', - 'is_illegal' => 'bool', - 'is_in_blanket' => 'bool', - 'last_drink_bottle_broken_date' => 'datetime', - 'latitude' => 'float', - 'locale' => 'string', - 'longitude' => 'float', - 'lucky_numbers' => 'list', - 'marketing_uri' => 'string', - 'max_allowance' => 'Object', - 'meals' => 'list', - 'mobile_github_uri' => 'string', - 'monthly_profit' => 'list', - 'name' => 'string', - 'overrideable_thing' => 'string', - 'phone_directory' => 'list', - 'phone_numbers' => 'list', - 'price' => 'list', - 'proprietor' => 'User', - 'request_box' => 'string', - 'revert_name' => 'string', - 'second_favorite_person' => 'User', - 'secret_even_number' => 'int', - 'secret_even_pattern_number' => 'int', - 'secret_odd_number' => 'int', - 'secret_pattern_time' => 'datetime', - 'secret_time' => 'datetime', - 'see_also' => 'list', - 'snacks' => 'list', - 'store_number' => 'string', - 'street_address' => 'string', - 'subpattern_address' => 'string', - 'subpattern_dynamic_field' => 'int', - 'subpattern_name' => 'string', - 'throne_chair_id' => 'string', - 'todays_special' => 'Object', - 'unique_bar_game_ids' => 'list', - 'update_time_from_tao_server' => 'datetime', - 'vip' => 'User', - 'year_founded' => 'int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BrandRequestFields.php b/src/FacebookAds/Object/Fields/BrandRequestFields.php deleted file mode 100644 index 6fee11a60..000000000 --- a/src/FacebookAds/Object/Fields/BrandRequestFields.php +++ /dev/null @@ -1,85 +0,0 @@ - 'list', - 'approval_level' => 'unsigned int', - 'cells' => 'list', - 'countries' => 'list', - 'deny_reason' => 'string', - 'end_time' => 'datetime', - 'estimated_reach' => 'unsigned int', - 'id' => 'string', - 'is_multicell' => 'bool', - 'locale' => 'string', - 'max_age' => 'unsigned int', - 'min_age' => 'unsigned int', - 'questions' => 'list', - 'region' => 'string', - 'request_status' => 'string', - 'review_date' => 'datetime', - 'start_time' => 'datetime', - 'status' => 'string', - 'submit_date' => 'datetime', - 'total_budget' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BrazilCreditMemoFields.php b/src/FacebookAds/Object/Fields/BrazilCreditMemoFields.php deleted file mode 100644 index 65aa18670..000000000 --- a/src/FacebookAds/Object/Fields/BrazilCreditMemoFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'CurrencyAmount', - 'delivery_date' => 'string', - 'issue_date' => 'string', - 'memo_number' => 'Object', - 'nfe_number' => 'Object', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessObjectFields.php b/src/FacebookAds/Object/Fields/BusinessObjectFields.php deleted file mode 100644 index 514706a55..000000000 --- a/src/FacebookAds/Object/Fields/BusinessObjectFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'Object', - 'asset_type' => 'string', - 'id' => 'string', - 'name' => 'string', - 'picture' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessOwnedObjectOnBehalfOfRequestFields.php b/src/FacebookAds/Object/Fields/BusinessOwnedObjectOnBehalfOfRequestFields.php deleted file mode 100644 index 917c07ee4..000000000 --- a/src/FacebookAds/Object/Fields/BusinessOwnedObjectOnBehalfOfRequestFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'string', - 'id' => 'string', - 'receiving_business' => 'Business', - 'requesting_business' => 'Business', - 'status' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessPersonaFields.php b/src/FacebookAds/Object/Fields/BusinessPersonaFields.php deleted file mode 100644 index d06fa425b..000000000 --- a/src/FacebookAds/Object/Fields/BusinessPersonaFields.php +++ /dev/null @@ -1,71 +0,0 @@ - 'Business', - 'created_by' => 'Object', - 'created_time' => 'datetime', - 'email' => 'string', - 'first_name' => 'string', - 'id' => 'string', - 'last_name' => 'string', - 'marked_for_removal' => 'bool', - 'name' => 'string', - 'pending_email' => 'string', - 'title' => 'string', - 'updated_by' => 'Object', - 'updated_time' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessPixelTOSFields.php b/src/FacebookAds/Object/Fields/BusinessPixelTOSFields.php deleted file mode 100644 index bd194013d..000000000 --- a/src/FacebookAds/Object/Fields/BusinessPixelTOSFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessRequestFields.php b/src/FacebookAds/Object/Fields/BusinessRequestFields.php deleted file mode 100644 index 856477acd..000000000 --- a/src/FacebookAds/Object/Fields/BusinessRequestFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'Business', - 'creation_time' => 'datetime', - 'id' => 'string', - 'object_id' => 'string', - 'object_type' => 'string', - 'permitted_tasks' => 'list', - 'request_status' => 'string', - 'request_type' => 'string', - 'requestor' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessResourceGroupFields.php b/src/FacebookAds/Object/Fields/BusinessResourceGroupFields.php deleted file mode 100644 index 082ce4647..000000000 --- a/src/FacebookAds/Object/Fields/BusinessResourceGroupFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/BusinessTagFields.php b/src/FacebookAds/Object/Fields/BusinessTagFields.php deleted file mode 100644 index 12d5ec27f..000000000 --- a/src/FacebookAds/Object/Fields/BusinessTagFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CRMAddressFields.php b/src/FacebookAds/Object/Fields/CRMAddressFields.php deleted file mode 100644 index fa622d457..000000000 --- a/src/FacebookAds/Object/Fields/CRMAddressFields.php +++ /dev/null @@ -1,73 +0,0 @@ - 'string', - 'cnpj_tax_id' => 'string', - 'country' => 'string', - 'id' => 'string', - 'postal_code' => 'string', - 'registration_label' => 'string', - 'registration_number' => 'string', - 'state' => 'string', - 'street1' => 'string', - 'street2' => 'string', - 'street3' => 'string', - 'street4' => 'string', - 'validation_status' => 'string', - 'vat_tax_id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CanvasDynamicSettingFields.php b/src/FacebookAds/Object/Fields/CanvasDynamicSettingFields.php deleted file mode 100644 index a0b3ba454..000000000 --- a/src/FacebookAds/Object/Fields/CanvasDynamicSettingFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'list', - 'product_set_id' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CanvasTemplateFields.php b/src/FacebookAds/Object/Fields/CanvasTemplateFields.php deleted file mode 100644 index 25caf62e5..000000000 --- a/src/FacebookAds/Object/Fields/CanvasTemplateFields.php +++ /dev/null @@ -1,73 +0,0 @@ - 'list', - 'description' => 'string', - 'document' => 'Canvas', - 'id' => 'string', - 'is_multi_tab_supportable' => 'bool', - 'is_new' => 'bool', - 'name' => 'string', - 'objectives' => 'list', - 'owner_id' => 'User', - 'required_capabilities' => 'list', - 'snapshot_photo' => 'Photo', - 'status' => 'string', - 'sub_verticals' => 'list', - 'verticals' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php b/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php deleted file mode 100644 index b418455c8..000000000 --- a/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php +++ /dev/null @@ -1,73 +0,0 @@ - 'ProductCatalog', - 'cbb_custom_override_filters' => 'list', - 'cbb_default_filter' => 'list', - 'cbb_override_type_field_mapping' => 'list', - 'defaults' => 'list', - 'filters' => 'list', - 'id' => 'string', - 'is_cbb_enabled' => 'bool', - 'is_create_enabled' => 'bool', - 'is_delete_enabled' => 'bool', - 'is_update_enabled' => 'bool', - 'pixel' => 'AdsPixel', - 'property_filter' => 'list', - 'trusted_domains' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php b/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php deleted file mode 100644 index 11958d68c..000000000 --- a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +++ /dev/null @@ -1,79 +0,0 @@ - 'string', - 'checkout_message' => 'string', - 'contact_email' => 'string', - 'disable_checkout_urls' => 'bool', - 'has_discount_code' => 'bool', - 'id' => 'string', - 'merchant_alert_email' => 'string', - 'merchant_page' => 'Profile', - 'merchant_status' => 'string', - 'payment_provider' => 'string', - 'privacy_url_by_locale' => 'list', - 'review_rejection_messages' => 'list', - 'review_rejection_reasons' => 'list', - 'review_status' => 'string', - 'supported_card_types' => 'list', - 'terms' => 'string', - 'terms_url_by_locale' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsSetupStatusFields.php b/src/FacebookAds/Object/Fields/CommerceMerchantSettingsSetupStatusFields.php deleted file mode 100644 index 0240bb3de..000000000 --- a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsSetupStatusFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'string', - 'marketplace_approval_status' => 'string', - 'payment_setup' => 'string', - 'shop_setup' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CommerceMerchantTOSAcceptanceFields.php b/src/FacebookAds/Object/Fields/CommerceMerchantTOSAcceptanceFields.php deleted file mode 100644 index 3af3198c6..000000000 --- a/src/FacebookAds/Object/Fields/CommerceMerchantTOSAcceptanceFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'Business', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CommerceOrderFields.php b/src/FacebookAds/Object/Fields/CommerceOrderFields.php deleted file mode 100644 index aeacccff9..000000000 --- a/src/FacebookAds/Object/Fields/CommerceOrderFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'string', - 'email' => 'string', - 'id' => 'string', - 'is_group_buy' => 'bool', - 'items' => 'list', - 'last_updated' => 'string', - 'merchant_order_id' => 'string', - 'ship_by_date' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CreditCardFields.php b/src/FacebookAds/Object/Fields/CreditCardFields.php deleted file mode 100644 index b5da786e7..000000000 --- a/src/FacebookAds/Object/Fields/CreditCardFields.php +++ /dev/null @@ -1,77 +0,0 @@ - 'Object', - 'card_cobadging' => 'string', - 'card_holder_name' => 'string', - 'card_type' => 'string', - 'default_receiving_method_products' => 'list', - 'expiry_month' => 'string', - 'expiry_year' => 'string', - 'id' => 'string', - 'is_cvv_tricky_bin' => 'bool', - 'is_enabled' => 'bool', - 'is_last_used' => 'bool', - 'is_zip_verified' => 'bool', - 'last4' => 'string', - 'readable_card_type' => 'string', - 'time_created' => 'datetime', - 'type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CustomUserSettingsFields.php b/src/FacebookAds/Object/Fields/CustomUserSettingsFields.php deleted file mode 100644 index 4a83a0d3c..000000000 --- a/src/FacebookAds/Object/Fields/CustomUserSettingsFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'list', - 'user_level_persistent_menu' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/CustomVoicemailFields.php b/src/FacebookAds/Object/Fields/CustomVoicemailFields.php deleted file mode 100644 index 85059e155..000000000 --- a/src/FacebookAds/Object/Fields/CustomVoicemailFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'id' => 'string', - 'uri' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/DeliveryInfoFields.php b/src/FacebookAds/Object/Fields/DeliveryInfoFields.php deleted file mode 100644 index c3da637e2..000000000 --- a/src/FacebookAds/Object/Fields/DeliveryInfoFields.php +++ /dev/null @@ -1,141 +0,0 @@ - 'int', - 'active_day_parted_campaign_count' => 'int', - 'active_rotated_campaign_count' => 'int', - 'are_all_daily_budgets_spent' => 'bool', - 'completed_campaign_count' => 'int', - 'credit_needed_ads_count' => 'int', - 'delivery_insight' => 'Object', - 'delivery_insights' => 'list', - 'eligible_for_delivery_insights' => 'bool', - 'end_time' => 'datetime', - 'has_account_hit_spend_limit' => 'bool', - 'has_campaign_group_hit_spend_limit' => 'bool', - 'has_no_active_ads' => 'bool', - 'has_no_ads' => 'bool', - 'inactive_ads_count' => 'int', - 'inactive_campaign_count' => 'int', - 'is_account_closed' => 'bool', - 'is_account_disabled' => 'bool', - 'is_ad_uneconomical' => 'bool', - 'is_adfarm_penalized' => 'bool', - 'is_adgroup_partially_rejected' => 'bool', - 'is_campaign_accelerated' => 'bool', - 'is_campaign_completed' => 'bool', - 'is_campaign_day_parted' => 'bool', - 'is_campaign_disabled' => 'bool', - 'is_campaign_group_disabled' => 'bool', - 'is_campaign_rotated' => 'bool', - 'is_campaign_scheduled' => 'bool', - 'is_clickbait_penalized' => 'bool', - 'is_daily_budget_spent' => 'bool', - 'is_reach_and_frequency_misconfigured' => 'bool', - 'is_split_test_active' => 'bool', - 'is_split_test_valid' => 'bool', - 'lift_study_time_period' => 'string', - 'limited_campaign_count' => 'int', - 'limited_campaign_ids' => 'list', - 'needs_credit' => 'bool', - 'needs_tax_number' => 'bool', - 'non_deleted_ads_count' => 'int', - 'not_delivering_campaign_count' => 'int', - 'pending_ads_count' => 'int', - 'reach_frequency_campaign_underdelivery_reason' => 'string', - 'rejected_ads_count' => 'int', - 'scheduled_campaign_count' => 'int', - 'start_time' => 'datetime', - 'status' => 'string', - 'text_penalty_level' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/DirectDebitFields.php b/src/FacebookAds/Object/Fields/DirectDebitFields.php deleted file mode 100644 index 781eb8649..000000000 --- a/src/FacebookAds/Object/Fields/DirectDebitFields.php +++ /dev/null @@ -1,65 +0,0 @@ - 'string', - 'bank_code_last_4' => 'string', - 'bank_name' => 'string', - 'default_receiving_method_products' => 'list', - 'display_string' => 'string', - 'id' => 'string', - 'last_four_digits' => 'string', - 'onboarding_url' => 'string', - 'owner_name' => 'string', - 'status' => 'int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/DocumentFontFields.php b/src/FacebookAds/Object/Fields/DocumentFontFields.php deleted file mode 100644 index eb7bdd09e..000000000 --- a/src/FacebookAds/Object/Fields/DocumentFontFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'full_name' => 'string', - 'id' => 'string', - 'is_library_font' => 'bool', - 'postscript_name' => 'string', - 'url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php b/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php deleted file mode 100644 index 7b6416d45..000000000 --- a/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'list', - 'description' => 'string', - 'id' => 'string', - 'name' => 'string', - 'product_set' => 'ProductSet', - 'text_tokens' => 'list', - 'url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php b/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php deleted file mode 100644 index ad6201ef5..000000000 --- a/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'id' => 'string', - 'name' => 'string', - 'product_catalog' => 'ProductCatalog', - 'product_set' => 'ProductSet', - 'valid_labels' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/EntWithSponsorFields.php b/src/FacebookAds/Object/Fields/EntWithSponsorFields.php deleted file mode 100644 index bc8149c3e..000000000 --- a/src/FacebookAds/Object/Fields/EntWithSponsorFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'owner_picture' => 'string', - 'post_id' => 'string', - 'post_info' => 'Post', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php b/src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php deleted file mode 100644 index 00f81502d..000000000 --- a/src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'max_sales_price' => 'CurrencyAmount', - 'min_sales_price' => 'CurrencyAmount', - 'sales_status' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php b/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php deleted file mode 100644 index 0fbd68585..000000000 --- a/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'questions' => 'string', - 'target_type' => 'string', - 'ticket_tier_ids' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/EventTicketSettingFields.php b/src/FacebookAds/Object/Fields/EventTicketSettingFields.php deleted file mode 100644 index 561e999ac..000000000 --- a/src/FacebookAds/Object/Fields/EventTicketSettingFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'ticket_delivery_type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/EventTicketTierFields.php b/src/FacebookAds/Object/Fields/EventTicketTierFields.php deleted file mode 100644 index f03e580cc..000000000 --- a/src/FacebookAds/Object/Fields/EventTicketTierFields.php +++ /dev/null @@ -1,81 +0,0 @@ - 'string', - 'description' => 'string', - 'end_sales_time' => 'datetime', - 'end_show_time' => 'datetime', - 'fee_settings' => 'string', - 'id' => 'string', - 'maximum_quantity' => 'int', - 'metadata' => 'string', - 'minimum_quantity' => 'int', - 'name' => 'string', - 'price' => 'int', - 'priority' => 'int', - 'retailer_id' => 'string', - 'seating_map_image_url' => 'string', - 'start_sales_time' => 'datetime', - 'start_show_time' => 'datetime', - 'status' => 'string', - 'total_quantity' => 'int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExportAdCampaignFields.php b/src/FacebookAds/Object/Fields/ExportAdCampaignFields.php deleted file mode 100644 index 40de50e71..000000000 --- a/src/FacebookAds/Object/Fields/ExportAdCampaignFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'adset_name' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExportAdCampaignGroupFields.php b/src/FacebookAds/Object/Fields/ExportAdCampaignGroupFields.php deleted file mode 100644 index 933369cd2..000000000 --- a/src/FacebookAds/Object/Fields/ExportAdCampaignGroupFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'campaign_name' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExportAdgroupFields.php b/src/FacebookAds/Object/Fields/ExportAdgroupFields.php deleted file mode 100644 index 6e45a00da..000000000 --- a/src/FacebookAds/Object/Fields/ExportAdgroupFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'ad_name' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php deleted file mode 100644 index c434f378d..000000000 --- a/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php +++ /dev/null @@ -1,85 +0,0 @@ - 'string', - 'city' => 'string', - 'cnpj' => 'string', - 'country' => 'string', - 'duns_number' => 'string', - 'id' => 'string', - 'invoice_email_address' => 'string', - 'legal_entity_name' => 'string', - 'phone_number' => 'string', - 'postal_code' => 'string', - 'product_type' => 'string', - 'registration_number' => 'string', - 'run_id' => 'string', - 'state' => 'string', - 'status' => 'string', - 'street1' => 'string', - 'street2' => 'string', - 'submitter' => 'User', - 'tax_id' => 'string', - 'terms' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php deleted file mode 100644 index 4b7502ae1..000000000 --- a/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'credit_used' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ExternalEventSourceDebuggingFields.php b/src/FacebookAds/Object/Fields/ExternalEventSourceDebuggingFields.php index 354b7eb25..45b0dc9b3 100644 --- a/src/FacebookAds/Object/Fields/ExternalEventSourceDebuggingFields.php +++ b/src/FacebookAds/Object/Fields/ExternalEventSourceDebuggingFields.php @@ -37,7 +37,9 @@ class ExternalEventSourceDebuggingFields extends AbstractEnum { + const APP_VERSION = 'app_version'; const CONTENT_URL = 'content_url'; + const DEVICE_OS = 'device_os'; const DIAGNOSTIC = 'diagnostic'; const EVENT_NAME = 'event_name'; const EVENT_TIME = 'event_time'; @@ -47,7 +49,9 @@ class ExternalEventSourceDebuggingFields extends AbstractEnum { public function getFieldTypes() { return array( + 'app_version' => 'string', 'content_url' => 'string', + 'device_os' => 'string', 'diagnostic' => 'string', 'event_name' => 'string', 'event_time' => 'int', diff --git a/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php b/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php deleted file mode 100644 index 6e3fb757e..000000000 --- a/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'external_platform' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/FAMEAdCampaignFields.php b/src/FacebookAds/Object/Fields/FAMEAdCampaignFields.php deleted file mode 100644 index 1dc3e5513..000000000 --- a/src/FacebookAds/Object/Fields/FAMEAdCampaignFields.php +++ /dev/null @@ -1,69 +0,0 @@ - 'string', - 'adaccount_name' => 'string', - 'adset_id' => 'string', - 'adset_name' => 'string', - 'adset_status' => 'string', - 'bid_amount' => 'string', - 'campaign_id' => 'string', - 'daily_budget' => 'string', - 'end_time' => 'datetime', - 'lifetime_budget' => 'string', - 'start_time' => 'datetime', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/FAMEAdCampaignGroupFields.php b/src/FacebookAds/Object/Fields/FAMEAdCampaignGroupFields.php deleted file mode 100644 index c6ee64110..000000000 --- a/src/FacebookAds/Object/Fields/FAMEAdCampaignGroupFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'string', - 'adaccount_name' => 'string', - 'buying_type' => 'string', - 'campaign_id' => 'string', - 'campaign_name' => 'string', - 'campaign_status' => 'string', - 'objective' => 'string', - 'spend_cap' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/FAMEAdGroupFields.php b/src/FacebookAds/Object/Fields/FAMEAdGroupFields.php deleted file mode 100644 index 237044e65..000000000 --- a/src/FacebookAds/Object/Fields/FAMEAdGroupFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'ad_name' => 'string', - 'ad_status' => 'string', - 'adaccount_id' => 'string', - 'adaccount_name' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/FAMEKumoFields.php b/src/FacebookAds/Object/Fields/FAMEKumoFields.php deleted file mode 100644 index fd1817a89..000000000 --- a/src/FacebookAds/Object/Fields/FAMEKumoFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/FundraiserPersonToCharityFields.php b/src/FacebookAds/Object/Fields/FundraiserPersonToCharityFields.php deleted file mode 100644 index 82586b770..000000000 --- a/src/FacebookAds/Object/Fields/FundraiserPersonToCharityFields.php +++ /dev/null @@ -1,89 +0,0 @@ - 'int', - 'charity_id' => 'string', - 'currency' => 'string', - 'description' => 'string', - 'donations_count' => 'int', - 'donors_count' => 'int', - 'end_time' => 'datetime', - 'external_amount_raised' => 'int', - 'external_donations_count' => 'int', - 'external_donors_count' => 'int', - 'external_event_name' => 'string', - 'external_event_start_time' => 'datetime', - 'external_event_uri' => 'string', - 'external_fundraiser_uri' => 'string', - 'external_id' => 'string', - 'goal_amount' => 'int', - 'id' => 'string', - 'internal_amount_raised' => 'int', - 'internal_donations_count' => 'int', - 'internal_donors_count' => 'int', - 'name' => 'string', - 'uri' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GameItemFields.php b/src/FacebookAds/Object/Fields/GameItemFields.php deleted file mode 100644 index c23f858ce..000000000 --- a/src/FacebookAds/Object/Fields/GameItemFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'int', - 'created' => 'datetime', - 'ext_id' => 'string', - 'id' => 'string', - 'item_def' => 'string', - 'owner' => 'User', - 'status' => 'string', - 'updated' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GameTimeFields.php b/src/FacebookAds/Object/Fields/GameTimeFields.php deleted file mode 100644 index dfd497b2e..000000000 --- a/src/FacebookAds/Object/Fields/GameTimeFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'User', - 'redeemed_time' => 'int', - 'total_time' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GamesPersonaFields.php b/src/FacebookAds/Object/Fields/GamesPersonaFields.php deleted file mode 100644 index 09380f1bb..000000000 --- a/src/FacebookAds/Object/Fields/GamesPersonaFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'id' => 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GamesStatFields.php b/src/FacebookAds/Object/Fields/GamesStatFields.php deleted file mode 100644 index fe286da0b..000000000 --- a/src/FacebookAds/Object/Fields/GamesStatFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'int', - 'stat_name' => 'string', - 'timestamp' => 'datetime', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php b/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php deleted file mode 100644 index 6dac1d995..000000000 --- a/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php +++ /dev/null @@ -1,133 +0,0 @@ - 'string', - 'broadcast_planned_start_time' => 'datetime', - 'can_viewer_edit' => 'bool', - 'created_time' => 'datetime', - 'creator' => 'User', - 'description' => 'string', - 'download_hd_url' => 'string', - 'download_sd_url' => 'string', - 'embeddable' => 'bool', - 'expiration' => 'Object', - 'feed_type' => 'string', - 'id' => 'string', - 'is_crossposting_eligible' => 'bool', - 'is_crossposting_within_bm_eligible' => 'bool', - 'is_crossposting_within_bm_enabled' => 'bool', - 'is_episode' => 'bool', - 'is_featured' => 'bool', - 'is_live_premiere' => 'bool', - 'is_video_asset' => 'bool', - 'last_added_time' => 'datetime', - 'latest_creator' => 'User', - 'latest_owned_description' => 'string', - 'latest_owned_title' => 'string', - 'length' => 'float', - 'live_status' => 'string', - 'no_story' => 'bool', - 'owner_name' => 'string', - 'owner_picture' => 'string', - 'owner_post_state' => 'string', - 'permalink_url' => 'string', - 'picture' => 'string', - 'posts_count' => 'unsigned int', - 'posts_ids' => 'list', - 'posts_status' => 'Object', - 'published' => 'bool', - 'scheduled_publish_time' => 'datetime', - 'secret' => 'bool', - 'secure_stream_url' => 'string', - 'social_actions' => 'bool', - 'status' => 'Object', - 'stream_url' => 'string', - 'thumbnail_while_encoding' => 'string', - 'title' => 'string', - 'views' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/GeoAreaFields.php b/src/FacebookAds/Object/Fields/GeoAreaFields.php deleted file mode 100644 index 0d1bca44d..000000000 --- a/src/FacebookAds/Object/Fields/GeoAreaFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'id' => 'string', - 'name' => 'string', - 'timezone' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/HashedUserFields.php b/src/FacebookAds/Object/Fields/HashedUserFields.php deleted file mode 100644 index b2abb2dcd..000000000 --- a/src/FacebookAds/Object/Fields/HashedUserFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/HomeServiceProviderFields.php b/src/FacebookAds/Object/Fields/HomeServiceProviderFields.php deleted file mode 100644 index a320cf0ac..000000000 --- a/src/FacebookAds/Object/Fields/HomeServiceProviderFields.php +++ /dev/null @@ -1,113 +0,0 @@ - 'string', - 'address' => 'Object', - 'applinks' => 'AppLinks', - 'bbb_rating' => 'string', - 'bookable_task' => 'list', - 'business_hours' => 'list', - 'business_phone_number' => 'string', - 'business_url' => 'string', - 'company_name' => 'string', - 'company_tagline' => 'string', - 'completed_jobs' => 'Object', - 'criminal_background_check_date' => 'string', - 'deals' => 'string', - 'description' => 'string', - 'fb_page_id' => 'Page', - 'financial_background_check_date' => 'string', - 'first_name' => 'string', - 'home_service_provider_id' => 'string', - 'id' => 'string', - 'images' => 'list', - 'insurance_info' => 'string', - 'internal_score' => 'float', - 'last_name' => 'string', - 'licensing_info' => 'string', - 'messaging_inbox_page_id' => 'Page', - 'partner_verified_date' => 'string', - 'product_brands_used' => 'string', - 'provider_type' => 'string', - 'rating_distribution' => 'list', - 'sanitized_images' => 'list', - 'title' => 'string', - 'transaction_currency' => 'string', - 'url' => 'string', - 'year_business_started' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/HotelCatalogSettingsFields.php b/src/FacebookAds/Object/Fields/HotelCatalogSettingsFields.php deleted file mode 100644 index 8181198ea..000000000 --- a/src/FacebookAds/Object/Fields/HotelCatalogSettingsFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/IPObjectFields.php b/src/FacebookAds/Object/Fields/IPObjectFields.php deleted file mode 100644 index 7acf53eeb..000000000 --- a/src/FacebookAds/Object/Fields/IPObjectFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'user' => 'Object', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/InstagramBusinessFields.php b/src/FacebookAds/Object/Fields/InstagramBusinessFields.php deleted file mode 100644 index c7543cf2a..000000000 --- a/src/FacebookAds/Object/Fields/InstagramBusinessFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'datetime', - 'fbid' => 'string', - 'id' => 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/InstagramCommentFields.php b/src/FacebookAds/Object/Fields/InstagramCommentFields.php deleted file mode 100644 index fbee4aec3..000000000 --- a/src/FacebookAds/Object/Fields/InstagramCommentFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'created_at' => 'datetime', - 'id' => 'string', - 'instagram_comment_id' => 'string', - 'mentioned_instagram_users' => 'list', - 'message' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/InstagramUserFields.php b/src/FacebookAds/Object/Fields/InstagramUserFields.php deleted file mode 100644 index bc8d2d943..000000000 --- a/src/FacebookAds/Object/Fields/InstagramUserFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'int', - 'followed_by_count' => 'int', - 'has_profile_picture' => 'bool', - 'id' => 'string', - 'is_private' => 'bool', - 'is_published' => 'bool', - 'media_count' => 'int', - 'profile_pic' => 'string', - 'username' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/JobOpeningFields.php b/src/FacebookAds/Object/Fields/JobOpeningFields.php deleted file mode 100644 index 5d32b90a5..000000000 --- a/src/FacebookAds/Object/Fields/JobOpeningFields.php +++ /dev/null @@ -1,97 +0,0 @@ - 'string', - 'application_callback_url' => 'string', - 'created_time' => 'datetime', - 'description' => 'string', - 'errors' => 'list', - 'expiration_time' => 'datetime', - 'external_company_facebook_url' => 'string', - 'external_company_full_address' => 'string', - 'external_company_id' => 'string', - 'external_company_name' => 'string', - 'external_id' => 'string', - 'hide_from_newsfeed' => 'bool', - 'hide_from_timeline' => 'bool', - 'id' => 'string', - 'job_status' => 'JobStatus', - 'latitude' => 'float', - 'longitude' => 'float', - 'offsite_application_url' => 'string', - 'page' => 'Page', - 'photo' => 'Photo', - 'place' => 'Place', - 'platform_review_status' => 'PlatformReviewStatus', - 'post' => 'Post', - 'review_rejection_reasons' => 'list', - 'title' => 'string', - 'type' => 'Type', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php b/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php index 999259f79..9adcba353 100644 --- a/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php +++ b/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php @@ -37,18 +37,13 @@ class LeadGenDataDraftFields extends AbstractEnum { - const ALLOW_ORGANIC_LEAD = 'allow_organic_lead'; const BLOCK_DISPLAY_FOR_NON_TARGETED_VIEWER = 'block_display_for_non_targeted_viewer'; const CONTEXT_CARD = 'context_card'; - const CONTINUED_FLOW_REQUEST_METHOD = 'continued_flow_request_method'; const CREATED_TIME = 'created_time'; const CREATOR_ID = 'creator_id'; - const EXPIRED_LEADS_COUNT = 'expired_leads_count'; const FOLLOW_UP_ACTION_URL = 'follow_up_action_url'; const ID = 'id'; - const IS_CONTINUED_FLOW = 'is_continued_flow'; const IS_OPTIMIZED_FOR_QUALITY = 'is_optimized_for_quality'; - const LEADGEN_EXPORT_CSV_URL = 'leadgen_export_csv_url'; const LEGAL_CONTENT = 'legal_content'; const LOCALE = 'locale'; const NAME = 'name'; @@ -61,18 +56,13 @@ class LeadGenDataDraftFields extends AbstractEnum { public function getFieldTypes() { return array( - 'allow_organic_lead' => 'bool', 'block_display_for_non_targeted_viewer' => 'bool', 'context_card' => 'Object', - 'continued_flow_request_method' => 'string', 'created_time' => 'datetime', 'creator_id' => 'string', - 'expired_leads_count' => 'unsigned int', 'follow_up_action_url' => 'string', 'id' => 'string', - 'is_continued_flow' => 'bool', 'is_optimized_for_quality' => 'bool', - 'leadgen_export_csv_url' => 'string', 'legal_content' => 'Object', 'locale' => 'string', 'name' => 'string', diff --git a/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationThirdPartyAppFields.php b/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationThirdPartyAppFields.php deleted file mode 100644 index da3219ce2..000000000 --- a/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationThirdPartyAppFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'Application', - 'country_code' => 'string', - 'id' => 'string', - 'integration_type' => 'string', - 'page' => 'Page', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/LiveEncoderFields.php b/src/FacebookAds/Object/Fields/LiveEncoderFields.php deleted file mode 100644 index 736274109..000000000 --- a/src/FacebookAds/Object/Fields/LiveEncoderFields.php +++ /dev/null @@ -1,65 +0,0 @@ - 'string', - 'creation_time' => 'datetime', - 'current_broadcast' => 'LiveVideo', - 'device_id' => 'string', - 'id' => 'string', - 'last_heartbeat_time' => 'datetime', - 'model' => 'string', - 'name' => 'string', - 'status' => 'string', - 'version' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/LiveVideoFields.php b/src/FacebookAds/Object/Fields/LiveVideoFields.php index 97e4b23fd..f75522982 100644 --- a/src/FacebookAds/Object/Fields/LiveVideoFields.php +++ b/src/FacebookAds/Object/Fields/LiveVideoFields.php @@ -81,7 +81,7 @@ public function getFieldTypes() { 'ingest_streams' => 'list', 'is_manual_mode' => 'bool', 'is_reference_only' => 'bool', - 'live_encoders' => 'list', + 'live_encoders' => 'list', 'live_views' => 'unsigned int', 'permalink_url' => 'string', 'planned_start_time' => 'datetime', diff --git a/src/FacebookAds/Object/Fields/LoomConfigFields.php b/src/FacebookAds/Object/Fields/LoomConfigFields.php deleted file mode 100644 index be93ca130..000000000 --- a/src/FacebookAds/Object/Fields/LoomConfigFields.php +++ /dev/null @@ -1,47 +0,0 @@ - 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MHubTermsOfServiceFields.php b/src/FacebookAds/Object/Fields/MHubTermsOfServiceFields.php deleted file mode 100644 index 8126cfdec..000000000 --- a/src/FacebookAds/Object/Fields/MHubTermsOfServiceFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'datetime', - 'id' => 'string', - 'user' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MarketingAreaFields.php b/src/FacebookAds/Object/Fields/MarketingAreaFields.php deleted file mode 100644 index 7b3a4b31d..000000000 --- a/src/FacebookAds/Object/Fields/MarketingAreaFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'owner_page' => 'Page', - 'zip_codes' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MeasurementPlaygroundFields.php b/src/FacebookAds/Object/Fields/MeasurementPlaygroundFields.php deleted file mode 100644 index 415e65ab1..000000000 --- a/src/FacebookAds/Object/Fields/MeasurementPlaygroundFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'parameters' => 'list', - 'report_type' => 'string', - 'report_urls' => 'list', - 'reports_zip_url' => 'string', - 'result' => 'string', - 'status' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php b/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php deleted file mode 100644 index 8667fbe13..000000000 --- a/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php +++ /dev/null @@ -1,73 +0,0 @@ - 'string', - 'attribution_target_name' => 'string', - 'attribution_type' => 'string', - 'attribution_uri' => 'string', - 'copyright_count' => 'int', - 'creation_time' => 'datetime', - 'creator' => 'Profile', - 'id' => 'string', - 'is_enabled' => 'bool', - 'link_title' => 'string', - 'match_count' => 'int', - 'owner' => 'Page', - 'status' => 'string', - 'title' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MediaTitleFields.php b/src/FacebookAds/Object/Fields/MediaTitleFields.php deleted file mode 100644 index 3e2e7a7d3..000000000 --- a/src/FacebookAds/Object/Fields/MediaTitleFields.php +++ /dev/null @@ -1,111 +0,0 @@ - 'AppLinks', - 'content_category' => 'string', - 'content_countries' => 'list', - 'content_locale' => 'string', - 'crew' => 'list', - 'currency' => 'string', - 'description' => 'string', - 'episode' => 'unsigned int', - 'fb_page_alias' => 'string', - 'fb_page_id' => 'Page', - 'genres' => 'list', - 'id' => 'string', - 'images' => 'list', - 'instagram_username' => 'string', - 'media_source' => 'string', - 'media_title_id' => 'string', - 'mpaa_rating' => 'string', - 'performers' => 'list', - 'price' => 'string', - 'release_date' => 'string', - 'sanitized_images' => 'list', - 'season' => 'unsigned int', - 'similar_titles' => 'list', - 'subtitle_locale' => 'string', - 'title' => 'string', - 'url' => 'string', - 'view_count_eighty_four_days' => 'Object', - 'view_count_fourteen_days' => 'Object', - 'view_count_one_day' => 'Object', - 'view_count_seven_days' => 'Object', - 'view_count_twenty_eight_days' => 'Object', - 'wiki_data_item' => 'string', - 'wikipedia_url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MenuFields.php b/src/FacebookAds/Object/Fields/MenuFields.php deleted file mode 100644 index 63f1e5196..000000000 --- a/src/FacebookAds/Object/Fields/MenuFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'menu_json' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MessagingSuggestedGroupFields.php b/src/FacebookAds/Object/Fields/MessagingSuggestedGroupFields.php deleted file mode 100644 index 5a8d3cca6..000000000 --- a/src/FacebookAds/Object/Fields/MessagingSuggestedGroupFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'float', - 'source' => 'string', - 'suggested_name' => 'string', - 'users' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/MessengerAdsPartialAutomatedStepListFields.php b/src/FacebookAds/Object/Fields/MessengerAdsPartialAutomatedStepListFields.php deleted file mode 100644 index 1af8abc1b..000000000 --- a/src/FacebookAds/Object/Fields/MessengerAdsPartialAutomatedStepListFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'LeadgenForm', - 'first_step_id' => 'string', - 'id' => 'string', - 'page' => 'Page', - 'privacy_url' => 'string', - 'reminder_text' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/NotaFiscalFields.php b/src/FacebookAds/Object/Fields/NotaFiscalFields.php deleted file mode 100644 index c51043af4..000000000 --- a/src/FacebookAds/Object/Fields/NotaFiscalFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'CurrencyAmount', - 'ccm' => 'string', - 'issue_date' => 'string', - 'nfe_number' => 'Object', - 'verification_code' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/OfferFields.php b/src/FacebookAds/Object/Fields/OfferFields.php deleted file mode 100644 index 6e102e7a7..000000000 --- a/src/FacebookAds/Object/Fields/OfferFields.php +++ /dev/null @@ -1,69 +0,0 @@ - 'unsigned int', - 'coupon_type' => 'string', - 'created_time' => 'datetime', - 'expiration_time' => 'datetime', - 'from' => 'Page', - 'id' => 'string', - 'image_url' => 'string', - 'message' => 'string', - 'redemption_code' => 'string', - 'redemption_link' => 'string', - 'terms' => 'string', - 'title' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php b/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php index 1a93fc9b1..2f7589ef8 100644 --- a/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php +++ b/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php @@ -51,6 +51,7 @@ class OfflineConversionDataSetFields extends AbstractEnum { const ID = 'id'; const IS_RESTRICTED_USE = 'is_restricted_use'; const LAST_UPLOAD_APP = 'last_upload_app'; + const LAST_UPLOAD_APP_CHANGED_TIME = 'last_upload_app_changed_time'; const MATCH_RATE_APPROX = 'match_rate_approx'; const MATCHED_ENTRIES = 'matched_entries'; const MATCHED_UNIQUE_USERS = 'matched_unique_users'; @@ -75,6 +76,7 @@ public function getFieldTypes() { 'id' => 'string', 'is_restricted_use' => 'bool', 'last_upload_app' => 'string', + 'last_upload_app_changed_time' => 'int', 'match_rate_approx' => 'int', 'matched_entries' => 'int', 'matched_unique_users' => 'int', diff --git a/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php deleted file mode 100644 index 1cb9b554d..000000000 --- a/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'bool', - 'type' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageBreakingNewsUsageFields.php b/src/FacebookAds/Object/Fields/PageBreakingNewsUsageFields.php deleted file mode 100644 index fb61eade6..000000000 --- a/src/FacebookAds/Object/Fields/PageBreakingNewsUsageFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'unsigned int', - 'remaining_monthly_pool_uses' => 'unsigned int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageCustomerInsightsFields.php b/src/FacebookAds/Object/Fields/PageCustomerInsightsFields.php deleted file mode 100644 index 5bb614782..000000000 --- a/src/FacebookAds/Object/Fields/PageCustomerInsightsFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'datetime', - 'gmt_offset' => 'float', - 'id' => 'string', - 'review' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php deleted file mode 100644 index e309be4c1..000000000 --- a/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'bool', - 'id' => 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php b/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php deleted file mode 100644 index 21b04a348..000000000 --- a/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'page' => 'Page', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php b/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php deleted file mode 100644 index 51124f49c..000000000 --- a/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'bool', - 'response_rate' => 'float', - 'response_time' => 'float', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php deleted file mode 100644 index 8a96f0857..000000000 --- a/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'bool', - 'highest_page_role' => 'string', - 'partner_business' => 'Business', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PagePostExperimentFields.php b/src/FacebookAds/Object/Fields/PagePostExperimentFields.php deleted file mode 100644 index 0792f5837..000000000 --- a/src/FacebookAds/Object/Fields/PagePostExperimentFields.php +++ /dev/null @@ -1,69 +0,0 @@ - 'datetime', - 'creator' => 'User', - 'declared_winning_time' => 'datetime', - 'description' => 'string', - 'id' => 'string', - 'insight_snapshots' => 'list', - 'name' => 'string', - 'optimization_goal' => 'string', - 'publish_status' => 'string', - 'publish_time' => 'datetime', - 'scheduled_experiment_timestamp' => 'datetime', - 'updated_time' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageStatusCardFields.php b/src/FacebookAds/Object/Fields/PageStatusCardFields.php deleted file mode 100644 index 0db4c1440..000000000 --- a/src/FacebookAds/Object/Fields/PageStatusCardFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'string', - 'details_screen' => 'string', - 'duration_in_secs' => 'int', - 'id' => 'string', - 'page' => 'Page', - 'preview' => 'string', - 'start_time' => 'datetime', - 'title' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageStoreVisitsCustomAudiencesEligibleCountriesFields.php b/src/FacebookAds/Object/Fields/PageStoreVisitsCustomAudiencesEligibleCountriesFields.php deleted file mode 100644 index d6a5fe046..000000000 --- a/src/FacebookAds/Object/Fields/PageStoreVisitsCustomAudiencesEligibleCountriesFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'measurable_locations_count' => 'int', - 'total_locations_count' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php deleted file mode 100644 index 0da92693a..000000000 --- a/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'bool', - 'business_role' => 'string', - 'can_access_leads' => 'bool', - 'page_role' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PagesPlatformComponentFlowFields.php b/src/FacebookAds/Object/Fields/PagesPlatformComponentFlowFields.php deleted file mode 100644 index c30ee785a..000000000 --- a/src/FacebookAds/Object/Fields/PagesPlatformComponentFlowFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'Application', - 'cta' => 'PageCallToAction', - 'id' => 'string', - 'page' => 'Page', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PartnerStudyFields.php b/src/FacebookAds/Object/Fields/PartnerStudyFields.php deleted file mode 100644 index dc4dbb1f7..000000000 --- a/src/FacebookAds/Object/Fields/PartnerStudyFields.php +++ /dev/null @@ -1,81 +0,0 @@ - 'string', - 'brand' => 'string', - 'client_name' => 'string', - 'emails' => 'string', - 'id' => 'string', - 'input_ids' => 'list', - 'is_export' => 'bool', - 'lift_study' => 'AdStudy', - 'location' => 'string', - 'match_file_ds' => 'string', - 'name' => 'string', - 'partner_defined_id' => 'string', - 'partner_household_graph_dataset_id' => 'string', - 'status' => 'string', - 'study_end_date' => 'datetime', - 'study_start_date' => 'datetime', - 'study_type' => 'string', - 'submit_date' => 'datetime', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PersistentStreamProfileFields.php b/src/FacebookAds/Object/Fields/PersistentStreamProfileFields.php deleted file mode 100644 index acf9fe1fc..000000000 --- a/src/FacebookAds/Object/Fields/PersistentStreamProfileFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'bool', - 'id' => 'string', - 'stream_url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php b/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php deleted file mode 100644 index a4802634d..000000000 --- a/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php +++ /dev/null @@ -1,55 +0,0 @@ - 'string', - 'first_name' => 'string', - 'id' => 'string', - 'last_name' => 'string', - 'pending_email' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php b/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php index 41ceb8027..ea477ad8d 100644 --- a/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php +++ b/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php @@ -52,7 +52,7 @@ class ProductCatalogUserPermissionsFields extends AbstractEnum { public function getFieldTypes() { return array( 'business' => 'Business', - 'business_persona' => 'BusinessPersona', + 'business_persona' => 'Object', 'created_by' => 'User', 'created_time' => 'datetime', 'email' => 'string', diff --git a/src/FacebookAds/Object/Fields/ProductFeedRuleFields.php b/src/FacebookAds/Object/Fields/ProductFeedRuleFields.php deleted file mode 100644 index 2c5e72312..000000000 --- a/src/FacebookAds/Object/Fields/ProductFeedRuleFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'id' => 'string', - 'params' => 'list', - 'rule_type' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php b/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php deleted file mode 100644 index c922ed74e..000000000 --- a/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'list', - 'properties_before' => 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ProductFeedRuleSuggestionFields.php b/src/FacebookAds/Object/Fields/ProductFeedRuleSuggestionFields.php deleted file mode 100644 index 4fa9f1f5a..000000000 --- a/src/FacebookAds/Object/Fields/ProductFeedRuleSuggestionFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'params' => 'list', - 'type' => 'string', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ProductItemOfferFields.php b/src/FacebookAds/Object/Fields/ProductItemOfferFields.php deleted file mode 100644 index d28b44186..000000000 --- a/src/FacebookAds/Object/Fields/ProductItemOfferFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'list', - 'availability_radius' => 'float', - 'id' => 'string', - 'raw_address_data' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/RateCardFields.php b/src/FacebookAds/Object/Fields/RateCardFields.php deleted file mode 100644 index 6d09be342..000000000 --- a/src/FacebookAds/Object/Fields/RateCardFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'currency' => 'string', - 'rate' => 'float', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php b/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php deleted file mode 100644 index 83d9da093..000000000 --- a/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'AdAccount', - 'id' => 'string', - 'name' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/RobotFields.php b/src/FacebookAds/Object/Fields/RobotFields.php deleted file mode 100644 index 767f698ec..000000000 --- a/src/FacebookAds/Object/Fields/RobotFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'string', - 'id' => 'string', - 'init_pos' => 'list', - 'suite' => 'string', - 'sw_image' => 'Object', - 'target_sw_image' => 'Object', - 'target_sw_image_uri' => 'string', - 'user' => 'User', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/SearchDialogDataFields.php b/src/FacebookAds/Object/Fields/SearchDialogDataFields.php deleted file mode 100644 index 7c863f15f..000000000 --- a/src/FacebookAds/Object/Fields/SearchDialogDataFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'string', - 'form_options' => 'Object', - 'id' => 'string', - 'name' => 'string', - 'page' => 'Page', - 'privacy_policy_url' => 'string', - 'template_url_spec' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/SimpleAttributionWebhookFields.php b/src/FacebookAds/Object/Fields/SimpleAttributionWebhookFields.php deleted file mode 100644 index 4e154c6d8..000000000 --- a/src/FacebookAds/Object/Fields/SimpleAttributionWebhookFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'Business', - 'id' => 'string', - 'source' => 'Object', - 'webhook_app' => 'Application', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/SpacoDsDataCollectionFields.php b/src/FacebookAds/Object/Fields/SpacoDsDataCollectionFields.php deleted file mode 100644 index 494c160cd..000000000 --- a/src/FacebookAds/Object/Fields/SpacoDsDataCollectionFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'Object', - 'creation_time' => 'datetime', - 'description' => 'string', - 'id' => 'string', - 'is_crisis' => 'bool', - 'name' => 'string', - 'update_time' => 'datetime', - 'spaco_data_collections' => 'list', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/StonehengeSubscriptionPublisherFields.php b/src/FacebookAds/Object/Fields/StonehengeSubscriptionPublisherFields.php deleted file mode 100644 index 7621c17d5..000000000 --- a/src/FacebookAds/Object/Fields/StonehengeSubscriptionPublisherFields.php +++ /dev/null @@ -1,67 +0,0 @@ - 'string', - 'article_url_patterns' => 'list', - 'content_tier_breakdown' => 'list', - 'default_content_tier' => 'string', - 'id' => 'string', - 'is_test' => 'bool', - 'meter_tracker' => 'Object', - 'owner' => 'Page', - 'packages' => 'list', - 'paywall_tracker' => 'Object', - 'subscription_pixel_tracking' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/StoreCatalogSettingsFields.php b/src/FacebookAds/Object/Fields/StoreCatalogSettingsFields.php deleted file mode 100644 index 2ef82623c..000000000 --- a/src/FacebookAds/Object/Fields/StoreCatalogSettingsFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'string', - 'page' => 'Page', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/SuggestedProductSetFields.php b/src/FacebookAds/Object/Fields/SuggestedProductSetFields.php deleted file mode 100644 index 9bdb11f65..000000000 --- a/src/FacebookAds/Object/Fields/SuggestedProductSetFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'name' => 'string', - 'products_count' => 'int', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/TarotDigestFields.php b/src/FacebookAds/Object/Fields/TarotDigestFields.php deleted file mode 100644 index 365cfe223..000000000 --- a/src/FacebookAds/Object/Fields/TarotDigestFields.php +++ /dev/null @@ -1,61 +0,0 @@ - 'datetime', - 'errors' => 'list', - 'has_errors' => 'bool', - 'id' => 'string', - 'is_schedulable' => 'bool', - 'publication_date' => 'string', - 'publish_status' => 'string', - 'title' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/TopicFields.php b/src/FacebookAds/Object/Fields/TopicFields.php deleted file mode 100644 index 83dce04f3..000000000 --- a/src/FacebookAds/Object/Fields/TopicFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'string', - 'name' => 'string', - 'page' => 'Page', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/TransactionDetailsFields.php b/src/FacebookAds/Object/Fields/TransactionDetailsFields.php deleted file mode 100644 index b159b9237..000000000 --- a/src/FacebookAds/Object/Fields/TransactionDetailsFields.php +++ /dev/null @@ -1,49 +0,0 @@ - 'list', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/TransactionFields.php b/src/FacebookAds/Object/Fields/TransactionFields.php deleted file mode 100644 index 488978ade..000000000 --- a/src/FacebookAds/Object/Fields/TransactionFields.php +++ /dev/null @@ -1,85 +0,0 @@ - 'string', - 'app_amount' => 'Object', - 'billing_end_time' => 'unsigned int', - 'billing_reason' => 'string', - 'billing_start_time' => 'unsigned int', - 'charge_type' => 'string', - 'checkout_campaign_group_id' => 'string', - 'credential_id' => 'string', - 'fatura_id' => 'unsigned int', - 'id' => 'string', - 'is_business_ec_charge' => 'bool', - 'is_funding_event' => 'bool', - 'payment_option' => 'string', - 'product_type' => 'ProductType', - 'provider_amount' => 'Object', - 'status' => 'string', - 'time' => 'unsigned int', - 'tracking_id' => 'string', - 'transaction_type' => 'string', - 'tx_type' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/TrustMetricsFields.php b/src/FacebookAds/Object/Fields/TrustMetricsFields.php deleted file mode 100644 index eae3ca722..000000000 --- a/src/FacebookAds/Object/Fields/TrustMetricsFields.php +++ /dev/null @@ -1,53 +0,0 @@ - 'string', - 'region' => 'string', - 'value' => 'bool', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php b/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php deleted file mode 100644 index a901307d5..000000000 --- a/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php +++ /dev/null @@ -1,51 +0,0 @@ - 'AdCreative', - 'visual_hash' => 'Object', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VaultDeviceFields.php b/src/FacebookAds/Object/Fields/VaultDeviceFields.php deleted file mode 100644 index 8e462312f..000000000 --- a/src/FacebookAds/Object/Fields/VaultDeviceFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'bool', - 'enabled' => 'bool', - 'id' => 'string', - 'identifier_value' => 'string', - 'last_sync_time' => 'datetime', - 'name' => 'string', - 'owner' => 'User', - 'sync_mode' => 'string', - 'sync_older_photos' => 'bool', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VaultImageFields.php b/src/FacebookAds/Object/Fields/VaultImageFields.php deleted file mode 100644 index d993a4d62..000000000 --- a/src/FacebookAds/Object/Fields/VaultImageFields.php +++ /dev/null @@ -1,63 +0,0 @@ - 'string', - 'date_taken' => 'datetime', - 'height' => 'Object', - 'id' => 'string', - 'owner' => 'User', - 'picture' => 'string', - 'remote_id' => 'string', - 'source' => 'string', - 'width' => 'Object', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VehicleOfferFields.php b/src/FacebookAds/Object/Fields/VehicleOfferFields.php deleted file mode 100644 index f04aa6b7d..000000000 --- a/src/FacebookAds/Object/Fields/VehicleOfferFields.php +++ /dev/null @@ -1,91 +0,0 @@ - 'string', - 'amount_percentage' => 'float', - 'amount_price' => 'string', - 'amount_qualifier' => 'string', - 'applinks' => 'AppLinks', - 'cashback_currency' => 'string', - 'cashback_price' => 'string', - 'downpayment_currency' => 'string', - 'downpayment_price' => 'string', - 'downpayment_qualifier' => 'string', - 'end_time' => 'int', - 'id' => 'string', - 'images' => 'list', - 'offer_description' => 'string', - 'offer_disclaimer' => 'string', - 'offer_type' => 'string', - 'sanitized_images' => 'list', - 'start_time' => 'int', - 'term_length' => 'Object', - 'term_qualifier' => 'string', - 'title' => 'string', - 'url' => 'string', - 'vehicle_offer_id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoAssetFields.php b/src/FacebookAds/Object/Fields/VideoAssetFields.php deleted file mode 100644 index a4c59a964..000000000 --- a/src/FacebookAds/Object/Fields/VideoAssetFields.php +++ /dev/null @@ -1,133 +0,0 @@ - 'string', - 'broadcast_planned_start_time' => 'datetime', - 'can_viewer_edit' => 'bool', - 'created_time' => 'datetime', - 'creator' => 'User', - 'description' => 'string', - 'download_hd_url' => 'string', - 'download_sd_url' => 'string', - 'embeddable' => 'bool', - 'expiration' => 'Object', - 'feed_type' => 'string', - 'id' => 'string', - 'is_crossposting_eligible' => 'bool', - 'is_crossposting_within_bm_eligible' => 'bool', - 'is_crossposting_within_bm_enabled' => 'bool', - 'is_episode' => 'bool', - 'is_featured' => 'bool', - 'is_live_premiere' => 'bool', - 'is_video_asset' => 'bool', - 'last_added_time' => 'datetime', - 'latest_creator' => 'User', - 'latest_owned_description' => 'string', - 'latest_owned_title' => 'string', - 'length' => 'float', - 'live_status' => 'string', - 'no_story' => 'bool', - 'owner_name' => 'string', - 'owner_picture' => 'string', - 'owner_post_state' => 'string', - 'permalink_url' => 'string', - 'picture' => 'string', - 'posts_count' => 'unsigned int', - 'posts_ids' => 'list', - 'posts_status' => 'Object', - 'published' => 'bool', - 'scheduled_publish_time' => 'datetime', - 'secret' => 'bool', - 'secure_stream_url' => 'string', - 'social_actions' => 'bool', - 'status' => 'Object', - 'stream_url' => 'string', - 'thumbnail_while_encoding' => 'string', - 'title' => 'string', - 'views' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php b/src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php deleted file mode 100644 index 339b91c44..000000000 --- a/src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'datetime', - 'id' => 'string', - 'match_data' => 'list', - 'match_status' => 'string', - 'notes' => 'string', - 'permalink' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoGroupFields.php b/src/FacebookAds/Object/Fields/VideoGroupFields.php deleted file mode 100644 index 153cbf26d..000000000 --- a/src/FacebookAds/Object/Fields/VideoGroupFields.php +++ /dev/null @@ -1,77 +0,0 @@ - 'string', - 'description' => 'string', - 'id' => 'string', - 'ig_profile_ids' => 'list', - 'is_disabled' => 'bool', - 'is_fb_video_group' => 'bool', - 'last_used_time' => 'string', - 'length' => 'float', - 'name' => 'string', - 'page_id' => 'string', - 'page_ids' => 'list', - 'picture' => 'string', - 'placements' => 'list', - 'video_group_types' => 'list', - 'videos' => 'list', - 'views' => 'unsigned int', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoMetricsReportFields.php b/src/FacebookAds/Object/Fields/VideoMetricsReportFields.php deleted file mode 100644 index 477431466..000000000 --- a/src/FacebookAds/Object/Fields/VideoMetricsReportFields.php +++ /dev/null @@ -1,67 +0,0 @@ - 'string', - 'chunks' => 'int', - 'end_date' => 'datetime', - 'id' => 'string', - 'index' => 'int', - 'name' => 'string', - 'platform' => 'string', - 'start_date' => 'datetime', - 'type' => 'string', - 'upload_date' => 'datetime', - 'url' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoReferenceMatchFields.php b/src/FacebookAds/Object/Fields/VideoReferenceMatchFields.php deleted file mode 100644 index d2c88af8e..000000000 --- a/src/FacebookAds/Object/Fields/VideoReferenceMatchFields.php +++ /dev/null @@ -1,83 +0,0 @@ - 'VideoCopyrightGeoGate', - 'creation_time' => 'datetime', - 'dispute_form_data' => 'string', - 'expiration_time' => 'datetime', - 'id' => 'string', - 'is_disputable' => 'bool', - 'is_possible_conflict' => 'bool', - 'is_viewed' => 'bool', - 'match_state' => 'string', - 'matched_reference_asset' => 'CopyrightReferenceContainer', - 'matched_reference_copyright' => 'Object', - 'matched_reference_owner_id' => 'string', - 'matched_reference_owner_name' => 'string', - 'modification_history' => 'list', - 'reference_asset' => 'CopyrightReferenceContainer', - 'reference_copyright' => 'Object', - 'reference_owner_id' => 'string', - 'reference_owner_name' => 'string', - 'rejection_form_data' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/VideoStatsFields.php b/src/FacebookAds/Object/Fields/VideoStatsFields.php deleted file mode 100644 index 545d8b894..000000000 --- a/src/FacebookAds/Object/Fields/VideoStatsFields.php +++ /dev/null @@ -1,59 +0,0 @@ - 'list', - 'error' => 'string', - 'metadata' => 'list', - 'time_series' => 'list', - 'totals' => 'list', - 'x_axis_breakdown' => 'list>', - 'id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php b/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php deleted file mode 100644 index c97d09d9e..000000000 --- a/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php +++ /dev/null @@ -1,65 +0,0 @@ - 'Object', - 'business_type' => 'string', - 'currency' => 'string', - 'friendly_name' => 'string', - 'hsm_namespace' => 'string', - 'id' => 'string', - 'on_behalf_of_business_computed_info' => 'Object', - 'primary_funding_id' => 'string', - 'status' => 'string', - 'timezone_id' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/Fields/WifiInformationFields.php b/src/FacebookAds/Object/Fields/WifiInformationFields.php deleted file mode 100644 index 754814247..000000000 --- a/src/FacebookAds/Object/Fields/WifiInformationFields.php +++ /dev/null @@ -1,57 +0,0 @@ - 'string', - 'mac_address' => 'string', - 'name' => 'string', - 'network_access_type' => 'string', - 'price' => 'string', - 'visibility' => 'string', - ); - } -} diff --git a/src/FacebookAds/Object/FundraiserPersonToCharity.php b/src/FacebookAds/Object/FundraiserPersonToCharity.php deleted file mode 100644 index 1d9b505ee..000000000 --- a/src/FacebookAds/Object/FundraiserPersonToCharity.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new FundraiserPersonToCharity(), - 'NODE', - FundraiserPersonToCharity::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GameItem.php b/src/FacebookAds/Object/GameItem.php deleted file mode 100644 index a686623c4..000000000 --- a/src/FacebookAds/Object/GameItem.php +++ /dev/null @@ -1,82 +0,0 @@ -getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GameItem(), - 'NODE', - GameItem::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GameTime.php b/src/FacebookAds/Object/GameTime.php deleted file mode 100644 index 15bcdc527..000000000 --- a/src/FacebookAds/Object/GameTime.php +++ /dev/null @@ -1,82 +0,0 @@ -getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GameTime(), - 'NODE', - GameTime::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GamesPersona.php b/src/FacebookAds/Object/GamesPersona.php deleted file mode 100644 index f398e29d5..000000000 --- a/src/FacebookAds/Object/GamesPersona.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GamesPersona(), - 'NODE', - GamesPersona::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GamesStat.php b/src/FacebookAds/Object/GamesStat.php deleted file mode 100644 index 9e2e26ca4..000000000 --- a/src/FacebookAds/Object/GamesStat.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GamesStat(), - 'NODE', - GamesStat::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GenericVideoAsset.php b/src/FacebookAds/Object/GenericVideoAsset.php deleted file mode 100644 index 84afda91d..000000000 --- a/src/FacebookAds/Object/GenericVideoAsset.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GenericVideoAsset(), - 'NODE', - GenericVideoAsset::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/GeoArea.php b/src/FacebookAds/Object/GeoArea.php deleted file mode 100644 index 4b08f14e9..000000000 --- a/src/FacebookAds/Object/GeoArea.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new GeoArea(), - 'NODE', - GeoArea::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/HashedUser.php b/src/FacebookAds/Object/HashedUser.php deleted file mode 100644 index 8e79bdff8..000000000 --- a/src/FacebookAds/Object/HashedUser.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new HashedUser(), - 'NODE', - HashedUser::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/HomeServiceProvider.php b/src/FacebookAds/Object/HomeServiceProvider.php deleted file mode 100644 index c3911aab7..000000000 --- a/src/FacebookAds/Object/HomeServiceProvider.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new HomeServiceProvider(), - 'NODE', - HomeServiceProvider::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/HotelCatalogSettings.php b/src/FacebookAds/Object/HotelCatalogSettings.php deleted file mode 100644 index a58f4e807..000000000 --- a/src/FacebookAds/Object/HotelCatalogSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new HotelCatalogSettings(), - 'NODE', - HotelCatalogSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/IPObject.php b/src/FacebookAds/Object/IPObject.php deleted file mode 100644 index c0ff5041d..000000000 --- a/src/FacebookAds/Object/IPObject.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new IPObject(), - 'NODE', - IPObject::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/InstagramBusiness.php b/src/FacebookAds/Object/InstagramBusiness.php deleted file mode 100644 index e33d144b1..000000000 --- a/src/FacebookAds/Object/InstagramBusiness.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/adaccounts', - new AdAccount(), - 'EDGE', - AdAccount::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new InstagramBusiness(), - 'NODE', - InstagramBusiness::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/InstagramComment.php b/src/FacebookAds/Object/InstagramComment.php deleted file mode 100644 index 6e686a068..000000000 --- a/src/FacebookAds/Object/InstagramComment.php +++ /dev/null @@ -1,129 +0,0 @@ -assureId(); - - $param_types = array( - 'ad_id' => 'Object', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/', - new AbstractCrudObject(), - 'NODE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new InstagramComment(), - 'NODE', - InstagramComment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function updateSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'ad_id' => 'Object', - 'hide' => 'bool', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/', - new InstagramComment(), - 'NODE', - InstagramComment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/InstagramUser.php b/src/FacebookAds/Object/InstagramUser.php deleted file mode 100644 index be21d1fa3..000000000 --- a/src/FacebookAds/Object/InstagramUser.php +++ /dev/null @@ -1,225 +0,0 @@ -assureId(); - - $param_types = array( - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/agencies', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getAgencies(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/agencies', - new Business(), - 'EDGE', - Business::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createAgency(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/agencies', - new InstagramUser(), - 'EDGE', - InstagramUser::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function deleteAuthorizedAdAccounts(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'account_id' => 'string', - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/authorized_adaccounts', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getAuthorizedAdAccounts(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/authorized_adaccounts', - new AdAccount(), - 'EDGE', - AdAccount::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createAuthorizedAdAccount(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'account_id' => 'string', - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/authorized_adaccounts', - new InstagramUser(), - 'EDGE', - InstagramUser::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new InstagramUser(), - 'NODE', - InstagramUser::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/JobOpening.php b/src/FacebookAds/Object/JobOpening.php deleted file mode 100644 index 1e06ed7f6..000000000 --- a/src/FacebookAds/Object/JobOpening.php +++ /dev/null @@ -1,88 +0,0 @@ -getValues(); - $ref_enums['PlatformReviewStatus'] = JobOpeningPlatformReviewStatusValues::getInstance()->getValues(); - $ref_enums['ReviewRejectionReasons'] = JobOpeningReviewRejectionReasonsValues::getInstance()->getValues(); - $ref_enums['Type'] = JobOpeningTypeValues::getInstance()->getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new JobOpening(), - 'NODE', - JobOpening::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/LeadGenDataDraft.php b/src/FacebookAds/Object/LeadGenDataDraft.php index ec3856e54..b52b1ce2d 100644 --- a/src/FacebookAds/Object/LeadGenDataDraft.php +++ b/src/FacebookAds/Object/LeadGenDataDraft.php @@ -87,7 +87,6 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe $param_types = array( 'name' => 'string', 'locale' => 'locale_enum', - 'allow_organic_lead_retrieval' => 'bool', 'block_display_for_non_targeted_viewer' => 'bool', 'follow_up_action_url' => 'string', 'legal_content_id' => 'string', diff --git a/src/FacebookAds/Object/LeadGenDirectCRMIntegrationThirdPartyApp.php b/src/FacebookAds/Object/LeadGenDirectCRMIntegrationThirdPartyApp.php deleted file mode 100644 index 769afd8e1..000000000 --- a/src/FacebookAds/Object/LeadGenDirectCRMIntegrationThirdPartyApp.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new LeadGenDirectCRMIntegrationThirdPartyApp(), - 'NODE', - LeadGenDirectCRMIntegrationThirdPartyApp::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/LiveEncoder.php b/src/FacebookAds/Object/LiveEncoder.php deleted file mode 100644 index fbb01b3b3..000000000 --- a/src/FacebookAds/Object/LiveEncoder.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new LiveEncoder(), - 'NODE', - LiveEncoder::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/LoomConfig.php b/src/FacebookAds/Object/LoomConfig.php deleted file mode 100644 index 6a6495129..000000000 --- a/src/FacebookAds/Object/LoomConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new LoomConfig(), - 'NODE', - LoomConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MHubTermsOfService.php b/src/FacebookAds/Object/MHubTermsOfService.php deleted file mode 100644 index 389598ba0..000000000 --- a/src/FacebookAds/Object/MHubTermsOfService.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MHubTermsOfService(), - 'NODE', - MHubTermsOfService::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MarketingArea.php b/src/FacebookAds/Object/MarketingArea.php deleted file mode 100644 index e45a685cd..000000000 --- a/src/FacebookAds/Object/MarketingArea.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MarketingArea(), - 'NODE', - MarketingArea::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MeasurementPlayground.php b/src/FacebookAds/Object/MeasurementPlayground.php deleted file mode 100644 index dd786ae40..000000000 --- a/src/FacebookAds/Object/MeasurementPlayground.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MeasurementPlayground(), - 'NODE', - MeasurementPlayground::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MediaCopyrightAttribution.php b/src/FacebookAds/Object/MediaCopyrightAttribution.php deleted file mode 100644 index e91c465ab..000000000 --- a/src/FacebookAds/Object/MediaCopyrightAttribution.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MediaCopyrightAttribution(), - 'NODE', - MediaCopyrightAttribution::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MediaTitle.php b/src/FacebookAds/Object/MediaTitle.php deleted file mode 100644 index d74acb1eb..000000000 --- a/src/FacebookAds/Object/MediaTitle.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MediaTitle(), - 'NODE', - MediaTitle::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Menu.php b/src/FacebookAds/Object/Menu.php deleted file mode 100644 index 558683777..000000000 --- a/src/FacebookAds/Object/Menu.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Menu(), - 'NODE', - Menu::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MessagingSuggestedGroup.php b/src/FacebookAds/Object/MessagingSuggestedGroup.php deleted file mode 100644 index 2bf1a4cf1..000000000 --- a/src/FacebookAds/Object/MessagingSuggestedGroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MessagingSuggestedGroup(), - 'NODE', - MessagingSuggestedGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/MessengerAdsPartialAutomatedStepList.php b/src/FacebookAds/Object/MessengerAdsPartialAutomatedStepList.php deleted file mode 100644 index e7b52e81f..000000000 --- a/src/FacebookAds/Object/MessengerAdsPartialAutomatedStepList.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new MessengerAdsPartialAutomatedStepList(), - 'NODE', - MessengerAdsPartialAutomatedStepList::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/NotaFiscal.php b/src/FacebookAds/Object/NotaFiscal.php deleted file mode 100644 index c32e63742..000000000 --- a/src/FacebookAds/Object/NotaFiscal.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new NotaFiscal(), - 'NODE', - NotaFiscal::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Offer.php b/src/FacebookAds/Object/Offer.php deleted file mode 100644 index a27f3a4cf..000000000 --- a/src/FacebookAds/Object/Offer.php +++ /dev/null @@ -1,172 +0,0 @@ -assureId(); - - $param_types = array( - 'object_id' => 'string', - 'parent_comment_id' => 'Object', - 'nectar_module' => 'string', - 'attachment_id' => 'string', - 'attachment_url' => 'string', - 'attachment_share_url' => 'string', - 'feedback_source' => 'string', - 'facepile_mentioned_ids' => 'list', - 'is_offline' => 'bool', - 'comment_privacy_value' => 'comment_privacy_value_enum', - 'message' => 'string', - 'text' => 'string', - 'tracking' => 'string', - ); - $enums = array( - 'comment_privacy_value_enum' => CommentCommentPrivacyValueValues::getInstance()->getValues(), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/comments', - new Comment(), - 'EDGE', - Comment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function deleteLikes(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'tracking' => 'string', - 'nectar_module' => 'string', - 'notify' => 'bool', - 'feedback_source' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/likes', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createLike(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'tracking' => 'string', - 'nectar_module' => 'string', - 'notify' => 'bool', - 'feedback_source' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/likes', - new Offer(), - 'EDGE', - Offer::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Offer(), - 'NODE', - Offer::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Page.php b/src/FacebookAds/Object/Page.php index 01898126d..fd2164eb9 100644 --- a/src/FacebookAds/Object/Page.php +++ b/src/FacebookAds/Object/Page.php @@ -89,11 +89,9 @@ use FacebookAds\Object\Values\PagePublishStatusValues; use FacebookAds\Object\Values\PageSavedFilterSectionValues; use FacebookAds\Object\Values\PageSenderActionValues; -use FacebookAds\Object\Values\PageSettingTypeValues; use FacebookAds\Object\Values\PageSettingValues; use FacebookAds\Object\Values\PageSubscribedFieldsValues; use FacebookAds\Object\Values\PageTasksValues; -use FacebookAds\Object\Values\PageThreadStateValues; use FacebookAds\Object\Values\PageTypeValues; use FacebookAds\Object\Values\PhotoBackdatedTimeGranularityValues; use FacebookAds\Object\Values\PhotoTypeValues; @@ -102,8 +100,6 @@ use FacebookAds\Object\Values\SavedMessageResponseCategoryValues; use FacebookAds\Object\Values\UserTasksValues; use FacebookAds\Object\Values\VideoCopyrightContentCategoryValues; -use FacebookAds\Object\Values\VideoCopyrightMatchActionValues; -use FacebookAds\Object\Values\VideoCopyrightMatchMatchContentTypeValues; use FacebookAds\Object\Values\VideoCopyrightMonitoringTypeValues; use FacebookAds\Object\Values\VideoCopyrightRuleSourceValues; @@ -150,8 +146,6 @@ protected static function getReferencedEnums() { $ref_enums['SubscribedFields'] = PageSubscribedFieldsValues::getInstance()->getValues(); $ref_enums['DomainActionType'] = PageDomainActionTypeValues::getInstance()->getValues(); $ref_enums['PaymentDevModeAction'] = PagePaymentDevModeActionValues::getInstance()->getValues(); - $ref_enums['SettingType'] = PageSettingTypeValues::getInstance()->getValues(); - $ref_enums['ThreadState'] = PageThreadStateValues::getInstance()->getValues(); return $ref_enums; } @@ -232,7 +226,7 @@ public function createAdminNote(array $fields = array(), array $params = array() return $pending ? $request : $request->execute(); } - public function createAdMInSetting(array $fields = array(), array $params = array(), $pending = false) { + public function createAdminSetting(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -310,7 +304,7 @@ public function createAdmin(array $fields = array(), array $params = array(), $p return $pending ? $request : $request->execute(); } - public function createAdMInStickySetting(array $fields = array(), array $params = array(), $pending = false) { + public function createAdminStickySetting(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1069,6 +1063,7 @@ public function getConversations(array $fields = array(), array $params = array( $param_types = array( 'tags' => 'list', 'folder' => 'string', + 'psid' => 'Object', ); $enums = array( ); @@ -1099,8 +1094,18 @@ public function createCopyrightManualClaim(array $fields = array(), array $param 'countries' => 'Object', ); $enums = array( - 'match_content_type_enum' => VideoCopyrightMatchMatchContentTypeValues::getInstance()->getValues(), - 'action_enum' => VideoCopyrightMatchActionValues::getInstance()->getValues(), + 'match_content_type_enum' => array( + 'VIDEO_AND_AUDIO', + 'VIDEO_ONLY', + 'AUDIO_ONLY', + ), + 'action_enum' => array( + 'MANUAL_REVIEW', + 'MONITOR', + 'BLOCK', + 'CLAIM_AD_EARNINGS', + 'REQUEST_TAKEDOWN', + ), ); $request = new ApiRequest( @@ -1108,9 +1113,9 @@ public function createCopyrightManualClaim(array $fields = array(), array $param $this->data['id'], RequestInterface::METHOD_POST, '/copyright_manual_claims', - new VideoCopyrightMatch(), + new AbstractCrudObject(), 'EDGE', - VideoCopyrightMatch::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2038,7 +2043,7 @@ public function createLeadGenContextCard(array $fields = array(), array $params return $pending ? $request : $request->execute(); } - public function getLeadGenDraftForMs(array $fields = array(), array $params = array(), $pending = false) { + public function getLeadGenDraftForms(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2061,13 +2066,12 @@ public function getLeadGenDraftForMs(array $fields = array(), array $params = ar return $pending ? $request : $request->execute(); } - public function createLeadGenDraftForM(array $fields = array(), array $params = array(), $pending = false) { + public function createLeadGenDraftForm(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( 'name' => 'string', 'locale' => 'locale_enum', - 'allow_organic_lead_retrieval' => 'bool', 'block_display_for_non_targeted_viewer' => 'bool', 'follow_up_action_url' => 'string', 'legal_content_id' => 'string', @@ -3139,9 +3143,9 @@ public function createPageBackedInstagramAccount(array $fields = array(), array $this->data['id'], RequestInterface::METHOD_POST, '/page_backed_instagram_accounts', - new InstagramUser(), + new AbstractCrudObject(), 'EDGE', - InstagramUser::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -4236,8 +4240,17 @@ public function deleteThreadSettings(array $fields = array(), array $params = ar 'thread_state' => 'thread_state_enum', ); $enums = array( - 'setting_type_enum' => PageSettingTypeValues::getInstance()->getValues(), - 'thread_state_enum' => PageThreadStateValues::getInstance()->getValues(), + 'setting_type_enum' => array( + 'ACCOUNT_LINKING', + 'CALL_TO_ACTIONS', + 'GREETING', + 'DOMAIN_WHITELISTING', + 'PAYMENT', + ), + 'thread_state_enum' => array( + 'NEW_THREAD', + 'EXISTING_THREAD', + ), ); $request = new ApiRequest( @@ -4295,8 +4308,17 @@ public function createThreadSetting(array $fields = array(), array $params = arr 'payment_testers' => 'list', ); $enums = array( - 'setting_type_enum' => PageSettingTypeValues::getInstance()->getValues(), - 'thread_state_enum' => PageThreadStateValues::getInstance()->getValues(), + 'setting_type_enum' => array( + 'ACCOUNT_LINKING', + 'CALL_TO_ACTIONS', + 'GREETING', + 'DOMAIN_WHITELISTING', + 'PAYMENT', + ), + 'thread_state_enum' => array( + 'NEW_THREAD', + 'EXISTING_THREAD', + ), 'domain_action_type_enum' => PageDomainActionTypeValues::getInstance()->getValues(), 'payment_dev_mode_action_enum' => PagePaymentDevModeActionValues::getInstance()->getValues(), ); @@ -4322,6 +4344,7 @@ public function getThreads(array $fields = array(), array $params = array(), $pe $param_types = array( 'tags' => 'list', 'folder' => 'string', + 'psid' => 'Object', ); $enums = array( ); diff --git a/src/FacebookAds/Object/PageAppWithLeadsAccess.php b/src/FacebookAds/Object/PageAppWithLeadsAccess.php deleted file mode 100644 index c5bb65f4e..000000000 --- a/src/FacebookAds/Object/PageAppWithLeadsAccess.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageAppWithLeadsAccess(), - 'NODE', - PageAppWithLeadsAccess::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageBreakingNewsUsage.php b/src/FacebookAds/Object/PageBreakingNewsUsage.php deleted file mode 100644 index fdb168927..000000000 --- a/src/FacebookAds/Object/PageBreakingNewsUsage.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageBreakingNewsUsage(), - 'NODE', - PageBreakingNewsUsage::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageCustomerInsights.php b/src/FacebookAds/Object/PageCustomerInsights.php deleted file mode 100644 index a4baa618e..000000000 --- a/src/FacebookAds/Object/PageCustomerInsights.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageCustomerInsights(), - 'NODE', - PageCustomerInsights::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageDirectIntegrationCrmWithLeadsAccess.php b/src/FacebookAds/Object/PageDirectIntegrationCrmWithLeadsAccess.php deleted file mode 100644 index c95fac86a..000000000 --- a/src/FacebookAds/Object/PageDirectIntegrationCrmWithLeadsAccess.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageDirectIntegrationCrmWithLeadsAccess(), - 'NODE', - PageDirectIntegrationCrmWithLeadsAccess::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageLeadsAccessConfig.php b/src/FacebookAds/Object/PageLeadsAccessConfig.php deleted file mode 100644 index 194a17d53..000000000 --- a/src/FacebookAds/Object/PageLeadsAccessConfig.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageLeadsAccessConfig(), - 'NODE', - PageLeadsAccessConfig::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageMessageResponsivenessMetrics.php b/src/FacebookAds/Object/PageMessageResponsivenessMetrics.php deleted file mode 100644 index cb1a46f3d..000000000 --- a/src/FacebookAds/Object/PageMessageResponsivenessMetrics.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageMessageResponsivenessMetrics(), - 'NODE', - PageMessageResponsivenessMetrics::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PagePartnerWithLeadsAccess.php b/src/FacebookAds/Object/PagePartnerWithLeadsAccess.php deleted file mode 100644 index 8698a894b..000000000 --- a/src/FacebookAds/Object/PagePartnerWithLeadsAccess.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PagePartnerWithLeadsAccess(), - 'NODE', - PagePartnerWithLeadsAccess::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PagePostExperiment.php b/src/FacebookAds/Object/PagePostExperiment.php deleted file mode 100644 index 06cb654e6..000000000 --- a/src/FacebookAds/Object/PagePostExperiment.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PagePostExperiment(), - 'NODE', - PagePostExperiment::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageStatusCard.php b/src/FacebookAds/Object/PageStatusCard.php deleted file mode 100644 index e0674f65d..000000000 --- a/src/FacebookAds/Object/PageStatusCard.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageStatusCard(), - 'NODE', - PageStatusCard::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageStoreVisitsCustomAudiencesEligibleCountries.php b/src/FacebookAds/Object/PageStoreVisitsCustomAudiencesEligibleCountries.php deleted file mode 100644 index 6bc099661..000000000 --- a/src/FacebookAds/Object/PageStoreVisitsCustomAudiencesEligibleCountries.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageStoreVisitsCustomAudiencesEligibleCountries(), - 'NODE', - PageStoreVisitsCustomAudiencesEligibleCountries::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PageUserWithLeadsAccess.php b/src/FacebookAds/Object/PageUserWithLeadsAccess.php deleted file mode 100644 index 9ea0ad961..000000000 --- a/src/FacebookAds/Object/PageUserWithLeadsAccess.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PageUserWithLeadsAccess(), - 'NODE', - PageUserWithLeadsAccess::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PagesPlatformComponentFlow.php b/src/FacebookAds/Object/PagesPlatformComponentFlow.php deleted file mode 100644 index 49f14efe0..000000000 --- a/src/FacebookAds/Object/PagesPlatformComponentFlow.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PagesPlatformComponentFlow(), - 'NODE', - PagesPlatformComponentFlow::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PartnerStudy.php b/src/FacebookAds/Object/PartnerStudy.php deleted file mode 100644 index 2d8dd3278..000000000 --- a/src/FacebookAds/Object/PartnerStudy.php +++ /dev/null @@ -1,126 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/partners', - new AdsDataPartner(), - 'EDGE', - AdsDataPartner::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSubmitters(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/submitters', - new User(), - 'EDGE', - User::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PartnerStudy(), - 'NODE', - PartnerStudy::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PersistentStreamProfile.php b/src/FacebookAds/Object/PersistentStreamProfile.php deleted file mode 100644 index ade5554ec..000000000 --- a/src/FacebookAds/Object/PersistentStreamProfile.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PersistentStreamProfile(), - 'NODE', - PersistentStreamProfile::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/PersonalAdsPersona.php b/src/FacebookAds/Object/PersonalAdsPersona.php deleted file mode 100644 index 8b4ec2690..000000000 --- a/src/FacebookAds/Object/PersonalAdsPersona.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new PersonalAdsPersona(), - 'NODE', - PersonalAdsPersona::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ProductFeed.php b/src/FacebookAds/Object/ProductFeed.php index a813c5596..b97baeeca 100644 --- a/src/FacebookAds/Object/ProductFeed.php +++ b/src/FacebookAds/Object/ProductFeed.php @@ -33,7 +33,6 @@ use FacebookAds\Object\Values\ProductFeedEncodingValues; use FacebookAds\Object\Values\ProductFeedFeedTypeValues; use FacebookAds\Object\Values\ProductFeedQuotedFieldsModeValues; -use FacebookAds\Object\Values\ProductFeedRuleRuleTypeValues; /** * This class is auto-generated. @@ -233,9 +232,9 @@ public function getRules(array $fields = array(), array $params = array(), $pend $this->data['id'], RequestInterface::METHOD_GET, '/rules', - new ProductFeedRule(), + new AbstractCrudObject(), 'EDGE', - ProductFeedRule::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -252,7 +251,13 @@ public function createRule(array $fields = array(), array $params = array(), $pe 'rule_type' => 'rule_type_enum', ); $enums = array( - 'rule_type_enum' => ProductFeedRuleRuleTypeValues::getInstance()->getValues(), + 'rule_type_enum' => array( + 'mapping_rule', + 'value_mapping_rule', + 'letter_case_rule', + 'fallback_rule', + 'regex_replace_rule', + ), ); $request = new ApiRequest( @@ -260,9 +265,9 @@ public function createRule(array $fields = array(), array $params = array(), $pe $this->data['id'], RequestInterface::METHOD_POST, '/rules', - new ProductFeedRule(), + new AbstractCrudObject(), 'EDGE', - ProductFeedRule::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/ProductFeedRule.php b/src/FacebookAds/Object/ProductFeedRule.php deleted file mode 100644 index 8d47927bf..000000000 --- a/src/FacebookAds/Object/ProductFeedRule.php +++ /dev/null @@ -1,82 +0,0 @@ -getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ProductFeedRule(), - 'NODE', - ProductFeedRule::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ProductFeedRulePreviewSample.php b/src/FacebookAds/Object/ProductFeedRulePreviewSample.php deleted file mode 100644 index d7ff2985b..000000000 --- a/src/FacebookAds/Object/ProductFeedRulePreviewSample.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ProductFeedRulePreviewSample(), - 'NODE', - ProductFeedRulePreviewSample::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ProductFeedRuleSuggestion.php b/src/FacebookAds/Object/ProductFeedRuleSuggestion.php deleted file mode 100644 index 4e4a39a90..000000000 --- a/src/FacebookAds/Object/ProductFeedRuleSuggestion.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ProductFeedRuleSuggestion(), - 'NODE', - ProductFeedRuleSuggestion::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ProductItemOffer.php b/src/FacebookAds/Object/ProductItemOffer.php deleted file mode 100644 index 27e808d34..000000000 --- a/src/FacebookAds/Object/ProductItemOffer.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ProductItemOffer(), - 'NODE', - ProductItemOffer::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/RTBDynamicPost.php b/src/FacebookAds/Object/RTBDynamicPost.php index 3e90d5824..b6da5ed10 100644 --- a/src/FacebookAds/Object/RTBDynamicPost.php +++ b/src/FacebookAds/Object/RTBDynamicPost.php @@ -100,9 +100,9 @@ public function getInstagramComments(array $fields = array(), array $params = ar $this->data['id'], RequestInterface::METHOD_GET, '/instagram_comments', - new InstagramComment(), + new AbstractCrudObject(), 'EDGE', - InstagramComment::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/RateCard.php b/src/FacebookAds/Object/RateCard.php deleted file mode 100644 index e1d67699e..000000000 --- a/src/FacebookAds/Object/RateCard.php +++ /dev/null @@ -1,87 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new RateCard(), - 'NODE', - RateCard::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ResearchPollStudy.php b/src/FacebookAds/Object/ResearchPollStudy.php deleted file mode 100644 index 58509dd14..000000000 --- a/src/FacebookAds/Object/ResearchPollStudy.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new ResearchPollStudy(), - 'NODE', - ResearchPollStudy::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Robot.php b/src/FacebookAds/Object/Robot.php deleted file mode 100644 index 2d6ecc678..000000000 --- a/src/FacebookAds/Object/Robot.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Robot(), - 'NODE', - Robot::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/SearchDialogData.php b/src/FacebookAds/Object/SearchDialogData.php deleted file mode 100644 index c1541d673..000000000 --- a/src/FacebookAds/Object/SearchDialogData.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new SearchDialogData(), - 'NODE', - SearchDialogData::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/ShadowIGUser.php b/src/FacebookAds/Object/ShadowIGUser.php index 8c6c79272..84c5d5f02 100644 --- a/src/FacebookAds/Object/ShadowIGUser.php +++ b/src/FacebookAds/Object/ShadowIGUser.php @@ -92,6 +92,7 @@ public function createMedia(array $fields = array(), array $params = array(), $p 'media_type' => 'string', 'caption' => 'string', 'image_url' => 'string', + 'thumb_offset' => 'string', 'children' => 'list', ); $enums = array( diff --git a/src/FacebookAds/Object/SimpleAttributionWebhook.php b/src/FacebookAds/Object/SimpleAttributionWebhook.php deleted file mode 100644 index 26e393e0a..000000000 --- a/src/FacebookAds/Object/SimpleAttributionWebhook.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new SimpleAttributionWebhook(), - 'NODE', - SimpleAttributionWebhook::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/SpacoDsDataCollection.php b/src/FacebookAds/Object/SpacoDsDataCollection.php deleted file mode 100644 index 626ca64b8..000000000 --- a/src/FacebookAds/Object/SpacoDsDataCollection.php +++ /dev/null @@ -1,87 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new SpacoDsDataCollection(), - 'NODE', - SpacoDsDataCollection::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/StonehengeSubscriptionPublisher.php b/src/FacebookAds/Object/StonehengeSubscriptionPublisher.php deleted file mode 100644 index bcd7b0c65..000000000 --- a/src/FacebookAds/Object/StonehengeSubscriptionPublisher.php +++ /dev/null @@ -1,81 +0,0 @@ -assureId(); - - $param_types = array( - 'content_tier_breakdown_days' => 'unsigned int', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new StonehengeSubscriptionPublisher(), - 'NODE', - StonehengeSubscriptionPublisher::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/StoreCatalogSettings.php b/src/FacebookAds/Object/StoreCatalogSettings.php deleted file mode 100644 index 60cb6f937..000000000 --- a/src/FacebookAds/Object/StoreCatalogSettings.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new StoreCatalogSettings(), - 'NODE', - StoreCatalogSettings::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/SuggestedProductSet.php b/src/FacebookAds/Object/SuggestedProductSet.php deleted file mode 100644 index 6d7636c37..000000000 --- a/src/FacebookAds/Object/SuggestedProductSet.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new SuggestedProductSet(), - 'NODE', - SuggestedProductSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/TarotDigest.php b/src/FacebookAds/Object/TarotDigest.php deleted file mode 100644 index 0d2068f6b..000000000 --- a/src/FacebookAds/Object/TarotDigest.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/sharedposts', - new Post(), - 'EDGE', - Post::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new TarotDigest(), - 'NODE', - TarotDigest::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Topic.php b/src/FacebookAds/Object/Topic.php deleted file mode 100644 index f282ff391..000000000 --- a/src/FacebookAds/Object/Topic.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Topic(), - 'NODE', - Topic::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/Transaction.php b/src/FacebookAds/Object/Transaction.php deleted file mode 100644 index 4ae5d9cb8..000000000 --- a/src/FacebookAds/Object/Transaction.php +++ /dev/null @@ -1,89 +0,0 @@ -getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new Transaction(), - 'NODE', - Transaction::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/TransactionDetails.php b/src/FacebookAds/Object/TransactionDetails.php deleted file mode 100644 index f54bcdd08..000000000 --- a/src/FacebookAds/Object/TransactionDetails.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new TransactionDetails(), - 'NODE', - TransactionDetails::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/TrustMetrics.php b/src/FacebookAds/Object/TrustMetrics.php deleted file mode 100644 index 7cca4ceb5..000000000 --- a/src/FacebookAds/Object/TrustMetrics.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new TrustMetrics(), - 'NODE', - TrustMetrics::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/UniqueAdCreative.php b/src/FacebookAds/Object/UniqueAdCreative.php deleted file mode 100644 index e86cfac2b..000000000 --- a/src/FacebookAds/Object/UniqueAdCreative.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new UniqueAdCreative(), - 'NODE', - UniqueAdCreative::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/User.php b/src/FacebookAds/Object/User.php index 78f183451..93f5cdf44 100644 --- a/src/FacebookAds/Object/User.php +++ b/src/FacebookAds/Object/User.php @@ -42,8 +42,6 @@ use FacebookAds\Object\Values\FavoriteRequestApiVersionValues; use FacebookAds\Object\Values\FavoriteRequestHttpMethodValues; use FacebookAds\Object\Values\FriendListListTypeValues; -use FacebookAds\Object\Values\GameItemActionValues; -use FacebookAds\Object\Values\GameTimeActionValues; use FacebookAds\Object\Values\LinkUnpublishedContentTypeValues; use FacebookAds\Object\Values\LiveVideoBroadcastStatusValues; use FacebookAds\Object\Values\LiveVideoProjectionValues; @@ -859,6 +857,7 @@ public function getConversations(array $fields = array(), array $params = array( $param_types = array( 'tags' => 'list', 'folder' => 'string', + 'psid' => 'Object', ); $enums = array( ); @@ -1318,7 +1317,11 @@ public function createGameItem(array $fields = array(), array $params = array(), 'app_id' => 'Object', ); $enums = array( - 'action_enum' => GameItemActionValues::getInstance()->getValues(), + 'action_enum' => array( + 'MARK', + 'CONSUME', + 'DROP', + ), ); $request = new ApiRequest( @@ -1326,9 +1329,9 @@ public function createGameItem(array $fields = array(), array $params = array(), $this->data['id'], RequestInterface::METHOD_POST, '/game_items', - new GameItem(), + new AbstractCrudObject(), 'EDGE', - GameItem::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1343,7 +1346,11 @@ public function createGameTime(array $fields = array(), array $params = array(), 'action' => 'action_enum', ); $enums = array( - 'action_enum' => GameTimeActionValues::getInstance()->getValues(), + 'action_enum' => array( + 'START', + 'HEARTBEAT', + 'END', + ), ); $request = new ApiRequest( @@ -1351,9 +1358,9 @@ public function createGameTime(array $fields = array(), array $params = array(), $this->data['id'], RequestInterface::METHOD_POST, '/game_times', - new GameTime(), + new AbstractCrudObject(), 'EDGE', - GameTime::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1401,9 +1408,9 @@ public function createGamesStat(array $fields = array(), array $params = array() $this->data['id'], RequestInterface::METHOD_POST, '/games_stats', - new GamesStat(), + new AbstractCrudObject(), 'EDGE', - GamesStat::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1795,9 +1802,9 @@ public function createLiveEncoder(array $fields = array(), array $params = array $this->data['id'], RequestInterface::METHOD_POST, '/live_encoders', - new LiveEncoder(), + new AbstractCrudObject(), 'EDGE', - LiveEncoder::getFieldsEnum()->getValues(), + array(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2330,6 +2337,7 @@ public function createPaymentAccountEmail(array $fields = array(), array $params 'NMOR_PPGF_DONATION', 'NMOR_ADVERTISER_SUBSCRIPTION', 'NMOR_WHATSAPP_P2M', + 'NMOR_MOVIE_TICKETING', 'IG_NMOR_P2B', 'NMOR_INSTAGRAM_P2B', ), @@ -2425,6 +2433,7 @@ public function createPaymentAccountPhone(array $fields = array(), array $params 'NMOR_PPGF_DONATION', 'NMOR_ADVERTISER_SUBSCRIPTION', 'NMOR_WHATSAPP_P2M', + 'NMOR_MOVIE_TICKETING', 'IG_NMOR_P2B', 'NMOR_INSTAGRAM_P2B', ), @@ -3019,6 +3028,7 @@ public function getThreads(array $fields = array(), array $params = array(), $pe $param_types = array( 'tags' => 'list', 'folder' => 'string', + 'psid' => 'Object', ); $enums = array( ); diff --git a/src/FacebookAds/Object/UserPaymentMethodsInfo.php b/src/FacebookAds/Object/UserPaymentMethodsInfo.php index fc9378f8c..162cbebe0 100644 --- a/src/FacebookAds/Object/UserPaymentMethodsInfo.php +++ b/src/FacebookAds/Object/UserPaymentMethodsInfo.php @@ -99,6 +99,7 @@ public function getSelf(array $fields = array(), array $params = array(), $pendi 'ppgf_donation', 'advertiser_subscription', 'whatsapp_p2m', + 'movie_ticketing', ), 'payment_type_enum' => array( 'none', diff --git a/src/FacebookAds/Object/UserPaymentModulesOptions.php b/src/FacebookAds/Object/UserPaymentModulesOptions.php index 2eca76395..5d2d7adbe 100644 --- a/src/FacebookAds/Object/UserPaymentModulesOptions.php +++ b/src/FacebookAds/Object/UserPaymentModulesOptions.php @@ -131,6 +131,7 @@ public function getSelf(array $fields = array(), array $params = array(), $pendi 'NMOR_PPGF_DONATION', 'NMOR_ADVERTISER_SUBSCRIPTION', 'NMOR_WHATSAPP_P2M', + 'NMOR_MOVIE_TICKETING', 'IG_NMOR_P2B', 'NMOR_INSTAGRAM_P2B', ), diff --git a/src/FacebookAds/Object/Values/AdAssetFeedOptimizationTypeValues.php b/src/FacebookAds/Object/Values/AdAssetFeedOptimizationTypeValues.php index 7d8c2dada..c5de0fb76 100644 --- a/src/FacebookAds/Object/Values/AdAssetFeedOptimizationTypeValues.php +++ b/src/FacebookAds/Object/Values/AdAssetFeedOptimizationTypeValues.php @@ -44,4 +44,5 @@ class AdAssetFeedOptimizationTypeValues extends AbstractEnum { const BRAND = 'BRAND'; const ASSET_CUSTOMIZATION = 'ASSET_CUSTOMIZATION'; const DCO_PARITY = 'DCO_PARITY'; + const PREVIEW_DYNAMIC_RENDERING = 'PREVIEW_DYNAMIC_RENDERING'; } diff --git a/src/FacebookAds/Object/Values/GameItemActionValues.php b/src/FacebookAds/Object/Values/AdsPixelDataUseSettingValues.php similarity index 85% rename from src/FacebookAds/Object/Values/GameItemActionValues.php rename to src/FacebookAds/Object/Values/AdsPixelDataUseSettingValues.php index 7f0b2c3c9..b9e6edf34 100644 --- a/src/FacebookAds/Object/Values/GameItemActionValues.php +++ b/src/FacebookAds/Object/Values/AdsPixelDataUseSettingValues.php @@ -33,11 +33,11 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static GameItemActionValues getInstance() + * @method static AdsPixelDataUseSettingValues getInstance() */ -class GameItemActionValues extends AbstractEnum { +class AdsPixelDataUseSettingValues extends AbstractEnum { - const MARK = 'MARK'; - const CONSUME = 'CONSUME'; - const DROP = 'DROP'; + const EMPTY = 'EMPTY'; + const ADVERTISING_AND_ANALYTICS = 'ADVERTISING_AND_ANALYTICS'; + const ANALYTICS_ONLY = 'ANALYTICS_ONLY'; } diff --git a/src/FacebookAds/Object/Values/JobOpeningPlatformReviewStatusValues.php b/src/FacebookAds/Object/Values/AdsPixelFirstPartyCookieStatusValues.php similarity index 83% rename from src/FacebookAds/Object/Values/JobOpeningPlatformReviewStatusValues.php rename to src/FacebookAds/Object/Values/AdsPixelFirstPartyCookieStatusValues.php index e8e9ff02a..d25a0ff76 100644 --- a/src/FacebookAds/Object/Values/JobOpeningPlatformReviewStatusValues.php +++ b/src/FacebookAds/Object/Values/AdsPixelFirstPartyCookieStatusValues.php @@ -33,11 +33,11 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static JobOpeningPlatformReviewStatusValues getInstance() + * @method static AdsPixelFirstPartyCookieStatusValues getInstance() */ -class JobOpeningPlatformReviewStatusValues extends AbstractEnum { +class AdsPixelFirstPartyCookieStatusValues extends AbstractEnum { - const PENDING = 'PENDING'; - const REJECTED = 'REJECTED'; - const APPROVED = 'APPROVED'; + const EMPTY = 'EMPTY'; + const FIRST_PARTY_COOKIE_ENABLED = 'FIRST_PARTY_COOKIE_ENABLED'; + const FIRST_PARTY_COOKIE_DISABLED = 'FIRST_PARTY_COOKIE_DISABLED'; } diff --git a/src/FacebookAds/Object/Values/AdsPixelStatsResultAggregationValues.php b/src/FacebookAds/Object/Values/AdsPixelStatsResultAggregationValues.php index cad9dee32..867520c6a 100644 --- a/src/FacebookAds/Object/Values/AdsPixelStatsResultAggregationValues.php +++ b/src/FacebookAds/Object/Values/AdsPixelStatsResultAggregationValues.php @@ -43,7 +43,14 @@ class AdsPixelStatsResultAggregationValues extends AbstractEnum { const DEVICE_TYPE = 'device_type'; const EVENT = 'event'; const HOST = 'host'; + const PEOPLE_REACHED = 'people_reached'; + const PII_KEYS = 'pii_keys'; + const PII_LIFT = 'pii_lift'; const PIXEL_FIRE = 'pixel_fire'; + const EVENT_DETECTION_METHOD = 'event_detection_method'; const URL = 'url'; + const EVENT_VALUE_COUNT = 'event_value_count'; + const URL_BY_RULE = 'url_by_rule'; const EVENT_TOTAL_COUNTS = 'event_total_counts'; + const EVENT_SOURCE = 'event_source'; } diff --git a/src/FacebookAds/Object/Values/BusinessAggregationPeriodValues.php b/src/FacebookAds/Object/Values/ApplicationAggregationPeriodValues.php similarity index 91% rename from src/FacebookAds/Object/Values/BusinessAggregationPeriodValues.php rename to src/FacebookAds/Object/Values/ApplicationAggregationPeriodValues.php index 114b8533e..c673a6ccd 100644 --- a/src/FacebookAds/Object/Values/BusinessAggregationPeriodValues.php +++ b/src/FacebookAds/Object/Values/ApplicationAggregationPeriodValues.php @@ -33,9 +33,9 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static BusinessAggregationPeriodValues getInstance() + * @method static ApplicationAggregationPeriodValues getInstance() */ -class BusinessAggregationPeriodValues extends AbstractEnum { +class ApplicationAggregationPeriodValues extends AbstractEnum { const HOUR = 'HOUR'; const DAY = 'DAY'; diff --git a/src/FacebookAds/Object/Values/BusinessBreakdownsValues.php b/src/FacebookAds/Object/Values/ApplicationBreakdownsValues.php similarity index 94% rename from src/FacebookAds/Object/Values/BusinessBreakdownsValues.php rename to src/FacebookAds/Object/Values/ApplicationBreakdownsValues.php index 50751d386..cbaa7363d 100644 --- a/src/FacebookAds/Object/Values/BusinessBreakdownsValues.php +++ b/src/FacebookAds/Object/Values/ApplicationBreakdownsValues.php @@ -33,9 +33,9 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static BusinessBreakdownsValues getInstance() + * @method static ApplicationBreakdownsValues getInstance() */ -class BusinessBreakdownsValues extends AbstractEnum { +class ApplicationBreakdownsValues extends AbstractEnum { const AGE = 'AGE'; const APP = 'APP'; diff --git a/src/FacebookAds/Object/Values/BusinessMetricsValues.php b/src/FacebookAds/Object/Values/ApplicationMetricsValues.php similarity index 97% rename from src/FacebookAds/Object/Values/BusinessMetricsValues.php rename to src/FacebookAds/Object/Values/ApplicationMetricsValues.php index f0898dd62..855cc180b 100644 --- a/src/FacebookAds/Object/Values/BusinessMetricsValues.php +++ b/src/FacebookAds/Object/Values/ApplicationMetricsValues.php @@ -33,9 +33,9 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static BusinessMetricsValues getInstance() + * @method static ApplicationMetricsValues getInstance() */ -class BusinessMetricsValues extends AbstractEnum { +class ApplicationMetricsValues extends AbstractEnum { const FB_AD_NETWORK_BIDDING_REQUEST = 'FB_AD_NETWORK_BIDDING_REQUEST'; const FB_AD_NETWORK_BIDDING_RESPONSE = 'FB_AD_NETWORK_BIDDING_RESPONSE'; diff --git a/src/FacebookAds/Object/Values/BusinessOrderingColumnValues.php b/src/FacebookAds/Object/Values/ApplicationOrderingColumnValues.php similarity index 92% rename from src/FacebookAds/Object/Values/BusinessOrderingColumnValues.php rename to src/FacebookAds/Object/Values/ApplicationOrderingColumnValues.php index c8e07001a..47db62dfc 100644 --- a/src/FacebookAds/Object/Values/BusinessOrderingColumnValues.php +++ b/src/FacebookAds/Object/Values/ApplicationOrderingColumnValues.php @@ -33,9 +33,9 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static BusinessOrderingColumnValues getInstance() + * @method static ApplicationOrderingColumnValues getInstance() */ -class BusinessOrderingColumnValues extends AbstractEnum { +class ApplicationOrderingColumnValues extends AbstractEnum { const TIME = 'TIME'; const VALUE = 'VALUE'; diff --git a/src/FacebookAds/Object/Values/BusinessOrderingTypeValues.php b/src/FacebookAds/Object/Values/ApplicationOrderingTypeValues.php similarity index 92% rename from src/FacebookAds/Object/Values/BusinessOrderingTypeValues.php rename to src/FacebookAds/Object/Values/ApplicationOrderingTypeValues.php index 72bf3ebd7..3a071d8de 100644 --- a/src/FacebookAds/Object/Values/BusinessOrderingTypeValues.php +++ b/src/FacebookAds/Object/Values/ApplicationOrderingTypeValues.php @@ -33,9 +33,9 @@ * on github and we'll fix in our codegen framework. We'll not be able to accept * pull request for this class. * - * @method static BusinessOrderingTypeValues getInstance() + * @method static ApplicationOrderingTypeValues getInstance() */ -class BusinessOrderingTypeValues extends AbstractEnum { +class ApplicationOrderingTypeValues extends AbstractEnum { const ASCENDING = 'ASCENDING'; const DESCENDING = 'DESCENDING'; diff --git a/src/FacebookAds/Object/Values/GameTimeActionValues.php b/src/FacebookAds/Object/Values/GameTimeActionValues.php deleted file mode 100644 index 000c1c663..000000000 --- a/src/FacebookAds/Object/Values/GameTimeActionValues.php +++ /dev/null @@ -1,43 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VaultDevice(), - 'NODE', - VaultDevice::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VaultImage.php b/src/FacebookAds/Object/VaultImage.php deleted file mode 100644 index b25f82c09..000000000 --- a/src/FacebookAds/Object/VaultImage.php +++ /dev/null @@ -1,103 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/images', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VaultImage(), - 'NODE', - VaultImage::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VehicleOffer.php b/src/FacebookAds/Object/VehicleOffer.php deleted file mode 100644 index b50f358e9..000000000 --- a/src/FacebookAds/Object/VehicleOffer.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VehicleOffer(), - 'NODE', - VehicleOffer::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoAsset.php b/src/FacebookAds/Object/VideoAsset.php deleted file mode 100644 index a1bc971b1..000000000 --- a/src/FacebookAds/Object/VideoAsset.php +++ /dev/null @@ -1,109 +0,0 @@ -assureId(); - - $param_types = array( - 'metric' => 'list', - 'period' => 'period_enum', - ); - $enums = array( - 'metric_enum' => InsightsResultMetricValues::getInstance()->getValues(), - 'period_enum' => InsightsResultPeriodValues::getInstance()->getValues(), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/insights', - new InsightsResult(), - 'EDGE', - InsightsResult::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoAsset(), - 'NODE', - VideoAsset::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoCopyrightMatch.php b/src/FacebookAds/Object/VideoCopyrightMatch.php deleted file mode 100644 index 4736db346..000000000 --- a/src/FacebookAds/Object/VideoCopyrightMatch.php +++ /dev/null @@ -1,84 +0,0 @@ -getValues(); - $ref_enums['MatchContentType'] = VideoCopyrightMatchMatchContentTypeValues::getInstance()->getValues(); - return $ref_enums; - } - - - public function getSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoCopyrightMatch(), - 'NODE', - VideoCopyrightMatch::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoGroup.php b/src/FacebookAds/Object/VideoGroup.php deleted file mode 100644 index 2d0b98a3f..000000000 --- a/src/FacebookAds/Object/VideoGroup.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoGroup(), - 'NODE', - VideoGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoMetricsReport.php b/src/FacebookAds/Object/VideoMetricsReport.php deleted file mode 100644 index 5e76fc555..000000000 --- a/src/FacebookAds/Object/VideoMetricsReport.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoMetricsReport(), - 'NODE', - VideoMetricsReport::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoReferenceMatch.php b/src/FacebookAds/Object/VideoReferenceMatch.php deleted file mode 100644 index fab24a85d..000000000 --- a/src/FacebookAds/Object/VideoReferenceMatch.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoReferenceMatch(), - 'NODE', - VideoReferenceMatch::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/VideoStats.php b/src/FacebookAds/Object/VideoStats.php deleted file mode 100644 index 8affa9167..000000000 --- a/src/FacebookAds/Object/VideoStats.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new VideoStats(), - 'NODE', - VideoStats::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/WhatsAppBusinessAccount.php b/src/FacebookAds/Object/WhatsAppBusinessAccount.php deleted file mode 100644 index 3af316d64..000000000 --- a/src/FacebookAds/Object/WhatsAppBusinessAccount.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new WhatsAppBusinessAccount(), - 'NODE', - WhatsAppBusinessAccount::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -} diff --git a/src/FacebookAds/Object/WifiInformation.php b/src/FacebookAds/Object/WifiInformation.php deleted file mode 100644 index 675a9529a..000000000 --- a/src/FacebookAds/Object/WifiInformation.php +++ /dev/null @@ -1,80 +0,0 @@ -assureId(); - - $param_types = array( - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_GET, - '/', - new WifiInformation(), - 'NODE', - WifiInformation::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - -}