From 5122e3280fbfb1e63203f7fbaba532a94396fe27 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005295453 Date: Fri, 14 Jun 2024 10:18:24 -0700 Subject: [PATCH] Auto-generated php SDK code update Summary: ignore-conflict-markers Reviewed By: liliarizona Differential Revision: D58591423 fbshipit-source-id: 9695adc477600920ac121d0903eb72348a487035 --- .../AdAccountAdSetsPostAdSetCreateCpa.php | 4 +- ...countAdSetsPostAdSetCreateCpaAppEvents.php | 4 +- examples/AdAccountAdSetsPostCreateAdSet.php | 4 +- examples/AdAccountAdSetsPostDailyBudget20.php | 4 +- ...etsPostLifetimeBudget200Duration10Days.php | 4 +- ...ccountAdSetsPostOptimizePostEngagement.php | 4 +- .../AdgroupLeadsEdgeAdgroupLeadsFiltered.php | 2 +- examples/AdsPixelEventsPost.php | 2 +- src/FacebookAds/ApiConfig.php | 4 +- src/FacebookAds/Object/AMOneshopSettings.php | 42 ++ .../Object/ANBlockedBICategory.php | 42 ++ .../{PageSavedFilter.php => AREffect.php} | 12 +- src/FacebookAds/Object/Ad.php | 1 + src/FacebookAds/Object/AdAccount.php | 78 +-- .../AdAccountAAACompatibleAdObjects.php | 42 ++ .../Object/AdAccountAAASimilarCampaigns.php | 42 ++ .../Object/AdAccountASLSchedule.php | 42 ++ .../Object/AdAccountAdLimitsInsights.php | 42 ++ .../Object/AdAccountAdRulesCountByType.php | 42 ++ .../Object/AdAccountAdsRecommendedAudios.php | 42 ++ .../Object/AdAccountAllPaymentMethods.php | 42 ++ .../Object/AdAccountAppSetupRequirements.php | 42 ++ .../Object/AdAccountBankInfoList.php | 42 ++ .../Object/AdAccountBillingDatePreference.php | 42 ++ .../Object/AdAccountBusinessConstraints.php | 2 + ...AdAccountCampaignAttributionOptionInfo.php | 42 ++ .../Object/AdAccountCreationRequest.php | 88 +++ .../Object/AdAccountCustomAudienceLimits.php | 42 ++ ...countOptimizationGoalsAEMv2Eligibility.php | 44 ++ .../Object/AdAccountPaymentDetails.php | 42 ++ .../Object/AdAccountPaymentOptions.php | 42 ++ .../Object/AdAccountPrepayDetails.php | 42 ++ .../Object/AdAccountPromotionProgressBar.php | 42 ++ .../Object/AdAccountRecommendations.php | 42 ++ .../Object/AdAccountRelatedIcoStudy.php | 42 ++ .../Object/AdAccountSmartSuggestedAds.php | 42 ++ .../Object/AdAccountSpendLimit.php | 42 ++ .../Object/AdAccountSubsidyAmountDetails.php | 42 ++ .../Object/AdAccountSuggestedTag.php | 42 ++ .../Object/AdAccountURLForAssetExtraction.php | 42 ++ .../Object/AdAccountUserPermissions.php | 42 ++ .../Object/AdAccountUserSettings.php | 67 ++ .../Object/AdAccountYouthAdsAdvertiser.php | 42 ++ ...ssetFeedAdditionalDataPageNudgeMessage.php | 42 ++ .../Object/AdCampaignDeliveryStats.php | 42 ++ ...ncrementalConversionOptimizationConfig.php | 42 ++ .../Object/AdCampaignGroupMetricsMetadata.php | 42 ++ .../Object/AdCampaignGroupStats.php | 42 ++ .../Object/AdCampaignGroupStructureTree.php | 42 ++ .../Object/AdCampaignMetricsMetadata.php | 42 ++ src/FacebookAds/Object/AdCampaignMultiAds.php | 42 ++ ...MEExportConfig.php => AdCampaignStats.php} | 8 +- src/FacebookAds/Object/AdColumnSizes.php | 65 ++ src/FacebookAds/Object/AdContract.php | 42 ++ src/FacebookAds/Object/AdConversionValues.php | 42 ++ src/FacebookAds/Object/AdConversions.php | 42 ++ .../Object/AdCreationPackageConfig.php | 65 ++ .../Object/AdCreativeAssetGroupsSpec.php | 42 ++ .../Object/AdCreativeContextualMultiAds.php | 42 ++ .../AdCreativeFeatureActionMetadata.php | 42 ++ .../AdCreativeFeatureCustomizations.php | 42 ++ .../Object/AdCreativeGenerativeAssetSpec.php | 42 ++ .../AdCreativeHouseShopsAdsSellerContent.php | 42 ++ ...p => AdCreativeImageDataMediaElements.php} | 8 +- .../AdCreativeLinkDataCustomOverlaySpec.php | 54 ++ .../Object/AdCreativeLinkDataMoment.php | 44 ++ ...CreativeMarketingMessageStructuredSpec.php | 42 ++ ...AdCreativeRegionalRegulationDisclaimer.php | 42 ++ .../Object/AdCreativeRewardInfo.php | 42 ++ src/FacebookAds/Object/AdCreativeShopSpec.php | 42 ++ .../AdCreativeVideoDataCustomOverlaySpec.php | 50 ++ .../AdCreativeVideoDataMediaElements.php | 42 ++ .../Object/AdCreativeWhatsAppChannelSpec.php | 42 ++ .../Object/AdCustomDerivedMetrics.php | 65 ++ src/FacebookAds/Object/AdDefaultValues.php | 42 ++ src/FacebookAds/Object/AdDraft.php | 65 ++ src/FacebookAds/Object/AdExportPreset.php | 65 ++ src/FacebookAds/Object/AdKeywordStats.php | 49 ++ src/FacebookAds/Object/AdKpiShift.php | 42 ++ src/FacebookAds/Object/AdLightAdgroup.php | 65 ++ src/FacebookAds/Object/AdLightCampaign.php | 65 ++ .../Object/AdLightCampaignGroup.php | 65 ++ src/FacebookAds/Object/AdLimitSetting.php | 42 ++ .../Object/AdLimitsEnforcementData.php | 42 ++ .../AdNetworkAnalyticsAsyncQueryExport.php | 42 ++ src/FacebookAds/Object/AdProposal.php | 65 ++ src/FacebookAds/Object/AdSavedKeywords.php | 65 ++ src/FacebookAds/Object/AdSavedLocation.php | 65 ++ src/FacebookAds/Object/AdSavedReport.php | 65 ++ src/FacebookAds/Object/AdSet.php | 5 + src/FacebookAds/Object/AdTopline.php | 65 ++ src/FacebookAds/Object/AdToplineDetail.php | 65 ++ src/FacebookAds/Object/AdVideo.php | 6 +- .../Object/{Dataset.php => AdVolume.php} | 8 +- .../Object/AdgroupFacebookFeedback.php | 68 ++ .../Object/AdjacentContentDeliveryReport.php | 42 ++ src/FacebookAds/Object/AdoptablePet.php | 138 ++++ .../Object/AdsAnomalyDetection.php | 42 ++ src/FacebookAds/Object/AdsConversionGoal.php | 88 +++ .../Object/AdsCreationSavedState.php | 65 ++ .../Object/AdsCustomPivotsPreview.php | 42 ++ src/FacebookAds/Object/AdsDataPartner.php | 65 ++ src/FacebookAds/Object/AdsDataset.php | 42 ++ .../Object/AdsGuidanceQEExposure.php | 42 ++ src/FacebookAds/Object/AdsNamingTemplate.php | 67 ++ src/FacebookAds/Object/AdsPaymentCycle.php | 42 ++ src/FacebookAds/Object/AdsPivotRules.php | 65 ++ src/FacebookAds/Object/AdsPixel.php | 60 +- .../Object/AdsPixelCAPISetupQuality.php | 42 ++ .../Object/AdsPixelCapabilityOverride.php | 65 ++ .../AdsPixelDeliveryRecommendations.php | 42 ++ .../Object/AdsPixelDomainControlRule.php | 42 ++ .../Object/AdsPixelDomainLastFiredTime.php | 42 ++ .../Object/AdsPixelEventLastFiredTime.php | 42 ++ .../Object/AdsPixelEventPrediction.php | 42 ++ .../Object/AdsPixelEventSuggestionRule.php | 42 ++ src/FacebookAds/Object/AdsPixelItemPrice.php | 42 ++ .../Object/AdsPixelMicrodataStats.php | 42 ++ .../Object/AdsPixelRawFiresResult.php | 42 ++ .../Object/AdsPixelRealTimeEventLogResult.php | 42 ++ .../Object/AdsPixelRecentEventsResult.php | 42 ++ .../Object/AdsPixelSignalsIWLFeedbackNux.php | 42 ++ .../Object/AdsPixelSignalsIWLNux.php | 42 ++ src/FacebookAds/Object/AdsReportBuilder.php | 42 ++ .../Object/AdsReportBuilderExportCore.php | 65 ++ .../Object/AdsReportBuilderMMMReport.php | 65 ++ .../AdsReportBuilderMMMReportScheduler.php | 65 ++ .../Object/AdsReportBuilderSavedReport.php | 65 ++ src/FacebookAds/Object/AdsSegments.php | 42 ++ .../Object/AdsSignalDiagnosticIssue.php | 42 ++ .../Object/AdsStartYourDayWidget.php | 65 ++ src/FacebookAds/Object/AdsTabular.php | 42 ++ .../Object/AdsTargetingInsights.php | 42 ++ src/FacebookAds/Object/AdsTextSuggestions.php | 42 ++ src/FacebookAds/Object/AdsUserSettings.php | 65 ++ .../Object/AdsValueAdjustmentRule.php | 88 +++ .../AdsValueAdjustmentRuleCollection.php | 88 +++ src/FacebookAds/Object/AdvAInstance.php | 65 ++ .../Object/AdvertiserVerificationStatus.php | 42 ++ .../Object/AnalyticsCohortQueryResult.php | 42 ++ src/FacebookAds/Object/AnalyticsConfig.php | 42 ++ .../Object/AnalyticsEntityUserConfig.php | 42 ++ .../Object/AnalyticsFunnelQueryResult.php | 42 ++ .../Object/AnalyticsPlatformMetricsConfig.php | 42 ++ .../Object/AnalyticsQueryResult.php | 42 ++ .../Object/AnalyticsUserConfig.php | 65 ++ src/FacebookAds/Object/AppEventConfig.php | 66 ++ src/FacebookAds/Object/AppLinks.php | 65 ++ .../Object/AppOptimizedCustomEvents.php | 42 ++ src/FacebookAds/Object/AppPublisher.php | 42 ++ src/FacebookAds/Object/Application.php | 78 ++- src/FacebookAds/Object/ArAdsDataContainer.php | 65 ++ src/FacebookAds/Object/AudienceFunnel.php | 42 ++ src/FacebookAds/Object/AudienceOverlap.php | 42 ++ src/FacebookAds/Object/AudiencePermission.php | 42 ++ .../Object/AudienceSharingAccountValid.php | 42 ++ .../AudienceSharingRecipientAccounts.php | 42 ++ src/FacebookAds/Object/AudioAsset.php | 65 ++ src/FacebookAds/Object/AudioCopyright.php | 4 +- src/FacebookAds/Object/AudioIsrc.php | 65 ++ src/FacebookAds/Object/AudioRelease.php | 65 ++ .../Object/AudioVisualReferenceMatch.php | 42 ++ src/FacebookAds/Object/AuthLink.php | 42 ++ src/FacebookAds/Object/AutomotiveModel.php | 4 +- src/FacebookAds/Object/BAPIDomain.php | 42 ++ src/FacebookAds/Object/BCPCampaign.php | 65 ++ src/FacebookAds/Object/BCPCreatorIgUser.php | 65 ++ .../Object/BespokePartnerGuidanceLaser.php | 42 ++ src/FacebookAds/Object/BidSchedule.php | 65 ++ .../Object/BizInboxOffsiteEmailAccount.php | 88 +++ src/FacebookAds/Object/BlindPig.php | 65 ++ src/FacebookAds/Object/BlockedUserInfo.php | 42 ++ .../Object/BrandSafetyDownloadable.php | 65 ++ .../Object/BrandedContentAdError.php | 42 ++ .../BrandedContentEligibleSponsorIDs.php | 42 ++ src/FacebookAds/Object/Business.php | 629 +++++++++++++++--- .../BusinessAdsReportingReportSpecs.php | 42 ++ ...BusinessAdvertisableApplicationsResult.php | 42 ++ src/FacebookAds/Object/BusinessAgreement.php | 93 +++ src/FacebookAds/Object/BusinessAssetGroup.php | 71 -- src/FacebookAds/Object/BusinessCreative.php | 42 ++ .../Object/BusinessCreativeInsights.php | 42 ++ .../Object/BusinessFranchiseConfig.php | 65 ++ .../BusinessImageTBusinessFolderPathItem.php | 42 ++ ...sinessMediaAdPlacementValidationResult.php | 42 ++ src/FacebookAds/Object/BusinessObject.php | 42 ++ ...sinessObjectTransferOwnershipAgreement.php | 65 ++ .../Object/BusinessProductCatalogTOS.php | 42 ++ src/FacebookAds/Object/BusinessProject.php | 65 ++ src/FacebookAds/Object/BusinessRequest.php | 65 ++ .../Object/BusinessSettingLogsData.php | 42 ++ src/FacebookAds/Object/BusinessTag.php | 65 ++ .../Object/BusinessTrafficAnalysisReport.php | 42 ++ .../BusinessVideoTBusinessFolderPathItem.php | 42 ++ .../CASSSetupOfflineEventSetProgress.php | 42 ++ .../Object/CPASAdCreationTemplate.php | 65 ++ src/FacebookAds/Object/CPASLsbImageBank.php | 119 ++++ .../Object/CPASParentCatalogSettings.php | 65 ++ src/FacebookAds/Object/CPASSetup.php | 42 ++ .../Object/CPASSetupCatalogProgress.php | 42 ++ .../Object/CPASSetupPageStructureProgress.php | 42 ++ .../Object/CTWAWhatsAppNumbersInfo.php | 42 ++ .../Object/CTXOptimizationEligibility.php | 42 ++ .../Object/CalibratorExistingRule.php | 65 ++ src/FacebookAds/Object/CallAdsPhoneData.php | 65 ++ .../Object/CampaignActionsData.php | 42 ++ src/FacebookAds/Object/CanvasTemplate.php | 65 ++ .../Object/CatalogItemOverride.php | 65 ++ .../Object/CatalogItemRejectionReasons.php | 44 ++ .../Object/CatalogItemValidationErrorList.php | 42 ++ .../Object/CatalogSmartPixelSettings.php | 65 ++ .../CatalogWebsiteOnboardingSettings.php | 65 ++ .../Object/CatalogWebsiteSettings.php | 65 ++ .../ChinaBusinessOnboardingVettingRequest.php | 65 ++ .../Object/CloudbridgeDatasetStatus.php | 42 ++ .../CollaborativeAdsPartnerBusinesses.php | 42 ++ src/FacebookAds/Object/ColumnSuggestions.php | 42 ++ src/FacebookAds/Object/Comment.php | 2 +- .../Object/CommerceMerchantSettings.php | 4 +- src/FacebookAds/Object/CommerceOrder.php | 5 +- .../Object/ContactsMessengerSyncConfig.php | 42 ++ .../Object/ContentDeliveryReport.php | 42 ++ .../Object/ConversionHealthKPI.php | 42 ++ .../Object/CopyrightAttributionInsights.php | 42 ++ .../Object/CopyrightAudioAsset.php | 42 ++ .../Object/CopyrightMediaMisuse.php | 65 ++ src/FacebookAds/Object/CreativeAssetTag.php | 42 ++ .../Object/CreatorAssetCreative.php | 67 ++ src/FacebookAds/Object/CustomAudience.php | 2 +- .../Object/CustomAudienceCapabilities.php | 42 ++ ...ustomAudienceSharedAccountCampaignInfo.php | 42 ++ src/FacebookAds/Object/CustomConversion.php | 2 + .../Object/CustomConversionActivities.php | 42 ++ src/FacebookAds/Object/DeliveryInfo.php | 42 ++ src/FacebookAds/Object/DeliveryStatus.php | 42 ++ src/FacebookAds/Object/Destination.php | 4 +- src/FacebookAds/Object/DirectDebit.php | 42 ++ .../Object/DogNotificationSettings.php | 65 ++ src/FacebookAds/Object/Domain.php | 65 ++ src/FacebookAds/Object/DraftPost.php | 42 ++ src/FacebookAds/Object/DynamicARMetadata.php | 65 ++ src/FacebookAds/Object/DynamicContentSet.php | 65 ++ .../Object/DynamicItemDisplayBundle.php | 65 ++ .../Object/DynamicItemDisplayBundleFolder.php | 65 ++ .../Object/EducationExperience.php | 65 ++ src/FacebookAds/Object/EmailImport.php | 42 ++ src/FacebookAds/Object/EndStudyCriteria.php | 42 ++ src/FacebookAds/Object/EntWithSponsor.php | 42 ++ src/FacebookAds/Object/Event.php | 4 +- .../Object/EventExternalTicketInfo.php | 65 ++ .../Object/EventRegistrationSetting.php | 65 ++ src/FacebookAds/Object/EventSourceGroup.php | 4 +- src/FacebookAds/Object/EventTicketSetting.php | 65 ++ src/FacebookAds/Object/EventTicketTier.php | 65 ++ src/FacebookAds/Object/EventTour.php | 65 ++ src/FacebookAds/Object/ExpirablePost.php | 42 ++ src/FacebookAds/Object/ExtendedCredit.php | 2 +- .../Object/ExtendedCreditApplication.php | 65 ++ .../Object/ExtendedCreditEmail.php | 42 ++ src/FacebookAds/Object/ExtendedCreditInfo.php | 42 ++ ...ExternalEventSourceCPASEventsDebugging.php | 42 ++ ...rnalEventSourceCPASEventsDebuggingInfo.php | 42 ++ .../ExternalEventSourceDAStatsResult.php | 42 ++ .../Object/ExternalMerchantSettings.php | 65 ++ src/FacebookAds/Object/FAMEKumo.php | 65 ++ .../Object/FBImageCopyrightMatch.php | 65 ++ .../Object/FBLiteToNTTransitions.php | 42 ++ .../Object/FBPageAndInstagramAccount.php | 42 ++ src/FacebookAds/Object/FBPayButtonLogin.php | 42 ++ src/FacebookAds/Object/FantasyGame.php | 65 ++ src/FacebookAds/Object/FavoriteCatalog.php | 65 ++ ...Fields.php => AMOneshopSettingsFields.php} | 10 +- .../Fields/ANBlockedBICategoryFields.php | 32 + .../Object/Fields/AREffectFields.php | 42 ++ .../AdAccountAAACompatibleAdObjectsFields.php | 36 + .../AdAccountAAASimilarCampaignsFields.php | 36 + ...lds.php => AdAccountASLScheduleFields.php} | 16 +- ...hp => AdAccountAdLimitsInsightsFields.php} | 10 +- .../AdAccountAdRulesCountByTypeFields.php | 34 + .../AdAccountAdsRecommendedAudiosFields.php | 32 + .../AdAccountAllPaymentMethodsFields.php | 30 + .../AdAccountAppSetupRequirementsFields.php | 30 + .../Fields/AdAccountBankInfoListFields.php | 32 + .../AdAccountBillingDatePreferenceFields.php | 42 ++ .../AdAccountBusinessConstraintsFields.php | 2 +- ...untCampaignAttributionOptionInfoFields.php | 34 + .../Fields/AdAccountCreationRequestFields.php | 100 +++ .../AdAccountCustomAudienceLimitsFields.php | 40 ++ ...ptimizationGoalsAEMv2EligibilityFields.php | 34 + .../Fields/AdAccountPaymentDetailsFields.php | 42 ++ .../Fields/AdAccountPaymentOptionsFields.php | 38 ++ .../Fields/AdAccountPrepayDetailsFields.php | 38 ++ .../AdAccountPromotionProgressBarFields.php | 46 ++ .../Fields/AdAccountRecommendationsFields.php | 32 + .../Fields/AdAccountRelatedIcoStudyFields.php | 30 + .../AdAccountSmartSuggestedAdsFields.php | 38 ++ .../Fields/AdAccountSpendLimitFields.php | 44 ++ .../AdAccountSubsidyAmountDetailsFields.php | 36 + .../Fields/AdAccountSuggestedTagFields.php | 36 + .../AdAccountURLForAssetExtractionFields.php | 34 + .../Fields/AdAccountUserPermissionsFields.php | 50 ++ .../Fields/AdAccountUserSettingsFields.php | 138 ++++ .../AdAccountYouthAdsAdvertiserFields.php | 32 + ...edAdditionalDataPageNudgeMessageFields.php | 36 + .../Object/Fields/AdAssetFeedSpecFields.php | 2 + .../Fields/AdCampaignDeliveryStatsFields.php | 42 ++ ...ntalConversionOptimizationConfigFields.php | 50 ++ .../AdCampaignGroupMetricsMetadataFields.php | 34 + .../Fields/AdCampaignGroupStatsFields.php | 60 ++ .../AdCampaignGroupStructureTreeFields.php | 38 ++ .../AdCampaignMetricsMetadataFields.php | 42 ++ .../Fields/AdCampaignMultiAdsFields.php | 34 + .../Object/Fields/AdCampaignStatsFields.php | 78 +++ .../Object/Fields/AdColumnSizesFields.php | 48 ++ .../Object/Fields/AdContractFields.php | 112 ++++ .../Fields/AdConversionValuesFields.php | 36 + .../Object/Fields/AdConversionsFields.php | 38 ++ .../Fields/AdCreationPackageConfigFields.php | 42 ++ .../AdCreativeAssetGroupsSpecFields.php | 34 + .../AdCreativeBrandedContentAdsFields.php | 4 + .../AdCreativeContextualMultiAdsFields.php | 32 + .../AdCreativeFeatureActionMetadataFields.php | 32 + .../AdCreativeFeatureCustomizationsFields.php | 44 ++ .../Fields/AdCreativeFeaturesSpecFields.php | 10 + .../Object/Fields/AdCreativeFields.php | 6 +- .../AdCreativeGenerativeAssetSpecFields.php | 30 + ...eativeHouseShopsAdsSellerContentFields.php | 30 + ...AdCreativeImageDataMediaElementsFields.php | 38 ++ ...reativeLinkDataCustomOverlaySpecFields.php | 46 ++ .../Fields/AdCreativeLinkDataMomentFields.php | 34 + ...veMarketingMessageStructuredSpecFields.php | 42 ++ .../AdCreativePromotionMetadataSpecFields.php | 4 +- ...tiveRegionalRegulationDisclaimerFields.php | 30 + .../Fields/AdCreativeRewardInfoFields.php | 34 + .../Fields/AdCreativeShopSpecFields.php | 36 + ...eativeVideoDataCustomOverlaySpecFields.php | 50 ++ ...AdCreativeVideoDataMediaElementsFields.php | 34 + .../AdCreativeWhatsAppChannelSpecFields.php | 34 + .../Fields/AdCustomDerivedMetricsFields.php | 64 ++ .../Object/Fields/AdDefaultValuesFields.php | 32 + .../Object/Fields/AdDraftFields.php | 60 ++ .../Object/Fields/AdExportPresetFields.php | 42 ++ src/FacebookAds/Object/Fields/AdFields.php | 2 + .../Object/Fields/AdKeywordStatsFields.php | 70 ++ .../Object/Fields/AdKpiShiftFields.php | 42 ++ .../Object/Fields/AdLightAdgroupFields.php | 34 + .../Object/Fields/AdLightCampaignFields.php | 34 + .../Fields/AdLightCampaignGroupFields.php | 32 + .../Object/Fields/AdLimitSettingFields.php | 32 + .../Fields/AdLimitsEnforcementDataFields.php | 42 ++ ...NetworkAnalyticsAsyncQueryExportFields.php | 38 ++ .../Object/Fields/AdProposalFields.php | 68 ++ .../Object/Fields/AdRecommendationFields.php | 2 + .../Object/Fields/AdSavedKeywordsFields.php | 44 ++ .../Object/Fields/AdSavedLocationFields.php | 50 ++ .../Object/Fields/AdSavedReportFields.php | 66 ++ src/FacebookAds/Object/Fields/AdSetFields.php | 4 +- .../Object/Fields/AdToplineDetailFields.php | 58 ++ .../Object/Fields/AdToplineFields.php | 100 +++ .../Object/Fields/AdVolumeFields.php | 50 ++ .../Fields/AdgroupFacebookFeedbackFields.php | 34 + .../AdjacentContentDeliveryReportFields.php | 32 + .../Object/Fields/AdoptablePetFields.php | 88 +++ .../Object/Fields/AdsActionStatsFields.php | 28 + .../Fields/AdsAnomalyDetectionFields.php | 34 + .../Object/Fields/AdsConversionGoalFields.php | 46 ++ .../Fields/AdsCreationSavedStateFields.php | 40 ++ .../Fields/AdsCustomPivotsPreviewFields.php | 48 ++ .../Object/Fields/AdsDataPartnerFields.php | 36 + .../Object/Fields/AdsDatasetFields.php | 134 ++++ .../Fields/AdsGuidanceQEExposureFields.php | 32 + .../Object/Fields/AdsHistogramStatsFields.php | 28 + .../Object/Fields/AdsInsightsFields.php | 10 +- .../Object/Fields/AdsNamingTemplateFields.php | 48 ++ .../Object/Fields/AdsPaymentCycleFields.php | 42 ++ .../Object/Fields/AdsPivotRulesFields.php | 50 ++ .../Fields/AdsPixelCAPISetupQualityFields.php | 34 + .../AdsPixelCapabilityOverrideFields.php | 38 ++ .../AdsPixelDeliveryRecommendationsFields.php | 34 + .../AdsPixelDomainControlRuleFields.php | 34 + .../AdsPixelDomainLastFiredTimeFields.php | 34 + .../AdsPixelEventLastFiredTimeFields.php | 34 + .../Fields/AdsPixelEventPredictionFields.php | 36 + .../AdsPixelEventSuggestionRuleFields.php | 46 ++ .../Object/Fields/AdsPixelFields.php | 2 + .../Object/Fields/AdsPixelItemPriceFields.php | 34 + .../Fields/AdsPixelMicrodataStatsFields.php | 40 ++ .../Fields/AdsPixelRawFiresResultFields.php | 46 ++ .../AdsPixelRealTimeEventLogResultFields.php | 56 ++ .../AdsPixelRecentEventsResultFields.php | 34 + .../AdsPixelSignalsIWLFeedbackNuxFields.php | 32 + .../Fields/AdsPixelSignalsIWLNuxFields.php | 40 ++ .../AdsReportBuilderExportCoreFields.php | 62 ++ .../Object/Fields/AdsReportBuilderFields.php | 36 + .../AdsReportBuilderMMMReportFields.php | 46 ++ ...sReportBuilderMMMReportSchedulerFields.php | 40 ++ .../AdsReportBuilderSavedReportFields.php | 108 +++ .../Object/Fields/AdsSegmentsFields.php | 48 ++ .../Fields/AdsSignalDiagnosticIssueFields.php | 42 ++ .../Fields/AdsStartYourDayWidgetFields.php | 34 + .../Object/Fields/AdsTabularFields.php | 32 + .../Fields/AdsTargetingInsightsFields.php | 52 ++ .../Fields/AdsTextSuggestionsFields.php | 44 ++ .../Object/Fields/AdsUserSettingsFields.php | 140 ++++ ...AdsValueAdjustmentRuleCollectionFields.php | 34 + .../Fields/AdsValueAdjustmentRuleFields.php | 34 + .../Object/Fields/AdvAInstanceFields.php | 38 ++ .../AdvertiserVerificationStatusFields.php | 38 ++ .../AnalyticsCohortQueryResultFields.php | 38 ++ .../Object/Fields/AnalyticsConfigFields.php | 82 +++ .../AnalyticsEntityUserConfigFields.php | 32 + .../AnalyticsFunnelQueryResultFields.php | 38 ++ .../AnalyticsPlatformMetricsConfigFields.php | 48 ++ .../Fields/AnalyticsQueryResultFields.php | 40 ++ .../Fields/AnalyticsUserConfigFields.php | 36 + .../Object/Fields/AppEventConfigFields.php | 84 +++ .../Object/Fields/AppLinksFields.php | 48 ++ .../Fields/AppOptimizedCustomEventsFields.php | 36 + .../Object/Fields/AppPublisherFields.php | 44 ++ .../Fields/ArAdsDataContainerFields.php | 44 ++ .../Object/Fields/AudienceFunnelFields.php | 36 + .../Object/Fields/AudienceOverlapFields.php | 38 ++ .../Fields/AudiencePermissionFields.php | 36 + .../AudienceSharingAccountValidFields.php | 42 ++ ...AudienceSharingRecipientAccountsFields.php | 44 ++ .../Object/Fields/AudioAssetFields.php | 68 ++ .../Object/Fields/AudioCopyrightFields.php | 2 + .../Object/Fields/AudioIsrcFields.php | 48 ++ .../Object/Fields/AudioReleaseFields.php | 62 ++ .../AudioVisualReferenceMatchFields.php | 92 +++ .../Object/Fields/AuthLinkFields.php | 32 + .../Object/Fields/BAPIDomainFields.php | 38 ++ .../Object/Fields/BCPCampaignFields.php | 64 ++ .../Object/Fields/BCPCreatorIgUserFields.php | 42 ++ .../BespokePartnerGuidanceLaserFields.php | 40 ++ .../Object/Fields/BidScheduleFields.php | 46 ++ .../BizInboxOffsiteEmailAccountFields.php | 34 + .../Object/Fields/BlindPigFields.php | 34 + .../Object/Fields/BlockedUserInfoFields.php | 40 ++ .../Fields/BrandSafetyDownloadableFields.php | 44 ++ .../Fields/BrandedContentAdErrorFields.php | 44 ++ ...BrandedContentEligibleSponsorIDsFields.php | 36 + .../BrandedContentShadowIGMediaIDFields.php | 2 + .../BusinessAdsReportingReportSpecsFields.php | 108 +++ ...ssAdvertisableApplicationsResultFields.php | 42 ++ .../Object/Fields/BusinessAgreementFields.php | 34 + .../Object/Fields/BusinessCreativeFields.php | 52 ++ .../Fields/BusinessCreativeInsightsFields.php | 62 ++ .../Fields/BusinessFranchiseConfigFields.php | 56 ++ ...nessImageTBusinessFolderPathItemFields.php | 36 + ...MediaAdPlacementValidationResultFields.php | 38 ++ .../Object/Fields/BusinessObjectFields.php | 40 ++ ...ObjectTransferOwnershipAgreementFields.php | 38 ++ .../BusinessProductCatalogTOSFields.php | 34 + .../Object/Fields/BusinessProjectFields.php | 40 ++ .../Object/Fields/BusinessRequestFields.php | 48 ++ .../Fields/BusinessSettingLogsDataFields.php | 40 ++ .../Object/Fields/BusinessTagFields.php | 34 + .../BusinessTrafficAnalysisReportFields.php | 36 + ...nessVideoTBusinessFolderPathItemFields.php | 36 + ...CASSSetupOfflineEventSetProgressFields.php | 30 + .../Fields/CPASAdCreationTemplateFields.php | 44 ++ .../Object/Fields/CPASLsbImageBankFields.php | 40 ++ .../CPASParentCatalogSettingsFields.php | 38 ++ .../Fields/CPASSetupCatalogProgressFields.php | 40 ++ .../Object/Fields/CPASSetupFields.php | 30 + .../CPASSetupPageStructureProgressFields.php | 36 + .../Fields/CTWAWhatsAppNumbersInfoFields.php | 42 ++ .../CTXOptimizationEligibilityFields.php | 32 + .../Fields/CalibratorExistingRuleFields.php | 52 ++ .../Object/Fields/CallAdsPhoneDataFields.php | 42 ++ .../Fields/CampaignActionsDataFields.php | 30 + .../Object/Fields/CanvasFields.php | 2 +- .../Object/Fields/CanvasTemplateFields.php | 58 ++ .../Fields/CatalogItemOverrideFields.php | 38 ++ .../CatalogItemRejectionReasonsFields.php | 34 + .../CatalogItemValidationErrorListFields.php | 32 + .../CatalogSmartPixelSettingsFields.php | 68 ++ ...CatalogWebsiteOnboardingSettingsFields.php | 34 + .../Fields/CatalogWebsiteSettingsFields.php | 34 + ...BusinessOnboardingVettingRequestFields.php | 114 ++++ .../Fields/CloudbridgeDatasetStatusFields.php | 42 ++ ...ollaborativeAdsPartnerBusinessesFields.php | 34 + .../Object/Fields/ColumnSuggestionsFields.php | 38 ++ .../Fields/CommerceMerchantSettingsFields.php | 20 - .../Object/Fields/CommerceOrderFields.php | 2 + .../ContactsMessengerSyncConfigFields.php | 32 + .../Fields/ContentDeliveryReportFields.php | 40 ++ .../Fields/ConversionHealthKPIFields.php | 48 ++ .../CopyrightAttributionInsightsFields.php | 40 ++ .../Fields/CopyrightAudioAssetFields.php | 44 ++ .../Fields/CopyrightMediaMisuseFields.php | 64 ++ .../Object/Fields/CreativeAssetTagFields.php | 32 + .../Fields/CreatorAssetCreativeFields.php | 44 ++ .../CustomAudienceCapabilitiesFields.php | 32 + ...udienceSharedAccountCampaignInfoFields.php | 46 ++ .../CustomConversionActivitiesFields.php | 38 ++ .../Object/Fields/CustomConversionFields.php | 2 + .../Object/Fields/DeliveryInfoFields.php | 114 ++++ .../Object/Fields/DeliveryStatusFields.php | 34 + .../Object/Fields/DirectDebitFields.php | 50 ++ .../Fields/DogNotificationSettingsFields.php | 36 + .../Object/Fields/DomainFields.php | 36 + .../Object/Fields/DraftPostFields.php | 64 ++ .../Object/Fields/DynamicARMetadataFields.php | 54 ++ .../Object/Fields/DynamicContentSetFields.php | 36 + .../Fields/DynamicItemDisplayBundleFields.php | 44 ++ .../DynamicItemDisplayBundleFolderFields.php | 42 ++ .../Fields/EducationExperienceFields.php | 46 ++ .../Object/Fields/EmailImportFields.php | 34 + .../Object/Fields/EndStudyCriteriaFields.php | 30 + .../Object/Fields/EntWithSponsorFields.php | 40 ++ .../Fields/EventExternalTicketInfoFields.php | 38 ++ src/FacebookAds/Object/Fields/EventFields.php | 4 +- .../Fields/EventRegistrationSettingFields.php | 38 ++ .../Fields/EventTicketSettingFields.php | 34 + .../Object/Fields/EventTicketTierFields.php | 66 ++ .../Object/Fields/EventTourFields.php | 56 ++ .../Object/Fields/ExpirablePostFields.php | 70 ++ .../ExtendedCreditApplicationFields.php | 80 +++ .../Fields/ExtendedCreditEmailFields.php | 34 + .../Fields/ExtendedCreditInfoFields.php | 38 ++ .../ExtendedCreditInvoiceGroupFields.php | 2 +- ...alEventSourceCPASEventsDebuggingFields.php | 48 ++ ...entSourceCPASEventsDebuggingInfoFields.php | 36 + ...ExternalEventSourceDAStatsResultFields.php | 42 ++ .../Fields/ExternalMerchantSettingsFields.php | 36 + .../{DatasetFields.php => FAMEKumoFields.php} | 2 +- .../Fields/FBImageCopyrightMatchFields.php | 56 ++ .../Fields/FBLiteToNTTransitionsFields.php | 32 + .../FBPageAndInstagramAccountFields.php | 40 ++ .../Object/Fields/FBPayButtonLoginFields.php | 30 + .../Object/Fields/FantasyGameFields.php | 34 + .../Object/Fields/FavoriteCatalogFields.php | 34 + .../Object/Fields/FinanceObjectFields.php | 34 + .../Object/Fields/FranchiseProgramFields.php | 54 ++ .../Fields/FranchiseProgramMemberFields.php | 46 ++ .../Object/Fields/GenericVideoAssetFields.php | 122 ++++ .../Object/Fields/GeoGatingPolicyFields.php | 44 ++ src/FacebookAds/Object/Fields/HoursFields.php | 34 + .../IGAccessTokenForIGOnlyAPIFields.php | 38 ++ .../Object/Fields/IGBoostMediaAdFields.php | 36 + .../IGMediaBoostEligibilityInfoFields.php | 36 + .../Object/Fields/IGMediaFields.php | 2 + .../Fields/IGMediaForIGOnlyAPIFields.php | 56 ++ ...GProductTaggingInvalidationErrorFields.php | 36 + ...IGRefreshAccessTokenForIGOnlyAPIFields.php | 38 ++ .../IGResumableVideoUploadStatusFields.php | 34 + .../Fields/IGUserForIGOnlyAPIFields.php | 38 ++ .../Object/Fields/IPObjectFields.php | 34 + .../Fields/ImageCopyrightDisputeFields.php | 48 ++ .../Fields/ImageReferenceMatchFields.php | 64 ++ ...gramBoostableMediaForAccessTokenFields.php | 34 + .../InstagramRelatedProductTagsFields.php | 42 ++ .../Object/Fields/InstantArticleCTAFields.php | 40 ++ ...nstantArticleInsightsQueryResultFields.php | 38 ++ .../Fields/KeywordDeliveryReportFields.php | 48 ++ .../Object/Fields/LeadGenDataDraftFields.php | 60 ++ ...eadGenDirectCRMIntegrationConfigFields.php | 46 ++ .../LeadGenFormPreviewDetailsFields.php | 96 +++ .../LeadGenThankYouPageGatedFileFields.php | 38 ++ .../LeadGenThankYouPageGatedPromoFields.php | 36 + .../LinkedInstagramAccountDataFields.php | 42 ++ .../Object/Fields/LocationBasedItemFields.php | 56 ++ .../Object/Fields/LoomConfigFields.php | 32 + .../Fields/MCExperienceConfigForApiFields.php | 36 + .../Object/Fields/MIXInsightsResultFields.php | 72 ++ .../MarketingMessageTargetingFields.php | 40 ++ .../Fields/McomInvoiceBankAccountFields.php | 38 ++ .../Fields/McomInvoiceDetailsFields.php | 68 ++ .../Object/Fields/McomInvoiceListsFields.php | 36 + .../Object/Fields/McomInvoiceStatusFields.php | 54 ++ .../Fields/McomOnboardingStatusFields.php | 34 + .../Object/Fields/McomPayoutsFields.php | 44 ++ .../Object/Fields/MeasurementReportFields.php | 40 ++ .../MediaCopyrightAttributionFields.php | 62 ++ .../MediaCopyrightUpdateRecordFields.php | 44 ++ .../Fields/MerchantComplianceFields.php | 40 ++ .../Object/Fields/MerchantReportFields.php | 60 ++ .../Object/Fields/MessagingAppsInfoFields.php | 38 ++ .../Fields/MessengerCallSettingsFields.php | 32 + ...gerDestinationPageWelcomeMessageFields.php | 42 ++ .../Fields/MusicWorkCopyrightFields.php | 52 ++ .../Fields/NegativeKeywordListFields.php | 54 ++ ...flineConversionDataSetActivitiesFields.php | 48 ++ .../Fields/OfflineConversionDataSetFields.php | 2 - ...versionDataSetOptimizationStatusFields.php | 38 ++ .../Fields/OfflineProductItemFields.php | 62 ++ .../Fields/OfflineTermsOfServiceFields.php | 36 + ...iteSignalContainerBusinessObjectFields.php | 44 ++ .../Fields/OpenBridgeConfigurationFields.php | 4 +- .../Fields/OrderIDAttributionsFields.php | 48 ++ .../Object/Fields/OrganizationFields.php | 40 ++ .../Object/Fields/OwnedDomainFields.php | 40 ++ .../Fields/P2MInvoicePaymentsFields.php | 34 + .../Fields/PageAppWithLeadsAccessFields.php | 34 + .../Object/Fields/PageBroadcastFields.php | 36 + .../Object/Fields/PageCTSTopicFields.php | 42 ++ ...arAdvertiserBudgetRecommendationFields.php | 34 + .../PageCTXDefaultGreetingTextFields.php | 36 + .../Fields/PageCrmsWithLeadsAccessFields.php | 38 ++ ...ectIntegrationCrmWithLeadsAccessFields.php | 36 + src/FacebookAds/Object/Fields/PageFields.php | 4 +- .../PageGameBotQuotaInformationFields.php | 34 + .../Fields/PageGetStartedNullstateFields.php | 36 + .../PageInsightsAsyncExportRunFields.php | 48 ++ .../Fields/PageLeadsAccessConfigFields.php | 34 + .../Fields/PageLocationsBreakdownFields.php | 48 ++ ...PageMessageResponsivenessMetricsFields.php | 36 + .../PagePartnerWithLeadsAccessFields.php | 36 + .../Object/Fields/PagePublisherFields.php | 40 ++ .../Fields/PageUserPermissionsFields.php | 50 ++ .../Fields/PageUserWithLeadsAccessFields.php | 38 ++ .../Fields/PageVideosYouCanUseFields.php | 36 + .../Object/Fields/PanelAPIReportFields.php | 50 ++ .../Fields/ParentCatalogReportFields.php | 34 + .../Fields/PartnerAccountLinkingFields.php | 46 ++ .../Object/Fields/PartnerCategoryFields.php | 52 ++ .../Fields/PartnerIntegrationLinkedFields.php | 62 ++ .../PartnershipAdContentSearchMediaFields.php | 36 + .../Fields/PartnershipAdsIdentityFields.php | 34 + .../Fields/PaymentRequestDetailsFields.php | 48 ++ .../Fields/PersonalAdsPersonaFields.php | 40 ++ .../Object/Fields/PhotoMetadataFields.php | 54 ++ .../Object/Fields/PlaceTagFields.php | 36 + .../Fields/PlatformSessionKeyFields.php | 32 + .../Object/Fields/PreapprovalReviewFields.php | 40 ++ .../Object/Fields/PremiumMusicVideoFields.php | 46 ++ .../Object/Fields/PrivacyOptionFields.php | 42 ++ .../PrivateComputationEnvironmentFields.php | 42 ++ .../ProductCatalogExampleFeedFields.php | 32 + .../Fields/ProductCatalogFacetsFields.php | 34 + ...ductCatalogImageSettingsInternalFields.php | 36 + ...oductCatalogLocalizationSettingsFields.php | 36 + ...ctCatalogMicrodataStatsPixelInfoFields.php | 34 + .../ProductCatalogUserActionsFields.php | 32 + .../ProductCatalogUserPermissionsFields.php | 50 ++ .../Fields/ProductCatalogUserTasksFields.php | 34 + .../ProductDaEventSamplesBatchFields.php | 36 + .../ProductFeedRulePreviewSampleFields.php | 34 + .../ProductFeedUploadProgressFields.php | 40 ++ .../Object/Fields/ProductItemFields.php | 2 +- .../Fields/ProductItemInsightsFields.php | 40 ++ .../ProductItemInvalidationErrorFields.php | 30 + .../ProductItemLandingPageDataFields.php | 32 + .../Object/Fields/ProductItemOfferFields.php | 36 + .../Fields/ProductItemShippingFields.php | 40 ++ .../ProductItemSubscriptionInfoFields.php | 36 + .../Fields/ProductItemUnitPriceFields.php | 30 + .../Fields/ProductSetTaxonCategoryFields.php | 36 + .../Object/Fields/ProductSetUsageFields.php | 36 + .../Fields/ProductVisualVariantFields.php | 34 + .../Fields/PublisherBlockListFields.php | 4 +- .../Fields/PublisherDeliveryReportFields.php | 40 ++ .../Fields/PublisherWhiteListFields.php | 42 ++ .../Fields/RecommendedIGMediaFields.php | 34 + .../Fields/RecommendedPagePostFields.php | 36 + .../RegionalRegulationIdentitiesFields.php | 34 + .../Object/Fields/ReportingAudienceFields.php | 36 + .../Object/Fields/ResearchPollStudyFields.php | 36 + .../Object/Fields/ResellerGuidanceFields.php | 64 ++ .../Fields/RightsManagerDataExportFields.php | 44 ++ .../Fields/RightsManagerInsightsFields.php | 40 ++ src/FacebookAds/Object/Fields/RobotFields.php | 54 ++ .../SalesRightsInventoryManagementFields.php | 44 ++ .../Object/Fields/ScheduledPostFields.php | 64 ++ .../ScimCompanyUserPhoneNumberFields.php | 36 + ...adowIGMediaBoostedInsightsResultFields.php | 42 ++ .../Fields/ShadowIGMediaBuilderFields.php | 2 + .../Fields/SignalsIWLExtractorFields.php | 38 ++ .../SingleOwnerAdditionalProfileFields.php | 36 + .../Object/Fields/SiteLinkFields.php | 40 ++ .../Fields/SlicedEventSourceGroupFields.php | 38 ++ .../Fields/SmartPixelInsightsFields.php | 34 + .../Object/Fields/SocialWifiSiteFields.php | 32 + .../Object/Fields/SplitTestConfigFields.php | 44 ++ .../Object/Fields/StatusFields.php | 42 ++ .../Object/Fields/StreamFilterFields.php | 36 + .../Object/Fields/TaggableSubjectFields.php | 34 + .../Fields/TargetingAutomationFields.php | 2 + ...tingGeoLocationLocationExpansionFields.php | 34 + ...argetingMarketingMessageChannelsFields.php | 32 + ...irdPartyMeasurementReportDatasetFields.php | 40 ++ .../ThirdPartyPartnerLiftRequestFields.php | 56 ++ .../ThirdPartyPartnerPanelRequestFields.php | 56 ++ .../ThirdPartyPartnerPanelScheduledFields.php | 58 ++ ...rdPartyPartnerViewabilityRequestFields.php | 50 ++ .../Object/Fields/TimeSuggestionFields.php | 34 + .../Object/Fields/TimezoneOffsetFields.php | 40 ++ .../Object/Fields/TransactableItemFields.php | 70 ++ .../Object/Fields/TransactionFields.php | 74 +++ .../Object/Fields/UniqueAdCreativeFields.php | 34 + .../Object/Fields/UserContextFields.php | 32 + src/FacebookAds/Object/Fields/UserFields.php | 2 +- .../Object/Fields/UserMobileConfigFields.php | 34 + .../UserNotificationSeenStateDataFields.php | 34 + .../Fields/UserPaymentMethodsInfoFields.php | 44 ++ .../UserPaymentModulesOptionsFields.php | 38 ++ .../Fields/UserSetReportingRootFields.php | 36 + .../Object/Fields/VideoAssetFields.php | 122 ++++ .../Fields/VideoCopyrightMatchFields.php | 44 ++ .../Object/Fields/VideoGroupFields.php | 64 ++ .../Fields/VideoMetricsReportFields.php | 52 ++ .../Object/Fields/VideoStatsFields.php | 42 ++ .../Object/Fields/VideoTextQuestionFields.php | 38 ++ .../Object/Fields/VidwallaBroadcastFields.php | 34 + .../Object/Fields/WITUserFields.php | 36 + .../Fields/WearableDevicePublicKeyFields.php | 46 ++ .../Object/Fields/WebPublisherFields.php | 36 + .../WebsiteCreativeAssetSourceFields.php | 34 + .../WebsiteCreativeAssetSuggestionsFields.php | 38 ++ .../Fields/WhatsAppBusinessAccountFields.php | 4 + .../WhatsAppPaymentCapabilitiesFields.php | 34 + .../WhatsappSubscribedAppsInfoFields.php | 34 + .../Object/Fields/WhitehatFBDLRunFields.php | 46 ++ .../Object/Fields/WifiInformationFields.php | 36 + .../Object/Fields/WithAsset3DFields.php | 32 + .../Fields/WoodhengeSupporterFields.php | 42 ++ .../Object/Fields/WorkAccessCodeFields.php | 34 + .../Object/Fields/WorkExperienceFields.php | 50 ++ .../Object/Fields/WorkSkillFields.php | 34 + .../Object/Fields/WorkUserBadgesFields.php | 40 ++ src/FacebookAds/Object/FinanceObject.php | 42 ++ src/FacebookAds/Object/Flight.php | 4 +- src/FacebookAds/Object/FranchiseProgram.php | 65 ++ .../Object/FranchiseProgramMember.php | 65 ++ src/FacebookAds/Object/GenericVideoAsset.php | 42 ++ src/FacebookAds/Object/GeoGatingPolicy.php | 65 ++ src/FacebookAds/Object/Group.php | 8 +- src/FacebookAds/Object/HomeListing.php | 4 +- src/FacebookAds/Object/Hotel.php | 4 +- src/FacebookAds/Object/Hours.php | 65 ++ .../Object/IGAccessTokenForIGOnlyAPI.php | 68 ++ src/FacebookAds/Object/IGBoostMediaAd.php | 65 ++ src/FacebookAds/Object/IGMedia.php | 23 + .../Object/IGMediaBoostEligibilityInfo.php | 65 ++ .../Object/IGMediaForIGOnlyAPI.php | 88 +++ .../IGProductTaggingInvalidationError.php | 42 ++ .../IGRefreshAccessTokenForIGOnlyAPI.php | 67 ++ .../Object/IGResumableVideoUploadStatus.php | 42 ++ src/FacebookAds/Object/IGUser.php | 30 +- src/FacebookAds/Object/IGUserForIGOnlyAPI.php | 136 ++++ src/FacebookAds/Object/IPObject.php | 42 ++ .../Object/ImageCopyrightDispute.php | 65 ++ .../Object/ImageReferenceMatch.php | 65 ++ src/FacebookAds/Object/InsightsResult.php | 2 + .../InstagramBoostableMediaForAccessToken.php | 42 ++ .../Object/InstagramRelatedProductTags.php | 42 ++ src/FacebookAds/Object/InstagramUser.php | 4 +- src/FacebookAds/Object/InstantArticleCTA.php | 42 ++ .../InstantArticleInsightsQueryResult.php | 42 ++ .../Object/KeywordDeliveryReport.php | 42 ++ src/FacebookAds/Object/LeadGenDataDraft.php | 65 ++ .../LeadGenDirectCRMIntegrationConfig.php | 65 ++ .../Object/LeadGenFormPreviewDetails.php | 42 ++ .../Object/LeadGenThankYouPageGatedFile.php | 42 ++ .../Object/LeadGenThankYouPageGatedPromo.php | 42 ++ .../Object/LinkedInstagramAccountData.php | 42 ++ src/FacebookAds/Object/LiveVideo.php | 2 +- src/FacebookAds/Object/LocationBasedItem.php | 92 +++ src/FacebookAds/Object/LoomConfig.php | 42 ++ .../Object/MCExperienceConfigForApi.php | 42 ++ src/FacebookAds/Object/MIXInsightsResult.php | 42 ++ .../Object/MarketingMessageTargeting.php | 42 ++ .../Object/McomInvoiceBankAccount.php | 42 ++ src/FacebookAds/Object/McomInvoiceDetails.php | 42 ++ src/FacebookAds/Object/McomInvoiceLists.php | 42 ++ src/FacebookAds/Object/McomInvoiceStatus.php | 42 ++ .../Object/McomOnboardingStatus.php | 42 ++ src/FacebookAds/Object/McomPayouts.php | 42 ++ src/FacebookAds/Object/MeasurementReport.php | 65 ++ .../Object/MediaCopyrightAttribution.php | 65 ++ .../Object/MediaCopyrightUpdateRecord.php | 65 ++ src/FacebookAds/Object/MediaTitle.php | 4 +- src/FacebookAds/Object/MerchantCompliance.php | 42 ++ src/FacebookAds/Object/MerchantReport.php | 42 ++ src/FacebookAds/Object/MessagingAppsInfo.php | 42 ++ .../Object/MessengerCallSettings.php | 42 ++ ...MessengerDestinationPageWelcomeMessage.php | 42 ++ src/FacebookAds/Object/MusicWorkCopyright.php | 65 ++ .../Object/NegativeKeywordList.php | 90 +++ .../Object/OfflineConversionDataSet.php | 169 +---- .../OfflineConversionDataSetActivities.php | 42 ++ ...ineConversionDataSetOptimizationStatus.php | 42 ++ src/FacebookAds/Object/OfflineProductItem.php | 92 +++ .../Object/OfflineTermsOfService.php | 65 ++ .../OffsiteSignalContainerBusinessObject.php | 111 ++++ .../Object/OpenBridgeConfiguration.php | 2 +- .../Object/OrderIDAttributions.php | 42 ++ src/FacebookAds/Object/Organization.php | 65 ++ src/FacebookAds/Object/OwnedDomain.php | 65 ++ src/FacebookAds/Object/P2MInvoicePayments.php | 42 ++ src/FacebookAds/Object/Page.php | 171 +++-- .../Object/PageAppWithLeadsAccess.php | 42 ++ src/FacebookAds/Object/PageBroadcast.php | 65 ++ src/FacebookAds/Object/PageCTSTopic.php | 42 ++ ...tSimilarAdvertiserBudgetRecommendation.php | 42 ++ .../Object/PageCTXDefaultGreetingText.php | 42 ++ .../Object/PageCrmsWithLeadsAccess.php | 42 ++ ...ageDirectIntegrationCrmWithLeadsAccess.php | 42 ++ .../Object/PageGameBotQuotaInformation.php | 42 ++ .../Object/PageGetStartedNullstate.php | 42 ++ .../Object/PageInsightsAsyncExportRun.php | 65 ++ .../Object/PageLeadsAccessConfig.php | 65 ++ .../Object/PageLocationsBreakdown.php | 42 ++ .../PageMessageResponsivenessMetrics.php | 42 ++ .../Object/PagePartnerWithLeadsAccess.php | 42 ++ src/FacebookAds/Object/PagePost.php | 4 +- src/FacebookAds/Object/PagePublisher.php | 42 ++ .../Object/PageUserPermissions.php | 42 ++ .../Object/PageUserWithLeadsAccess.php | 42 ++ .../Object/PageVideosYouCanUse.php | 42 ++ src/FacebookAds/Object/PanelAPIReport.php | 65 ++ .../Object/ParentCatalogReport.php | 42 ++ .../Object/PartnerAccountLinking.php | 65 ++ src/FacebookAds/Object/PartnerCategory.php | 49 ++ .../Object/PartnerIntegrationLinked.php | 65 ++ .../PartnershipAdContentSearchMedia.php | 42 ++ .../Object/PartnershipAdsIdentity.php | 42 ++ .../Object/PaymentRequestDetails.php | 42 ++ src/FacebookAds/Object/PersonalAdsPersona.php | 65 ++ src/FacebookAds/Object/PhotoMetadata.php | 42 ++ src/FacebookAds/Object/PlaceTag.php | 65 ++ src/FacebookAds/Object/PlatformSessionKey.php | 42 ++ src/FacebookAds/Object/Post.php | 4 +- src/FacebookAds/Object/PreapprovalReview.php | 42 ++ src/FacebookAds/Object/PremiumMusicVideo.php | 42 ++ src/FacebookAds/Object/PrivacyOption.php | 42 ++ .../Object/PrivateComputationEnvironment.php | 65 ++ src/FacebookAds/Object/ProductCatalog.php | 48 +- .../Object/ProductCatalogExampleFeed.php | 42 ++ .../Object/ProductCatalogFacets.php | 42 ++ .../ProductCatalogImageSettingsInternal.php | 42 ++ .../ProductCatalogLocalizationSettings.php | 65 ++ .../ProductCatalogMicrodataStatsPixelInfo.php | 42 ++ .../Object/ProductCatalogUserActions.php | 42 ++ .../Object/ProductCatalogUserPermissions.php | 42 ++ .../Object/ProductCatalogUserTasks.php | 42 ++ .../Object/ProductDaEventSamplesBatch.php | 42 ++ .../Object/ProductFeedRulePreviewSample.php | 42 ++ .../Object/ProductFeedUploadProgress.php | 42 ++ .../Object/ProductItemInsights.php | 42 ++ .../Object/ProductItemInvalidationError.php | 42 ++ .../Object/ProductItemLandingPageData.php | 44 ++ src/FacebookAds/Object/ProductItemOffer.php | 65 ++ .../Object/ProductItemShipping.php | 42 ++ .../Object/ProductItemSubscriptionInfo.php | 42 ++ .../Object/ProductItemUnitPrice.php | 42 ++ .../Object/ProductSetTaxonCategory.php | 42 ++ src/FacebookAds/Object/ProductSetUsage.php | 65 ++ .../Object/ProductVisualVariant.php | 42 ++ src/FacebookAds/Object/PublisherBlockList.php | 6 +- .../Object/PublisherDeliveryReport.php | 42 ++ src/FacebookAds/Object/PublisherWhiteList.php | 65 ++ src/FacebookAds/Object/RecommendedIGMedia.php | 42 ++ .../Object/RecommendedPagePost.php | 42 ++ .../Object/RegionalRegulationIdentities.php | 42 ++ src/FacebookAds/Object/ReportingAudience.php | 42 ++ src/FacebookAds/Object/ResearchPollStudy.php | 65 ++ src/FacebookAds/Object/ResellerGuidance.php | 42 ++ .../Object/RightsManagerDataExport.php | 65 ++ .../Object/RightsManagerInsights.php | 42 ++ src/FacebookAds/Object/Robot.php | 65 ++ .../Object/SalesRightsInventoryManagement.php | 42 ++ src/FacebookAds/Object/ScheduledPost.php | 42 ++ .../Object/ScimCompanyUserPhoneNumber.php | 42 ++ .../ShadowIGMediaBoostedInsightsResult.php | 42 ++ .../Object/SignalsIWLExtractor.php | 65 ++ .../Object/SingleOwnerAdditionalProfile.php | 42 ++ src/FacebookAds/Object/SiteLink.php | 65 ++ .../Object/SlicedEventSourceGroup.php | 65 ++ src/FacebookAds/Object/SmartPixelInsights.php | 42 ++ src/FacebookAds/Object/SocialWifiSite.php | 42 ++ src/FacebookAds/Object/SplitTestConfig.php | 65 ++ src/FacebookAds/Object/Status.php | 92 +++ src/FacebookAds/Object/StreamFilter.php | 42 ++ src/FacebookAds/Object/TaggableSubject.php | 42 ++ .../TargetingGeoLocationLocationExpansion.php | 42 ++ .../TargetingMarketingMessageChannels.php | 42 ++ .../ThirdPartyMeasurementReportDataset.php | 65 ++ .../Object/ThirdPartyPartnerLiftRequest.php | 67 ++ .../Object/ThirdPartyPartnerPanelRequest.php | 69 ++ .../ThirdPartyPartnerPanelScheduled.php | 69 ++ .../ThirdPartyPartnerViewabilityRequest.php | 67 ++ src/FacebookAds/Object/TimeSuggestion.php | 42 ++ src/FacebookAds/Object/TimezoneOffset.php | 42 ++ src/FacebookAds/Object/TransactableItem.php | 92 +++ src/FacebookAds/Object/Transaction.php | 51 ++ src/FacebookAds/Object/UniqueAdCreative.php | 42 ++ src/FacebookAds/Object/User.php | 60 +- src/FacebookAds/Object/UserContext.php | 65 ++ src/FacebookAds/Object/UserMobileConfig.php | 42 ++ .../Object/UserNotificationSeenStateData.php | 42 ++ .../Object/UserPaymentMethodsInfo.php | 42 ++ .../Object/UserPaymentModulesOptions.php | 42 ++ .../Object/UserSetReportingRoot.php | 65 ++ .../AdAccountAdRulesHistoryActionValues.php | 3 + ...ccountAdVolumeRecommendationTypeValues.php | 21 +- ...AccountBusinessConstraintsStatusValues.php | 28 + .../Values/AdAccountContentTypeValues.php | 1 - ...DeliveryEstimateOptimizationGoalValues.php | 1 + ...AEMv2EligibilityOptimizationGoalValues.php | 53 ++ ...ttingsSydCampaignTrendsObjectiveValues.php | 46 ++ ...AdAssetFeedSpecCallToActionTypesValues.php | 1 + ...DeliveryEstimateOptimizationGoalValues.php | 1 + .../AdCreativeCallToActionTypeValues.php | 1 + ...CreativeLinkDataCallToActionTypeValues.php | 1 + ...CustomOverlaySpecBackgroundColorValues.php | 34 + ...iveLinkDataCustomOverlaySpecFontValues.php | 33 + ...eLinkDataCustomOverlaySpecOptionValues.php | 35 + ...inkDataCustomOverlaySpecPositionValues.php | 29 + ...inkDataCustomOverlaySpecTemplateValues.php | 26 + ...nkDataCustomOverlaySpecTextColorValues.php | 34 + .../AdCreativeLinkDataMomentTypeValues.php | 28 + ...stomOverlaySpecBackgroundOpacityValues.php | 27 + ...VideoDataCustomOverlaySpecOptionValues.php | 35 + ...deoDataCustomOverlaySpecPositionValues.php | 31 + ...deoDataCustomOverlaySpecTemplateValues.php | 26 + .../Object/Values/AdPreviewAdFormatValues.php | 1 + .../Values/AdRuleHistoryActionValues.php | 3 + .../Values/AdSetDestinationTypeValues.php | 2 +- .../Values/AdSetOptimizationGoalValues.php | 1 + ...AdSetRegionalRegulatedCategoriesValues.php | 27 + .../Object/Values/AdStudyTypeValues.php | 1 + .../Values/AdVideoContainerTypeValues.php | 3 +- .../AdoptablePetImageFetchStatusValues.php | 31 + .../Values/AdoptablePetVisibilityValues.php | 27 + .../Values/AdsInsightsBreakdownsValues.php | 3 + .../Values/AdsNamingTemplateLevelValues.php | 33 + .../Values/AdsPixelPermittedTasksValues.php | 28 + .../ApplicationOwnerPermissionsValues.php | 35 + .../ApplicationPartnerPermissionsValues.php | 35 + .../BusinessAgreementRequestStatusValues.php | 32 + .../Values/BusinessTimezoneIdValues.php | 506 ++++++++++++++ ...ogItemRejectionReasonsCapabilityValues.php | 30 + ...torAssetCreativeModerationStatusValues.php | 32 + .../CustomAudienceContentTypeValues.php | 1 - .../CustomAudienceDataSourceSubTypeValues.php | 2 + ...CustomConversionActionSourceTypeValues.php | 34 + .../Values/InsightsResultMetricValues.php | 215 ++++++ .../InstagramInsightsResultMetricValues.php | 4 - ...ocationBasedItemImageFetchStatusValues.php | 31 + .../LocationBasedItemVisibilityValues.php | 27 + ...flineProductItemImageFetchStatusValues.php | 31 + .../OfflineProductItemVisibilityValues.php | 27 + .../Values/PageCallToActionTypeValues.php | 1 + ...gDiagnosticGroupAffectedEntitiesValues.php | 1 + ...logDiagnosticGroupAffectedEntityValues.php | 1 + ...roductCatalogDiagnosticGroupTypeValues.php | 1 + ...oductCatalogDiagnosticGroupTypesValues.php | 1 + .../Values/ProductCatalogVerticalValues.php | 1 - .../Values/ProductItemErrorTypeValues.php | 18 + ...tItemLandingPageDataAvailabilityValues.php | 32 + ...irdPartyPartnerLiftRequestStatusValues.php | 30 + ...rdPartyPartnerPanelRequestStatusValues.php | 30 + ...rtyPartnerPanelRequestStudyTypeValues.php} | 10 +- ...PartyPartnerPanelScheduledStatusValues.php | 29 + ...yPartnerPanelScheduledStudyTypeValues.php} | 12 +- ...yPartnerViewabilityRequestStatusValues.php | 30 + ...TransactableItemImageFetchStatusValues.php | 31 + .../TransactableItemVisibilityValues.php | 27 + .../Values/TransactionProductTypeValues.php | 30 + .../VideoCopyrightMatchActionReasonValues.php | 33 + .../VideoCopyrightMatchActionValues.php | 30 + ...eoCopyrightMatchMatchContentTypeValues.php | 28 + ...sAppBusinessAccountDisplayFormatValues.php | 26 + .../WhatsAppBusinessAccountTasksValues.php | 1 + ...tionSubmissionVerificationStatusValues.php | 1 + src/FacebookAds/Object/Vehicle.php | 4 +- src/FacebookAds/Object/VehicleOffer.php | 4 +- src/FacebookAds/Object/VideoAsset.php | 94 +++ src/FacebookAds/Object/VideoCopyright.php | 4 +- .../Object/VideoCopyrightMatch.php | 71 ++ src/FacebookAds/Object/VideoGroup.php | 42 ++ src/FacebookAds/Object/VideoMetricsReport.php | 65 ++ src/FacebookAds/Object/VideoStats.php | 42 ++ src/FacebookAds/Object/VideoTextQuestion.php | 65 ++ src/FacebookAds/Object/VidwallaBroadcast.php | 65 ++ src/FacebookAds/Object/WITUser.php | 42 ++ .../Object/WearableDevicePublicKey.php | 65 ++ src/FacebookAds/Object/WebPublisher.php | 42 ++ .../Object/WebsiteCreativeAssetSource.php | 65 ++ .../WebsiteCreativeAssetSuggestions.php | 65 ++ .../Object/WhatsAppBusinessAccount.php | 32 +- .../Object/WhatsAppPaymentCapabilities.php | 42 ++ .../Object/WhatsappSubscribedAppsInfo.php | 42 ++ src/FacebookAds/Object/WhitehatFBDLRun.php | 65 ++ src/FacebookAds/Object/WifiInformation.php | 65 ++ src/FacebookAds/Object/WithAsset3D.php | 65 ++ src/FacebookAds/Object/WoodhengeSupporter.php | 65 ++ src/FacebookAds/Object/WorkAccessCode.php | 42 ++ src/FacebookAds/Object/WorkExperience.php | 65 ++ src/FacebookAds/Object/WorkSkill.php | 88 +++ src/FacebookAds/Object/WorkUserBadges.php | 42 ++ 994 files changed, 43215 insertions(+), 666 deletions(-) create mode 100644 src/FacebookAds/Object/AMOneshopSettings.php create mode 100644 src/FacebookAds/Object/ANBlockedBICategory.php rename src/FacebookAds/Object/{PageSavedFilter.php => AREffect.php} (82%) create mode 100644 src/FacebookAds/Object/AdAccountAAACompatibleAdObjects.php create mode 100644 src/FacebookAds/Object/AdAccountAAASimilarCampaigns.php create mode 100644 src/FacebookAds/Object/AdAccountASLSchedule.php create mode 100644 src/FacebookAds/Object/AdAccountAdLimitsInsights.php create mode 100644 src/FacebookAds/Object/AdAccountAdRulesCountByType.php create mode 100644 src/FacebookAds/Object/AdAccountAdsRecommendedAudios.php create mode 100644 src/FacebookAds/Object/AdAccountAllPaymentMethods.php create mode 100644 src/FacebookAds/Object/AdAccountAppSetupRequirements.php create mode 100644 src/FacebookAds/Object/AdAccountBankInfoList.php create mode 100644 src/FacebookAds/Object/AdAccountBillingDatePreference.php create mode 100644 src/FacebookAds/Object/AdAccountCampaignAttributionOptionInfo.php create mode 100644 src/FacebookAds/Object/AdAccountCreationRequest.php create mode 100644 src/FacebookAds/Object/AdAccountCustomAudienceLimits.php create mode 100644 src/FacebookAds/Object/AdAccountOptimizationGoalsAEMv2Eligibility.php create mode 100644 src/FacebookAds/Object/AdAccountPaymentDetails.php create mode 100644 src/FacebookAds/Object/AdAccountPaymentOptions.php create mode 100644 src/FacebookAds/Object/AdAccountPrepayDetails.php create mode 100644 src/FacebookAds/Object/AdAccountPromotionProgressBar.php create mode 100644 src/FacebookAds/Object/AdAccountRecommendations.php create mode 100644 src/FacebookAds/Object/AdAccountRelatedIcoStudy.php create mode 100644 src/FacebookAds/Object/AdAccountSmartSuggestedAds.php create mode 100644 src/FacebookAds/Object/AdAccountSpendLimit.php create mode 100644 src/FacebookAds/Object/AdAccountSubsidyAmountDetails.php create mode 100644 src/FacebookAds/Object/AdAccountSuggestedTag.php create mode 100644 src/FacebookAds/Object/AdAccountURLForAssetExtraction.php create mode 100644 src/FacebookAds/Object/AdAccountUserPermissions.php create mode 100644 src/FacebookAds/Object/AdAccountUserSettings.php create mode 100644 src/FacebookAds/Object/AdAccountYouthAdsAdvertiser.php create mode 100644 src/FacebookAds/Object/AdAssetFeedAdditionalDataPageNudgeMessage.php create mode 100644 src/FacebookAds/Object/AdCampaignDeliveryStats.php create mode 100644 src/FacebookAds/Object/AdCampaignGroupIncrementalConversionOptimizationConfig.php create mode 100644 src/FacebookAds/Object/AdCampaignGroupMetricsMetadata.php create mode 100644 src/FacebookAds/Object/AdCampaignGroupStats.php create mode 100644 src/FacebookAds/Object/AdCampaignGroupStructureTree.php create mode 100644 src/FacebookAds/Object/AdCampaignMetricsMetadata.php create mode 100644 src/FacebookAds/Object/AdCampaignMultiAds.php rename src/FacebookAds/Object/{FAMEExportConfig.php => AdCampaignStats.php} (80%) create mode 100644 src/FacebookAds/Object/AdColumnSizes.php create mode 100644 src/FacebookAds/Object/AdContract.php create mode 100644 src/FacebookAds/Object/AdConversionValues.php create mode 100644 src/FacebookAds/Object/AdConversions.php create mode 100644 src/FacebookAds/Object/AdCreationPackageConfig.php create mode 100644 src/FacebookAds/Object/AdCreativeAssetGroupsSpec.php create mode 100644 src/FacebookAds/Object/AdCreativeContextualMultiAds.php create mode 100644 src/FacebookAds/Object/AdCreativeFeatureActionMetadata.php create mode 100644 src/FacebookAds/Object/AdCreativeFeatureCustomizations.php create mode 100644 src/FacebookAds/Object/AdCreativeGenerativeAssetSpec.php create mode 100644 src/FacebookAds/Object/AdCreativeHouseShopsAdsSellerContent.php rename src/FacebookAds/Object/{CatalogSegmentAllMatchCountLaser.php => AdCreativeImageDataMediaElements.php} (76%) create mode 100644 src/FacebookAds/Object/AdCreativeLinkDataCustomOverlaySpec.php create mode 100644 src/FacebookAds/Object/AdCreativeLinkDataMoment.php create mode 100644 src/FacebookAds/Object/AdCreativeMarketingMessageStructuredSpec.php create mode 100644 src/FacebookAds/Object/AdCreativeRegionalRegulationDisclaimer.php create mode 100644 src/FacebookAds/Object/AdCreativeRewardInfo.php create mode 100644 src/FacebookAds/Object/AdCreativeShopSpec.php create mode 100644 src/FacebookAds/Object/AdCreativeVideoDataCustomOverlaySpec.php create mode 100644 src/FacebookAds/Object/AdCreativeVideoDataMediaElements.php create mode 100644 src/FacebookAds/Object/AdCreativeWhatsAppChannelSpec.php create mode 100644 src/FacebookAds/Object/AdCustomDerivedMetrics.php create mode 100644 src/FacebookAds/Object/AdDefaultValues.php create mode 100644 src/FacebookAds/Object/AdDraft.php create mode 100644 src/FacebookAds/Object/AdExportPreset.php create mode 100644 src/FacebookAds/Object/AdKeywordStats.php create mode 100644 src/FacebookAds/Object/AdKpiShift.php create mode 100644 src/FacebookAds/Object/AdLightAdgroup.php create mode 100644 src/FacebookAds/Object/AdLightCampaign.php create mode 100644 src/FacebookAds/Object/AdLightCampaignGroup.php create mode 100644 src/FacebookAds/Object/AdLimitSetting.php create mode 100644 src/FacebookAds/Object/AdLimitsEnforcementData.php create mode 100644 src/FacebookAds/Object/AdNetworkAnalyticsAsyncQueryExport.php create mode 100644 src/FacebookAds/Object/AdProposal.php create mode 100644 src/FacebookAds/Object/AdSavedKeywords.php create mode 100644 src/FacebookAds/Object/AdSavedLocation.php create mode 100644 src/FacebookAds/Object/AdSavedReport.php create mode 100644 src/FacebookAds/Object/AdTopline.php create mode 100644 src/FacebookAds/Object/AdToplineDetail.php rename src/FacebookAds/Object/{Dataset.php => AdVolume.php} (83%) create mode 100644 src/FacebookAds/Object/AdgroupFacebookFeedback.php create mode 100644 src/FacebookAds/Object/AdjacentContentDeliveryReport.php create mode 100644 src/FacebookAds/Object/AdoptablePet.php create mode 100644 src/FacebookAds/Object/AdsAnomalyDetection.php create mode 100644 src/FacebookAds/Object/AdsConversionGoal.php create mode 100644 src/FacebookAds/Object/AdsCreationSavedState.php create mode 100644 src/FacebookAds/Object/AdsCustomPivotsPreview.php create mode 100644 src/FacebookAds/Object/AdsDataPartner.php create mode 100644 src/FacebookAds/Object/AdsDataset.php create mode 100644 src/FacebookAds/Object/AdsGuidanceQEExposure.php create mode 100644 src/FacebookAds/Object/AdsNamingTemplate.php create mode 100644 src/FacebookAds/Object/AdsPaymentCycle.php create mode 100644 src/FacebookAds/Object/AdsPivotRules.php create mode 100644 src/FacebookAds/Object/AdsPixelCAPISetupQuality.php create mode 100644 src/FacebookAds/Object/AdsPixelCapabilityOverride.php create mode 100644 src/FacebookAds/Object/AdsPixelDeliveryRecommendations.php create mode 100644 src/FacebookAds/Object/AdsPixelDomainControlRule.php create mode 100644 src/FacebookAds/Object/AdsPixelDomainLastFiredTime.php create mode 100644 src/FacebookAds/Object/AdsPixelEventLastFiredTime.php create mode 100644 src/FacebookAds/Object/AdsPixelEventPrediction.php create mode 100644 src/FacebookAds/Object/AdsPixelEventSuggestionRule.php create mode 100644 src/FacebookAds/Object/AdsPixelItemPrice.php create mode 100644 src/FacebookAds/Object/AdsPixelMicrodataStats.php create mode 100644 src/FacebookAds/Object/AdsPixelRawFiresResult.php create mode 100644 src/FacebookAds/Object/AdsPixelRealTimeEventLogResult.php create mode 100644 src/FacebookAds/Object/AdsPixelRecentEventsResult.php create mode 100644 src/FacebookAds/Object/AdsPixelSignalsIWLFeedbackNux.php create mode 100644 src/FacebookAds/Object/AdsPixelSignalsIWLNux.php create mode 100644 src/FacebookAds/Object/AdsReportBuilder.php create mode 100644 src/FacebookAds/Object/AdsReportBuilderExportCore.php create mode 100644 src/FacebookAds/Object/AdsReportBuilderMMMReport.php create mode 100644 src/FacebookAds/Object/AdsReportBuilderMMMReportScheduler.php create mode 100644 src/FacebookAds/Object/AdsReportBuilderSavedReport.php create mode 100644 src/FacebookAds/Object/AdsSegments.php create mode 100644 src/FacebookAds/Object/AdsSignalDiagnosticIssue.php create mode 100644 src/FacebookAds/Object/AdsStartYourDayWidget.php create mode 100644 src/FacebookAds/Object/AdsTabular.php create mode 100644 src/FacebookAds/Object/AdsTargetingInsights.php create mode 100644 src/FacebookAds/Object/AdsTextSuggestions.php create mode 100644 src/FacebookAds/Object/AdsUserSettings.php create mode 100644 src/FacebookAds/Object/AdsValueAdjustmentRule.php create mode 100644 src/FacebookAds/Object/AdsValueAdjustmentRuleCollection.php create mode 100644 src/FacebookAds/Object/AdvAInstance.php create mode 100644 src/FacebookAds/Object/AdvertiserVerificationStatus.php create mode 100644 src/FacebookAds/Object/AnalyticsCohortQueryResult.php create mode 100644 src/FacebookAds/Object/AnalyticsConfig.php create mode 100644 src/FacebookAds/Object/AnalyticsEntityUserConfig.php create mode 100644 src/FacebookAds/Object/AnalyticsFunnelQueryResult.php create mode 100644 src/FacebookAds/Object/AnalyticsPlatformMetricsConfig.php create mode 100644 src/FacebookAds/Object/AnalyticsQueryResult.php create mode 100644 src/FacebookAds/Object/AnalyticsUserConfig.php create mode 100644 src/FacebookAds/Object/AppEventConfig.php create mode 100644 src/FacebookAds/Object/AppLinks.php create mode 100644 src/FacebookAds/Object/AppOptimizedCustomEvents.php create mode 100644 src/FacebookAds/Object/AppPublisher.php create mode 100644 src/FacebookAds/Object/ArAdsDataContainer.php create mode 100644 src/FacebookAds/Object/AudienceFunnel.php create mode 100644 src/FacebookAds/Object/AudienceOverlap.php create mode 100644 src/FacebookAds/Object/AudiencePermission.php create mode 100644 src/FacebookAds/Object/AudienceSharingAccountValid.php create mode 100644 src/FacebookAds/Object/AudienceSharingRecipientAccounts.php create mode 100644 src/FacebookAds/Object/AudioAsset.php create mode 100644 src/FacebookAds/Object/AudioIsrc.php create mode 100644 src/FacebookAds/Object/AudioRelease.php create mode 100644 src/FacebookAds/Object/AudioVisualReferenceMatch.php create mode 100644 src/FacebookAds/Object/AuthLink.php create mode 100644 src/FacebookAds/Object/BAPIDomain.php create mode 100644 src/FacebookAds/Object/BCPCampaign.php create mode 100644 src/FacebookAds/Object/BCPCreatorIgUser.php create mode 100644 src/FacebookAds/Object/BespokePartnerGuidanceLaser.php create mode 100644 src/FacebookAds/Object/BidSchedule.php create mode 100644 src/FacebookAds/Object/BizInboxOffsiteEmailAccount.php create mode 100644 src/FacebookAds/Object/BlindPig.php create mode 100644 src/FacebookAds/Object/BlockedUserInfo.php create mode 100644 src/FacebookAds/Object/BrandSafetyDownloadable.php create mode 100644 src/FacebookAds/Object/BrandedContentAdError.php create mode 100644 src/FacebookAds/Object/BrandedContentEligibleSponsorIDs.php create mode 100644 src/FacebookAds/Object/BusinessAdsReportingReportSpecs.php create mode 100644 src/FacebookAds/Object/BusinessAdvertisableApplicationsResult.php create mode 100644 src/FacebookAds/Object/BusinessAgreement.php create mode 100644 src/FacebookAds/Object/BusinessCreative.php create mode 100644 src/FacebookAds/Object/BusinessCreativeInsights.php create mode 100644 src/FacebookAds/Object/BusinessFranchiseConfig.php create mode 100644 src/FacebookAds/Object/BusinessImageTBusinessFolderPathItem.php create mode 100644 src/FacebookAds/Object/BusinessMediaAdPlacementValidationResult.php create mode 100644 src/FacebookAds/Object/BusinessObject.php create mode 100644 src/FacebookAds/Object/BusinessObjectTransferOwnershipAgreement.php create mode 100644 src/FacebookAds/Object/BusinessProductCatalogTOS.php create mode 100644 src/FacebookAds/Object/BusinessProject.php create mode 100644 src/FacebookAds/Object/BusinessRequest.php create mode 100644 src/FacebookAds/Object/BusinessSettingLogsData.php create mode 100644 src/FacebookAds/Object/BusinessTag.php create mode 100644 src/FacebookAds/Object/BusinessTrafficAnalysisReport.php create mode 100644 src/FacebookAds/Object/BusinessVideoTBusinessFolderPathItem.php create mode 100644 src/FacebookAds/Object/CASSSetupOfflineEventSetProgress.php create mode 100644 src/FacebookAds/Object/CPASAdCreationTemplate.php create mode 100644 src/FacebookAds/Object/CPASLsbImageBank.php create mode 100644 src/FacebookAds/Object/CPASParentCatalogSettings.php create mode 100644 src/FacebookAds/Object/CPASSetup.php create mode 100644 src/FacebookAds/Object/CPASSetupCatalogProgress.php create mode 100644 src/FacebookAds/Object/CPASSetupPageStructureProgress.php create mode 100644 src/FacebookAds/Object/CTWAWhatsAppNumbersInfo.php create mode 100644 src/FacebookAds/Object/CTXOptimizationEligibility.php create mode 100644 src/FacebookAds/Object/CalibratorExistingRule.php create mode 100644 src/FacebookAds/Object/CallAdsPhoneData.php create mode 100644 src/FacebookAds/Object/CampaignActionsData.php create mode 100644 src/FacebookAds/Object/CanvasTemplate.php create mode 100644 src/FacebookAds/Object/CatalogItemOverride.php create mode 100644 src/FacebookAds/Object/CatalogItemRejectionReasons.php create mode 100644 src/FacebookAds/Object/CatalogItemValidationErrorList.php create mode 100644 src/FacebookAds/Object/CatalogSmartPixelSettings.php create mode 100644 src/FacebookAds/Object/CatalogWebsiteOnboardingSettings.php create mode 100644 src/FacebookAds/Object/CatalogWebsiteSettings.php create mode 100644 src/FacebookAds/Object/ChinaBusinessOnboardingVettingRequest.php create mode 100644 src/FacebookAds/Object/CloudbridgeDatasetStatus.php create mode 100644 src/FacebookAds/Object/CollaborativeAdsPartnerBusinesses.php create mode 100644 src/FacebookAds/Object/ColumnSuggestions.php create mode 100644 src/FacebookAds/Object/ContactsMessengerSyncConfig.php create mode 100644 src/FacebookAds/Object/ContentDeliveryReport.php create mode 100644 src/FacebookAds/Object/ConversionHealthKPI.php create mode 100644 src/FacebookAds/Object/CopyrightAttributionInsights.php create mode 100644 src/FacebookAds/Object/CopyrightAudioAsset.php create mode 100644 src/FacebookAds/Object/CopyrightMediaMisuse.php create mode 100644 src/FacebookAds/Object/CreativeAssetTag.php create mode 100644 src/FacebookAds/Object/CreatorAssetCreative.php create mode 100644 src/FacebookAds/Object/CustomAudienceCapabilities.php create mode 100644 src/FacebookAds/Object/CustomAudienceSharedAccountCampaignInfo.php create mode 100644 src/FacebookAds/Object/CustomConversionActivities.php create mode 100644 src/FacebookAds/Object/DeliveryInfo.php create mode 100644 src/FacebookAds/Object/DeliveryStatus.php create mode 100644 src/FacebookAds/Object/DirectDebit.php create mode 100644 src/FacebookAds/Object/DogNotificationSettings.php create mode 100644 src/FacebookAds/Object/Domain.php create mode 100644 src/FacebookAds/Object/DraftPost.php create mode 100644 src/FacebookAds/Object/DynamicARMetadata.php create mode 100644 src/FacebookAds/Object/DynamicContentSet.php create mode 100644 src/FacebookAds/Object/DynamicItemDisplayBundle.php create mode 100644 src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php create mode 100644 src/FacebookAds/Object/EducationExperience.php create mode 100644 src/FacebookAds/Object/EmailImport.php create mode 100644 src/FacebookAds/Object/EndStudyCriteria.php create mode 100644 src/FacebookAds/Object/EntWithSponsor.php create mode 100644 src/FacebookAds/Object/EventExternalTicketInfo.php create mode 100644 src/FacebookAds/Object/EventRegistrationSetting.php create mode 100644 src/FacebookAds/Object/EventTicketSetting.php create mode 100644 src/FacebookAds/Object/EventTicketTier.php create mode 100644 src/FacebookAds/Object/EventTour.php create mode 100644 src/FacebookAds/Object/ExpirablePost.php create mode 100644 src/FacebookAds/Object/ExtendedCreditApplication.php create mode 100644 src/FacebookAds/Object/ExtendedCreditEmail.php create mode 100644 src/FacebookAds/Object/ExtendedCreditInfo.php create mode 100644 src/FacebookAds/Object/ExternalEventSourceCPASEventsDebugging.php create mode 100644 src/FacebookAds/Object/ExternalEventSourceCPASEventsDebuggingInfo.php create mode 100644 src/FacebookAds/Object/ExternalEventSourceDAStatsResult.php create mode 100644 src/FacebookAds/Object/ExternalMerchantSettings.php create mode 100644 src/FacebookAds/Object/FAMEKumo.php create mode 100644 src/FacebookAds/Object/FBImageCopyrightMatch.php create mode 100644 src/FacebookAds/Object/FBLiteToNTTransitions.php create mode 100644 src/FacebookAds/Object/FBPageAndInstagramAccount.php create mode 100644 src/FacebookAds/Object/FBPayButtonLogin.php create mode 100644 src/FacebookAds/Object/FantasyGame.php create mode 100644 src/FacebookAds/Object/FavoriteCatalog.php rename src/FacebookAds/Object/Fields/{FAMEExportConfigFields.php => AMOneshopSettingsFields.php} (66%) create mode 100644 src/FacebookAds/Object/Fields/ANBlockedBICategoryFields.php create mode 100644 src/FacebookAds/Object/Fields/AREffectFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountAAACompatibleAdObjectsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountAAASimilarCampaignsFields.php rename src/FacebookAds/Object/Fields/{PageSavedFilterFields.php => AdAccountASLScheduleFields.php} (66%) rename src/FacebookAds/Object/Fields/{CatalogSegmentAllMatchCountLaserFields.php => AdAccountAdLimitsInsightsFields.php} (64%) create mode 100644 src/FacebookAds/Object/Fields/AdAccountAdRulesCountByTypeFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountAdsRecommendedAudiosFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountAppSetupRequirementsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountBankInfoListFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountCampaignAttributionOptionInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountCreationRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountCustomAudienceLimitsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountOptimizationGoalsAEMv2EligibilityFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountRecommendationsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountRelatedIcoStudyFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountSmartSuggestedAdsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountSuggestedTagFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountURLForAssetExtractionFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAccountYouthAdsAdvertiserFields.php create mode 100644 src/FacebookAds/Object/Fields/AdAssetFeedAdditionalDataPageNudgeMessageFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignGroupIncrementalConversionOptimizationConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignGroupMetricsMetadataFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignGroupStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignGroupStructureTreeFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignMetricsMetadataFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignMultiAdsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCampaignStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdColumnSizesFields.php create mode 100644 src/FacebookAds/Object/Fields/AdContractFields.php create mode 100644 src/FacebookAds/Object/Fields/AdConversionValuesFields.php create mode 100644 src/FacebookAds/Object/Fields/AdConversionsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreationPackageConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeAssetGroupsSpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeContextualMultiAdsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeFeatureActionMetadataFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeFeatureCustomizationsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeGenerativeAssetSpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeHouseShopsAdsSellerContentFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeImageDataMediaElementsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeLinkDataCustomOverlaySpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeLinkDataMomentFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeMarketingMessageStructuredSpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeRegionalRegulationDisclaimerFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeRewardInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeShopSpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeVideoDataCustomOverlaySpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeVideoDataMediaElementsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCreativeWhatsAppChannelSpecFields.php create mode 100644 src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdDefaultValuesFields.php create mode 100644 src/FacebookAds/Object/Fields/AdDraftFields.php create mode 100644 src/FacebookAds/Object/Fields/AdExportPresetFields.php create mode 100644 src/FacebookAds/Object/Fields/AdKeywordStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdKpiShiftFields.php create mode 100644 src/FacebookAds/Object/Fields/AdLightAdgroupFields.php create mode 100644 src/FacebookAds/Object/Fields/AdLightCampaignFields.php create mode 100644 src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php create mode 100644 src/FacebookAds/Object/Fields/AdLimitSettingFields.php create mode 100644 src/FacebookAds/Object/Fields/AdLimitsEnforcementDataFields.php create mode 100644 src/FacebookAds/Object/Fields/AdNetworkAnalyticsAsyncQueryExportFields.php create mode 100644 src/FacebookAds/Object/Fields/AdProposalFields.php create mode 100644 src/FacebookAds/Object/Fields/AdSavedKeywordsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdSavedLocationFields.php create mode 100644 src/FacebookAds/Object/Fields/AdSavedReportFields.php create mode 100644 src/FacebookAds/Object/Fields/AdToplineDetailFields.php create mode 100644 src/FacebookAds/Object/Fields/AdToplineFields.php create mode 100644 src/FacebookAds/Object/Fields/AdVolumeFields.php create mode 100644 src/FacebookAds/Object/Fields/AdgroupFacebookFeedbackFields.php create mode 100644 src/FacebookAds/Object/Fields/AdjacentContentDeliveryReportFields.php create mode 100644 src/FacebookAds/Object/Fields/AdoptablePetFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsAnomalyDetectionFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsConversionGoalFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsCustomPivotsPreviewFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsDataPartnerFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsDatasetFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsGuidanceQEExposureFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsNamingTemplateFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPivotRulesFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelCAPISetupQualityFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelCapabilityOverrideFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelDeliveryRecommendationsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelDomainControlRuleFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelDomainLastFiredTimeFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelEventLastFiredTimeFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelItemPriceFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelMicrodataStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelRawFiresResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelRealTimeEventLogResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelRecentEventsResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelSignalsIWLFeedbackNuxFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsPixelSignalsIWLNuxFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderExportCoreFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportSchedulerFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsSegmentsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsSignalDiagnosticIssueFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsStartYourDayWidgetFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsTabularFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsTextSuggestionsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsUserSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleCollectionFields.php create mode 100644 src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleFields.php create mode 100644 src/FacebookAds/Object/Fields/AdvAInstanceFields.php create mode 100644 src/FacebookAds/Object/Fields/AdvertiserVerificationStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsCohortQueryResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsFunnelQueryResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsQueryResultFields.php create mode 100644 src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AppEventConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/AppLinksFields.php create mode 100644 src/FacebookAds/Object/Fields/AppOptimizedCustomEventsFields.php create mode 100644 src/FacebookAds/Object/Fields/AppPublisherFields.php create mode 100644 src/FacebookAds/Object/Fields/ArAdsDataContainerFields.php create mode 100644 src/FacebookAds/Object/Fields/AudienceFunnelFields.php create mode 100644 src/FacebookAds/Object/Fields/AudienceOverlapFields.php create mode 100644 src/FacebookAds/Object/Fields/AudiencePermissionFields.php create mode 100644 src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php create mode 100644 src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php create mode 100644 src/FacebookAds/Object/Fields/AudioAssetFields.php create mode 100644 src/FacebookAds/Object/Fields/AudioIsrcFields.php create mode 100644 src/FacebookAds/Object/Fields/AudioReleaseFields.php create mode 100644 src/FacebookAds/Object/Fields/AudioVisualReferenceMatchFields.php create mode 100644 src/FacebookAds/Object/Fields/AuthLinkFields.php create mode 100644 src/FacebookAds/Object/Fields/BAPIDomainFields.php create mode 100644 src/FacebookAds/Object/Fields/BCPCampaignFields.php create mode 100644 src/FacebookAds/Object/Fields/BCPCreatorIgUserFields.php create mode 100644 src/FacebookAds/Object/Fields/BespokePartnerGuidanceLaserFields.php create mode 100644 src/FacebookAds/Object/Fields/BidScheduleFields.php create mode 100644 src/FacebookAds/Object/Fields/BizInboxOffsiteEmailAccountFields.php create mode 100644 src/FacebookAds/Object/Fields/BlindPigFields.php create mode 100644 src/FacebookAds/Object/Fields/BlockedUserInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/BrandSafetyDownloadableFields.php create mode 100644 src/FacebookAds/Object/Fields/BrandedContentAdErrorFields.php create mode 100644 src/FacebookAds/Object/Fields/BrandedContentEligibleSponsorIDsFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessAdsReportingReportSpecsFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessAdvertisableApplicationsResultFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessAgreementFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessCreativeFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessCreativeInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessFranchiseConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessImageTBusinessFolderPathItemFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessMediaAdPlacementValidationResultFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessObjectFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessObjectTransferOwnershipAgreementFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessProductCatalogTOSFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessProjectFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessSettingLogsDataFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessTagFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessTrafficAnalysisReportFields.php create mode 100644 src/FacebookAds/Object/Fields/BusinessVideoTBusinessFolderPathItemFields.php create mode 100644 src/FacebookAds/Object/Fields/CASSSetupOfflineEventSetProgressFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASAdCreationTemplateFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASLsbImageBankFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASParentCatalogSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASSetupCatalogProgressFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASSetupFields.php create mode 100644 src/FacebookAds/Object/Fields/CPASSetupPageStructureProgressFields.php create mode 100644 src/FacebookAds/Object/Fields/CTWAWhatsAppNumbersInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/CTXOptimizationEligibilityFields.php create mode 100644 src/FacebookAds/Object/Fields/CalibratorExistingRuleFields.php create mode 100644 src/FacebookAds/Object/Fields/CallAdsPhoneDataFields.php create mode 100644 src/FacebookAds/Object/Fields/CampaignActionsDataFields.php create mode 100644 src/FacebookAds/Object/Fields/CanvasTemplateFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogItemOverrideFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogItemRejectionReasonsFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogItemValidationErrorListFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogWebsiteOnboardingSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/CatalogWebsiteSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/ChinaBusinessOnboardingVettingRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/CloudbridgeDatasetStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/CollaborativeAdsPartnerBusinessesFields.php create mode 100644 src/FacebookAds/Object/Fields/ColumnSuggestionsFields.php create mode 100644 src/FacebookAds/Object/Fields/ContactsMessengerSyncConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/ContentDeliveryReportFields.php create mode 100644 src/FacebookAds/Object/Fields/ConversionHealthKPIFields.php create mode 100644 src/FacebookAds/Object/Fields/CopyrightAttributionInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/CopyrightAudioAssetFields.php create mode 100644 src/FacebookAds/Object/Fields/CopyrightMediaMisuseFields.php create mode 100644 src/FacebookAds/Object/Fields/CreativeAssetTagFields.php create mode 100644 src/FacebookAds/Object/Fields/CreatorAssetCreativeFields.php create mode 100644 src/FacebookAds/Object/Fields/CustomAudienceCapabilitiesFields.php create mode 100644 src/FacebookAds/Object/Fields/CustomAudienceSharedAccountCampaignInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/CustomConversionActivitiesFields.php create mode 100644 src/FacebookAds/Object/Fields/DeliveryInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/DeliveryStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/DirectDebitFields.php create mode 100644 src/FacebookAds/Object/Fields/DogNotificationSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/DomainFields.php create mode 100644 src/FacebookAds/Object/Fields/DraftPostFields.php create mode 100644 src/FacebookAds/Object/Fields/DynamicARMetadataFields.php create mode 100644 src/FacebookAds/Object/Fields/DynamicContentSetFields.php create mode 100644 src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php create mode 100644 src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php create mode 100644 src/FacebookAds/Object/Fields/EducationExperienceFields.php create mode 100644 src/FacebookAds/Object/Fields/EmailImportFields.php create mode 100644 src/FacebookAds/Object/Fields/EndStudyCriteriaFields.php create mode 100644 src/FacebookAds/Object/Fields/EntWithSponsorFields.php create mode 100644 src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php create mode 100644 src/FacebookAds/Object/Fields/EventTicketSettingFields.php create mode 100644 src/FacebookAds/Object/Fields/EventTicketTierFields.php create mode 100644 src/FacebookAds/Object/Fields/EventTourFields.php create mode 100644 src/FacebookAds/Object/Fields/ExpirablePostFields.php create mode 100644 src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php create mode 100644 src/FacebookAds/Object/Fields/ExtendedCreditEmailFields.php create mode 100644 src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingFields.php create mode 100644 src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/ExternalEventSourceDAStatsResultFields.php create mode 100644 src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php rename src/FacebookAds/Object/Fields/{DatasetFields.php => FAMEKumoFields.php} (93%) create mode 100644 src/FacebookAds/Object/Fields/FBImageCopyrightMatchFields.php create mode 100644 src/FacebookAds/Object/Fields/FBLiteToNTTransitionsFields.php create mode 100644 src/FacebookAds/Object/Fields/FBPageAndInstagramAccountFields.php create mode 100644 src/FacebookAds/Object/Fields/FBPayButtonLoginFields.php create mode 100644 src/FacebookAds/Object/Fields/FantasyGameFields.php create mode 100644 src/FacebookAds/Object/Fields/FavoriteCatalogFields.php create mode 100644 src/FacebookAds/Object/Fields/FinanceObjectFields.php create mode 100644 src/FacebookAds/Object/Fields/FranchiseProgramFields.php create mode 100644 src/FacebookAds/Object/Fields/FranchiseProgramMemberFields.php create mode 100644 src/FacebookAds/Object/Fields/GenericVideoAssetFields.php create mode 100644 src/FacebookAds/Object/Fields/GeoGatingPolicyFields.php create mode 100644 src/FacebookAds/Object/Fields/HoursFields.php create mode 100644 src/FacebookAds/Object/Fields/IGAccessTokenForIGOnlyAPIFields.php create mode 100644 src/FacebookAds/Object/Fields/IGBoostMediaAdFields.php create mode 100644 src/FacebookAds/Object/Fields/IGMediaBoostEligibilityInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/IGMediaForIGOnlyAPIFields.php create mode 100644 src/FacebookAds/Object/Fields/IGProductTaggingInvalidationErrorFields.php create mode 100644 src/FacebookAds/Object/Fields/IGRefreshAccessTokenForIGOnlyAPIFields.php create mode 100644 src/FacebookAds/Object/Fields/IGResumableVideoUploadStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/IGUserForIGOnlyAPIFields.php create mode 100644 src/FacebookAds/Object/Fields/IPObjectFields.php create mode 100644 src/FacebookAds/Object/Fields/ImageCopyrightDisputeFields.php create mode 100644 src/FacebookAds/Object/Fields/ImageReferenceMatchFields.php create mode 100644 src/FacebookAds/Object/Fields/InstagramBoostableMediaForAccessTokenFields.php create mode 100644 src/FacebookAds/Object/Fields/InstagramRelatedProductTagsFields.php create mode 100644 src/FacebookAds/Object/Fields/InstantArticleCTAFields.php create mode 100644 src/FacebookAds/Object/Fields/InstantArticleInsightsQueryResultFields.php create mode 100644 src/FacebookAds/Object/Fields/KeywordDeliveryReportFields.php create mode 100644 src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php create mode 100644 src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/LeadGenFormPreviewDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedFileFields.php create mode 100644 src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedPromoFields.php create mode 100644 src/FacebookAds/Object/Fields/LinkedInstagramAccountDataFields.php create mode 100644 src/FacebookAds/Object/Fields/LocationBasedItemFields.php create mode 100644 src/FacebookAds/Object/Fields/LoomConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/MCExperienceConfigForApiFields.php create mode 100644 src/FacebookAds/Object/Fields/MIXInsightsResultFields.php create mode 100644 src/FacebookAds/Object/Fields/MarketingMessageTargetingFields.php create mode 100644 src/FacebookAds/Object/Fields/McomInvoiceBankAccountFields.php create mode 100644 src/FacebookAds/Object/Fields/McomInvoiceDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/McomInvoiceListsFields.php create mode 100644 src/FacebookAds/Object/Fields/McomInvoiceStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/McomOnboardingStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/McomPayoutsFields.php create mode 100644 src/FacebookAds/Object/Fields/MeasurementReportFields.php create mode 100644 src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php create mode 100644 src/FacebookAds/Object/Fields/MediaCopyrightUpdateRecordFields.php create mode 100644 src/FacebookAds/Object/Fields/MerchantComplianceFields.php create mode 100644 src/FacebookAds/Object/Fields/MerchantReportFields.php create mode 100644 src/FacebookAds/Object/Fields/MessagingAppsInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/MessengerCallSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/MessengerDestinationPageWelcomeMessageFields.php create mode 100644 src/FacebookAds/Object/Fields/MusicWorkCopyrightFields.php create mode 100644 src/FacebookAds/Object/Fields/NegativeKeywordListFields.php create mode 100644 src/FacebookAds/Object/Fields/OfflineConversionDataSetActivitiesFields.php create mode 100644 src/FacebookAds/Object/Fields/OfflineConversionDataSetOptimizationStatusFields.php create mode 100644 src/FacebookAds/Object/Fields/OfflineProductItemFields.php create mode 100644 src/FacebookAds/Object/Fields/OfflineTermsOfServiceFields.php create mode 100644 src/FacebookAds/Object/Fields/OffsiteSignalContainerBusinessObjectFields.php create mode 100644 src/FacebookAds/Object/Fields/OrderIDAttributionsFields.php create mode 100644 src/FacebookAds/Object/Fields/OrganizationFields.php create mode 100644 src/FacebookAds/Object/Fields/OwnedDomainFields.php create mode 100644 src/FacebookAds/Object/Fields/P2MInvoicePaymentsFields.php create mode 100644 src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php create mode 100644 src/FacebookAds/Object/Fields/PageBroadcastFields.php create mode 100644 src/FacebookAds/Object/Fields/PageCTSTopicFields.php create mode 100644 src/FacebookAds/Object/Fields/PageCTXBudgetSimilarAdvertiserBudgetRecommendationFields.php create mode 100644 src/FacebookAds/Object/Fields/PageCTXDefaultGreetingTextFields.php create mode 100644 src/FacebookAds/Object/Fields/PageCrmsWithLeadsAccessFields.php create mode 100644 src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php create mode 100644 src/FacebookAds/Object/Fields/PageGameBotQuotaInformationFields.php create mode 100644 src/FacebookAds/Object/Fields/PageGetStartedNullstateFields.php create mode 100644 src/FacebookAds/Object/Fields/PageInsightsAsyncExportRunFields.php create mode 100644 src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/PageLocationsBreakdownFields.php create mode 100644 src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php create mode 100644 src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php create mode 100644 src/FacebookAds/Object/Fields/PagePublisherFields.php create mode 100644 src/FacebookAds/Object/Fields/PageUserPermissionsFields.php create mode 100644 src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php create mode 100644 src/FacebookAds/Object/Fields/PageVideosYouCanUseFields.php create mode 100644 src/FacebookAds/Object/Fields/PanelAPIReportFields.php create mode 100644 src/FacebookAds/Object/Fields/ParentCatalogReportFields.php create mode 100644 src/FacebookAds/Object/Fields/PartnerAccountLinkingFields.php create mode 100644 src/FacebookAds/Object/Fields/PartnerCategoryFields.php create mode 100644 src/FacebookAds/Object/Fields/PartnerIntegrationLinkedFields.php create mode 100644 src/FacebookAds/Object/Fields/PartnershipAdContentSearchMediaFields.php create mode 100644 src/FacebookAds/Object/Fields/PartnershipAdsIdentityFields.php create mode 100644 src/FacebookAds/Object/Fields/PaymentRequestDetailsFields.php create mode 100644 src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php create mode 100644 src/FacebookAds/Object/Fields/PhotoMetadataFields.php create mode 100644 src/FacebookAds/Object/Fields/PlaceTagFields.php create mode 100644 src/FacebookAds/Object/Fields/PlatformSessionKeyFields.php create mode 100644 src/FacebookAds/Object/Fields/PreapprovalReviewFields.php create mode 100644 src/FacebookAds/Object/Fields/PremiumMusicVideoFields.php create mode 100644 src/FacebookAds/Object/Fields/PrivacyOptionFields.php create mode 100644 src/FacebookAds/Object/Fields/PrivateComputationEnvironmentFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogExampleFeedFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogFacetsFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogImageSettingsInternalFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogLocalizationSettingsFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogMicrodataStatsPixelInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogUserActionsFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductCatalogUserTasksFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductDaEventSamplesBatchFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductFeedUploadProgressFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemInvalidationErrorFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemLandingPageDataFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemOfferFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemShippingFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemSubscriptionInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductItemUnitPriceFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductSetTaxonCategoryFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductSetUsageFields.php create mode 100644 src/FacebookAds/Object/Fields/ProductVisualVariantFields.php create mode 100644 src/FacebookAds/Object/Fields/PublisherDeliveryReportFields.php create mode 100644 src/FacebookAds/Object/Fields/PublisherWhiteListFields.php create mode 100644 src/FacebookAds/Object/Fields/RecommendedIGMediaFields.php create mode 100644 src/FacebookAds/Object/Fields/RecommendedPagePostFields.php create mode 100644 src/FacebookAds/Object/Fields/RegionalRegulationIdentitiesFields.php create mode 100644 src/FacebookAds/Object/Fields/ReportingAudienceFields.php create mode 100644 src/FacebookAds/Object/Fields/ResearchPollStudyFields.php create mode 100644 src/FacebookAds/Object/Fields/ResellerGuidanceFields.php create mode 100644 src/FacebookAds/Object/Fields/RightsManagerDataExportFields.php create mode 100644 src/FacebookAds/Object/Fields/RightsManagerInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/RobotFields.php create mode 100644 src/FacebookAds/Object/Fields/SalesRightsInventoryManagementFields.php create mode 100644 src/FacebookAds/Object/Fields/ScheduledPostFields.php create mode 100644 src/FacebookAds/Object/Fields/ScimCompanyUserPhoneNumberFields.php create mode 100644 src/FacebookAds/Object/Fields/ShadowIGMediaBoostedInsightsResultFields.php create mode 100644 src/FacebookAds/Object/Fields/SignalsIWLExtractorFields.php create mode 100644 src/FacebookAds/Object/Fields/SingleOwnerAdditionalProfileFields.php create mode 100644 src/FacebookAds/Object/Fields/SiteLinkFields.php create mode 100644 src/FacebookAds/Object/Fields/SlicedEventSourceGroupFields.php create mode 100644 src/FacebookAds/Object/Fields/SmartPixelInsightsFields.php create mode 100644 src/FacebookAds/Object/Fields/SocialWifiSiteFields.php create mode 100644 src/FacebookAds/Object/Fields/SplitTestConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/StatusFields.php create mode 100644 src/FacebookAds/Object/Fields/StreamFilterFields.php create mode 100644 src/FacebookAds/Object/Fields/TaggableSubjectFields.php create mode 100644 src/FacebookAds/Object/Fields/TargetingGeoLocationLocationExpansionFields.php create mode 100644 src/FacebookAds/Object/Fields/TargetingMarketingMessageChannelsFields.php create mode 100644 src/FacebookAds/Object/Fields/ThirdPartyMeasurementReportDatasetFields.php create mode 100644 src/FacebookAds/Object/Fields/ThirdPartyPartnerLiftRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelScheduledFields.php create mode 100644 src/FacebookAds/Object/Fields/ThirdPartyPartnerViewabilityRequestFields.php create mode 100644 src/FacebookAds/Object/Fields/TimeSuggestionFields.php create mode 100644 src/FacebookAds/Object/Fields/TimezoneOffsetFields.php create mode 100644 src/FacebookAds/Object/Fields/TransactableItemFields.php create mode 100644 src/FacebookAds/Object/Fields/TransactionFields.php create mode 100644 src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php create mode 100644 src/FacebookAds/Object/Fields/UserContextFields.php create mode 100644 src/FacebookAds/Object/Fields/UserMobileConfigFields.php create mode 100644 src/FacebookAds/Object/Fields/UserNotificationSeenStateDataFields.php create mode 100644 src/FacebookAds/Object/Fields/UserPaymentMethodsInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/UserPaymentModulesOptionsFields.php create mode 100644 src/FacebookAds/Object/Fields/UserSetReportingRootFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoAssetFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoGroupFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoMetricsReportFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoStatsFields.php create mode 100644 src/FacebookAds/Object/Fields/VideoTextQuestionFields.php create mode 100644 src/FacebookAds/Object/Fields/VidwallaBroadcastFields.php create mode 100644 src/FacebookAds/Object/Fields/WITUserFields.php create mode 100644 src/FacebookAds/Object/Fields/WearableDevicePublicKeyFields.php create mode 100644 src/FacebookAds/Object/Fields/WebPublisherFields.php create mode 100644 src/FacebookAds/Object/Fields/WebsiteCreativeAssetSourceFields.php create mode 100644 src/FacebookAds/Object/Fields/WebsiteCreativeAssetSuggestionsFields.php create mode 100644 src/FacebookAds/Object/Fields/WhatsAppPaymentCapabilitiesFields.php create mode 100644 src/FacebookAds/Object/Fields/WhatsappSubscribedAppsInfoFields.php create mode 100644 src/FacebookAds/Object/Fields/WhitehatFBDLRunFields.php create mode 100644 src/FacebookAds/Object/Fields/WifiInformationFields.php create mode 100644 src/FacebookAds/Object/Fields/WithAsset3DFields.php create mode 100644 src/FacebookAds/Object/Fields/WoodhengeSupporterFields.php create mode 100644 src/FacebookAds/Object/Fields/WorkAccessCodeFields.php create mode 100644 src/FacebookAds/Object/Fields/WorkExperienceFields.php create mode 100644 src/FacebookAds/Object/Fields/WorkSkillFields.php create mode 100644 src/FacebookAds/Object/Fields/WorkUserBadgesFields.php create mode 100644 src/FacebookAds/Object/FinanceObject.php create mode 100644 src/FacebookAds/Object/FranchiseProgram.php create mode 100644 src/FacebookAds/Object/FranchiseProgramMember.php create mode 100644 src/FacebookAds/Object/GenericVideoAsset.php create mode 100644 src/FacebookAds/Object/GeoGatingPolicy.php create mode 100644 src/FacebookAds/Object/Hours.php create mode 100644 src/FacebookAds/Object/IGAccessTokenForIGOnlyAPI.php create mode 100644 src/FacebookAds/Object/IGBoostMediaAd.php create mode 100644 src/FacebookAds/Object/IGMediaBoostEligibilityInfo.php create mode 100644 src/FacebookAds/Object/IGMediaForIGOnlyAPI.php create mode 100644 src/FacebookAds/Object/IGProductTaggingInvalidationError.php create mode 100644 src/FacebookAds/Object/IGRefreshAccessTokenForIGOnlyAPI.php create mode 100644 src/FacebookAds/Object/IGResumableVideoUploadStatus.php create mode 100644 src/FacebookAds/Object/IGUserForIGOnlyAPI.php create mode 100644 src/FacebookAds/Object/IPObject.php create mode 100644 src/FacebookAds/Object/ImageCopyrightDispute.php create mode 100644 src/FacebookAds/Object/ImageReferenceMatch.php create mode 100644 src/FacebookAds/Object/InstagramBoostableMediaForAccessToken.php create mode 100644 src/FacebookAds/Object/InstagramRelatedProductTags.php create mode 100644 src/FacebookAds/Object/InstantArticleCTA.php create mode 100644 src/FacebookAds/Object/InstantArticleInsightsQueryResult.php create mode 100644 src/FacebookAds/Object/KeywordDeliveryReport.php create mode 100644 src/FacebookAds/Object/LeadGenDataDraft.php create mode 100644 src/FacebookAds/Object/LeadGenDirectCRMIntegrationConfig.php create mode 100644 src/FacebookAds/Object/LeadGenFormPreviewDetails.php create mode 100644 src/FacebookAds/Object/LeadGenThankYouPageGatedFile.php create mode 100644 src/FacebookAds/Object/LeadGenThankYouPageGatedPromo.php create mode 100644 src/FacebookAds/Object/LinkedInstagramAccountData.php create mode 100644 src/FacebookAds/Object/LocationBasedItem.php create mode 100644 src/FacebookAds/Object/LoomConfig.php create mode 100644 src/FacebookAds/Object/MCExperienceConfigForApi.php create mode 100644 src/FacebookAds/Object/MIXInsightsResult.php create mode 100644 src/FacebookAds/Object/MarketingMessageTargeting.php create mode 100644 src/FacebookAds/Object/McomInvoiceBankAccount.php create mode 100644 src/FacebookAds/Object/McomInvoiceDetails.php create mode 100644 src/FacebookAds/Object/McomInvoiceLists.php create mode 100644 src/FacebookAds/Object/McomInvoiceStatus.php create mode 100644 src/FacebookAds/Object/McomOnboardingStatus.php create mode 100644 src/FacebookAds/Object/McomPayouts.php create mode 100644 src/FacebookAds/Object/MeasurementReport.php create mode 100644 src/FacebookAds/Object/MediaCopyrightAttribution.php create mode 100644 src/FacebookAds/Object/MediaCopyrightUpdateRecord.php create mode 100644 src/FacebookAds/Object/MerchantCompliance.php create mode 100644 src/FacebookAds/Object/MerchantReport.php create mode 100644 src/FacebookAds/Object/MessagingAppsInfo.php create mode 100644 src/FacebookAds/Object/MessengerCallSettings.php create mode 100644 src/FacebookAds/Object/MessengerDestinationPageWelcomeMessage.php create mode 100644 src/FacebookAds/Object/MusicWorkCopyright.php create mode 100644 src/FacebookAds/Object/NegativeKeywordList.php create mode 100644 src/FacebookAds/Object/OfflineConversionDataSetActivities.php create mode 100644 src/FacebookAds/Object/OfflineConversionDataSetOptimizationStatus.php create mode 100644 src/FacebookAds/Object/OfflineProductItem.php create mode 100644 src/FacebookAds/Object/OfflineTermsOfService.php create mode 100644 src/FacebookAds/Object/OffsiteSignalContainerBusinessObject.php create mode 100644 src/FacebookAds/Object/OrderIDAttributions.php create mode 100644 src/FacebookAds/Object/Organization.php create mode 100644 src/FacebookAds/Object/OwnedDomain.php create mode 100644 src/FacebookAds/Object/P2MInvoicePayments.php create mode 100644 src/FacebookAds/Object/PageAppWithLeadsAccess.php create mode 100644 src/FacebookAds/Object/PageBroadcast.php create mode 100644 src/FacebookAds/Object/PageCTSTopic.php create mode 100644 src/FacebookAds/Object/PageCTXBudgetSimilarAdvertiserBudgetRecommendation.php create mode 100644 src/FacebookAds/Object/PageCTXDefaultGreetingText.php create mode 100644 src/FacebookAds/Object/PageCrmsWithLeadsAccess.php create mode 100644 src/FacebookAds/Object/PageDirectIntegrationCrmWithLeadsAccess.php create mode 100644 src/FacebookAds/Object/PageGameBotQuotaInformation.php create mode 100644 src/FacebookAds/Object/PageGetStartedNullstate.php create mode 100644 src/FacebookAds/Object/PageInsightsAsyncExportRun.php create mode 100644 src/FacebookAds/Object/PageLeadsAccessConfig.php create mode 100644 src/FacebookAds/Object/PageLocationsBreakdown.php create mode 100644 src/FacebookAds/Object/PageMessageResponsivenessMetrics.php create mode 100644 src/FacebookAds/Object/PagePartnerWithLeadsAccess.php create mode 100644 src/FacebookAds/Object/PagePublisher.php create mode 100644 src/FacebookAds/Object/PageUserPermissions.php create mode 100644 src/FacebookAds/Object/PageUserWithLeadsAccess.php create mode 100644 src/FacebookAds/Object/PageVideosYouCanUse.php create mode 100644 src/FacebookAds/Object/PanelAPIReport.php create mode 100644 src/FacebookAds/Object/ParentCatalogReport.php create mode 100644 src/FacebookAds/Object/PartnerAccountLinking.php create mode 100644 src/FacebookAds/Object/PartnerCategory.php create mode 100644 src/FacebookAds/Object/PartnerIntegrationLinked.php create mode 100644 src/FacebookAds/Object/PartnershipAdContentSearchMedia.php create mode 100644 src/FacebookAds/Object/PartnershipAdsIdentity.php create mode 100644 src/FacebookAds/Object/PaymentRequestDetails.php create mode 100644 src/FacebookAds/Object/PersonalAdsPersona.php create mode 100644 src/FacebookAds/Object/PhotoMetadata.php create mode 100644 src/FacebookAds/Object/PlaceTag.php create mode 100644 src/FacebookAds/Object/PlatformSessionKey.php create mode 100644 src/FacebookAds/Object/PreapprovalReview.php create mode 100644 src/FacebookAds/Object/PremiumMusicVideo.php create mode 100644 src/FacebookAds/Object/PrivacyOption.php create mode 100644 src/FacebookAds/Object/PrivateComputationEnvironment.php create mode 100644 src/FacebookAds/Object/ProductCatalogExampleFeed.php create mode 100644 src/FacebookAds/Object/ProductCatalogFacets.php create mode 100644 src/FacebookAds/Object/ProductCatalogImageSettingsInternal.php create mode 100644 src/FacebookAds/Object/ProductCatalogLocalizationSettings.php create mode 100644 src/FacebookAds/Object/ProductCatalogMicrodataStatsPixelInfo.php create mode 100644 src/FacebookAds/Object/ProductCatalogUserActions.php create mode 100644 src/FacebookAds/Object/ProductCatalogUserPermissions.php create mode 100644 src/FacebookAds/Object/ProductCatalogUserTasks.php create mode 100644 src/FacebookAds/Object/ProductDaEventSamplesBatch.php create mode 100644 src/FacebookAds/Object/ProductFeedRulePreviewSample.php create mode 100644 src/FacebookAds/Object/ProductFeedUploadProgress.php create mode 100644 src/FacebookAds/Object/ProductItemInsights.php create mode 100644 src/FacebookAds/Object/ProductItemInvalidationError.php create mode 100644 src/FacebookAds/Object/ProductItemLandingPageData.php create mode 100644 src/FacebookAds/Object/ProductItemOffer.php create mode 100644 src/FacebookAds/Object/ProductItemShipping.php create mode 100644 src/FacebookAds/Object/ProductItemSubscriptionInfo.php create mode 100644 src/FacebookAds/Object/ProductItemUnitPrice.php create mode 100644 src/FacebookAds/Object/ProductSetTaxonCategory.php create mode 100644 src/FacebookAds/Object/ProductSetUsage.php create mode 100644 src/FacebookAds/Object/ProductVisualVariant.php create mode 100644 src/FacebookAds/Object/PublisherDeliveryReport.php create mode 100644 src/FacebookAds/Object/PublisherWhiteList.php create mode 100644 src/FacebookAds/Object/RecommendedIGMedia.php create mode 100644 src/FacebookAds/Object/RecommendedPagePost.php create mode 100644 src/FacebookAds/Object/RegionalRegulationIdentities.php create mode 100644 src/FacebookAds/Object/ReportingAudience.php create mode 100644 src/FacebookAds/Object/ResearchPollStudy.php create mode 100644 src/FacebookAds/Object/ResellerGuidance.php create mode 100644 src/FacebookAds/Object/RightsManagerDataExport.php create mode 100644 src/FacebookAds/Object/RightsManagerInsights.php create mode 100644 src/FacebookAds/Object/Robot.php create mode 100644 src/FacebookAds/Object/SalesRightsInventoryManagement.php create mode 100644 src/FacebookAds/Object/ScheduledPost.php create mode 100644 src/FacebookAds/Object/ScimCompanyUserPhoneNumber.php create mode 100644 src/FacebookAds/Object/ShadowIGMediaBoostedInsightsResult.php create mode 100644 src/FacebookAds/Object/SignalsIWLExtractor.php create mode 100644 src/FacebookAds/Object/SingleOwnerAdditionalProfile.php create mode 100644 src/FacebookAds/Object/SiteLink.php create mode 100644 src/FacebookAds/Object/SlicedEventSourceGroup.php create mode 100644 src/FacebookAds/Object/SmartPixelInsights.php create mode 100644 src/FacebookAds/Object/SocialWifiSite.php create mode 100644 src/FacebookAds/Object/SplitTestConfig.php create mode 100644 src/FacebookAds/Object/Status.php create mode 100644 src/FacebookAds/Object/StreamFilter.php create mode 100644 src/FacebookAds/Object/TaggableSubject.php create mode 100644 src/FacebookAds/Object/TargetingGeoLocationLocationExpansion.php create mode 100644 src/FacebookAds/Object/TargetingMarketingMessageChannels.php create mode 100644 src/FacebookAds/Object/ThirdPartyMeasurementReportDataset.php create mode 100644 src/FacebookAds/Object/ThirdPartyPartnerLiftRequest.php create mode 100644 src/FacebookAds/Object/ThirdPartyPartnerPanelRequest.php create mode 100644 src/FacebookAds/Object/ThirdPartyPartnerPanelScheduled.php create mode 100644 src/FacebookAds/Object/ThirdPartyPartnerViewabilityRequest.php create mode 100644 src/FacebookAds/Object/TimeSuggestion.php create mode 100644 src/FacebookAds/Object/TimezoneOffset.php create mode 100644 src/FacebookAds/Object/TransactableItem.php create mode 100644 src/FacebookAds/Object/Transaction.php create mode 100644 src/FacebookAds/Object/UniqueAdCreative.php create mode 100644 src/FacebookAds/Object/UserContext.php create mode 100644 src/FacebookAds/Object/UserMobileConfig.php create mode 100644 src/FacebookAds/Object/UserNotificationSeenStateData.php create mode 100644 src/FacebookAds/Object/UserPaymentMethodsInfo.php create mode 100644 src/FacebookAds/Object/UserPaymentModulesOptions.php create mode 100644 src/FacebookAds/Object/UserSetReportingRoot.php create mode 100644 src/FacebookAds/Object/Values/AdAccountBusinessConstraintsStatusValues.php create mode 100644 src/FacebookAds/Object/Values/AdAccountOptimizationGoalsAEMv2EligibilityOptimizationGoalValues.php create mode 100644 src/FacebookAds/Object/Values/AdAccountUserSettingsSydCampaignTrendsObjectiveValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecBackgroundColorValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecFontValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecOptionValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecPositionValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecTemplateValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataCustomOverlaySpecTextColorValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeLinkDataMomentTypeValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeVideoDataCustomOverlaySpecBackgroundOpacityValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeVideoDataCustomOverlaySpecOptionValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeVideoDataCustomOverlaySpecPositionValues.php create mode 100644 src/FacebookAds/Object/Values/AdCreativeVideoDataCustomOverlaySpecTemplateValues.php create mode 100644 src/FacebookAds/Object/Values/AdSetRegionalRegulatedCategoriesValues.php create mode 100644 src/FacebookAds/Object/Values/AdoptablePetImageFetchStatusValues.php create mode 100644 src/FacebookAds/Object/Values/AdoptablePetVisibilityValues.php create mode 100644 src/FacebookAds/Object/Values/AdsNamingTemplateLevelValues.php create mode 100644 src/FacebookAds/Object/Values/AdsPixelPermittedTasksValues.php create mode 100644 src/FacebookAds/Object/Values/ApplicationOwnerPermissionsValues.php create mode 100644 src/FacebookAds/Object/Values/ApplicationPartnerPermissionsValues.php create mode 100644 src/FacebookAds/Object/Values/BusinessAgreementRequestStatusValues.php create mode 100644 src/FacebookAds/Object/Values/BusinessTimezoneIdValues.php create mode 100644 src/FacebookAds/Object/Values/CatalogItemRejectionReasonsCapabilityValues.php create mode 100644 src/FacebookAds/Object/Values/CreatorAssetCreativeModerationStatusValues.php create mode 100644 src/FacebookAds/Object/Values/CustomConversionActionSourceTypeValues.php create mode 100644 src/FacebookAds/Object/Values/InsightsResultMetricValues.php create mode 100644 src/FacebookAds/Object/Values/LocationBasedItemImageFetchStatusValues.php create mode 100644 src/FacebookAds/Object/Values/LocationBasedItemVisibilityValues.php create mode 100644 src/FacebookAds/Object/Values/OfflineProductItemImageFetchStatusValues.php create mode 100644 src/FacebookAds/Object/Values/OfflineProductItemVisibilityValues.php create mode 100644 src/FacebookAds/Object/Values/ProductItemLandingPageDataAvailabilityValues.php create mode 100644 src/FacebookAds/Object/Values/ThirdPartyPartnerLiftRequestStatusValues.php create mode 100644 src/FacebookAds/Object/Values/ThirdPartyPartnerPanelRequestStatusValues.php rename src/FacebookAds/Object/Values/{OfflineConversionDataSetPermittedRolesValues.php => ThirdPartyPartnerPanelRequestStudyTypeValues.php} (69%) create mode 100644 src/FacebookAds/Object/Values/ThirdPartyPartnerPanelScheduledStatusValues.php rename src/FacebookAds/Object/Values/{OfflineConversionDataSetRelationshipTypeValues.php => ThirdPartyPartnerPanelScheduledStudyTypeValues.php} (65%) create mode 100644 src/FacebookAds/Object/Values/ThirdPartyPartnerViewabilityRequestStatusValues.php create mode 100644 src/FacebookAds/Object/Values/TransactableItemImageFetchStatusValues.php create mode 100644 src/FacebookAds/Object/Values/TransactableItemVisibilityValues.php create mode 100644 src/FacebookAds/Object/Values/TransactionProductTypeValues.php create mode 100644 src/FacebookAds/Object/Values/VideoCopyrightMatchActionReasonValues.php create mode 100644 src/FacebookAds/Object/Values/VideoCopyrightMatchActionValues.php create mode 100644 src/FacebookAds/Object/Values/VideoCopyrightMatchMatchContentTypeValues.php create mode 100644 src/FacebookAds/Object/Values/WhatsAppBusinessAccountDisplayFormatValues.php create mode 100644 src/FacebookAds/Object/VideoAsset.php create mode 100644 src/FacebookAds/Object/VideoCopyrightMatch.php create mode 100644 src/FacebookAds/Object/VideoGroup.php create mode 100644 src/FacebookAds/Object/VideoMetricsReport.php create mode 100644 src/FacebookAds/Object/VideoStats.php create mode 100644 src/FacebookAds/Object/VideoTextQuestion.php create mode 100644 src/FacebookAds/Object/VidwallaBroadcast.php create mode 100644 src/FacebookAds/Object/WITUser.php create mode 100644 src/FacebookAds/Object/WearableDevicePublicKey.php create mode 100644 src/FacebookAds/Object/WebPublisher.php create mode 100644 src/FacebookAds/Object/WebsiteCreativeAssetSource.php create mode 100644 src/FacebookAds/Object/WebsiteCreativeAssetSuggestions.php create mode 100644 src/FacebookAds/Object/WhatsAppPaymentCapabilities.php create mode 100644 src/FacebookAds/Object/WhatsappSubscribedAppsInfo.php create mode 100644 src/FacebookAds/Object/WhitehatFBDLRun.php create mode 100644 src/FacebookAds/Object/WifiInformation.php create mode 100644 src/FacebookAds/Object/WithAsset3D.php create mode 100644 src/FacebookAds/Object/WoodhengeSupporter.php create mode 100644 src/FacebookAds/Object/WorkAccessCode.php create mode 100644 src/FacebookAds/Object/WorkExperience.php create mode 100644 src/FacebookAds/Object/WorkSkill.php create mode 100644 src/FacebookAds/Object/WorkUserBadges.php diff --git a/examples/AdAccountAdSetsPostAdSetCreateCpa.php b/examples/AdAccountAdSetsPostAdSetCreateCpa.php index 159293325..9d95bf0f5 100644 --- a/examples/AdAccountAdSetsPostAdSetCreateCpa.php +++ b/examples/AdAccountAdSetsPostAdSetCreateCpa.php @@ -43,8 +43,8 @@ 'name' => 'A CPA Ad Set', 'campaign_id' => '', 'daily_budget' => '5000', - 'start_time' => '2024-04-08T11:26:05-0700', - 'end_time' => '2024-04-15T11:26:05-0700', + 'start_time' => '2024-06-18T16:39:15-0700', + 'end_time' => '2024-06-25T16:39:15-0700', 'billing_event' => 'IMPRESSIONS', 'optimization_goal' => 'REACH', 'bid_amount' => '1000', diff --git a/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php b/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php index af2168288..b41a80e0a 100644 --- a/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php +++ b/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php @@ -43,8 +43,8 @@ 'name' => 'A CPA Ad Set optimized for App Events', 'campaign_id' => '', 'daily_budget' => '300', - 'start_time' => '2024-04-08T11:26:49-0700', - 'end_time' => '2024-04-15T11:26:49-0700', + 'start_time' => '2024-06-18T16:40:02-0700', + 'end_time' => '2024-06-25T16:40:02-0700', 'billing_event' => 'IMPRESSIONS', 'optimization_goal' => 'OFFSITE_CONVERSIONS', 'bid_amount' => '100', diff --git a/examples/AdAccountAdSetsPostCreateAdSet.php b/examples/AdAccountAdSetsPostCreateAdSet.php index 303ab57a3..1c23b3561 100644 --- a/examples/AdAccountAdSetsPostCreateAdSet.php +++ b/examples/AdAccountAdSetsPostCreateAdSet.php @@ -42,8 +42,8 @@ $params = array( 'name' => 'My First AdSet', 'lifetime_budget' => '20000', - 'start_time' => '2024-04-08T11:25:19-0700', - 'end_time' => '2024-04-15T11:25:19-0700', + 'start_time' => '2024-06-18T16:38:30-0700', + 'end_time' => '2024-06-25T16:38:30-0700', 'campaign_id' => '', 'bid_amount' => '500', 'billing_event' => 'IMPRESSIONS', diff --git a/examples/AdAccountAdSetsPostDailyBudget20.php b/examples/AdAccountAdSetsPostDailyBudget20.php index 594200388..ef1a005dd 100644 --- a/examples/AdAccountAdSetsPostDailyBudget20.php +++ b/examples/AdAccountAdSetsPostDailyBudget20.php @@ -42,8 +42,8 @@ $params = array( 'name' => 'My First Adset', 'daily_budget' => '2000', - 'start_time' => '2024-04-01T11:26:23-0700', - 'end_time' => '2024-04-08T11:26:23-0700', + 'start_time' => '2024-06-11T16:39:34-0700', + 'end_time' => '2024-06-18T16:39:34-0700', 'campaign_id' => '', 'bid_amount' => '100', 'billing_event' => 'LINK_CLICKS', diff --git a/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php b/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php index bb8933629..ed8368921 100644 --- a/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php +++ b/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php @@ -42,8 +42,8 @@ $params = array( 'name' => 'My First Adset', 'lifetime_budget' => '20000', - 'start_time' => '2024-04-01T11:26:32-0700', - 'end_time' => '2024-04-11T11:26:32-0700', + 'start_time' => '2024-06-11T16:39:43-0700', + 'end_time' => '2024-06-21T16:39:43-0700', 'campaign_id' => '', 'bid_amount' => '100', 'billing_event' => 'LINK_CLICKS', diff --git a/examples/AdAccountAdSetsPostOptimizePostEngagement.php b/examples/AdAccountAdSetsPostOptimizePostEngagement.php index 7f5a38781..c6e48fe39 100644 --- a/examples/AdAccountAdSetsPostOptimizePostEngagement.php +++ b/examples/AdAccountAdSetsPostOptimizePostEngagement.php @@ -42,8 +42,8 @@ $params = array( 'name' => 'My First Adset', 'lifetime_budget' => '20000', - 'start_time' => '2024-04-01T11:26:40-0700', - 'end_time' => '2024-04-11T11:26:40-0700', + 'start_time' => '2024-06-11T16:39:52-0700', + 'end_time' => '2024-06-21T16:39:52-0700', 'campaign_id' => '', 'bid_amount' => '500', 'billing_event' => 'IMPRESSIONS', diff --git a/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php b/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php index 67a44e4f8..9a215c444 100644 --- a/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php +++ b/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php @@ -40,7 +40,7 @@ $fields = array( ); $params = array( - 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1711391704)), + 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1717544918)), ); echo json_encode((new Ad($id))->getLeads( $fields, diff --git a/examples/AdsPixelEventsPost.php b/examples/AdsPixelEventsPost.php index df944d5c3..06a104c44 100644 --- a/examples/AdsPixelEventsPost.php +++ b/examples/AdsPixelEventsPost.php @@ -39,7 +39,7 @@ $fields = array( ); $params = array( - 'data' => array(array('event_name' => 'PageView','event_time' => 1711995835,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))), + 'data' => array(array('event_name' => 'PageView','event_time' => 1718149023,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))), ); echo json_encode((new AdsPixel($id))->createEvent( $fields, diff --git a/src/FacebookAds/ApiConfig.php b/src/FacebookAds/ApiConfig.php index 29cabbc16..0db45d0b0 100644 --- a/src/FacebookAds/ApiConfig.php +++ b/src/FacebookAds/ApiConfig.php @@ -9,7 +9,7 @@ namespace FacebookAds; class ApiConfig { - const APIVersion = '19.0'; - const SDKVersion = '19.0.3'; + const APIVersion = '20.0'; + const SDKVersion = '20.0.0'; const TYPE_CHECKER_STRICT_MODE = false; } diff --git a/src/FacebookAds/Object/AMOneshopSettings.php b/src/FacebookAds/Object/AMOneshopSettings.php new file mode 100644 index 000000000..b3cee37b0 --- /dev/null +++ b/src/FacebookAds/Object/AMOneshopSettings.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/', - new PageSavedFilter(), + new AREffect(), 'NODE', - PageSavedFilter::getFieldsEnum()->getValues(), + AREffect::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/Ad.php b/src/FacebookAds/Object/Ad.php index a974a95ac..d876e490c 100644 --- a/src/FacebookAds/Object/Ad.php +++ b/src/FacebookAds/Object/Ad.php @@ -477,6 +477,7 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'bid_amount' => 'int', 'conversion_domain' => 'string', 'creative' => 'AdCreative', + 'creative_asset_groups_spec' => 'Object', 'display_sequence' => 'unsigned int', 'draft_adgroup_id' => 'string', 'engagement_audience' => 'bool', diff --git a/src/FacebookAds/Object/AdAccount.php b/src/FacebookAds/Object/AdAccount.php index 3a43e56d2..255a8b418 100644 --- a/src/FacebookAds/Object/AdAccount.php +++ b/src/FacebookAds/Object/AdAccount.php @@ -63,6 +63,7 @@ use FacebookAds\Object\Values\AdSetOperatorValues; use FacebookAds\Object\Values\AdSetOptimizationGoalValues; use FacebookAds\Object\Values\AdSetOptimizationSubEventValues; +use FacebookAds\Object\Values\AdSetRegionalRegulatedCategoriesValues; use FacebookAds\Object\Values\AdSetStatusValues; use FacebookAds\Object\Values\AdSetTuneForCategoryValues; use FacebookAds\Object\Values\AdStatusValues; @@ -98,6 +99,7 @@ use FacebookAds\Object\Values\CustomAudienceContentTypeValues; use FacebookAds\Object\Values\CustomAudienceCustomerFileSourceValues; use FacebookAds\Object\Values\CustomAudienceSubtypeValues; +use FacebookAds\Object\Values\CustomConversionActionSourceTypeValues; use FacebookAds\Object\Values\CustomConversionCustomEventTypeValues; use FacebookAds\Object\Values\ReachFrequencyPredictionActionValues; use FacebookAds\Object\Values\ReachFrequencyPredictionBuyingTypeValues; @@ -320,9 +322,9 @@ public function getAdSavedKeywords(array $fields = array(), array $params = arra $this->data['id'], RequestInterface::METHOD_GET, '/ad_saved_keywords', - new AbstractCrudObject(), + new AdSavedKeywords(), 'EDGE', - array(), + AdSavedKeywords::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -415,6 +417,7 @@ public function createAdCreative(array $fields = array(), array $params = array( 'call_to_action' => 'Object', 'categorization_criteria' => 'categorization_criteria_enum', 'category_media_source' => 'category_media_source_enum', + 'contextual_multi_ads' => 'map', 'degrees_of_freedom_spec' => 'map', 'destination_set_id' => 'string', 'dynamic_ad_voice' => 'dynamic_ad_voice_enum', @@ -432,7 +435,6 @@ public function createAdCreative(array $fields = array(), array $params = array( 'is_dco_internal' => 'bool', 'link_og_id' => 'string', 'link_url' => 'string', - 'messenger_sponsored_message' => 'string', 'name' => 'string', 'object_id' => 'unsigned int', 'object_story_id' => 'string', @@ -440,6 +442,7 @@ public function createAdCreative(array $fields = array(), array $params = array( 'object_type' => 'string', 'object_url' => 'string', 'omnichannel_link_spec' => 'map', + 'page_welcome_message' => 'string', 'place_page_set_id' => 'string', 'platform_customizations' => 'Object', 'playable_asset_id' => 'string', @@ -808,6 +811,7 @@ public function createAd(array $fields = array(), array $params = array(), $pend 'bid_amount' => 'int', 'conversion_domain' => 'string', 'creative' => 'AdCreative', + 'creative_asset_groups_spec' => 'Object', 'date_format' => 'string', 'display_sequence' => 'unsigned int', 'draft_adgroup_id' => 'string', @@ -855,9 +859,9 @@ public function getAdsReportingMmmReports(array $fields = array(), array $params $this->data['id'], RequestInterface::METHOD_GET, '/ads_reporting_mmm_reports', - new AbstractCrudObject(), + new AdsReportBuilderMMMReport(), 'EDGE', - array(), + AdsReportBuilderMMMReport::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -878,9 +882,9 @@ public function getAdsReportingMmmSchedulers(array $fields = array(), array $par $this->data['id'], RequestInterface::METHOD_GET, '/ads_reporting_mmm_schedulers', - new AbstractCrudObject(), + new AdsReportBuilderMMMReportScheduler(), 'EDGE', - array(), + AdsReportBuilderMMMReportScheduler::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -892,7 +896,7 @@ public function getAdsVolume(array $fields = array(), array $params = array(), $ $this->assureId(); $param_types = array( - 'page_id' => 'int', + 'page_id' => 'string', 'recommendation_type' => 'recommendation_type_enum', 'show_breakdown_by_actor' => 'bool', ); @@ -1013,6 +1017,8 @@ public function createAdSet(array $fields = array(), array $params = array(), $p 'pacing_type' => 'list', 'promoted_object' => 'Object', 'rb_prediction_id' => 'string', + 'regional_regulated_categories' => 'list', + 'regional_regulation_identities' => 'map', 'rf_prediction_id' => 'string', 'source_adset_id' => 'string', 'start_time' => 'datetime', @@ -1034,6 +1040,7 @@ public function createAdSet(array $fields = array(), array $params = array(), $p 'multi_optimization_goal_weight_enum' => AdSetMultiOptimizationGoalWeightValues::getInstance()->getValues(), 'optimization_goal_enum' => AdSetOptimizationGoalValues::getInstance()->getValues(), 'optimization_sub_event_enum' => AdSetOptimizationSubEventValues::getInstance()->getValues(), + 'regional_regulated_categories_enum' => AdSetRegionalRegulatedCategoriesValues::getInstance()->getValues(), 'status_enum' => AdSetStatusValues::getInstance()->getValues(), 'tune_for_category_enum' => AdSetTuneForCategoryValues::getInstance()->getValues(), ); @@ -1213,7 +1220,6 @@ public function createAdVideo(array $fields = array(), array $params = array(), $this->assureId(); $param_types = array( - 'adaptive_type' => 'string', 'animated_effect_id' => 'unsigned int', 'application_id' => 'string', 'asked_fun_fact_prompt_id' => 'unsigned int', @@ -1261,7 +1267,6 @@ public function createAdVideo(array $fields = array(), array $params = array(), 'original_fov' => 'unsigned int', 'original_projection_type' => 'original_projection_type_enum', 'publish_event_id' => 'unsigned int', - 'react_mode_metadata' => 'string', 'referenced_sticker_id' => 'string', 'replace_video_id' => 'string', 'slideshow_spec' => 'map', @@ -1622,9 +1627,9 @@ public function getAudienceFunnel(array $fields = array(), array $params = array $this->data['id'], RequestInterface::METHOD_GET, '/audience_funnel', - new AbstractCrudObject(), + new AudienceFunnel(), 'EDGE', - array(), + AudienceFunnel::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1694,9 +1699,9 @@ public function getBusinessProjects(array $fields = array(), array $params = arr $this->data['id'], RequestInterface::METHOD_GET, '/businessprojects', - new AbstractCrudObject(), + new BusinessProject(), 'EDGE', - array(), + BusinessProject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1902,9 +1907,9 @@ public function getConversionGoals(array $fields = array(), array $params = arra $this->data['id'], RequestInterface::METHOD_GET, '/conversion_goals', - new AbstractCrudObject(), + new AdsConversionGoal(), 'EDGE', - array(), + AdsConversionGoal::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1925,9 +1930,9 @@ public function getCpaGuidance(array $fields = array(), array $params = array(), $this->data['id'], RequestInterface::METHOD_GET, '/cpa_guidance', - new AbstractCrudObject(), + new BespokePartnerGuidanceLaser(), 'EDGE', - array(), + BespokePartnerGuidanceLaser::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2100,6 +2105,7 @@ public function createCustomConversion(array $fields = array(), array $params = $this->assureId(); $param_types = array( + 'action_source_type' => 'action_source_type_enum', 'advanced_rule' => 'string', 'custom_event_type' => 'custom_event_type_enum', 'default_conversion_value' => 'float', @@ -2109,6 +2115,7 @@ public function createCustomConversion(array $fields = array(), array $params = 'rule' => 'string', ); $enums = array( + 'action_source_type_enum' => CustomConversionActionSourceTypeValues::getInstance()->getValues(), 'custom_event_type_enum' => CustomConversionCustomEventTypeValues::getInstance()->getValues(), ); @@ -2414,7 +2421,7 @@ public function getIosFourteenCampaignLimits(array $fields = array(), array $par return $pending ? $request : $request->execute(); } - public function createManagedPartnerAd(array $fields = array(), array $params = array(), $pending = false) { + public function createMAnAgeDPartnerAd(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2549,29 +2556,6 @@ public function getMinimumBudgets(array $fields = array(), array $params = array return $pending ? $request : $request->execute(); } - public function getOfflineConversionDataSets(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, - '/offline_conversion_data_sets', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - public function getOnBehalfRequests(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -3076,7 +3060,7 @@ public function getTargetingSuggestions(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function getTargetingValidation(array $fields = array(), array $params = array(), $pending = false) { + public function getTargetingValidATIOn(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -3212,9 +3196,9 @@ public function getValueAdjustmentRuleCollections(array $fields = array(), array $this->data['id'], RequestInterface::METHOD_GET, '/value_adjustment_rule_collections', - new AbstractCrudObject(), + new AdsValueAdjustmentRuleCollection(), 'EDGE', - array(), + AdsValueAdjustmentRuleCollection::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -3235,9 +3219,9 @@ public function getValueAdjustmentRules(array $fields = array(), array $params = $this->data['id'], RequestInterface::METHOD_GET, '/value_adjustment_rules', - new AbstractCrudObject(), + new AdsValueAdjustmentRule(), 'EDGE', - array(), + AdsValueAdjustmentRule::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/AdAccountAAACompatibleAdObjects.php b/src/FacebookAds/Object/AdAccountAAACompatibleAdObjects.php new file mode 100644 index 000000000..f65ad328d --- /dev/null +++ b/src/FacebookAds/Object/AdAccountAAACompatibleAdObjects.php @@ -0,0 +1,42 @@ +getValues(); return $ref_enums; } diff --git a/src/FacebookAds/Object/AdAccountCampaignAttributionOptionInfo.php b/src/FacebookAds/Object/AdAccountCampaignAttributionOptionInfo.php new file mode 100644 index 000000000..1d251802b --- /dev/null +++ b/src/FacebookAds/Object/AdAccountCampaignAttributionOptionInfo.php @@ -0,0 +1,42 @@ +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 AdAccountCreationRequest(), + 'NODE', + AdAccountCreationRequest::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdAccountCustomAudienceLimits.php b/src/FacebookAds/Object/AdAccountCustomAudienceLimits.php new file mode 100644 index 000000000..b872f93f5 --- /dev/null +++ b/src/FacebookAds/Object/AdAccountCustomAudienceLimits.php @@ -0,0 +1,42 @@ +getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/AdAccountPaymentDetails.php b/src/FacebookAds/Object/AdAccountPaymentDetails.php new file mode 100644 index 000000000..4f22cdda4 --- /dev/null +++ b/src/FacebookAds/Object/AdAccountPaymentDetails.php @@ -0,0 +1,42 @@ +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 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/AdAccountYouthAdsAdvertiser.php b/src/FacebookAds/Object/AdAccountYouthAdsAdvertiser.php new file mode 100644 index 000000000..c2669ad6c --- /dev/null +++ b/src/FacebookAds/Object/AdAccountYouthAdsAdvertiser.php @@ -0,0 +1,42 @@ +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/AdContract.php b/src/FacebookAds/Object/AdContract.php new file mode 100644 index 000000000..129c233e7 --- /dev/null +++ b/src/FacebookAds/Object/AdContract.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdCreationPackageConfig(), + 'NODE', + AdCreationPackageConfig::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdCreativeAssetGroupsSpec.php b/src/FacebookAds/Object/AdCreativeAssetGroupsSpec.php new file mode 100644 index 000000000..3b468a3f7 --- /dev/null +++ b/src/FacebookAds/Object/AdCreativeAssetGroupsSpec.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['Font'] = AdCreativeLinkDataCustomOverlaySpecFontValues::getInstance()->getValues(); + $ref_enums['Option'] = AdCreativeLinkDataCustomOverlaySpecOptionValues::getInstance()->getValues(); + $ref_enums['Position'] = AdCreativeLinkDataCustomOverlaySpecPositionValues::getInstance()->getValues(); + $ref_enums['Template'] = AdCreativeLinkDataCustomOverlaySpecTemplateValues::getInstance()->getValues(); + $ref_enums['TextColor'] = AdCreativeLinkDataCustomOverlaySpecTextColorValues::getInstance()->getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/AdCreativeLinkDataMoment.php b/src/FacebookAds/Object/AdCreativeLinkDataMoment.php new file mode 100644 index 000000000..cda52cddb --- /dev/null +++ b/src/FacebookAds/Object/AdCreativeLinkDataMoment.php @@ -0,0 +1,44 @@ +getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/AdCreativeMarketingMessageStructuredSpec.php b/src/FacebookAds/Object/AdCreativeMarketingMessageStructuredSpec.php new file mode 100644 index 000000000..4829c7e62 --- /dev/null +++ b/src/FacebookAds/Object/AdCreativeMarketingMessageStructuredSpec.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['Option'] = AdCreativeVideoDataCustomOverlaySpecOptionValues::getInstance()->getValues(); + $ref_enums['Position'] = AdCreativeVideoDataCustomOverlaySpecPositionValues::getInstance()->getValues(); + $ref_enums['Template'] = AdCreativeVideoDataCustomOverlaySpecTemplateValues::getInstance()->getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/AdCreativeVideoDataMediaElements.php b/src/FacebookAds/Object/AdCreativeVideoDataMediaElements.php new file mode 100644 index 000000000..32d09ec5e --- /dev/null +++ b/src/FacebookAds/Object/AdCreativeVideoDataMediaElements.php @@ -0,0 +1,42 @@ +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/AdDefaultValues.php b/src/FacebookAds/Object/AdDefaultValues.php new file mode 100644 index 000000000..a5f9951b0 --- /dev/null +++ b/src/FacebookAds/Object/AdDefaultValues.php @@ -0,0 +1,42 @@ +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 new file mode 100644 index 000000000..dbc1b107b --- /dev/null +++ b/src/FacebookAds/Object/AdExportPreset.php @@ -0,0 +1,65 @@ +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/AdKeywordStats.php b/src/FacebookAds/Object/AdKeywordStats.php new file mode 100644 index 000000000..1719f9ae5 --- /dev/null +++ b/src/FacebookAds/Object/AdKeywordStats.php @@ -0,0 +1,49 @@ +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 new file mode 100644 index 000000000..265b1dd01 --- /dev/null +++ b/src/FacebookAds/Object/AdLightCampaign.php @@ -0,0 +1,65 @@ +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 new file mode 100644 index 000000000..b8efe17f7 --- /dev/null +++ b/src/FacebookAds/Object/AdLightCampaignGroup.php @@ -0,0 +1,65 @@ +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/AdLimitSetting.php b/src/FacebookAds/Object/AdLimitSetting.php new file mode 100644 index 000000000..3537bc97c --- /dev/null +++ b/src/FacebookAds/Object/AdLimitSetting.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdProposal(), + 'NODE', + AdProposal::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdSavedKeywords.php b/src/FacebookAds/Object/AdSavedKeywords.php new file mode 100644 index 000000000..716486f0f --- /dev/null +++ b/src/FacebookAds/Object/AdSavedKeywords.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdSavedKeywords(), + 'NODE', + AdSavedKeywords::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 new file mode 100644 index 000000000..4f8a902fc --- /dev/null +++ b/src/FacebookAds/Object/AdSavedLocation.php @@ -0,0 +1,65 @@ +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 new file mode 100644 index 000000000..5d74ec054 --- /dev/null +++ b/src/FacebookAds/Object/AdSavedReport.php @@ -0,0 +1,65 @@ +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/AdSet.php b/src/FacebookAds/Object/AdSet.php index cc58fdeeb..ccdcfe2ae 100644 --- a/src/FacebookAds/Object/AdSet.php +++ b/src/FacebookAds/Object/AdSet.php @@ -30,6 +30,7 @@ use FacebookAds\Object\Values\AdSetOperatorValues; use FacebookAds\Object\Values\AdSetOptimizationGoalValues; use FacebookAds\Object\Values\AdSetOptimizationSubEventValues; +use FacebookAds\Object\Values\AdSetRegionalRegulatedCategoriesValues; use FacebookAds\Object\Values\AdSetStatusOptionValues; use FacebookAds\Object\Values\AdSetStatusValues; use FacebookAds\Object\Values\AdSetTuneForCategoryValues; @@ -87,6 +88,7 @@ protected static function getReferencedEnums() { $ref_enums['FullFunnelExplorationMode'] = AdSetFullFunnelExplorationModeValues::getInstance()->getValues(); $ref_enums['MultiOptimizationGoalWeight'] = AdSetMultiOptimizationGoalWeightValues::getInstance()->getValues(); $ref_enums['OptimizationSubEvent'] = AdSetOptimizationSubEventValues::getInstance()->getValues(); + $ref_enums['RegionalRegulatedCategories'] = AdSetRegionalRegulatedCategoriesValues::getInstance()->getValues(); $ref_enums['TuneForCategory'] = AdSetTuneForCategoryValues::getInstance()->getValues(); $ref_enums['Operator'] = AdSetOperatorValues::getInstance()->getValues(); $ref_enums['StatusOption'] = AdSetStatusOptionValues::getInstance()->getValues(); @@ -651,6 +653,8 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'pacing_type' => 'list', 'promoted_object' => 'Object', 'rb_prediction_id' => 'string', + 'regional_regulated_categories' => 'list', + 'regional_regulation_identities' => 'map', 'rf_prediction_id' => 'string', 'start_time' => 'datetime', 'status' => 'status_enum', @@ -670,6 +674,7 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe 'multi_optimization_goal_weight_enum' => AdSetMultiOptimizationGoalWeightValues::getInstance()->getValues(), 'optimization_goal_enum' => AdSetOptimizationGoalValues::getInstance()->getValues(), 'optimization_sub_event_enum' => AdSetOptimizationSubEventValues::getInstance()->getValues(), + 'regional_regulated_categories_enum' => AdSetRegionalRegulatedCategoriesValues::getInstance()->getValues(), 'status_enum' => AdSetStatusValues::getInstance()->getValues(), 'tune_for_category_enum' => AdSetTuneForCategoryValues::getInstance()->getValues(), ); diff --git a/src/FacebookAds/Object/AdTopline.php b/src/FacebookAds/Object/AdTopline.php new file mode 100644 index 000000000..b6d619b6b --- /dev/null +++ b/src/FacebookAds/Object/AdTopline.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdTopline(), + 'NODE', + AdTopline::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdToplineDetail.php b/src/FacebookAds/Object/AdToplineDetail.php new file mode 100644 index 000000000..3e21a2ad7 --- /dev/null +++ b/src/FacebookAds/Object/AdToplineDetail.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdToplineDetail(), + 'NODE', + AdToplineDetail::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdVideo.php b/src/FacebookAds/Object/AdVideo.php index 7c5066100..0a2403795 100644 --- a/src/FacebookAds/Object/AdVideo.php +++ b/src/FacebookAds/Object/AdVideo.php @@ -239,7 +239,7 @@ public function createComment(array $fields = array(), array $params = array(), return $pending ? $request : $request->execute(); } - public function getCrosspostSharedPages(array $fields = array(), array $params = array(), $pending = false) { + public function getCrosspostShareDPages(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -448,9 +448,9 @@ public function getTags(array $fields = array(), array $params = array(), $pendi $this->data['id'], RequestInterface::METHOD_GET, '/tags', - new AbstractCrudObject(), + new TaggableSubject(), 'EDGE', - array(), + TaggableSubject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/Dataset.php b/src/FacebookAds/Object/AdVolume.php similarity index 83% rename from src/FacebookAds/Object/Dataset.php rename to src/FacebookAds/Object/AdVolume.php index c5afd793e..9b3a33510 100644 --- a/src/FacebookAds/Object/Dataset.php +++ b/src/FacebookAds/Object/AdVolume.php @@ -13,7 +13,7 @@ use FacebookAds\Cursor; use FacebookAds\Http\RequestInterface; use FacebookAds\TypeChecker; -use FacebookAds\Object\Fields\DatasetFields; +use FacebookAds\Object\Fields\AdVolumeFields; /** * This class is auto-generated. @@ -24,13 +24,13 @@ * */ -class Dataset extends AbstractCrudObject { +class AdVolume extends AbstractObject { /** - * @return DatasetFields + * @return AdVolumeFields */ public static function getFieldsEnum() { - return DatasetFields::getInstance(); + return AdVolumeFields::getInstance(); } protected static function getReferencedEnums() { diff --git a/src/FacebookAds/Object/AdgroupFacebookFeedback.php b/src/FacebookAds/Object/AdgroupFacebookFeedback.php new file mode 100644 index 000000000..bd940706a --- /dev/null +++ b/src/FacebookAds/Object/AdgroupFacebookFeedback.php @@ -0,0 +1,68 @@ +assureId(); + + $param_types = array( + 'order' => 'order_enum', + ); + $enums = array( + 'order_enum' => CommentOrderValues::getInstance()->getValues(), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/comments', + new Comment(), + 'EDGE', + Comment::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdjacentContentDeliveryReport.php b/src/FacebookAds/Object/AdjacentContentDeliveryReport.php new file mode 100644 index 000000000..96b39dba9 --- /dev/null +++ b/src/FacebookAds/Object/AdjacentContentDeliveryReport.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['Visibility'] = AdoptablePetVisibilityValues::getInstance()->getValues(); + return $ref_enums; + } + + + public function getAugmentedRealitiesMetadata(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, + '/augmented_realities_metadata', + new DynamicARMetadata(), + 'EDGE', + DynamicARMetadata::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getChannelsToIntegrityStatus(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, + '/channels_to_integrity_status', + new CatalogItemChannelsToIntegrityStatus(), + 'EDGE', + CatalogItemChannelsToIntegrityStatus::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getVideosMetadata(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, + '/videos_metadata', + new DynamicVideoMetadata(), + 'EDGE', + DynamicVideoMetadata::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 AdoptablePet(), + 'NODE', + AdoptablePet::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsAnomalyDetection.php b/src/FacebookAds/Object/AdsAnomalyDetection.php new file mode 100644 index 000000000..d7c35e81a --- /dev/null +++ b/src/FacebookAds/Object/AdsAnomalyDetection.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/conversion_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 AdsConversionGoal(), + 'NODE', + AdsConversionGoal::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsCreationSavedState.php b/src/FacebookAds/Object/AdsCreationSavedState.php new file mode 100644 index 000000000..c96544956 --- /dev/null +++ b/src/FacebookAds/Object/AdsCreationSavedState.php @@ -0,0 +1,65 @@ +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(); + } + +} diff --git a/src/FacebookAds/Object/AdsCustomPivotsPreview.php b/src/FacebookAds/Object/AdsCustomPivotsPreview.php new file mode 100644 index 000000000..f2c0311e3 --- /dev/null +++ b/src/FacebookAds/Object/AdsCustomPivotsPreview.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsDataPartner(), + 'NODE', + AdsDataPartner::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsDataset.php b/src/FacebookAds/Object/AdsDataset.php new file mode 100644 index 000000000..483053626 --- /dev/null +++ b/src/FacebookAds/Object/AdsDataset.php @@ -0,0 +1,42 @@ +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 AdsNamingTemplate(), + 'NODE', + AdsNamingTemplate::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 new file mode 100644 index 000000000..e4e5247d5 --- /dev/null +++ b/src/FacebookAds/Object/AdsPaymentCycle.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsPivotRules(), + 'NODE', + AdsPivotRules::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 d4f95b25e..e6265287b 100644 --- a/src/FacebookAds/Object/AdsPixel.php +++ b/src/FacebookAds/Object/AdsPixel.php @@ -17,6 +17,7 @@ use FacebookAds\Object\Values\AdsPixelAutomaticMatchingFieldsValues; use FacebookAds\Object\Values\AdsPixelDataUseSettingValues; use FacebookAds\Object\Values\AdsPixelFirstPartyCookieStatusValues; +use FacebookAds\Object\Values\AdsPixelPermittedTasksValues; use FacebookAds\Object\Values\AdsPixelSortByValues; use FacebookAds\Object\Values\AdsPixelStatsResultAggregationValues; use FacebookAds\Object\Values\AdsPixelTasksValues; @@ -55,6 +56,7 @@ protected static function getReferencedEnums() { $ref_enums['AutomaticMatchingFields'] = AdsPixelAutomaticMatchingFieldsValues::getInstance()->getValues(); $ref_enums['DataUseSetting'] = AdsPixelDataUseSettingValues::getInstance()->getValues(); $ref_enums['FirstPartyCookieStatus'] = AdsPixelFirstPartyCookieStatusValues::getInstance()->getValues(); + $ref_enums['PermittedTasks'] = AdsPixelPermittedTasksValues::getInstance()->getValues(); $ref_enums['Tasks'] = AdsPixelTasksValues::getInstance()->getValues(); return $ref_enums; } @@ -84,6 +86,30 @@ public function getAdAccounts(array $fields = array(), array $params = array(), return $pending ? $request : $request->execute(); } + public function deleteAgencies(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_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(); @@ -107,6 +133,32 @@ public function getAgencies(array $fields = array(), array $params = array(), $p return $pending ? $request : $request->execute(); } + public function createAgency(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'business' => 'string', + 'permitted_tasks' => 'list', + ); + $enums = array( + 'permitted_tasks_enum' => AdsPixelPermittedTasksValues::getInstance()->getValues(), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/agencies', + new AdsPixel(), + 'EDGE', + AdsPixel::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function createAhpConfig(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -316,7 +368,7 @@ public function createShadowTrafficHelper(array $fields = array(), array $params return $pending ? $request : $request->execute(); } - public function deleteSharedAccounts(array $fields = array(), array $params = array(), $pending = false) { + public function deleteShareDAccounts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -341,7 +393,7 @@ public function deleteSharedAccounts(array $fields = array(), array $params = ar return $pending ? $request : $request->execute(); } - public function getSharedAccounts(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAccounts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -365,7 +417,7 @@ public function getSharedAccounts(array $fields = array(), array $params = array return $pending ? $request : $request->execute(); } - public function createSharedAccount(array $fields = array(), array $params = array(), $pending = false) { + public function createShareDAccount(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -390,7 +442,7 @@ public function createSharedAccount(array $fields = array(), array $params = arr return $pending ? $request : $request->execute(); } - public function getSharedAgencies(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAgencies(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/AdsPixelCAPISetupQuality.php b/src/FacebookAds/Object/AdsPixelCAPISetupQuality.php new file mode 100644 index 000000000..64c532fc7 --- /dev/null +++ b/src/FacebookAds/Object/AdsPixelCAPISetupQuality.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsPixelCapabilityOverride(), + 'NODE', + AdsPixelCapabilityOverride::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsPixelDeliveryRecommendations.php b/src/FacebookAds/Object/AdsPixelDeliveryRecommendations.php new file mode 100644 index 000000000..ea9b40b5b --- /dev/null +++ b/src/FacebookAds/Object/AdsPixelDeliveryRecommendations.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsReportBuilderExportCore(), + 'NODE', + AdsReportBuilderExportCore::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsReportBuilderMMMReport.php b/src/FacebookAds/Object/AdsReportBuilderMMMReport.php new file mode 100644 index 000000000..600bc0fa7 --- /dev/null +++ b/src/FacebookAds/Object/AdsReportBuilderMMMReport.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsReportBuilderMMMReport(), + 'NODE', + AdsReportBuilderMMMReport::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsReportBuilderMMMReportScheduler.php b/src/FacebookAds/Object/AdsReportBuilderMMMReportScheduler.php new file mode 100644 index 000000000..7d5397b51 --- /dev/null +++ b/src/FacebookAds/Object/AdsReportBuilderMMMReportScheduler.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsReportBuilderMMMReportScheduler(), + 'NODE', + AdsReportBuilderMMMReportScheduler::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 new file mode 100644 index 000000000..b9f596289 --- /dev/null +++ b/src/FacebookAds/Object/AdsReportBuilderSavedReport.php @@ -0,0 +1,65 @@ +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/AdsSegments.php b/src/FacebookAds/Object/AdsSegments.php new file mode 100644 index 000000000..560370912 --- /dev/null +++ b/src/FacebookAds/Object/AdsSegments.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdsStartYourDayWidget(), + 'NODE', + AdsStartYourDayWidget::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsTabular.php b/src/FacebookAds/Object/AdsTabular.php new file mode 100644 index 000000000..a5aa7770c --- /dev/null +++ b/src/FacebookAds/Object/AdsTabular.php @@ -0,0 +1,42 @@ +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/AdsValueAdjustmentRule.php b/src/FacebookAds/Object/AdsValueAdjustmentRule.php new file mode 100644 index 000000000..54da4f6b7 --- /dev/null +++ b/src/FacebookAds/Object/AdsValueAdjustmentRule.php @@ -0,0 +1,88 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/criterias', + 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 AdsValueAdjustmentRule(), + 'NODE', + AdsValueAdjustmentRule::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdsValueAdjustmentRuleCollection.php b/src/FacebookAds/Object/AdsValueAdjustmentRuleCollection.php new file mode 100644 index 000000000..71a7f569a --- /dev/null +++ b/src/FacebookAds/Object/AdsValueAdjustmentRuleCollection.php @@ -0,0 +1,88 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/personas', + 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 AdsValueAdjustmentRuleCollection(), + 'NODE', + AdsValueAdjustmentRuleCollection::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdvAInstance.php b/src/FacebookAds/Object/AdvAInstance.php new file mode 100644 index 000000000..e504e0aca --- /dev/null +++ b/src/FacebookAds/Object/AdvAInstance.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AdvAInstance(), + 'NODE', + AdvAInstance::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AdvertiserVerificationStatus.php b/src/FacebookAds/Object/AdvertiserVerificationStatus.php new file mode 100644 index 000000000..e34200478 --- /dev/null +++ b/src/FacebookAds/Object/AdvertiserVerificationStatus.php @@ -0,0 +1,42 @@ +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 new file mode 100644 index 000000000..d7a672325 --- /dev/null +++ b/src/FacebookAds/Object/AppEventConfig.php @@ -0,0 +1,66 @@ +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/AppLinks.php b/src/FacebookAds/Object/AppLinks.php new file mode 100644 index 000000000..a4117003d --- /dev/null +++ b/src/FacebookAds/Object/AppLinks.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AppLinks(), + 'NODE', + AppLinks::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AppOptimizedCustomEvents.php b/src/FacebookAds/Object/AppOptimizedCustomEvents.php new file mode 100644 index 000000000..81974a330 --- /dev/null +++ b/src/FacebookAds/Object/AppOptimizedCustomEvents.php @@ -0,0 +1,42 @@ +getValues(); $ref_enums['LoggingSource'] = ApplicationLoggingSourceValues::getInstance()->getValues(); $ref_enums['LoggingTarget'] = ApplicationLoggingTargetValues::getInstance()->getValues(); + $ref_enums['OwnerPermissions'] = ApplicationOwnerPermissionsValues::getInstance()->getValues(); + $ref_enums['PartnerPermissions'] = ApplicationPartnerPermissionsValues::getInstance()->getValues(); return $ref_enums; } @@ -899,11 +903,11 @@ public function getDaChecks(array $fields = array(), array $params = array(), $p return $pending ? $request : $request->execute(); } - public function getIapPurchases(array $fields = array(), array $params = array(), $pending = false) { + public function createDomainReport(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( - 'order_id' => 'string', + 'tracking_domains' => 'list', ); $enums = array( ); @@ -911,8 +915,8 @@ public function getIapPurchases(array $fields = array(), array $params = array() $request = new ApiRequest( $this->api, $this->data['id'], - RequestInterface::METHOD_GET, - '/iap_purchases', + RequestInterface::METHOD_POST, + '/domain_reports', new AbstractCrudObject(), 'EDGE', array(), @@ -923,10 +927,11 @@ public function getIapPurchases(array $fields = array(), array $params = array() return $pending ? $request : $request->execute(); } - public function getInsightsPushSchedule(array $fields = array(), array $params = array(), $pending = false) { + public function getIapPurchases(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( + 'order_id' => 'string', ); $enums = array( ); @@ -935,7 +940,7 @@ public function getInsightsPushSchedule(array $fields = array(), array $params = $this->api, $this->data['id'], RequestInterface::METHOD_GET, - '/insights_push_schedule', + '/iap_purchases', new AbstractCrudObject(), 'EDGE', array(), @@ -982,9 +987,9 @@ public function getLinkedDataset(array $fields = array(), array $params = array( $this->data['id'], RequestInterface::METHOD_GET, '/linked_dataset', - new AbstractCrudObject(), + new AdsDataset(), 'EDGE', - array(), + AdsDataset::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1542,6 +1547,63 @@ public function createUpload(array $fields = array(), array $params = array(), $ return $pending ? $request : $request->execute(); } + public function createWhatsAppBusinessSolution(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'owner_permissions' => 'list', + 'partner_app_id' => 'string', + 'partner_permissions' => 'list', + 'solution_name' => 'string', + ); + $enums = array( + 'owner_permissions_enum' => ApplicationOwnerPermissionsValues::getInstance()->getValues(), + 'partner_permissions_enum' => ApplicationPartnerPermissionsValues::getInstance()->getValues(), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/whatsapp_business_solution', + new Application(), + 'EDGE', + Application::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getWhatsAppBusinessSolutions(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'role' => 'role_enum', + ); + $enums = array( + 'role_enum' => array( + 'OWNER', + 'PARTNER', + ), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/whatsapp_business_solutions', + 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(); diff --git a/src/FacebookAds/Object/ArAdsDataContainer.php b/src/FacebookAds/Object/ArAdsDataContainer.php new file mode 100644 index 000000000..7acc9dc0d --- /dev/null +++ b/src/FacebookAds/Object/ArAdsDataContainer.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ArAdsDataContainer(), + 'NODE', + ArAdsDataContainer::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AudienceFunnel.php b/src/FacebookAds/Object/AudienceFunnel.php new file mode 100644 index 000000000..d01451aaf --- /dev/null +++ b/src/FacebookAds/Object/AudienceFunnel.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AudioAsset(), + 'NODE', + AudioAsset::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/AudioCopyright.php b/src/FacebookAds/Object/AudioCopyright.php index 474d8d510..c47de61b1 100644 --- a/src/FacebookAds/Object/AudioCopyright.php +++ b/src/FacebookAds/Object/AudioCopyright.php @@ -52,9 +52,9 @@ public function getUpdateRecords(array $fields = array(), array $params = array( $this->data['id'], RequestInterface::METHOD_GET, '/update_records', - new AbstractCrudObject(), + new MediaCopyrightUpdateRecord(), 'EDGE', - array(), + MediaCopyrightUpdateRecord::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/AudioIsrc.php b/src/FacebookAds/Object/AudioIsrc.php new file mode 100644 index 000000000..b225e4d48 --- /dev/null +++ b/src/FacebookAds/Object/AudioIsrc.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new AudioIsrc(), + 'NODE', + AudioIsrc::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 new file mode 100644 index 000000000..615f32184 --- /dev/null +++ b/src/FacebookAds/Object/AudioRelease.php @@ -0,0 +1,65 @@ +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/AudioVisualReferenceMatch.php b/src/FacebookAds/Object/AudioVisualReferenceMatch.php new file mode 100644 index 000000000..77cf8b8e2 --- /dev/null +++ b/src/FacebookAds/Object/AudioVisualReferenceMatch.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/BAPIDomain.php b/src/FacebookAds/Object/BAPIDomain.php new file mode 100644 index 000000000..ae8e76a74 --- /dev/null +++ b/src/FacebookAds/Object/BAPIDomain.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BCPCampaign(), + 'NODE', + BCPCampaign::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BCPCreatorIgUser.php b/src/FacebookAds/Object/BCPCreatorIgUser.php new file mode 100644 index 000000000..7fd9d3698 --- /dev/null +++ b/src/FacebookAds/Object/BCPCreatorIgUser.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BCPCreatorIgUser(), + 'NODE', + BCPCreatorIgUser::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BespokePartnerGuidanceLaser.php b/src/FacebookAds/Object/BespokePartnerGuidanceLaser.php new file mode 100644 index 000000000..382ace738 --- /dev/null +++ b/src/FacebookAds/Object/BespokePartnerGuidanceLaser.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BidSchedule(), + 'NODE', + BidSchedule::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BizInboxOffsiteEmailAccount.php b/src/FacebookAds/Object/BizInboxOffsiteEmailAccount.php new file mode 100644 index 000000000..ddfa6cce3 --- /dev/null +++ b/src/FacebookAds/Object/BizInboxOffsiteEmailAccount.php @@ -0,0 +1,88 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/assigned_users', + new AssignedUser(), + 'EDGE', + AssignedUser::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 BizInboxOffsiteEmailAccount(), + 'NODE', + BizInboxOffsiteEmailAccount::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 new file mode 100644 index 000000000..64fa3f34f --- /dev/null +++ b/src/FacebookAds/Object/BlindPig.php @@ -0,0 +1,65 @@ +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/BlockedUserInfo.php b/src/FacebookAds/Object/BlockedUserInfo.php new file mode 100644 index 000000000..604dc5321 --- /dev/null +++ b/src/FacebookAds/Object/BlockedUserInfo.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BrandSafetyDownloadable(), + 'NODE', + BrandSafetyDownloadable::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BrandedContentAdError.php b/src/FacebookAds/Object/BrandedContentAdError.php new file mode 100644 index 000000000..de82f4c0a --- /dev/null +++ b/src/FacebookAds/Object/BrandedContentAdError.php @@ -0,0 +1,42 @@ +getValues(); $ref_enums['PermittedTasks'] = BusinessPermittedTasksValues::getInstance()->getValues(); $ref_enums['SurveyBusinessType'] = BusinessSurveyBusinessTypeValues::getInstance()->getValues(); + $ref_enums['TimezoneId'] = BusinessTimezoneIdValues::getInstance()->getValues(); $ref_enums['PagePermittedTasks'] = BusinessPagePermittedTasksValues::getInstance()->getValues(); $ref_enums['SubverticalV2'] = BusinessSubverticalV2Values::getInstance()->getValues(); $ref_enums['VerticalV2'] = BusinessVerticalV2Values::getInstance()->getValues(); @@ -387,9 +390,9 @@ public function getAdsReportingMmmReports(array $fields = array(), array $params $this->data['id'], RequestInterface::METHOD_GET, '/ads_reporting_mmm_reports', - new AbstractCrudObject(), + new AdsReportBuilderMMMReport(), 'EDGE', - array(), + AdsReportBuilderMMMReport::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -410,9 +413,9 @@ public function getAdsReportingMmmSchedulers(array $fields = array(), array $par $this->data['id'], RequestInterface::METHOD_GET, '/ads_reporting_mmm_schedulers', - new AbstractCrudObject(), + new AdsReportBuilderMMMReportScheduler(), 'EDGE', - array(), + AdsReportBuilderMMMReportScheduler::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -682,9 +685,9 @@ public function getBusinessProjects(array $fields = array(), array $params = arr $this->data['id'], RequestInterface::METHOD_GET, '/businessprojects', - new AbstractCrudObject(), + new BusinessProject(), 'EDGE', - array(), + BusinessProject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -800,9 +803,9 @@ public function getClientOffsiteSignalContainerBusinessObjects(array $fields = a $this->data['id'], RequestInterface::METHOD_GET, '/client_offsite_signal_container_business_objects', - new AbstractCrudObject(), + new OffsiteSignalContainerBusinessObject(), 'EDGE', - array(), + OffsiteSignalContainerBusinessObject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1203,6 +1206,7 @@ public function createCustomConversion(array $fields = array(), array $params = $this->assureId(); $param_types = array( + 'action_source_type' => 'action_source_type_enum', 'advanced_rule' => 'string', 'custom_event_type' => 'custom_event_type_enum', 'default_conversion_value' => 'float', @@ -1212,6 +1216,7 @@ public function createCustomConversion(array $fields = array(), array $params = 'rule' => 'string', ); $enums = array( + 'action_source_type_enum' => CustomConversionActionSourceTypeValues::getInstance()->getValues(), 'custom_event_type_enum' => CustomConversionCustomEventTypeValues::getInstance()->getValues(), ); @@ -1316,9 +1321,9 @@ public function getExtendedCreditApplications(array $fields = array(), array $pa $this->data['id'], RequestInterface::METHOD_GET, '/extendedcreditapplications', - new AbstractCrudObject(), + new ExtendedCreditApplication(), 'EDGE', - array(), + ExtendedCreditApplication::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1475,7 +1480,7 @@ public function getInstagramBusinessAccounts(array $fields = array(), array $par return $pending ? $request : $request->execute(); } - public function deleteManagedBusinesses(array $fields = array(), array $params = array(), $pending = false) { + public function deleteMAnAgeDBusinesses(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1499,7 +1504,7 @@ public function deleteManagedBusinesses(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function createManagedBusiness(array $fields = array(), array $params = array(), $pending = false) { + public function createMAnAgeDBusiness(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1510,11 +1515,12 @@ public function createManagedBusiness(array $fields = array(), array $params = a 'survey_business_type' => 'survey_business_type_enum', 'survey_num_assets' => 'unsigned int', 'survey_num_people' => 'unsigned int', - 'timezone_id' => 'unsigned int', + 'timezone_id' => 'timezone_id_enum', 'vertical' => 'vertical_enum', ); $enums = array( 'survey_business_type_enum' => BusinessSurveyBusinessTypeValues::getInstance()->getValues(), + 'timezone_id_enum' => BusinessTimezoneIdValues::getInstance()->getValues(), 'vertical_enum' => BusinessVerticalValues::getInstance()->getValues(), ); @@ -1533,7 +1539,7 @@ public function createManagedBusiness(array $fields = array(), array $params = a return $pending ? $request : $request->execute(); } - public function createManagedPartnerBusinessSetup(array $fields = array(), array $params = array(), $pending = false) { + public function createMAnAgeDPartnerBusinessSetup(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1563,7 +1569,7 @@ public function createManagedPartnerBusinessSetup(array $fields = array(), array return $pending ? $request : $request->execute(); } - public function deleteManagedPartnerBusinesses(array $fields = array(), array $params = array(), $pending = false) { + public function deleteMAnAgeDPartnerBusinesses(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1588,7 +1594,7 @@ public function deleteManagedPartnerBusinesses(array $fields = array(), array $p return $pending ? $request : $request->execute(); } - public function createManagedPartnerBusiness(array $fields = array(), array $params = array(), $pending = false) { + public function createMAnAgeDPartnerBusiness(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1611,7 +1617,7 @@ public function createManagedPartnerBusiness(array $fields = array(), array $par 'survey_business_type' => 'survey_business_type_enum', 'survey_num_assets' => 'unsigned int', 'survey_num_people' => 'unsigned int', - 'timezone_id' => 'unsigned int', + 'timezone_id' => 'timezone_id_enum', 'vertical' => 'vertical_enum', ); $enums = array( @@ -1626,6 +1632,489 @@ public function createManagedPartnerBusiness(array $fields = array(), array $par 'APP_DEVELOPER', 'PUBLISHER', ), + 'timezone_id_enum' => array( + '0', + '1', + '2', + '3', + '4', + '5', + '6', + '7', + '8', + '9', + '10', + '11', + '12', + '13', + '14', + '15', + '16', + '17', + '18', + '19', + '20', + '21', + '22', + '23', + '24', + '25', + '26', + '27', + '28', + '29', + '30', + '31', + '32', + '33', + '34', + '35', + '36', + '37', + '38', + '39', + '40', + '41', + '42', + '43', + '44', + '45', + '46', + '47', + '48', + '49', + '50', + '51', + '52', + '53', + '54', + '55', + '56', + '57', + '58', + '59', + '60', + '61', + '62', + '63', + '64', + '65', + '66', + '67', + '68', + '69', + '70', + '71', + '72', + '73', + '74', + '75', + '76', + '77', + '78', + '79', + '80', + '81', + '82', + '83', + '84', + '85', + '86', + '87', + '88', + '89', + '90', + '91', + '92', + '93', + '94', + '95', + '96', + '97', + '98', + '99', + '100', + '101', + '102', + '103', + '104', + '105', + '106', + '107', + '108', + '109', + '110', + '111', + '112', + '113', + '114', + '115', + '116', + '117', + '118', + '119', + '120', + '121', + '122', + '123', + '124', + '125', + '126', + '127', + '128', + '129', + '130', + '131', + '132', + '133', + '134', + '135', + '136', + '137', + '138', + '139', + '140', + '141', + '142', + '143', + '144', + '145', + '146', + '147', + '148', + '149', + '150', + '151', + '152', + '153', + '154', + '155', + '156', + '157', + '158', + '159', + '160', + '161', + '162', + '163', + '164', + '165', + '166', + '167', + '168', + '169', + '170', + '171', + '172', + '173', + '174', + '175', + '176', + '177', + '178', + '179', + '180', + '181', + '182', + '183', + '184', + '185', + '186', + '187', + '188', + '189', + '190', + '191', + '192', + '193', + '194', + '195', + '196', + '197', + '198', + '199', + '200', + '201', + '202', + '203', + '204', + '205', + '206', + '207', + '208', + '209', + '210', + '211', + '212', + '213', + '214', + '215', + '216', + '217', + '218', + '219', + '220', + '221', + '222', + '223', + '224', + '225', + '226', + '227', + '228', + '229', + '230', + '231', + '232', + '233', + '234', + '235', + '236', + '237', + '238', + '239', + '240', + '241', + '242', + '243', + '244', + '245', + '246', + '247', + '248', + '249', + '250', + '251', + '252', + '253', + '254', + '255', + '256', + '257', + '258', + '259', + '260', + '261', + '262', + '263', + '264', + '265', + '266', + '267', + '268', + '269', + '270', + '271', + '272', + '273', + '274', + '275', + '276', + '277', + '278', + '279', + '280', + '281', + '282', + '283', + '284', + '285', + '286', + '287', + '288', + '289', + '290', + '291', + '292', + '293', + '294', + '295', + '296', + '297', + '298', + '299', + '300', + '301', + '302', + '303', + '304', + '305', + '306', + '307', + '308', + '309', + '310', + '311', + '312', + '313', + '314', + '315', + '316', + '317', + '318', + '319', + '320', + '321', + '322', + '323', + '324', + '325', + '326', + '327', + '328', + '329', + '330', + '331', + '332', + '333', + '334', + '335', + '336', + '337', + '338', + '339', + '340', + '341', + '342', + '343', + '344', + '345', + '346', + '347', + '348', + '349', + '350', + '351', + '352', + '353', + '354', + '355', + '356', + '357', + '358', + '359', + '360', + '361', + '362', + '363', + '364', + '365', + '366', + '367', + '368', + '369', + '370', + '371', + '372', + '373', + '374', + '375', + '376', + '377', + '378', + '379', + '380', + '381', + '382', + '383', + '384', + '385', + '386', + '387', + '388', + '389', + '390', + '391', + '392', + '393', + '394', + '395', + '396', + '397', + '398', + '399', + '400', + '401', + '402', + '403', + '404', + '405', + '406', + '407', + '408', + '409', + '410', + '411', + '412', + '413', + '414', + '415', + '416', + '417', + '418', + '419', + '420', + '421', + '422', + '423', + '424', + '425', + '426', + '427', + '428', + '429', + '430', + '431', + '432', + '433', + '434', + '435', + '436', + '437', + '438', + '439', + '440', + '441', + '442', + '443', + '444', + '445', + '446', + '447', + '448', + '449', + '450', + '451', + '452', + '453', + '454', + '455', + '456', + '457', + '458', + '459', + '460', + '461', + '462', + '463', + '464', + '465', + '466', + '467', + '468', + '469', + '470', + '471', + '472', + '473', + '474', + '475', + '476', + '477', + '478', + '479', + '480', + ), 'vertical_enum' => array( 'ADVERTISING', 'AUTOMOTIVE', @@ -1681,60 +2170,9 @@ public function getNegativeKeywordLists(array $fields = array(), array $params = $this->data['id'], RequestInterface::METHOD_GET, '/negative_keyword_lists', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getOfflineConversionDataSets(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, - '/offline_conversion_data_sets', - new OfflineConversionDataSet(), + new NegativeKeywordList(), 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createOfflineConversionDataSet(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'auto_assign_to_new_accounts_only' => 'bool', - 'description' => 'string', - 'enable_auto_assign_to_accounts' => 'bool', - 'is_mta_use' => 'bool', - 'name' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/offline_conversion_data_sets', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), + NegativeKeywordList::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1769,13 +2207,13 @@ public function createOpenBridgeConfiguration(array $fields = array(), array $pa $this->assureId(); $param_types = array( - 'access_key' => 'string', 'active' => 'bool', 'endpoint' => 'string', 'fallback_domain' => 'string', 'fallback_domain_enabled' => 'bool', 'host_business_id' => 'unsigned int', 'host_external_id' => 'string', + 'instance_id' => 'string', 'pixel_id' => 'unsigned int', ); $enums = array( @@ -1949,15 +2387,17 @@ public function createOwnedBusiness(array $fields = array(), array $params = arr 'page_permitted_tasks' => 'list', 'sales_rep_email' => 'string', 'shared_page_id' => 'string', + 'should_generate_name' => 'bool', 'survey_business_type' => 'survey_business_type_enum', 'survey_num_assets' => 'unsigned int', 'survey_num_people' => 'unsigned int', - 'timezone_id' => 'unsigned int', + 'timezone_id' => 'timezone_id_enum', 'vertical' => 'vertical_enum', ); $enums = array( 'page_permitted_tasks_enum' => BusinessPagePermittedTasksValues::getInstance()->getValues(), 'survey_business_type_enum' => BusinessSurveyBusinessTypeValues::getInstance()->getValues(), + 'timezone_id_enum' => BusinessTimezoneIdValues::getInstance()->getValues(), 'vertical_enum' => BusinessVerticalValues::getInstance()->getValues(), ); @@ -2012,9 +2452,9 @@ public function getOwnedOffsiteSignalContainerBusinessObjects(array $fields = ar $this->data['id'], RequestInterface::METHOD_GET, '/owned_offsite_signal_container_business_objects', - new AbstractCrudObject(), + new OffsiteSignalContainerBusinessObject(), 'EDGE', - array(), + OffsiteSignalContainerBusinessObject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2213,9 +2653,9 @@ public function getPartnerAccountLinking(array $fields = array(), array $params $this->data['id'], RequestInterface::METHOD_GET, '/partner_account_linking', - new AbstractCrudObject(), + new PartnerAccountLinking(), 'EDGE', - array(), + PartnerAccountLinking::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2367,7 +2807,7 @@ public function getPendingOwnedPages(array $fields = array(), array $params = ar return $pending ? $request : $request->execute(); } - public function getPendingSharedOffsiteSignalContainerBusinessObjects(array $fields = array(), array $params = array(), $pending = false) { + public function getPendingShareDOffsiteSignalContainerBusinessObjects(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2380,9 +2820,9 @@ public function getPendingSharedOffsiteSignalContainerBusinessObjects(array $fie $this->data['id'], RequestInterface::METHOD_GET, '/pending_shared_offsite_signal_container_business_objects', - new AbstractCrudObject(), + new OffsiteSignalContainerBusinessObject(), 'EDGE', - array(), + OffsiteSignalContainerBusinessObject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2517,6 +2957,29 @@ public function getReceivedAudienceSharingRequests(array $fields = array(), arra return $pending ? $request : $request->execute(); } + public function getResellerGuidances(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, + '/reseller_guidances', + new ResellerGuidance(), + 'EDGE', + ResellerGuidance::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function getSelfCertifiedWhatsappBusinessSubmissions(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -2541,7 +3004,7 @@ public function getSelfCertifiedWhatsappBusinessSubmissions(array $fields = arra return $pending ? $request : $request->execute(); } - public function createSetupManagedPartnerAdAccount(array $fields = array(), array $params = array(), $pending = false) { + public function createSetupMAnAgeDPartnerAdAccount(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2712,9 +3175,9 @@ public function getThirdPartyMeasurementReportDataset(array $fields = array(), a $this->data['id'], RequestInterface::METHOD_GET, '/third_party_measurement_report_dataset', - new AbstractCrudObject(), + new ThirdPartyMeasurementReportDataset(), 'EDGE', - array(), + ThirdPartyMeasurementReportDataset::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -2727,7 +3190,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p $param_types = array( 'ad_placements_validation_only' => 'bool', - 'adaptive_type' => 'string', 'animated_effect_id' => 'unsigned int', 'application_id' => 'string', 'asked_fun_fact_prompt_id' => 'unsigned int', @@ -2775,7 +3237,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p 'original_fov' => 'unsigned int', 'original_projection_type' => 'original_projection_type_enum', 'publish_event_id' => 'unsigned int', - 'react_mode_metadata' => 'string', 'referenced_sticker_id' => 'string', 'replace_video_id' => 'string', 'slideshow_spec' => 'map', diff --git a/src/FacebookAds/Object/BusinessAdsReportingReportSpecs.php b/src/FacebookAds/Object/BusinessAdsReportingReportSpecs.php new file mode 100644 index 000000000..fe291381b --- /dev/null +++ b/src/FacebookAds/Object/BusinessAdsReportingReportSpecs.php @@ -0,0 +1,42 @@ +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 BusinessAgreement(), + 'NODE', + BusinessAgreement::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( + 'asset_id' => 'unsigned int', + 'request_status' => 'request_status_enum', + ); + $enums = array( + 'request_status_enum' => BusinessAgreementRequestStatusValues::getInstance()->getValues(), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/', + new BusinessAgreement(), + 'NODE', + BusinessAgreement::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BusinessAssetGroup.php b/src/FacebookAds/Object/BusinessAssetGroup.php index 1c5acd6d0..36f4410af 100644 --- a/src/FacebookAds/Object/BusinessAssetGroup.php +++ b/src/FacebookAds/Object/BusinessAssetGroup.php @@ -411,77 +411,6 @@ public function createContainedInstagramAccount(array $fields = array(), array $ return $pending ? $request : $request->execute(); } - public function deleteContainedOfflineConversionDataSets(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'asset_id' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_DELETE, - '/contained_offline_conversion_data_sets', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function getContainedOfflineConversionDataSets(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, - '/contained_offline_conversion_data_sets', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createContainedOfflineConversionDataSet(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'asset_id' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/contained_offline_conversion_data_sets', - new BusinessAssetGroup(), - 'EDGE', - BusinessAssetGroup::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - public function deleteContainedPages(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); diff --git a/src/FacebookAds/Object/BusinessCreative.php b/src/FacebookAds/Object/BusinessCreative.php new file mode 100644 index 000000000..87fbd94d9 --- /dev/null +++ b/src/FacebookAds/Object/BusinessCreative.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BusinessFranchiseConfig(), + 'NODE', + BusinessFranchiseConfig::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BusinessImageTBusinessFolderPathItem.php b/src/FacebookAds/Object/BusinessImageTBusinessFolderPathItem.php new file mode 100644 index 000000000..c41fb9d37 --- /dev/null +++ b/src/FacebookAds/Object/BusinessImageTBusinessFolderPathItem.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BusinessObjectTransferOwnershipAgreement(), + 'NODE', + BusinessObjectTransferOwnershipAgreement::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/BusinessProductCatalogTOS.php b/src/FacebookAds/Object/BusinessProductCatalogTOS.php new file mode 100644 index 000000000..39d8ce858 --- /dev/null +++ b/src/FacebookAds/Object/BusinessProductCatalogTOS.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new BusinessProject(), + 'NODE', + BusinessProject::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 new file mode 100644 index 000000000..e7e6a5cc5 --- /dev/null +++ b/src/FacebookAds/Object/BusinessRequest.php @@ -0,0 +1,65 @@ +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/BusinessSettingLogsData.php b/src/FacebookAds/Object/BusinessSettingLogsData.php new file mode 100644 index 000000000..27b1f1aec --- /dev/null +++ b/src/FacebookAds/Object/BusinessSettingLogsData.php @@ -0,0 +1,42 @@ +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/BusinessTrafficAnalysisReport.php b/src/FacebookAds/Object/BusinessTrafficAnalysisReport.php new file mode 100644 index 000000000..c6d6eaabc --- /dev/null +++ b/src/FacebookAds/Object/BusinessTrafficAnalysisReport.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CPASAdCreationTemplate(), + 'NODE', + CPASAdCreationTemplate::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CPASLsbImageBank.php b/src/FacebookAds/Object/CPASLsbImageBank.php new file mode 100644 index 000000000..e6b92b0dc --- /dev/null +++ b/src/FacebookAds/Object/CPASLsbImageBank.php @@ -0,0 +1,119 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/backup_images', + new ProductImage(), + 'EDGE', + ProductImage::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 CPASLsbImageBank(), + 'NODE', + CPASLsbImageBank::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( + 'backup_image_urls' => 'list', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/', + new CPASLsbImageBank(), + 'NODE', + CPASLsbImageBank::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CPASParentCatalogSettings.php b/src/FacebookAds/Object/CPASParentCatalogSettings.php new file mode 100644 index 000000000..92eaf341c --- /dev/null +++ b/src/FacebookAds/Object/CPASParentCatalogSettings.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CPASParentCatalogSettings(), + 'NODE', + CPASParentCatalogSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CPASSetup.php b/src/FacebookAds/Object/CPASSetup.php new file mode 100644 index 000000000..78202d502 --- /dev/null +++ b/src/FacebookAds/Object/CPASSetup.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CalibratorExistingRule(), + 'NODE', + CalibratorExistingRule::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CallAdsPhoneData.php b/src/FacebookAds/Object/CallAdsPhoneData.php new file mode 100644 index 000000000..a4e412c58 --- /dev/null +++ b/src/FacebookAds/Object/CallAdsPhoneData.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CallAdsPhoneData(), + 'NODE', + CallAdsPhoneData::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CampaignActionsData.php b/src/FacebookAds/Object/CampaignActionsData.php new file mode 100644 index 000000000..77d2a9f8b --- /dev/null +++ b/src/FacebookAds/Object/CampaignActionsData.php @@ -0,0 +1,42 @@ +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/CatalogItemOverride.php b/src/FacebookAds/Object/CatalogItemOverride.php new file mode 100644 index 000000000..324425b8a --- /dev/null +++ b/src/FacebookAds/Object/CatalogItemOverride.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CatalogItemOverride(), + 'NODE', + CatalogItemOverride::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CatalogItemRejectionReasons.php b/src/FacebookAds/Object/CatalogItemRejectionReasons.php new file mode 100644 index 000000000..b97054c12 --- /dev/null +++ b/src/FacebookAds/Object/CatalogItemRejectionReasons.php @@ -0,0 +1,44 @@ +getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/CatalogItemValidationErrorList.php b/src/FacebookAds/Object/CatalogItemValidationErrorList.php new file mode 100644 index 000000000..eeaffadf5 --- /dev/null +++ b/src/FacebookAds/Object/CatalogItemValidationErrorList.php @@ -0,0 +1,42 @@ +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/CatalogWebsiteOnboardingSettings.php b/src/FacebookAds/Object/CatalogWebsiteOnboardingSettings.php new file mode 100644 index 000000000..481fdaa45 --- /dev/null +++ b/src/FacebookAds/Object/CatalogWebsiteOnboardingSettings.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CatalogWebsiteOnboardingSettings(), + 'NODE', + CatalogWebsiteOnboardingSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CatalogWebsiteSettings.php b/src/FacebookAds/Object/CatalogWebsiteSettings.php new file mode 100644 index 000000000..5c52c4033 --- /dev/null +++ b/src/FacebookAds/Object/CatalogWebsiteSettings.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CatalogWebsiteSettings(), + 'NODE', + CatalogWebsiteSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ChinaBusinessOnboardingVettingRequest.php b/src/FacebookAds/Object/ChinaBusinessOnboardingVettingRequest.php new file mode 100644 index 000000000..dbe824850 --- /dev/null +++ b/src/FacebookAds/Object/ChinaBusinessOnboardingVettingRequest.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ChinaBusinessOnboardingVettingRequest(), + 'NODE', + ChinaBusinessOnboardingVettingRequest::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CloudbridgeDatasetStatus.php b/src/FacebookAds/Object/CloudbridgeDatasetStatus.php new file mode 100644 index 000000000..7b1aa3248 --- /dev/null +++ b/src/FacebookAds/Object/CloudbridgeDatasetStatus.php @@ -0,0 +1,42 @@ +getValues(); $ref_enums['CommentPrivacyValue'] = CommentCommentPrivacyValueValues::getInstance()->getValues(); $ref_enums['Filter'] = CommentFilterValues::getInstance()->getValues(); $ref_enums['LiveFilter'] = CommentLiveFilterValues::getInstance()->getValues(); - $ref_enums['Order'] = CommentOrderValues::getInstance()->getValues(); return $ref_enums; } diff --git a/src/FacebookAds/Object/CommerceMerchantSettings.php b/src/FacebookAds/Object/CommerceMerchantSettings.php index 48a8caa30..ff35b9c03 100644 --- a/src/FacebookAds/Object/CommerceMerchantSettings.php +++ b/src/FacebookAds/Object/CommerceMerchantSettings.php @@ -146,7 +146,7 @@ public function getCommerceTransactions(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function getOrderManagementApps(array $fields = array(), array $params = array(), $pending = false) { + public function getOrderMAnAgeMEntApps(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -169,7 +169,7 @@ public function getOrderManagementApps(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function createOrderManagementApp(array $fields = array(), array $params = array(), $pending = false) { + public function createOrderMAnAgeMEntApp(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/CommerceOrder.php b/src/FacebookAds/Object/CommerceOrder.php index d19e2c6f8..05fe34c38 100644 --- a/src/FacebookAds/Object/CommerceOrder.php +++ b/src/FacebookAds/Object/CommerceOrder.php @@ -51,7 +51,6 @@ public function createAcknowledgeOrder(array $fields = array(), array $params = $param_types = array( 'idempotency_key' => 'string', 'merchant_order_reference' => 'string', - 'return_error_response' => 'bool', ); $enums = array( ); @@ -94,7 +93,7 @@ public function getCancellations(array $fields = array(), array $params = array( return $pending ? $request : $request->execute(); } - public function createCancellation(array $fields = array(), array $params = array(), $pending = false) { + public function createCanCellATIOn(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -215,7 +214,7 @@ public function getPromotionDetails(array $fields = array(), array $params = arr return $pending ? $request : $request->execute(); } - public function getPromotions(array $fields = array(), array $params = array(), $pending = false) { + public function getPromoTIOns(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/ContactsMessengerSyncConfig.php b/src/FacebookAds/Object/ContactsMessengerSyncConfig.php new file mode 100644 index 000000000..ce3c75582 --- /dev/null +++ b/src/FacebookAds/Object/ContactsMessengerSyncConfig.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new CopyrightMediaMisuse(), + 'NODE', + CopyrightMediaMisuse::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CreativeAssetTag.php b/src/FacebookAds/Object/CreativeAssetTag.php new file mode 100644 index 000000000..7902cc2ab --- /dev/null +++ b/src/FacebookAds/Object/CreativeAssetTag.php @@ -0,0 +1,42 @@ +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 CreatorAssetCreative(), + 'NODE', + CreatorAssetCreative::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/CustomAudience.php b/src/FacebookAds/Object/CustomAudience.php index cc29148f6..b340c359e 100644 --- a/src/FacebookAds/Object/CustomAudience.php +++ b/src/FacebookAds/Object/CustomAudience.php @@ -246,7 +246,7 @@ public function getSessions(array $fields = array(), array $params = array(), $p return $pending ? $request : $request->execute(); } - public function getSharedAccountInfo(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAccountInfo(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/CustomAudienceCapabilities.php b/src/FacebookAds/Object/CustomAudienceCapabilities.php new file mode 100644 index 000000000..b0d7eb2ce --- /dev/null +++ b/src/FacebookAds/Object/CustomAudienceCapabilities.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['ActionSourceType'] = CustomConversionActionSourceTypeValues::getInstance()->getValues(); return $ref_enums; } diff --git a/src/FacebookAds/Object/CustomConversionActivities.php b/src/FacebookAds/Object/CustomConversionActivities.php new file mode 100644 index 000000000..4ba4d6da9 --- /dev/null +++ b/src/FacebookAds/Object/CustomConversionActivities.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/DirectDebit.php b/src/FacebookAds/Object/DirectDebit.php new file mode 100644 index 000000000..99510586a --- /dev/null +++ b/src/FacebookAds/Object/DirectDebit.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new DogNotificationSettings(), + 'NODE', + DogNotificationSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/Domain.php b/src/FacebookAds/Object/Domain.php new file mode 100644 index 000000000..9530e0963 --- /dev/null +++ b/src/FacebookAds/Object/Domain.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new Domain(), + 'NODE', + Domain::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/DraftPost.php b/src/FacebookAds/Object/DraftPost.php new file mode 100644 index 000000000..0d3d5826b --- /dev/null +++ b/src/FacebookAds/Object/DraftPost.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new DynamicARMetadata(), + 'NODE', + DynamicARMetadata::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/DynamicContentSet.php b/src/FacebookAds/Object/DynamicContentSet.php new file mode 100644 index 000000000..054b92de1 --- /dev/null +++ b/src/FacebookAds/Object/DynamicContentSet.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new DynamicContentSet(), + 'NODE', + DynamicContentSet::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 new file mode 100644 index 000000000..4d4e3d561 --- /dev/null +++ b/src/FacebookAds/Object/DynamicItemDisplayBundle.php @@ -0,0 +1,65 @@ +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 new file mode 100644 index 000000000..ea0dbfa61 --- /dev/null +++ b/src/FacebookAds/Object/DynamicItemDisplayBundleFolder.php @@ -0,0 +1,65 @@ +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/EducationExperience.php b/src/FacebookAds/Object/EducationExperience.php new file mode 100644 index 000000000..d4c5525a6 --- /dev/null +++ b/src/FacebookAds/Object/EducationExperience.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new EducationExperience(), + 'NODE', + EducationExperience::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/EmailImport.php b/src/FacebookAds/Object/EmailImport.php new file mode 100644 index 000000000..063314b37 --- /dev/null +++ b/src/FacebookAds/Object/EmailImport.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/ticket_tiers', - new AbstractCrudObject(), + new EventTicketTier(), 'EDGE', - array(), + EventTicketTier::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/EventExternalTicketInfo.php b/src/FacebookAds/Object/EventExternalTicketInfo.php new file mode 100644 index 000000000..131b47425 --- /dev/null +++ b/src/FacebookAds/Object/EventExternalTicketInfo.php @@ -0,0 +1,65 @@ +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 new file mode 100644 index 000000000..0893e6004 --- /dev/null +++ b/src/FacebookAds/Object/EventRegistrationSetting.php @@ -0,0 +1,65 @@ +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/EventSourceGroup.php b/src/FacebookAds/Object/EventSourceGroup.php index efe711a31..3b19c10cd 100644 --- a/src/FacebookAds/Object/EventSourceGroup.php +++ b/src/FacebookAds/Object/EventSourceGroup.php @@ -46,7 +46,7 @@ protected static function getReferencedEnums() { } - public function getSharedAccounts(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAccounts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -69,7 +69,7 @@ public function getSharedAccounts(array $fields = array(), array $params = array return $pending ? $request : $request->execute(); } - public function createSharedAccount(array $fields = array(), array $params = array(), $pending = false) { + public function createShareDAccount(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/EventTicketSetting.php b/src/FacebookAds/Object/EventTicketSetting.php new file mode 100644 index 000000000..05e9fb382 --- /dev/null +++ b/src/FacebookAds/Object/EventTicketSetting.php @@ -0,0 +1,65 @@ +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 new file mode 100644 index 000000000..72a69d4e7 --- /dev/null +++ b/src/FacebookAds/Object/EventTicketTier.php @@ -0,0 +1,65 @@ +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/EventTour.php b/src/FacebookAds/Object/EventTour.php new file mode 100644 index 000000000..a3138bf82 --- /dev/null +++ b/src/FacebookAds/Object/EventTour.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new EventTour(), + 'NODE', + EventTour::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ExpirablePost.php b/src/FacebookAds/Object/ExpirablePost.php new file mode 100644 index 000000000..502cc2d51 --- /dev/null +++ b/src/FacebookAds/Object/ExpirablePost.php @@ -0,0 +1,42 @@ +execute(); } - public function createWhatsappCreditSharingAndAttach(array $fields = array(), array $params = array(), $pending = false) { + public function createWhatsAppCreditSharingAnDAttach(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/ExtendedCreditApplication.php b/src/FacebookAds/Object/ExtendedCreditApplication.php new file mode 100644 index 000000000..d08b1050d --- /dev/null +++ b/src/FacebookAds/Object/ExtendedCreditApplication.php @@ -0,0 +1,65 @@ +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/ExtendedCreditEmail.php b/src/FacebookAds/Object/ExtendedCreditEmail.php new file mode 100644 index 000000000..88bf6c633 --- /dev/null +++ b/src/FacebookAds/Object/ExtendedCreditEmail.php @@ -0,0 +1,42 @@ +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/FAMEKumo.php b/src/FacebookAds/Object/FAMEKumo.php new file mode 100644 index 000000000..325129b85 --- /dev/null +++ b/src/FacebookAds/Object/FAMEKumo.php @@ -0,0 +1,65 @@ +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/FBImageCopyrightMatch.php b/src/FacebookAds/Object/FBImageCopyrightMatch.php new file mode 100644 index 000000000..65f182ef5 --- /dev/null +++ b/src/FacebookAds/Object/FBImageCopyrightMatch.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new FBImageCopyrightMatch(), + 'NODE', + FBImageCopyrightMatch::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/FBLiteToNTTransitions.php b/src/FacebookAds/Object/FBLiteToNTTransitions.php new file mode 100644 index 000000000..e6edbd5a0 --- /dev/null +++ b/src/FacebookAds/Object/FBLiteToNTTransitions.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new FantasyGame(), + 'NODE', + FantasyGame::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/FavoriteCatalog.php b/src/FacebookAds/Object/FavoriteCatalog.php new file mode 100644 index 000000000..4e57f107c --- /dev/null +++ b/src/FacebookAds/Object/FavoriteCatalog.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new FavoriteCatalog(), + 'NODE', + FavoriteCatalog::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/FAMEExportConfigFields.php b/src/FacebookAds/Object/Fields/AMOneshopSettingsFields.php similarity index 66% rename from src/FacebookAds/Object/Fields/FAMEExportConfigFields.php rename to src/FacebookAds/Object/Fields/AMOneshopSettingsFields.php index 9609c067e..9e758aa61 100644 --- a/src/FacebookAds/Object/Fields/FAMEExportConfigFields.php +++ b/src/FacebookAds/Object/Fields/AMOneshopSettingsFields.php @@ -20,19 +20,11 @@ * */ -class FAMEExportConfigFields extends AbstractEnum { +class AMOneshopSettingsFields extends AbstractEnum { - const CAN_EDIT = 'can_edit'; - const COLUMN_ID = 'column_id'; - const DISPLAY_NAME = 'display_name'; - const FORMAT = 'format'; public function getFieldTypes() { return array( - 'can_edit' => 'bool', - 'column_id' => 'string', - 'display_name' => 'string', - 'format' => 'string', ); } } diff --git a/src/FacebookAds/Object/Fields/ANBlockedBICategoryFields.php b/src/FacebookAds/Object/Fields/ANBlockedBICategoryFields.php new file mode 100644 index 000000000..9ace99151 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ANBlockedBICategoryFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AREffectFields.php b/src/FacebookAds/Object/Fields/AREffectFields.php new file mode 100644 index 000000000..43586a8e3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AREffectFields.php @@ -0,0 +1,42 @@ + 'datetime', + 'id' => 'string', + 'last_modified_time' => 'datetime', + 'name' => 'string', + 'status' => 'string', + 'surfaces' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountAAACompatibleAdObjectsFields.php b/src/FacebookAds/Object/Fields/AdAccountAAACompatibleAdObjectsFields.php new file mode 100644 index 000000000..a30af9d4e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountAAACompatibleAdObjectsFields.php @@ -0,0 +1,36 @@ + 'list', + 'campaign_group_ids' => 'list', + 'campaign_ids' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountAAASimilarCampaignsFields.php b/src/FacebookAds/Object/Fields/AdAccountAAASimilarCampaignsFields.php new file mode 100644 index 000000000..7054bce09 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountAAASimilarCampaignsFields.php @@ -0,0 +1,36 @@ + 'unsigned int', + 'similar_campaigns_info' => 'list>', + 'used_campaign_slots' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageSavedFilterFields.php b/src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php similarity index 66% rename from src/FacebookAds/Object/Fields/PageSavedFilterFields.php rename to src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php index 10e6c00fe..fb1be8438 100644 --- a/src/FacebookAds/Object/Fields/PageSavedFilterFields.php +++ b/src/FacebookAds/Object/Fields/AdAccountASLScheduleFields.php @@ -20,25 +20,19 @@ * */ -class PageSavedFilterFields extends AbstractEnum { +class AdAccountASLScheduleFields extends AbstractEnum { - const DISPLAY_NAME = 'display_name'; - const FILTERS = 'filters'; + const AD_ACCOUNT = 'ad_account'; const ID = 'id'; - const PAGE_ID = 'page_id'; - const SECTION = 'section'; const TIME_CREATED = 'time_created'; const TIME_UPDATED = 'time_updated'; public function getFieldTypes() { return array( - 'display_name' => 'string', - 'filters' => 'list', + 'ad_account' => 'AdAccount', 'id' => 'string', - 'page_id' => 'string', - 'section' => 'string', - 'time_created' => 'int', - 'time_updated' => 'int', + 'time_created' => 'datetime', + 'time_updated' => 'datetime', ); } } diff --git a/src/FacebookAds/Object/Fields/CatalogSegmentAllMatchCountLaserFields.php b/src/FacebookAds/Object/Fields/AdAccountAdLimitsInsightsFields.php similarity index 64% rename from src/FacebookAds/Object/Fields/CatalogSegmentAllMatchCountLaserFields.php rename to src/FacebookAds/Object/Fields/AdAccountAdLimitsInsightsFields.php index 6557226b3..518fec971 100644 --- a/src/FacebookAds/Object/Fields/CatalogSegmentAllMatchCountLaserFields.php +++ b/src/FacebookAds/Object/Fields/AdAccountAdLimitsInsightsFields.php @@ -20,23 +20,15 @@ * */ -class CatalogSegmentAllMatchCountLaserFields extends AbstractEnum { +class AdAccountAdLimitsInsightsFields extends AbstractEnum { const DATE_START = 'date_start'; const DATE_STOP = 'date_stop'; - const EVENT = 'event'; - const SOURCE = 'source'; - const TOTAL_MATCHED_CONTENT_IDS = 'total_matched_content_ids'; - const UNIQUE_MATCHED_CONTENT_IDS = 'unique_matched_content_ids'; public function getFieldTypes() { return array( 'date_start' => 'string', 'date_stop' => 'string', - 'event' => 'string', - 'source' => 'ExternalEventSource', - 'total_matched_content_ids' => 'int', - 'unique_matched_content_ids' => 'int', ); } } diff --git a/src/FacebookAds/Object/Fields/AdAccountAdRulesCountByTypeFields.php b/src/FacebookAds/Object/Fields/AdAccountAdRulesCountByTypeFields.php new file mode 100644 index 000000000..45afd1b62 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountAdRulesCountByTypeFields.php @@ -0,0 +1,34 @@ + 'int', + 'evaluation_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountAdsRecommendedAudiosFields.php b/src/FacebookAds/Object/Fields/AdAccountAdsRecommendedAudiosFields.php new file mode 100644 index 000000000..8f90a7294 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountAdsRecommendedAudiosFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php b/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php new file mode 100644 index 000000000..725911033 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountAllPaymentMethodsFields.php @@ -0,0 +1,30 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php b/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php new file mode 100644 index 000000000..7f9efbdd9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountBillingDatePreferenceFields.php @@ -0,0 +1,42 @@ + 'AdAccount', + 'day_of_month' => 'int', + 'id' => 'string', + 'next_bill_date' => 'datetime', + 'time_created' => 'datetime', + 'time_effective' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountBusinessConstraintsFields.php b/src/FacebookAds/Object/Fields/AdAccountBusinessConstraintsFields.php index e69608af1..8b560e5dc 100644 --- a/src/FacebookAds/Object/Fields/AdAccountBusinessConstraintsFields.php +++ b/src/FacebookAds/Object/Fields/AdAccountBusinessConstraintsFields.php @@ -32,7 +32,7 @@ public function getFieldTypes() { 'audience_controls' => 'Object', 'campaigns_with_error' => 'list', 'placement_controls' => 'Object', - 'status' => 'string', + 'status' => 'Status', ); } } diff --git a/src/FacebookAds/Object/Fields/AdAccountCampaignAttributionOptionInfoFields.php b/src/FacebookAds/Object/Fields/AdAccountCampaignAttributionOptionInfoFields.php new file mode 100644 index 000000000..c629f165f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountCampaignAttributionOptionInfoFields.php @@ -0,0 +1,34 @@ + 'bool', + 'value' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountCreationRequestFields.php b/src/FacebookAds/Object/Fields/AdAccountCreationRequestFields.php new file mode 100644 index 000000000..6b88c938f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountCreationRequestFields.php @@ -0,0 +1,100 @@ + 'string', + 'ad_accounts_info' => 'list', + 'additional_comment' => 'string', + 'address_in_chinese' => 'string', + 'address_in_english' => 'Object', + 'address_in_local_language' => 'string', + 'advertiser_business' => 'Business', + 'appeal_reason' => 'Object', + 'business' => 'Business', + 'business_registration_id' => 'string', + 'chinese_legal_entity_name' => 'string', + 'contact' => 'Object', + 'creator' => 'User', + 'credit_card_id' => 'string', + 'disapproval_reasons' => 'list', + 'english_legal_entity_name' => 'string', + 'extended_credit_id' => 'string', + 'id' => 'string', + 'is_smb' => 'bool', + 'is_test' => 'bool', + 'legal_entity_name_in_local_language' => 'string', + 'oe_request_id' => 'string', + 'official_website_url' => 'string', + 'planning_agency_business' => 'Business', + 'planning_agency_business_id' => 'string', + 'promotable_app_ids' => 'list', + 'promotable_page_ids' => 'list', + 'promotable_urls' => 'list', + 'request_change_reasons' => 'list', + 'status' => 'string', + 'subvertical' => 'string', + 'subvertical_v2' => 'string', + 'time_created' => 'datetime', + 'vertical' => 'string', + 'vertical_v2' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountCustomAudienceLimitsFields.php b/src/FacebookAds/Object/Fields/AdAccountCustomAudienceLimitsFields.php new file mode 100644 index 000000000..ee6ceed54 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountCustomAudienceLimitsFields.php @@ -0,0 +1,40 @@ + 'int', + 'audience_update_quota_left' => 'float', + 'has_hit_audience_update_limit' => 'bool', + 'next_audience_update_available_time' => 'string', + 'rate_limit_reset_time' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountOptimizationGoalsAEMv2EligibilityFields.php b/src/FacebookAds/Object/Fields/AdAccountOptimizationGoalsAEMv2EligibilityFields.php new file mode 100644 index 000000000..792078384 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountOptimizationGoalsAEMv2EligibilityFields.php @@ -0,0 +1,34 @@ + 'bool', + 'optimization_goal' => 'OptimizationGoal', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php new file mode 100644 index 000000000..4aee6eafb --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountPaymentDetailsFields.php @@ -0,0 +1,42 @@ + '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 new file mode 100644 index 000000000..2b649f15a --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountPaymentOptionsFields.php @@ -0,0 +1,38 @@ + 'list', + 'available_card_types' => 'list', + 'available_payment_options' => 'list', + 'existing_payment_methods' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php new file mode 100644 index 000000000..999fc131c --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountPrepayDetailsFields.php @@ -0,0 +1,38 @@ + 'CurrencyAmount', + 'max_acceptable_amount' => 'CurrencyAmount', + 'min_acceptable_amount' => 'CurrencyAmount', + 'should_collect_business_details' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php b/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php new file mode 100644 index 000000000..4c0642707 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountPromotionProgressBarFields.php @@ -0,0 +1,46 @@ + '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', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountRecommendationsFields.php b/src/FacebookAds/Object/Fields/AdAccountRecommendationsFields.php new file mode 100644 index 000000000..a9c2b8ecc --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountRecommendationsFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountRelatedIcoStudyFields.php b/src/FacebookAds/Object/Fields/AdAccountRelatedIcoStudyFields.php new file mode 100644 index 000000000..8be5fdd93 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountRelatedIcoStudyFields.php @@ -0,0 +1,30 @@ + 'string', + 'description' => 'string', + 'guidance_spec' => 'list', + 'thumbnail_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php b/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php new file mode 100644 index 000000000..035975aef --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountSpendLimitFields.php @@ -0,0 +1,44 @@ + 'string', + 'group_id' => 'string', + 'limit_id' => 'string', + 'limit_value' => 'string', + 'time_created' => 'unsigned int', + 'time_start' => 'unsigned int', + 'time_stop' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php b/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php new file mode 100644 index 000000000..1a41e1b98 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountSubsidyAmountDetailsFields.php @@ -0,0 +1,36 @@ + 'CurrencyAmount', + 'fee_amount' => 'CurrencyAmount', + 'total_amount' => 'CurrencyAmount', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountSuggestedTagFields.php b/src/FacebookAds/Object/Fields/AdAccountSuggestedTagFields.php new file mode 100644 index 000000000..9cb38b5f0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountSuggestedTagFields.php @@ -0,0 +1,36 @@ + 'int', + 'x' => 'float', + 'y' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountURLForAssetExtractionFields.php b/src/FacebookAds/Object/Fields/AdAccountURLForAssetExtractionFields.php new file mode 100644 index 000000000..4f2388613 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountURLForAssetExtractionFields.php @@ -0,0 +1,34 @@ + 'string', + 'source_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php b/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php new file mode 100644 index 000000000..3ae960366 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountUserPermissionsFields.php @@ -0,0 +1,50 @@ + 'Business', + 'business_persona' => 'Object', + 'created_by' => 'User', + 'created_time' => 'datetime', + 'email' => 'string', + 'status' => 'string', + 'tasks' => 'list', + 'updated_by' => 'User', + 'updated_time' => 'datetime', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php b/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php new file mode 100644 index 000000000..1ecfab531 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountUserSettingsFields.php @@ -0,0 +1,138 @@ + 'bool', + 'aco_sticky_settings' => 'list>', + 'ad_account' => 'AdAccount', + 'ad_object_export_format' => 'string', + 'auto_review_video_caption' => 'bool', + 'campaign_overview_columns' => 'list', + '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', + 'has_seen_groups_column_flexing_experience' => 'bool', + 'has_seen_leads_column_flexing_experience' => 'bool', + 'has_seen_shops_ads_metrics_onboarding_tour' => 'bool', + 'has_seen_shops_column_flexing_experience' => 'bool', + 'hidden_optimization_tips' => 'list>', + 'id' => 'string', + 'is_3p_auth_setting_set' => 'bool', + 'is_text_variation_nux_close' => 'bool', + 'last_used_columns' => 'Object', + 'last_used_pe_filters' => 'list', + 'last_used_website_urls' => 'list', + 'outlier_preferences' => 'Object', + 'pinned_ad_object_ids' => 'list', + 'rb_export_format' => 'string', + 'rb_export_raw_data' => 'bool', + 'rb_export_summary_row' => 'bool', + 'saip_advertiser_setup_optimisation_guidance_overall_state' => 'string', + 'saip_advertiser_setup_optimisation_guidance_state' => 'list>', + 'shops_ads_metrics_onboarding_tour_close_count' => 'int', + 'shops_ads_metrics_onboarding_tour_last_action_time' => 'datetime', + 'should_default_image_auto_crop' => 'bool', + 'should_default_image_auto_crop_for_tail' => 'bool', + 'should_default_image_auto_crop_optimization' => 'bool', + 'should_default_image_dof_toggle' => 'bool', + 'should_default_image_lpp_ads_to_square' => 'bool', + 'should_default_instagram_profile_card_optimization' => 'bool', + 'should_default_text_swapping_optimization' => 'bool', + 'should_logout_of_3p_sourcing' => 'bool', + 'show_archived_data' => 'bool', + 'show_text_variation_nux_tooltip' => 'bool', + 'syd_campaign_trends_activemetric' => 'string', + 'syd_campaign_trends_attribution' => 'string', + 'syd_campaign_trends_metrics' => 'list', + 'syd_campaign_trends_objective' => 'SydCampaignTrendsObjective', + 'syd_campaign_trends_time_range' => 'string', + 'syd_landing_page_opt_in_status' => 'string', + 'text_variations_opt_in_type' => 'string', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAccountYouthAdsAdvertiserFields.php b/src/FacebookAds/Object/Fields/AdAccountYouthAdsAdvertiserFields.php new file mode 100644 index 000000000..91e2a89ea --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAccountYouthAdsAdvertiserFields.php @@ -0,0 +1,32 @@ + 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAssetFeedAdditionalDataPageNudgeMessageFields.php b/src/FacebookAds/Object/Fields/AdAssetFeedAdditionalDataPageNudgeMessageFields.php new file mode 100644 index 000000000..84ff96b82 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdAssetFeedAdditionalDataPageNudgeMessageFields.php @@ -0,0 +1,36 @@ + 'bool', + 'quick_replies' => 'list', + 'text' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php b/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php index 29a34da1f..b40cd14a1 100644 --- a/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php +++ b/src/FacebookAds/Object/Fields/AdAssetFeedSpecFields.php @@ -44,6 +44,7 @@ class AdAssetFeedSpecFields extends AbstractEnum { const REASONS_TO_SHOP = 'reasons_to_shop'; const SHOPS_BUNDLE = 'shops_bundle'; const TITLES = 'titles'; + const UPCOMING_EVENTS = 'upcoming_events'; const VIDEOS = 'videos'; public function getFieldTypes() { @@ -70,6 +71,7 @@ public function getFieldTypes() { 'reasons_to_shop' => 'bool', 'shops_bundle' => 'bool', 'titles' => 'list', + 'upcoming_events' => 'list', 'videos' => 'list', ); } diff --git a/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php b/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php new file mode 100644 index 000000000..fec50ed6f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignDeliveryStatsFields.php @@ -0,0 +1,42 @@ + 'int', + 'current_average_cost' => 'float', + 'last_significant_edit_ts' => 'int', + 'learning_stage_exit_info' => 'Object', + 'learning_stage_info' => 'AdCampaignLearningStageInfo', + 'unsupported_features' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignGroupIncrementalConversionOptimizationConfigFields.php b/src/FacebookAds/Object/Fields/AdCampaignGroupIncrementalConversionOptimizationConfigFields.php new file mode 100644 index 000000000..8fe745223 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignGroupIncrementalConversionOptimizationConfigFields.php @@ -0,0 +1,50 @@ + 'string', + 'ad_study_end_time' => 'datetime', + 'ad_study_id' => 'string', + 'ad_study_name' => 'string', + 'ad_study_start_time' => 'datetime', + 'cell_id' => 'string', + 'cell_name' => 'string', + 'holdout_size' => 'float', + 'ico_type' => 'string', + 'objectives' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignGroupMetricsMetadataFields.php b/src/FacebookAds/Object/Fields/AdCampaignGroupMetricsMetadataFields.php new file mode 100644 index 000000000..65f8a9311 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignGroupMetricsMetadataFields.php @@ -0,0 +1,34 @@ + 'list', + 'duplication_flow_tips' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignGroupStatsFields.php b/src/FacebookAds/Object/Fields/AdCampaignGroupStatsFields.php new file mode 100644 index 000000000..d39b50dea --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignGroupStatsFields.php @@ -0,0 +1,60 @@ + 'map', + 'campaign_group_id' => 'string', + 'clicks' => 'unsigned int', + 'end_time' => 'datetime', + 'impressions' => 'unsigned int', + 'inline_actions' => 'map', + 'social_clicks' => 'unsigned int', + 'social_impressions' => 'unsigned int', + 'social_spent' => 'unsigned int', + 'social_unique_clicks' => 'unsigned int', + 'social_unique_impressions' => 'unsigned int', + 'spent' => 'unsigned int', + 'start_time' => 'datetime', + 'unique_clicks' => 'unsigned int', + 'unique_impressions' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignGroupStructureTreeFields.php b/src/FacebookAds/Object/Fields/AdCampaignGroupStructureTreeFields.php new file mode 100644 index 000000000..dbf8eac2b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignGroupStructureTreeFields.php @@ -0,0 +1,38 @@ + 'list', + 'id' => 'string', + 'name' => 'string', + 'time_updated' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignMetricsMetadataFields.php b/src/FacebookAds/Object/Fields/AdCampaignMetricsMetadataFields.php new file mode 100644 index 000000000..5f2e7305e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignMetricsMetadataFields.php @@ -0,0 +1,42 @@ + 'list', + 'creation_flow_tips' => 'list', + 'default_opted_in_placements' => 'list', + 'delivery_growth_optimizations' => 'list', + 'duplication_flow_tips' => 'list', + 'edit_flow_tips' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignMultiAdsFields.php b/src/FacebookAds/Object/Fields/AdCampaignMultiAdsFields.php new file mode 100644 index 000000000..ad9e57582 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignMultiAdsFields.php @@ -0,0 +1,34 @@ + 'string', + 'source_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCampaignStatsFields.php b/src/FacebookAds/Object/Fields/AdCampaignStatsFields.php new file mode 100644 index 000000000..0a1ce917a --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCampaignStatsFields.php @@ -0,0 +1,78 @@ + 'string', + 'actions' => 'Object', + 'adgroup_id' => 'string', + 'campaign_id' => 'string', + 'campaign_ids' => 'list', + 'clicks' => 'unsigned int', + 'end_time' => 'Object', + 'id' => 'string', + 'impressions' => 'string', + 'inline_actions' => 'map', + 'io_number' => 'unsigned int', + 'is_completed' => 'bool', + 'line_number' => 'unsigned int', + 'newsfeed_position' => 'Object', + 'social_clicks' => 'unsigned int', + 'social_impressions' => 'string', + 'social_spent' => 'unsigned int', + 'social_unique_clicks' => 'unsigned int', + 'social_unique_impressions' => 'string', + 'spent' => 'int', + 'start_time' => 'Object', + 'topline_id' => 'string', + 'unique_clicks' => 'unsigned int', + 'unique_impressions' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdColumnSizesFields.php b/src/FacebookAds/Object/Fields/AdColumnSizesFields.php new file mode 100644 index 000000000..f978ab1ca --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdColumnSizesFields.php @@ -0,0 +1,48 @@ + '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/AdContractFields.php b/src/FacebookAds/Object/Fields/AdContractFields.php new file mode 100644 index 000000000..4f9f5e418 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdContractFields.php @@ -0,0 +1,112 @@ + 'string', + 'account_mgr_fbid' => 'string', + 'account_mgr_name' => 'string', + 'adops_person_name' => 'string', + 'advertiser_address_fbid' => 'string', + 'advertiser_fbid' => 'string', + 'advertiser_name' => 'string', + 'agency_discount' => 'float', + 'agency_name' => 'string', + 'bill_to_address_fbid' => 'string', + 'bill_to_fbid' => 'string', + 'campaign_name' => 'string', + 'created_by' => 'string', + 'created_date' => 'unsigned int', + 'customer_io' => 'string', + 'io_number' => 'unsigned int', + 'io_terms' => 'string', + 'io_type' => 'string', + 'last_updated_by' => 'string', + 'last_updated_date' => 'unsigned int', + 'max_end_date' => 'unsigned int', + 'mdc_fbid' => 'string', + 'media_plan_number' => 'string', + 'min_start_date' => 'unsigned int', + 'msa_contract' => 'string', + 'payment_terms' => 'string', + 'rev_hold_flag' => 'bool', + 'rev_hold_released_by' => 'int', + 'rev_hold_released_on' => 'unsigned int', + 'salesrep_fbid' => 'string', + 'salesrep_name' => 'string', + 'sold_to_address_fbid' => 'string', + 'sold_to_fbid' => 'string', + 'status' => 'string', + 'subvertical' => 'string', + 'thirdparty_billed' => 'unsigned int', + 'thirdparty_uid' => 'string', + 'thirdparty_url' => 'string', + 'vat_country' => 'string', + 'version' => 'unsigned int', + 'vertical' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdConversionValuesFields.php b/src/FacebookAds/Object/Fields/AdConversionValuesFields.php new file mode 100644 index 000000000..81bbf2153 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdConversionValuesFields.php @@ -0,0 +1,36 @@ + 'string', + 'campaign_id' => 'string', + 'values' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdConversionsFields.php b/src/FacebookAds/Object/Fields/AdConversionsFields.php new file mode 100644 index 000000000..2538b4686 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdConversionsFields.php @@ -0,0 +1,38 @@ + 'string', + 'adgroup_id' => 'string', + 'campaign_id' => 'string', + 'values' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreationPackageConfigFields.php b/src/FacebookAds/Object/Fields/AdCreationPackageConfigFields.php new file mode 100644 index 000000000..73abd726b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreationPackageConfigFields.php @@ -0,0 +1,42 @@ + 'string', + 'id' => 'string', + 'is_eligible_for_default_opt_in' => 'bool', + 'objective' => 'string', + 'package_id' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeAssetGroupsSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeAssetGroupsSpecFields.php new file mode 100644 index 000000000..ec41faad3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeAssetGroupsSpecFields.php @@ -0,0 +1,34 @@ + 'list', + 'origin' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeBrandedContentAdsFields.php b/src/FacebookAds/Object/Fields/AdCreativeBrandedContentAdsFields.php index e98a38610..e2bc4ee32 100644 --- a/src/FacebookAds/Object/Fields/AdCreativeBrandedContentAdsFields.php +++ b/src/FacebookAds/Object/Fields/AdCreativeBrandedContentAdsFields.php @@ -23,7 +23,9 @@ class AdCreativeBrandedContentAdsFields extends AbstractEnum { const AD_FORMAT = 'ad_format'; + const CONTENT_SEARCH_INPUT = 'content_search_input'; const CREATOR_AD_PERMISSION_TYPE = 'creator_ad_permission_type'; + const FACEBOOK_BOOST_POST_ACCESS_TOKEN = 'facebook_boost_post_access_token'; const INSTAGRAM_BOOST_POST_ACCESS_TOKEN = 'instagram_boost_post_access_token'; const IS_MCA_INTERNAL = 'is_mca_internal'; const PARTNERS = 'partners'; @@ -33,7 +35,9 @@ class AdCreativeBrandedContentAdsFields extends AbstractEnum { public function getFieldTypes() { return array( 'ad_format' => 'int', + 'content_search_input' => 'string', 'creator_ad_permission_type' => 'string', + 'facebook_boost_post_access_token' => 'string', 'instagram_boost_post_access_token' => 'string', 'is_mca_internal' => 'bool', 'partners' => 'list', diff --git a/src/FacebookAds/Object/Fields/AdCreativeContextualMultiAdsFields.php b/src/FacebookAds/Object/Fields/AdCreativeContextualMultiAdsFields.php new file mode 100644 index 000000000..ac8994127 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeContextualMultiAdsFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeFeatureActionMetadataFields.php b/src/FacebookAds/Object/Fields/AdCreativeFeatureActionMetadataFields.php new file mode 100644 index 000000000..5cfe3edd6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeFeatureActionMetadataFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeFeatureCustomizationsFields.php b/src/FacebookAds/Object/Fields/AdCreativeFeatureCustomizationsFields.php new file mode 100644 index 000000000..8ec11eb08 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeFeatureCustomizationsFields.php @@ -0,0 +1,44 @@ + 'string', + 'catalog_feed_tag_name' => 'string', + 'font_name' => 'string', + 'product_recommendation_type' => 'string', + 'showcase_card_display' => 'string', + 'text_style' => 'string', + 'video_crop_style' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeFeaturesSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeFeaturesSpecFields.php index f225d283f..2e9f705d9 100644 --- a/src/FacebookAds/Object/Fields/AdCreativeFeaturesSpecFields.php +++ b/src/FacebookAds/Object/Fields/AdCreativeFeaturesSpecFields.php @@ -22,6 +22,8 @@ class AdCreativeFeaturesSpecFields extends AbstractEnum { + const ADAPT_TO_PLACEMENT = 'adapt_to_placement'; + const ADS_WITH_BENEFITS = 'ads_with_benefits'; const ADVANTAGE_PLUS_CREATIVE = 'advantage_plus_creative'; const APP_HIGHLIGHTS = 'app_highlights'; const AUDIO = 'audio'; @@ -31,9 +33,11 @@ class AdCreativeFeaturesSpecFields extends AbstractEnum { const CV_TRANSFORMATION = 'cv_transformation'; const DESCRIPTION_AUTOMATION = 'description_automation'; const DHA_OPTIMIZATION = 'dha_optimization'; + const FEED_CAPTION_OPTIMIZATION = 'feed_caption_optimization'; const IG_GLADOS_FEED = 'ig_glados_feed'; const IMAGE_AUTO_CROP = 'image_auto_crop'; const IMAGE_BACKGROUND_GEN = 'image_background_gen'; + const IMAGE_BRIGHTNESS_AND_CONTRAST = 'image_brightness_and_contrast'; const IMAGE_ENHANCEMENT = 'image_enhancement'; const IMAGE_TEMPLATES = 'image_templates'; const IMAGE_TOUCHUPS = 'image_touchups'; @@ -52,10 +56,13 @@ class AdCreativeFeaturesSpecFields extends AbstractEnum { const TEXT_GENERATION = 'text_generation'; const TEXT_OPTIMIZATIONS = 'text_optimizations'; const VIDEO_AUTO_CROP = 'video_auto_crop'; + const VIDEO_FILTERING = 'video_filtering'; const VIDEO_HIGHLIGHT = 'video_highlight'; public function getFieldTypes() { return array( + 'adapt_to_placement' => 'AdCreativeFeatureDetails', + 'ads_with_benefits' => 'AdCreativeFeatureDetails', 'advantage_plus_creative' => 'AdCreativeFeatureDetails', 'app_highlights' => 'AdCreativeFeatureDetails', 'audio' => 'AdCreativeFeatureDetails', @@ -65,9 +72,11 @@ public function getFieldTypes() { 'cv_transformation' => 'AdCreativeFeatureDetails', 'description_automation' => 'AdCreativeFeatureDetails', 'dha_optimization' => 'AdCreativeFeatureDetails', + 'feed_caption_optimization' => 'AdCreativeFeatureDetails', 'ig_glados_feed' => 'AdCreativeFeatureDetails', 'image_auto_crop' => 'AdCreativeFeatureDetails', 'image_background_gen' => 'AdCreativeFeatureDetails', + 'image_brightness_and_contrast' => 'AdCreativeFeatureDetails', 'image_enhancement' => 'AdCreativeFeatureDetails', 'image_templates' => 'AdCreativeFeatureDetails', 'image_touchups' => 'AdCreativeFeatureDetails', @@ -86,6 +95,7 @@ public function getFieldTypes() { 'text_generation' => 'AdCreativeFeatureDetails', 'text_optimizations' => 'AdCreativeFeatureDetails', 'video_auto_crop' => 'AdCreativeFeatureDetails', + 'video_filtering' => 'AdCreativeFeatureDetails', 'video_highlight' => 'AdCreativeFeatureDetails', ); } diff --git a/src/FacebookAds/Object/Fields/AdCreativeFields.php b/src/FacebookAds/Object/Fields/AdCreativeFields.php index 157c720c0..eb428b550 100644 --- a/src/FacebookAds/Object/Fields/AdCreativeFields.php +++ b/src/FacebookAds/Object/Fields/AdCreativeFields.php @@ -37,6 +37,7 @@ class AdCreativeFields extends AbstractEnum { const CATEGORIZATION_CRITERIA = 'categorization_criteria'; const CATEGORY_MEDIA_SOURCE = 'category_media_source'; const COLLABORATIVE_ADS_LSB_IMAGE_BANK_ID = 'collaborative_ads_lsb_image_bank_id'; + const CONTEXTUAL_MULTI_ADS = 'contextual_multi_ads'; const CREATIVE_SOURCING_SPEC = 'creative_sourcing_spec'; const DEGREES_OF_FREEDOM_SPEC = 'degrees_of_freedom_spec'; const DESTINATION_SET_ID = 'destination_set_id'; @@ -62,7 +63,6 @@ class AdCreativeFields extends AbstractEnum { const LINK_DESTINATION_DISPLAY_URL = 'link_destination_display_url'; const LINK_OG_ID = 'link_og_id'; const LINK_URL = 'link_url'; - const MESSENGER_SPONSORED_MESSAGE = 'messenger_sponsored_message'; const NAME = 'name'; const OBJECT_ID = 'object_id'; const OBJECT_STORE_URL = 'object_store_url'; @@ -71,6 +71,7 @@ class AdCreativeFields extends AbstractEnum { const OBJECT_TYPE = 'object_type'; const OBJECT_URL = 'object_url'; const OMNICHANNEL_LINK_SPEC = 'omnichannel_link_spec'; + const PAGE_WELCOME_MESSAGE = 'page_welcome_message'; const PHOTO_ALBUM_SOURCE_OBJECT_STORY_ID = 'photo_album_source_object_story_id'; const PLACE_PAGE_SET_ID = 'place_page_set_id'; const PLATFORM_CUSTOMIZATIONS = 'platform_customizations'; @@ -109,6 +110,7 @@ public function getFieldTypes() { 'categorization_criteria' => 'string', 'category_media_source' => 'string', 'collaborative_ads_lsb_image_bank_id' => 'string', + 'contextual_multi_ads' => 'AdCreativeContextualMultiAds', 'creative_sourcing_spec' => 'AdCreativeSourcingSpec', 'degrees_of_freedom_spec' => 'AdCreativeDegreesOfFreedomSpec', 'destination_set_id' => 'string', @@ -134,7 +136,6 @@ public function getFieldTypes() { 'link_destination_display_url' => 'string', 'link_og_id' => 'string', 'link_url' => 'string', - 'messenger_sponsored_message' => 'string', 'name' => 'string', 'object_id' => 'string', 'object_store_url' => 'string', @@ -143,6 +144,7 @@ public function getFieldTypes() { 'object_type' => 'ObjectType', 'object_url' => 'string', 'omnichannel_link_spec' => 'AdCreativeOmnichannelLinkSpec', + 'page_welcome_message' => 'string', 'photo_album_source_object_story_id' => 'string', 'place_page_set_id' => 'string', 'platform_customizations' => 'AdCreativePlatformCustomization', diff --git a/src/FacebookAds/Object/Fields/AdCreativeGenerativeAssetSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeGenerativeAssetSpecFields.php new file mode 100644 index 000000000..692764ea1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeGenerativeAssetSpecFields.php @@ -0,0 +1,30 @@ + 'string', + 'element_type' => 'string', + 'x' => 'float', + 'y' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeLinkDataCustomOverlaySpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeLinkDataCustomOverlaySpecFields.php new file mode 100644 index 000000000..556f165ea --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeLinkDataCustomOverlaySpecFields.php @@ -0,0 +1,46 @@ + 'BackgroundColor', + 'float_with_margin' => 'bool', + 'font' => 'Font', + 'option' => 'Option', + 'position' => 'Position', + 'render_with_icon' => 'bool', + 'template' => 'Template', + 'text_color' => 'TextColor', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeLinkDataMomentFields.php b/src/FacebookAds/Object/Fields/AdCreativeLinkDataMomentFields.php new file mode 100644 index 000000000..88a2ccdc6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeLinkDataMomentFields.php @@ -0,0 +1,34 @@ + 'string', + 'type' => 'Type', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeMarketingMessageStructuredSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeMarketingMessageStructuredSpecFields.php new file mode 100644 index 000000000..5ce4ea571 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeMarketingMessageStructuredSpecFields.php @@ -0,0 +1,42 @@ + 'list', + 'footer' => 'string', + 'greeting' => 'string', + 'language' => 'string', + 'referenced_adgroup_id' => 'string', + 'whats_app_business_phone_number_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativePromotionMetadataSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativePromotionMetadataSpecFields.php index 2eff0e819..c0e22fd9e 100644 --- a/src/FacebookAds/Object/Fields/AdCreativePromotionMetadataSpecFields.php +++ b/src/FacebookAds/Object/Fields/AdCreativePromotionMetadataSpecFields.php @@ -32,13 +32,13 @@ class AdCreativePromotionMetadataSpecFields extends AbstractEnum { public function getFieldTypes() { return array( - 'end_date' => 'datetime', + 'end_date' => 'int', 'id' => 'string', 'promotion_source' => 'string', 'promotion_type' => 'string', 'promotion_value' => 'float', 'required_code' => 'string', - 'start_date' => 'datetime', + 'start_date' => 'int', ); } } diff --git a/src/FacebookAds/Object/Fields/AdCreativeRegionalRegulationDisclaimerFields.php b/src/FacebookAds/Object/Fields/AdCreativeRegionalRegulationDisclaimerFields.php new file mode 100644 index 000000000..569eaae52 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeRegionalRegulationDisclaimerFields.php @@ -0,0 +1,30 @@ + 'string', + 'reward_program_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeShopSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeShopSpecFields.php new file mode 100644 index 000000000..8743d15c6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeShopSpecFields.php @@ -0,0 +1,36 @@ + 'string', + 'landing_view' => 'string', + 'shop_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeVideoDataCustomOverlaySpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeVideoDataCustomOverlaySpecFields.php new file mode 100644 index 000000000..638a23f56 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeVideoDataCustomOverlaySpecFields.php @@ -0,0 +1,50 @@ + 'string', + 'background_opacity' => 'BackgroundOpacity', + 'duration' => 'int', + 'float_with_margin' => 'bool', + 'full_width' => 'bool', + 'option' => 'Option', + 'position' => 'Position', + 'start' => 'int', + 'template' => 'Template', + 'text_color' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeVideoDataMediaElementsFields.php b/src/FacebookAds/Object/Fields/AdCreativeVideoDataMediaElementsFields.php new file mode 100644 index 000000000..d61e601cd --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeVideoDataMediaElementsFields.php @@ -0,0 +1,34 @@ + 'string', + 'element_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCreativeWhatsAppChannelSpecFields.php b/src/FacebookAds/Object/Fields/AdCreativeWhatsAppChannelSpecFields.php new file mode 100644 index 000000000..5592871c7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCreativeWhatsAppChannelSpecFields.php @@ -0,0 +1,34 @@ + 'string', + 'channel_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php b/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php new file mode 100644 index 000000000..beca9182c --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdCustomDerivedMetricsFields.php @@ -0,0 +1,64 @@ + 'string', + 'business' => 'Business', + 'creation_time' => 'datetime', + 'creator' => 'Profile', + 'custom_derived_metric_type' => 'string', + 'deletion_time' => 'datetime', + 'deletor' => 'Profile', + 'description' => 'string', + 'format_type' => 'string', + 'formula' => 'string', + 'has_attribution_windows' => 'bool', + 'has_inline_attribution_window' => 'bool', + 'id' => 'string', + 'name' => 'string', + 'permission' => 'string', + 'saved_report_id' => 'string', + 'scope' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php b/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php new file mode 100644 index 000000000..7d28e89a1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdDefaultValuesFields.php @@ -0,0 +1,32 @@ + 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdDraftFields.php b/src/FacebookAds/Object/Fields/AdDraftFields.php new file mode 100644 index 000000000..0b49257c6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdDraftFields.php @@ -0,0 +1,60 @@ + 'string', + 'api_version' => 'string', + 'async_request_set' => 'AdAsyncRequestSet', + 'author_id' => 'string', + 'created_by' => 'string', + 'draft_version' => 'string', + 'id' => 'string', + 'is_active' => 'bool', + 'name' => 'string', + 'ownership_type' => '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 new file mode 100644 index 000000000..14b605703 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdExportPresetFields.php @@ -0,0 +1,42 @@ + '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 6d98a1e72..c107ea804 100644 --- a/src/FacebookAds/Object/Fields/AdFields.php +++ b/src/FacebookAds/Object/Fields/AdFields.php @@ -40,6 +40,7 @@ class AdFields extends AbstractEnum { const CONVERSION_SPECS = 'conversion_specs'; const CREATED_TIME = 'created_time'; const CREATIVE = 'creative'; + const CREATIVE_ASSET_GROUPS_SPEC = 'creative_asset_groups_spec'; const DEMOLINK_HASH = 'demolink_hash'; const DISPLAY_SEQUENCE = 'display_sequence'; const EFFECTIVE_STATUS = 'effective_status'; @@ -87,6 +88,7 @@ public function getFieldTypes() { 'conversion_specs' => 'list', 'created_time' => 'datetime', 'creative' => 'AdCreative', + 'creative_asset_groups_spec' => 'AdCreativeAssetGroupsSpec', 'demolink_hash' => 'string', 'display_sequence' => 'int', 'effective_status' => 'EffectiveStatus', diff --git a/src/FacebookAds/Object/Fields/AdKeywordStatsFields.php b/src/FacebookAds/Object/Fields/AdKeywordStatsFields.php new file mode 100644 index 000000000..f5ef19199 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdKeywordStatsFields.php @@ -0,0 +1,70 @@ + 'list', + 'clicks' => 'unsigned int', + 'cost_per_total_action' => 'float', + 'cost_per_unique_click' => 'float', + 'cpc' => 'float', + 'cpm' => 'float', + 'cpp' => 'float', + 'ctr' => 'float', + 'frequency' => 'float', + 'id' => 'string', + 'impressions' => 'unsigned int', + 'name' => 'string', + 'reach' => 'unsigned int', + 'spend' => 'float', + 'total_actions' => 'unsigned int', + 'total_unique_actions' => 'unsigned int', + 'unique_actions' => 'list', + 'unique_clicks' => 'unsigned int', + 'unique_ctr' => 'float', + 'unique_impressions' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdKpiShiftFields.php b/src/FacebookAds/Object/Fields/AdKpiShiftFields.php new file mode 100644 index 000000000..99f335202 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdKpiShiftFields.php @@ -0,0 +1,42 @@ + 'AdSet', + 'cost_per_result_shift' => 'float', + 'enough_effective_days' => 'bool', + 'result_indicator' => 'string', + 'result_shift' => 'float', + 'spend_shift' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdLightAdgroupFields.php b/src/FacebookAds/Object/Fields/AdLightAdgroupFields.php new file mode 100644 index 000000000..655ef5943 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdLightAdgroupFields.php @@ -0,0 +1,34 @@ + 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdLightCampaignFields.php b/src/FacebookAds/Object/Fields/AdLightCampaignFields.php new file mode 100644 index 000000000..eaa7b983d --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdLightCampaignFields.php @@ -0,0 +1,34 @@ + 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php b/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php new file mode 100644 index 000000000..bcf6bd345 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdLightCampaignGroupFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdLimitSettingFields.php b/src/FacebookAds/Object/Fields/AdLimitSettingFields.php new file mode 100644 index 000000000..42ac5a88c --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdLimitSettingFields.php @@ -0,0 +1,32 @@ + 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdLimitsEnforcementDataFields.php b/src/FacebookAds/Object/Fields/AdLimitsEnforcementDataFields.php new file mode 100644 index 000000000..2f7908996 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdLimitsEnforcementDataFields.php @@ -0,0 +1,42 @@ + 'int', + 'ad_limit_on_scope' => 'int', + 'ad_volume_on_page' => 'int', + 'ad_volume_on_scope' => 'int', + 'is_admin' => 'bool', + 'page_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdNetworkAnalyticsAsyncQueryExportFields.php b/src/FacebookAds/Object/Fields/AdNetworkAnalyticsAsyncQueryExportFields.php new file mode 100644 index 000000000..90bc6aa89 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdNetworkAnalyticsAsyncQueryExportFields.php @@ -0,0 +1,38 @@ + 'Object', + 'export_link' => 'string', + 'query_id' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdProposalFields.php b/src/FacebookAds/Object/Fields/AdProposalFields.php new file mode 100644 index 000000000..0bb3fc645 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdProposalFields.php @@ -0,0 +1,68 @@ + 'string', + 'adaccount' => 'AdAccount', + 'creation_time' => 'datetime', + 'creator' => 'User', + 'delivery_interface' => 'string', + 'expiration_time' => 'datetime', + 'has_conflict' => 'bool', + 'id' => 'string', + 'kpi_metric' => 'string', + 'message' => 'string', + 'name' => 'string', + 'proposal_dts_template' => 'string', + 'proposal_template_name' => 'string', + 'recommendation' => 'string', + 'review_time' => 'datetime', + 'reviewed_by' => 'User', + 'send_time' => 'datetime', + 'status' => 'string', + 'use_testing' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdRecommendationFields.php b/src/FacebookAds/Object/Fields/AdRecommendationFields.php index b7f6e9e07..cd593d7d0 100644 --- a/src/FacebookAds/Object/Fields/AdRecommendationFields.php +++ b/src/FacebookAds/Object/Fields/AdRecommendationFields.php @@ -29,6 +29,7 @@ class AdRecommendationFields extends AbstractEnum { const MESSAGE = 'message'; const RECOMMENDATION_DATA = 'recommendation_data'; const TITLE = 'title'; + const VALUE = 'value'; public function getFieldTypes() { return array( @@ -39,6 +40,7 @@ public function getFieldTypes() { 'message' => 'string', 'recommendation_data' => 'AdRecommendationData', 'title' => 'string', + 'value' => 'string', ); } } diff --git a/src/FacebookAds/Object/Fields/AdSavedKeywordsFields.php b/src/FacebookAds/Object/Fields/AdSavedKeywordsFields.php new file mode 100644 index 000000000..f09c38f31 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdSavedKeywordsFields.php @@ -0,0 +1,44 @@ + 'AdAccount', + 'id' => 'string', + 'keywords' => 'AdKeywords', + 'name' => 'string', + 'run_status' => 'string', + 'time_created' => 'datetime', + 'time_updated' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdSavedLocationFields.php b/src/FacebookAds/Object/Fields/AdSavedLocationFields.php new file mode 100644 index 000000000..36715d510 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdSavedLocationFields.php @@ -0,0 +1,50 @@ + '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 new file mode 100644 index 000000000..e693032c6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdSavedReportFields.php @@ -0,0 +1,66 @@ + '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/AdSetFields.php b/src/FacebookAds/Object/Fields/AdSetFields.php index c40e0c1b6..44a142245 100644 --- a/src/FacebookAds/Object/Fields/AdSetFields.php +++ b/src/FacebookAds/Object/Fields/AdSetFields.php @@ -70,6 +70,7 @@ class AdSetFields extends AbstractEnum { const PROMOTED_OBJECT = 'promoted_object'; const RECOMMENDATIONS = 'recommendations'; const RECURRING_BUDGET_SEMANTICS = 'recurring_budget_semantics'; + const REGIONAL_REGULATED_CATEGORIES = 'regional_regulated_categories'; const REGIONAL_REGULATION_IDENTITIES = 'regional_regulation_identities'; const REVIEW_FEEDBACK = 'review_feedback'; const RF_PREDICTION_ID = 'rf_prediction_id'; @@ -144,7 +145,8 @@ public function getFieldTypes() { 'promoted_object' => 'AdPromotedObject', 'recommendations' => 'list', 'recurring_budget_semantics' => 'bool', - 'regional_regulation_identities' => 'Object', + 'regional_regulated_categories' => 'list', + 'regional_regulation_identities' => 'RegionalRegulationIdentities', 'review_feedback' => 'string', 'rf_prediction_id' => 'string', 'source_adset' => 'AdSet', diff --git a/src/FacebookAds/Object/Fields/AdToplineDetailFields.php b/src/FacebookAds/Object/Fields/AdToplineDetailFields.php new file mode 100644 index 000000000..e981e57a7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdToplineDetailFields.php @@ -0,0 +1,58 @@ + 'int', + 'ad_account_id' => 'string', + 'flight_end_date' => 'datetime', + 'flight_start_date' => 'datetime', + 'id' => 'string', + 'io_number' => 'int', + 'line_number' => 'int', + 'price' => 'float', + 'quantity' => 'float', + 'sf_detail_line_id' => 'string', + 'subline_id' => 'string', + 'targets' => 'string', + 'time_created' => 'datetime', + 'time_updated' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdToplineFields.php b/src/FacebookAds/Object/Fields/AdToplineFields.php new file mode 100644 index 000000000..42e023e9c --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdToplineFields.php @@ -0,0 +1,100 @@ + 'string', + 'client_approval_date' => 'datetime', + 'created_by' => 'string', + 'created_date' => 'datetime', + 'description' => 'string', + 'flight_end_date' => 'datetime', + 'flight_start_date' => 'datetime', + 'func_cap_amount' => 'string', + 'func_cap_amount_with_offset' => 'string', + 'func_line_amount' => 'string', + 'func_line_amount_with_offset' => 'string', + 'func_price' => 'string', + 'func_price_with_offset' => 'string', + 'gender' => 'string', + 'id' => 'string', + 'impressions' => 'int', + 'io_number' => 'int', + 'is_bonus_line' => 'int', + 'keywords' => 'string', + 'last_updated_by' => 'string', + 'last_updated_date' => 'datetime', + 'line_number' => 'int', + 'line_position' => 'int', + 'line_type' => 'string', + 'location' => 'string', + 'max_age' => 'string', + 'max_budget' => 'string', + 'min_age' => 'string', + 'price_per_trp' => 'string', + 'product_type' => 'string', + 'rev_assurance_approval_date' => 'datetime', + 'targets' => 'string', + 'trp_updated_time' => 'int', + 'trp_value' => 'string', + 'uom' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdVolumeFields.php b/src/FacebookAds/Object/Fields/AdVolumeFields.php new file mode 100644 index 000000000..7caaf536b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdVolumeFields.php @@ -0,0 +1,50 @@ + 'list', + 'ads_running_or_in_review_count' => 'unsigned int', + 'future_limit_activation_date' => 'string', + 'future_limit_on_ads_running_or_in_review' => 'unsigned int', + 'individual_accounts_ad_volume' => 'int', + 'is_gpa_page' => 'bool', + 'limit_on_ads_running_or_in_review' => 'unsigned int', + 'owning_business_ad_volume' => 'int', + 'partner_business_ad_volume' => 'int', + 'user_role' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdgroupFacebookFeedbackFields.php b/src/FacebookAds/Object/Fields/AdgroupFacebookFeedbackFields.php new file mode 100644 index 000000000..af171c3f0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdgroupFacebookFeedbackFields.php @@ -0,0 +1,34 @@ + 'string', + 'preview' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdjacentContentDeliveryReportFields.php b/src/FacebookAds/Object/Fields/AdjacentContentDeliveryReportFields.php new file mode 100644 index 000000000..1332e8c0d --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdjacentContentDeliveryReportFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdoptablePetFields.php b/src/FacebookAds/Object/Fields/AdoptablePetFields.php new file mode 100644 index 000000000..57b98ff54 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdoptablePetFields.php @@ -0,0 +1,88 @@ + 'string', + 'adoption_application_form_url' => 'string', + 'age_bucket' => 'string', + 'animal_type' => 'string', + 'applinks' => 'CatalogItemAppLinks', + 'availability' => 'string', + 'breed' => 'string', + 'category_specific_fields' => 'CatalogSubVerticalList', + 'coat_length' => 'string', + 'color' => 'string', + 'currency' => 'string', + 'description' => 'string', + 'features' => 'list', + 'gender' => 'string', + 'id' => 'string', + 'image_fetch_status' => 'ImageFetchStatus', + 'images' => 'list', + 'name' => 'string', + 'price' => 'string', + 'sanitized_images' => 'list', + 'secondary_color' => 'string', + 'shelter_email' => 'string', + 'shelter_name' => 'string', + 'shelter_page_id' => 'Page', + 'shelter_phone' => 'string', + 'size' => 'string', + 'tertiary_color' => 'string', + 'url' => 'string', + 'visibility' => 'Visibility', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsActionStatsFields.php b/src/FacebookAds/Object/Fields/AdsActionStatsFields.php index bedfffb0a..9d0b8c72b 100644 --- a/src/FacebookAds/Object/Fields/AdsActionStatsFields.php +++ b/src/FacebookAds/Object/Fields/AdsActionStatsFields.php @@ -23,12 +23,26 @@ class AdsActionStatsFields extends AbstractEnum { const FIELD_1D_CLICK = '1d_click'; + const FIELD_1D_CLICK_ALL_CONVERSIONS = '1d_click_all_conversions'; + const FIELD_1D_CLICK_FIRST_CONVERSION = '1d_click_first_conversion'; const FIELD_1D_EV = '1d_ev'; + const FIELD_1D_EV_ALL_CONVERSIONS = '1d_ev_all_conversions'; + const FIELD_1D_EV_FIRST_CONVERSION = '1d_ev_first_conversion'; const FIELD_1D_VIEW = '1d_view'; + const FIELD_1D_VIEW_ALL_CONVERSIONS = '1d_view_all_conversions'; + const FIELD_1D_VIEW_FIRST_CONVERSION = '1d_view_first_conversion'; const FIELD_28D_CLICK = '28d_click'; + const FIELD_28D_CLICK_ALL_CONVERSIONS = '28d_click_all_conversions'; + const FIELD_28D_CLICK_FIRST_CONVERSION = '28d_click_first_conversion'; const FIELD_28D_VIEW = '28d_view'; + const FIELD_28D_VIEW_ALL_CONVERSIONS = '28d_view_all_conversions'; + const FIELD_28D_VIEW_FIRST_CONVERSION = '28d_view_first_conversion'; const FIELD_7D_CLICK = '7d_click'; + const FIELD_7D_CLICK_ALL_CONVERSIONS = '7d_click_all_conversions'; + const FIELD_7D_CLICK_FIRST_CONVERSION = '7d_click_first_conversion'; const FIELD_7D_VIEW = '7d_view'; + const FIELD_7D_VIEW_ALL_CONVERSIONS = '7d_view_all_conversions'; + const FIELD_7D_VIEW_FIRST_CONVERSION = '7d_view_first_conversion'; const ACTION_BRAND = 'action_brand'; const ACTION_CANVAS_COMPONENT_ID = 'action_canvas_component_id'; const ACTION_CANVAS_COMPONENT_NAME = 'action_canvas_component_name'; @@ -62,12 +76,26 @@ class AdsActionStatsFields extends AbstractEnum { public function getFieldTypes() { return array( '1d_click' => 'string', + '1d_click_all_conversions' => 'string', + '1d_click_first_conversion' => 'string', '1d_ev' => 'string', + '1d_ev_all_conversions' => 'string', + '1d_ev_first_conversion' => 'string', '1d_view' => 'string', + '1d_view_all_conversions' => 'string', + '1d_view_first_conversion' => 'string', '28d_click' => 'string', + '28d_click_all_conversions' => 'string', + '28d_click_first_conversion' => 'string', '28d_view' => 'string', + '28d_view_all_conversions' => 'string', + '28d_view_first_conversion' => 'string', '7d_click' => 'string', + '7d_click_all_conversions' => 'string', + '7d_click_first_conversion' => 'string', '7d_view' => 'string', + '7d_view_all_conversions' => 'string', + '7d_view_first_conversion' => 'string', 'action_brand' => 'string', 'action_canvas_component_id' => 'string', 'action_canvas_component_name' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdsAnomalyDetectionFields.php b/src/FacebookAds/Object/Fields/AdsAnomalyDetectionFields.php new file mode 100644 index 000000000..da9f05200 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsAnomalyDetectionFields.php @@ -0,0 +1,34 @@ + 'list', + 'day' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsConversionGoalFields.php b/src/FacebookAds/Object/Fields/AdsConversionGoalFields.php new file mode 100644 index 000000000..3b21b357f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsConversionGoalFields.php @@ -0,0 +1,46 @@ + 'string', + 'conversion_event_value_source' => 'string', + 'description' => 'string', + 'goal_creation_method' => 'string', + 'id' => 'string', + 'name' => 'string', + 'performance_goal' => 'string', + 'update_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php b/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php new file mode 100644 index 000000000..dcdeaa317 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsCreationSavedStateFields.php @@ -0,0 +1,40 @@ + 'AdAccount', + 'id' => 'string', + 'serialized_store_data' => 'string', + 'time_updated' => 'datetime', + 'user' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsCustomPivotsPreviewFields.php b/src/FacebookAds/Object/Fields/AdsCustomPivotsPreviewFields.php new file mode 100644 index 000000000..45d3f7e48 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsCustomPivotsPreviewFields.php @@ -0,0 +1,48 @@ + 'string', + 'account_name' => 'string', + 'ad_id' => 'string', + 'ad_name' => 'string', + 'adset_id' => 'string', + 'adset_name' => 'string', + 'campaign_id' => 'string', + 'campaign_name' => 'string', + 'custom_breakdown' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsDataPartnerFields.php b/src/FacebookAds/Object/Fields/AdsDataPartnerFields.php new file mode 100644 index 000000000..c44cafcfb --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsDataPartnerFields.php @@ -0,0 +1,36 @@ + 'string', + 'name' => 'string', + 'rev_share_policies' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsDatasetFields.php b/src/FacebookAds/Object/Fields/AdsDatasetFields.php new file mode 100644 index 000000000..54fd38510 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsDatasetFields.php @@ -0,0 +1,134 @@ + 'bool', + 'collection_rate' => 'float', + 'config' => 'string', + 'creation_time' => 'datetime', + 'creator' => 'User', + 'dataset_id' => 'string', + 'description' => 'string', + 'duplicate_entries' => 'int', + 'enable_auto_assign_to_accounts' => 'bool', + 'enable_automatic_events' => 'bool', + 'enable_automatic_matching' => 'bool', + 'enable_real_time_event_log' => 'bool', + 'event_stats' => 'string', + 'event_time_max' => 'int', + 'event_time_min' => 'int', + 'first_party_cookie_status' => 'string', + 'has_bapi_domains' => 'bool', + 'has_catalog_microdata_activity' => 'bool', + 'has_ofa_redacted_keys' => 'bool', + 'has_sent_pii' => 'bool', + 'id' => 'string', + 'is_consolidated_container' => 'bool', + 'is_created_by_business' => 'bool', + 'is_crm' => 'bool', + 'is_eligible_for_sharing_to_ad_account' => 'bool', + 'is_eligible_for_sharing_to_business' => 'bool', + 'is_eligible_for_value_optimization' => 'bool', + 'is_mta_use' => 'bool', + 'is_restricted_use' => 'bool', + 'is_unavailable' => 'bool', + 'last_fired_time' => 'datetime', + 'last_upload_app' => 'string', + 'last_upload_app_changed_time' => 'int', + 'last_upload_time' => 'int', + 'late_upload_reminder_eligibility' => 'bool', + 'match_rate_approx' => 'int', + 'matched_entries' => 'int', + 'name' => 'string', + 'no_ads_tracked_for_weekly_uploaded_events_reminder_eligibility' => 'bool', + 'num_active_ad_set_tracked' => 'int', + 'num_recent_offline_conversions_uploaded' => 'int', + 'num_uploads' => 'int', + 'owner_ad_account' => 'AdAccount', + 'owner_business' => 'Business', + 'percentage_of_late_uploads_in_external_suboptimal_window' => 'int', + 'permissions' => 'OfflineConversionDataSetPermissions', + 'server_last_fired_time' => 'datetime', + 'show_automatic_events' => 'bool', + 'upload_rate' => 'float', + 'upload_reminder_eligibility' => 'bool', + 'usage' => 'OfflineConversionDataSetUsage', + 'valid_entries' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsGuidanceQEExposureFields.php b/src/FacebookAds/Object/Fields/AdsGuidanceQEExposureFields.php new file mode 100644 index 000000000..b15c0829b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsGuidanceQEExposureFields.php @@ -0,0 +1,32 @@ + 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsHistogramStatsFields.php b/src/FacebookAds/Object/Fields/AdsHistogramStatsFields.php index 316a3b9b4..04d1035b6 100644 --- a/src/FacebookAds/Object/Fields/AdsHistogramStatsFields.php +++ b/src/FacebookAds/Object/Fields/AdsHistogramStatsFields.php @@ -23,12 +23,26 @@ class AdsHistogramStatsFields extends AbstractEnum { const FIELD_1D_CLICK = '1d_click'; + const FIELD_1D_CLICK_ALL_CONVERSIONS = '1d_click_all_conversions'; + const FIELD_1D_CLICK_FIRST_CONVERSION = '1d_click_first_conversion'; const FIELD_1D_EV = '1d_ev'; + const FIELD_1D_EV_ALL_CONVERSIONS = '1d_ev_all_conversions'; + const FIELD_1D_EV_FIRST_CONVERSION = '1d_ev_first_conversion'; const FIELD_1D_VIEW = '1d_view'; + const FIELD_1D_VIEW_ALL_CONVERSIONS = '1d_view_all_conversions'; + const FIELD_1D_VIEW_FIRST_CONVERSION = '1d_view_first_conversion'; const FIELD_28D_CLICK = '28d_click'; + const FIELD_28D_CLICK_ALL_CONVERSIONS = '28d_click_all_conversions'; + const FIELD_28D_CLICK_FIRST_CONVERSION = '28d_click_first_conversion'; const FIELD_28D_VIEW = '28d_view'; + const FIELD_28D_VIEW_ALL_CONVERSIONS = '28d_view_all_conversions'; + const FIELD_28D_VIEW_FIRST_CONVERSION = '28d_view_first_conversion'; const FIELD_7D_CLICK = '7d_click'; + const FIELD_7D_CLICK_ALL_CONVERSIONS = '7d_click_all_conversions'; + const FIELD_7D_CLICK_FIRST_CONVERSION = '7d_click_first_conversion'; const FIELD_7D_VIEW = '7d_view'; + const FIELD_7D_VIEW_ALL_CONVERSIONS = '7d_view_all_conversions'; + const FIELD_7D_VIEW_FIRST_CONVERSION = '7d_view_first_conversion'; const ACTION_BRAND = 'action_brand'; const ACTION_CANVAS_COMPONENT_ID = 'action_canvas_component_id'; const ACTION_CANVAS_COMPONENT_NAME = 'action_canvas_component_name'; @@ -62,12 +76,26 @@ class AdsHistogramStatsFields extends AbstractEnum { public function getFieldTypes() { return array( '1d_click' => 'list', + '1d_click_all_conversions' => 'list', + '1d_click_first_conversion' => 'list', '1d_ev' => 'list', + '1d_ev_all_conversions' => 'list', + '1d_ev_first_conversion' => 'list', '1d_view' => 'list', + '1d_view_all_conversions' => 'list', + '1d_view_first_conversion' => 'list', '28d_click' => 'list', + '28d_click_all_conversions' => 'list', + '28d_click_first_conversion' => 'list', '28d_view' => 'list', + '28d_view_all_conversions' => 'list', + '28d_view_first_conversion' => 'list', '7d_click' => 'list', + '7d_click_all_conversions' => 'list', + '7d_click_first_conversion' => 'list', '7d_view' => 'list', + '7d_view_all_conversions' => 'list', + '7d_view_first_conversion' => 'list', 'action_brand' => 'string', 'action_canvas_component_id' => 'string', 'action_canvas_component_name' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdsInsightsFields.php b/src/FacebookAds/Object/Fields/AdsInsightsFields.php index 163d1fb69..2a5677c9f 100644 --- a/src/FacebookAds/Object/Fields/AdsInsightsFields.php +++ b/src/FacebookAds/Object/Fields/AdsInsightsFields.php @@ -31,6 +31,7 @@ class AdsInsightsFields extends AbstractEnum { const AD_ID = 'ad_id'; const AD_IMPRESSION_ACTIONS = 'ad_impression_actions'; const AD_NAME = 'ad_name'; + const ADJUSTED_OFFLINE_PURCHASE = 'adjusted_offline_purchase'; const ADSET_END = 'adset_end'; const ADSET_ID = 'adset_id'; const ADSET_NAME = 'adset_name'; @@ -51,7 +52,6 @@ class AdsInsightsFields extends AbstractEnum { const CATALOG_SEGMENT_VALUE_OMNI_PURCHASE_ROAS = 'catalog_segment_value_omni_purchase_roas'; const CATALOG_SEGMENT_VALUE_WEBSITE_PURCHASE_ROAS = 'catalog_segment_value_website_purchase_roas'; const CLICKS = 'clicks'; - const CONVERSION_LEAD_RATE = 'conversion_lead_rate'; const CONVERSION_RATE_RANKING = 'conversion_rate_ranking'; const CONVERSION_VALUES = 'conversion_values'; const CONVERSIONS = 'conversions'; @@ -62,7 +62,6 @@ class AdsInsightsFields extends AbstractEnum { const COST_PER_ACTION_TYPE = 'cost_per_action_type'; const COST_PER_AD_CLICK = 'cost_per_ad_click'; const COST_PER_CONVERSION = 'cost_per_conversion'; - const COST_PER_CONVERSION_LEAD = 'cost_per_conversion_lead'; 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'; @@ -113,6 +112,7 @@ class AdsInsightsFields extends AbstractEnum { const MARKETING_MESSAGES_WEBSITE_PURCHASE_VALUES = 'marketing_messages_website_purchase_values'; const MOBILE_APP_PURCHASE_ROAS = 'mobile_app_purchase_roas'; const OBJECTIVE = 'objective'; + const ONSITE_CONVERSION_MESSAGING_DETECTED_PURCHASE_DEDUPED = 'onsite_conversion_messaging_detected_purchase_deduped'; const OPTIMIZATION_GOAL = 'optimization_goal'; const OUTBOUND_CLICKS = 'outbound_clicks'; const OUTBOUND_CLICKS_CTR = 'outbound_clicks_ctr'; @@ -121,6 +121,7 @@ class AdsInsightsFields extends AbstractEnum { const QUALIFYING_QUESTION_QUALIFY_ANSWER_RATE = 'qualifying_question_qualify_answer_rate'; const QUALITY_RANKING = 'quality_ranking'; const REACH = 'reach'; + const SHOPS_ASSISTED_PURCHASES = 'shops_assisted_purchases'; const SOCIAL_SPEND = 'social_spend'; const SPEND = 'spend'; const TOTAL_POSTBACKS = 'total_postbacks'; @@ -169,6 +170,7 @@ public function getFieldTypes() { 'ad_id' => 'string', 'ad_impression_actions' => 'list', 'ad_name' => 'string', + 'adjusted_offline_purchase' => 'list', 'adset_end' => 'string', 'adset_id' => 'string', 'adset_name' => 'string', @@ -189,7 +191,6 @@ public function getFieldTypes() { 'catalog_segment_value_omni_purchase_roas' => 'list', 'catalog_segment_value_website_purchase_roas' => 'list', 'clicks' => 'string', - 'conversion_lead_rate' => 'string', 'conversion_rate_ranking' => 'string', 'conversion_values' => 'list', 'conversions' => 'list', @@ -200,7 +201,6 @@ public function getFieldTypes() { 'cost_per_action_type' => 'list', 'cost_per_ad_click' => 'list', 'cost_per_conversion' => 'list', - 'cost_per_conversion_lead' => 'string', 'cost_per_dda_countby_convs' => 'string', 'cost_per_estimated_ad_recallers' => 'string', 'cost_per_inline_link_click' => 'string', @@ -251,6 +251,7 @@ public function getFieldTypes() { 'marketing_messages_website_purchase_values' => 'string', 'mobile_app_purchase_roas' => 'list', 'objective' => 'string', + 'onsite_conversion_messaging_detected_purchase_deduped' => 'list', 'optimization_goal' => 'string', 'outbound_clicks' => 'list', 'outbound_clicks_ctr' => 'list', @@ -259,6 +260,7 @@ public function getFieldTypes() { 'qualifying_question_qualify_answer_rate' => 'string', 'quality_ranking' => 'string', 'reach' => 'string', + 'shops_assisted_purchases' => 'string', 'social_spend' => 'string', 'spend' => 'string', 'total_postbacks' => 'string', diff --git a/src/FacebookAds/Object/Fields/AdsNamingTemplateFields.php b/src/FacebookAds/Object/Fields/AdsNamingTemplateFields.php new file mode 100644 index 000000000..2d0a04428 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsNamingTemplateFields.php @@ -0,0 +1,48 @@ + 'list>>>>', + 'api_version' => 'string', + 'field_order' => 'list', + 'id' => 'string', + 'level' => 'Level', + 'separator' => 'string', + 'template_version' => 'string', + 'user_defined_fields' => 'list>>>', + 'value_separator' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php b/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php new file mode 100644 index 000000000..b36accbdf --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPaymentCycleFields.php @@ -0,0 +1,42 @@ + 'string', + 'created_time' => 'datetime', + 'multiplier' => 'unsigned int', + 'requested_threshold_amount' => 'unsigned int', + 'threshold_amount' => 'unsigned int', + 'updated_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPivotRulesFields.php b/src/FacebookAds/Object/Fields/AdsPivotRulesFields.php new file mode 100644 index 000000000..1249f95b8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPivotRulesFields.php @@ -0,0 +1,50 @@ + 'datetime', + 'creator' => 'Profile', + 'description' => 'string', + 'id' => 'string', + 'name' => 'string', + 'permission' => 'string', + 'rules' => 'list', + 'scope' => 'string', + 'update_by' => 'Profile', + 'update_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelCAPISetupQualityFields.php b/src/FacebookAds/Object/Fields/AdsPixelCAPISetupQualityFields.php new file mode 100644 index 000000000..836d65001 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelCAPISetupQualityFields.php @@ -0,0 +1,34 @@ + 'Object', + 'event_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelCapabilityOverrideFields.php b/src/FacebookAds/Object/Fields/AdsPixelCapabilityOverrideFields.php new file mode 100644 index 000000000..3fd7d9053 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelCapabilityOverrideFields.php @@ -0,0 +1,38 @@ + 'string', + 'id' => 'string', + 'override_value' => 'string', + 'reason' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelDeliveryRecommendationsFields.php b/src/FacebookAds/Object/Fields/AdsPixelDeliveryRecommendationsFields.php new file mode 100644 index 000000000..22e5ebc1e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelDeliveryRecommendationsFields.php @@ -0,0 +1,34 @@ + 'string', + 'optimization_goal' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelDomainControlRuleFields.php b/src/FacebookAds/Object/Fields/AdsPixelDomainControlRuleFields.php new file mode 100644 index 000000000..665f07799 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelDomainControlRuleFields.php @@ -0,0 +1,34 @@ + 'list', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelDomainLastFiredTimeFields.php b/src/FacebookAds/Object/Fields/AdsPixelDomainLastFiredTimeFields.php new file mode 100644 index 000000000..89adb92db --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelDomainLastFiredTimeFields.php @@ -0,0 +1,34 @@ + 'string', + 'last_fired_time' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelEventLastFiredTimeFields.php b/src/FacebookAds/Object/Fields/AdsPixelEventLastFiredTimeFields.php new file mode 100644 index 000000000..ca53d9576 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelEventLastFiredTimeFields.php @@ -0,0 +1,34 @@ + 'string', + 'last_fired_time' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php b/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php new file mode 100644 index 000000000..815981ffd --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelEventPredictionFields.php @@ -0,0 +1,36 @@ + 'bool', + 'event_type' => 'string', + 'rule' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php b/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php new file mode 100644 index 000000000..b5465e3a9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelEventSuggestionRuleFields.php @@ -0,0 +1,46 @@ + 'int', + 'dismissed' => 'bool', + 'end_time' => 'datetime', + 'event_type' => 'string', + 'rank' => 'int', + 'rule' => 'string', + 'sample_urls' => 'list', + 'start_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelFields.php b/src/FacebookAds/Object/Fields/AdsPixelFields.php index b09ff1d09..81efbde13 100644 --- a/src/FacebookAds/Object/Fields/AdsPixelFields.php +++ b/src/FacebookAds/Object/Fields/AdsPixelFields.php @@ -37,6 +37,7 @@ class AdsPixelFields extends AbstractEnum { const EVENT_TIME_MAX = 'event_time_max'; const EVENT_TIME_MIN = 'event_time_min'; const FIRST_PARTY_COOKIE_STATUS = 'first_party_cookie_status'; + const HAS_1P_PIXEL_EVENT = 'has_1p_pixel_event'; const ID = 'id'; const IS_CONSOLIDATED_CONTAINER = 'is_consolidated_container'; const IS_CREATED_BY_BUSINESS = 'is_created_by_business'; @@ -73,6 +74,7 @@ public function getFieldTypes() { 'event_time_max' => 'int', 'event_time_min' => 'int', 'first_party_cookie_status' => 'string', + 'has_1p_pixel_event' => 'bool', 'id' => 'string', 'is_consolidated_container' => 'bool', 'is_created_by_business' => 'bool', diff --git a/src/FacebookAds/Object/Fields/AdsPixelItemPriceFields.php b/src/FacebookAds/Object/Fields/AdsPixelItemPriceFields.php new file mode 100644 index 000000000..40bc04540 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelItemPriceFields.php @@ -0,0 +1,34 @@ + 'string', + 'item_price_coverage' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelMicrodataStatsFields.php b/src/FacebookAds/Object/Fields/AdsPixelMicrodataStatsFields.php new file mode 100644 index 000000000..80817e1ea --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelMicrodataStatsFields.php @@ -0,0 +1,40 @@ + 'list', + 'errors_stats_for_time_ranges' => 'list', + 'has_valid_events' => 'bool', + 'suggested_allowed_domains_count_max' => 'int', + 'suggested_trusted_domains' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelRawFiresResultFields.php b/src/FacebookAds/Object/Fields/AdsPixelRawFiresResultFields.php new file mode 100644 index 000000000..2738f6449 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelRawFiresResultFields.php @@ -0,0 +1,46 @@ + 'string', + 'device_type' => 'string', + 'event' => 'string', + 'event_detection_method' => 'string', + 'event_src' => 'string', + 'placed_url' => 'string', + 'timestamp' => 'datetime', + 'user_pii_keys' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelRealTimeEventLogResultFields.php b/src/FacebookAds/Object/Fields/AdsPixelRealTimeEventLogResultFields.php new file mode 100644 index 000000000..2b026623b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelRealTimeEventLogResultFields.php @@ -0,0 +1,56 @@ + 'string', + 'dedup_data' => 'string', + 'device_type' => 'string', + 'domain_control_rule_rejection' => 'string', + 'event' => 'string', + 'event_detection_method' => 'string', + 'in_iframe' => 'bool', + 'matched_rule_conditions' => 'string', + 'resolved_link' => 'string', + 'source_rule_condition' => 'string', + 'timestamp' => 'string', + 'trace_id' => 'string', + 'url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelRecentEventsResultFields.php b/src/FacebookAds/Object/Fields/AdsPixelRecentEventsResultFields.php new file mode 100644 index 000000000..526a6c520 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelRecentEventsResultFields.php @@ -0,0 +1,34 @@ + 'int', + 'event' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLFeedbackNuxFields.php b/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLFeedbackNuxFields.php new file mode 100644 index 000000000..e3f53f83e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLFeedbackNuxFields.php @@ -0,0 +1,32 @@ + 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLNuxFields.php b/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLNuxFields.php new file mode 100644 index 000000000..3a46d5fd6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsPixelSignalsIWLNuxFields.php @@ -0,0 +1,40 @@ + 'string', + 'content' => 'string', + 'content_color' => 'string', + 'content_size' => 'string', + 'img_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderExportCoreFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderExportCoreFields.php new file mode 100644 index 000000000..982ef2306 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsReportBuilderExportCoreFields.php @@ -0,0 +1,62 @@ + 'int', + 'async_report_url' => 'string', + 'async_status' => 'string', + 'client_creation_value' => 'string', + 'expiry_time' => 'datetime', + 'export_download_time' => 'datetime', + 'export_format' => 'string', + 'export_name' => 'string', + 'export_type' => 'string', + 'has_seen' => 'bool', + 'id' => 'string', + 'is_sharing' => 'bool', + 'link_sharing_expiration_time' => 'datetime', + 'link_sharing_uri' => 'string', + 'time_completed' => 'datetime', + 'time_start' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderFields.php new file mode 100644 index 000000000..1393ba97e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsReportBuilderFields.php @@ -0,0 +1,36 @@ + 'Object', + 'rows' => 'list', + 'skan_readiness_status' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportFields.php new file mode 100644 index 000000000..c774a1ea6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportFields.php @@ -0,0 +1,46 @@ + 'string', + 'export_format' => 'string', + 'export_name' => 'string', + 'export_type' => 'string', + 'has_seen' => 'bool', + 'id' => 'string', + 'mmm_status' => 'string', + 'time_start' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportSchedulerFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportSchedulerFields.php new file mode 100644 index 000000000..6a9d41b49 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsReportBuilderMMMReportSchedulerFields.php @@ -0,0 +1,40 @@ + 'list', + 'filtering' => 'list', + 'id' => 'string', + 'report_name' => 'string', + 'schedule_frequency' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php b/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php new file mode 100644 index 000000000..44e29329d --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsReportBuilderSavedReportFields.php @@ -0,0 +1,108 @@ + 'string', + 'ad_account_id' => 'string', + 'attribution_windows' => 'list', + 'comparison_date_interval' => 'Object', + 'creation_source' => 'string', + 'creation_time' => 'datetime', + 'currency' => 'string', + 'date_interval' => 'Object', + 'date_preset' => 'string', + 'default_attribution_windows' => 'list', + 'dimension_groups' => 'list>', + 'dimensions' => 'list', + 'filtering' => 'list', + 'formatting' => 'list>>', + 'id' => 'string', + 'last_access_by' => 'Profile', + 'last_access_time' => 'datetime', + 'last_report_snapshot_id' => 'string', + 'last_report_snapshot_time' => 'datetime', + 'last_shared_report_expiration' => 'datetime', + 'limit' => 'int', + 'locked_dimensions' => 'int', + 'metrics' => 'list', + 'report_name' => 'string', + 'report_snapshot_async_percent_completion' => 'int', + 'report_snapshot_async_status' => 'string', + 'schedule_frequency' => 'string', + 'scope' => 'string', + 'show_deprecate_aw_banner' => 'bool', + 'sorting' => 'list', + 'start_date' => 'string', + 'status' => 'string', + 'subscribers' => 'list', + 'update_by' => 'Profile', + 'update_time' => 'datetime', + 'user' => 'Profile', + 'user_dimensions' => 'list', + 'user_metrics' => 'list', + 'view_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsSegmentsFields.php b/src/FacebookAds/Object/Fields/AdsSegmentsFields.php new file mode 100644 index 000000000..4288adbba --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsSegmentsFields.php @@ -0,0 +1,48 @@ + 'int', + 'daily_impressions' => 'int', + 'description' => 'string', + 'id' => 'string', + 'name' => 'string', + 'path' => 'list', + 'popularity' => 'float', + 'projected_cpm' => 'int', + 'projected_daily_revenue' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsSignalDiagnosticIssueFields.php b/src/FacebookAds/Object/Fields/AdsSignalDiagnosticIssueFields.php new file mode 100644 index 000000000..9ef3213f7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsSignalDiagnosticIssueFields.php @@ -0,0 +1,42 @@ + 'AdsPixel', + 'data_source_type' => 'string', + 'diagnostic_type' => 'string', + 'event_name' => 'string', + 'traffic_anomaly_drop_percentage' => 'float', + 'traffic_anomaly_drop_timestamp' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsStartYourDayWidgetFields.php b/src/FacebookAds/Object/Fields/AdsStartYourDayWidgetFields.php new file mode 100644 index 000000000..60d6281f4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsStartYourDayWidgetFields.php @@ -0,0 +1,34 @@ + 'string', + 'widget_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsTabularFields.php b/src/FacebookAds/Object/Fields/AdsTabularFields.php new file mode 100644 index 000000000..9800fbd1f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsTabularFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php b/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php new file mode 100644 index 000000000..5ab1cc2d0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsTargetingInsightsFields.php @@ -0,0 +1,52 @@ + '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/AdsTextSuggestionsFields.php b/src/FacebookAds/Object/Fields/AdsTextSuggestionsFields.php new file mode 100644 index 000000000..c7d02a529 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsTextSuggestionsFields.php @@ -0,0 +1,44 @@ + 'string', + 'bodies' => 'list', + 'descriptions' => 'list', + 'inactive_session_tally' => 'int', + 'long' => 'list', + 'short' => 'list', + 'titles' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php b/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php new file mode 100644 index 000000000..3bbb8285f --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsUserSettingsFields.php @@ -0,0 +1,140 @@ + 'bool', + 'adgroup_name_template' => 'Object', + 'ads_tool_visits' => 'list', + 'aplusc_carousel_cda_opt_in_status' => 'string', + 'aplusc_carousel_inline_comment_opt_in_status' => 'string', + 'aplusc_epa_opt_in_status' => 'string', + 'aplusc_opt_out_friction' => 'list', + 'autoflow_lite_opt_in_status' => 'string', + 'autoflow_lite_should_opt_in' => 'bool', + 'blended_ads_creation_defaulting_opt_in_status' => 'string', + 'bookmarked_pages' => 'list', + 'campaign_group_name_template' => 'Object', + 'campaign_name_template' => 'Object', + 'carousel_to_video_opt_in_status' => 'string', + 'connected_sources_catalog_opt_in_status' => 'string', + 'default_creation_mode' => 'string', + 'export_format_default' => 'string', + 'focus_mode_default' => 'string', + 'gen_ai_alpha_test_status' => 'int', + 'id' => 'string', + 'image_expansion_opt_in_status' => 'string', + 'is_ads_ai_consented' => 'bool', + 'is_cbo_default_on' => 'bool', + 'is_se_removal_guidance_dismissed' => 'bool', + 'last_used_post_format' => 'string', + 'last_visited_time' => 'datetime', + 'multi_ads_settings' => 'list>', + 'music_on_reels_opt_in' => 'list>', + 'muted_cbo_midflight_education_messages' => 'list', + 'onsite_destination_optimization_opt_in' => 'string', + 'open_tabs' => 'list', + 'previously_seen_recommendations' => 'list', + 'product_extensions_opt_in' => 'string', + 'selected_ad_account' => 'AdAccount', + 'selected_comparison_timerange' => 'Object', + 'selected_metric_cic' => 'string', + 'selected_metrics_cic' => 'list', + 'selected_page' => 'Page', + 'selected_page_section' => 'string', + 'selected_power_editor_pane' => 'string', + 'selected_stat_range' => 'Object', + 'should_export_filter_empty_cols' => 'string', + 'should_export_rows_without_unsupported_feature' => 'string', + 'should_not_auto_expand_tree_table' => 'bool', + 'should_not_show_cbo_campaign_toggle_off_confirmation_message' => 'bool', + 'should_not_show_publish_message_on_editor_close' => 'bool', + 'show_original_videos_opt_in' => 'string', + 'static_ad_product_extensions_opt_in' => 'string', + 'sticky_setting_after_default_on' => 'string', + 'syd_campaign_trends_metric' => 'string', + 'total_coupon_syd_dismissals' => 'int', + 'total_coupon_upsell_dismissals' => 'int', + 'use_pe_create_flow' => 'bool', + 'use_stepper_primary_entry' => 'bool', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleCollectionFields.php b/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleCollectionFields.php new file mode 100644 index 000000000..ef3bf0c0a --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleCollectionFields.php @@ -0,0 +1,34 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleFields.php b/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleFields.php new file mode 100644 index 000000000..487a66c74 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdsValueAdjustmentRuleFields.php @@ -0,0 +1,34 @@ + 'int', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdvAInstanceFields.php b/src/FacebookAds/Object/Fields/AdvAInstanceFields.php new file mode 100644 index 000000000..af6f781b0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdvAInstanceFields.php @@ -0,0 +1,38 @@ + 'string', + 'instance_type' => 'string', + 'name' => 'string', + 'owner_business' => 'Business', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AdvertiserVerificationStatusFields.php b/src/FacebookAds/Object/Fields/AdvertiserVerificationStatusFields.php new file mode 100644 index 000000000..2ff42c900 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AdvertiserVerificationStatusFields.php @@ -0,0 +1,38 @@ + 'string', + 'grace_period_ends_at' => 'datetime', + 'ufac_redirect_uri' => 'string', + 'verification_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsCohortQueryResultFields.php b/src/FacebookAds/Object/Fields/AnalyticsCohortQueryResultFields.php new file mode 100644 index 000000000..14ed97fd1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsCohortQueryResultFields.php @@ -0,0 +1,38 @@ + 'Object', + 'error' => 'Object', + 'query_id' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php new file mode 100644 index 000000000..452b54f72 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsConfigFields.php @@ -0,0 +1,82 @@ + 'bool', + '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', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php new file mode 100644 index 000000000..86c67d0b4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsEntityUserConfigFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsFunnelQueryResultFields.php b/src/FacebookAds/Object/Fields/AnalyticsFunnelQueryResultFields.php new file mode 100644 index 000000000..fb3b1db36 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsFunnelQueryResultFields.php @@ -0,0 +1,38 @@ + 'Object', + 'error' => 'Object', + 'query_id' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php new file mode 100644 index 000000000..bb431483b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsPlatformMetricsConfigFields.php @@ -0,0 +1,48 @@ + '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', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsQueryResultFields.php b/src/FacebookAds/Object/Fields/AnalyticsQueryResultFields.php new file mode 100644 index 000000000..79e9a1ef4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsQueryResultFields.php @@ -0,0 +1,40 @@ + 'Object', + 'datapoints' => 'list', + 'error' => 'Object', + 'query_id' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php b/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php new file mode 100644 index 000000000..b940f90b2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AnalyticsUserConfigFields.php @@ -0,0 +1,36 @@ + 'Object', + 'flags' => 'list>', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AppEventConfigFields.php b/src/FacebookAds/Object/Fields/AppEventConfigFields.php new file mode 100644 index 000000000..729da516e --- /dev/null +++ b/src/FacebookAds/Object/Fields/AppEventConfigFields.php @@ -0,0 +1,84 @@ + '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/AppLinksFields.php b/src/FacebookAds/Object/Fields/AppLinksFields.php new file mode 100644 index 000000000..2a48546e7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AppLinksFields.php @@ -0,0 +1,48 @@ + 'list', + 'id' => 'string', + 'ios' => 'list', + 'ipad' => 'list', + 'iphone' => 'list', + 'web' => 'WebAppLink', + 'windows' => 'list', + 'windows_phone' => 'list', + 'windows_universal' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AppOptimizedCustomEventsFields.php b/src/FacebookAds/Object/Fields/AppOptimizedCustomEventsFields.php new file mode 100644 index 000000000..120a2d6ed --- /dev/null +++ b/src/FacebookAds/Object/Fields/AppOptimizedCustomEventsFields.php @@ -0,0 +1,36 @@ + 'int', + 'app_name' => 'string', + 'event_names' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AppPublisherFields.php b/src/FacebookAds/Object/Fields/AppPublisherFields.php new file mode 100644 index 000000000..cd30c85df --- /dev/null +++ b/src/FacebookAds/Object/Fields/AppPublisherFields.php @@ -0,0 +1,44 @@ + 'string', + 'icon_url' => 'string', + 'id' => 'string', + 'name' => 'string', + 'platform' => 'string', + 'store_name' => 'string', + 'store_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ArAdsDataContainerFields.php b/src/FacebookAds/Object/Fields/ArAdsDataContainerFields.php new file mode 100644 index 000000000..dfc1b80e6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ArAdsDataContainerFields.php @@ -0,0 +1,44 @@ + 'string', + 'creation_time' => 'datetime', + 'effect' => 'list', + 'id' => 'string', + 'is_published' => 'bool', + 'last_modified_time' => 'datetime', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudienceFunnelFields.php b/src/FacebookAds/Object/Fields/AudienceFunnelFields.php new file mode 100644 index 000000000..5cd85add7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudienceFunnelFields.php @@ -0,0 +1,36 @@ + 'string', + 'audience_type_param_tags' => 'list>', + 'custom_audience_groups_info' => 'list>>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudienceOverlapFields.php b/src/FacebookAds/Object/Fields/AudienceOverlapFields.php new file mode 100644 index 000000000..f6993ac7a --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudienceOverlapFields.php @@ -0,0 +1,38 @@ + 'int', + 'id' => 'string', + 'name' => 'string', + 'overlap' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudiencePermissionFields.php b/src/FacebookAds/Object/Fields/AudiencePermissionFields.php new file mode 100644 index 000000000..cbd979794 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudiencePermissionFields.php @@ -0,0 +1,36 @@ + 'CustomAudience', + 'share_account_id' => 'string', + 'share_account_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php b/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php new file mode 100644 index 000000000..d9b5a6585 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudienceSharingAccountValidFields.php @@ -0,0 +1,42 @@ + 'string', + 'account_type' => 'string', + 'business_id' => 'string', + 'business_name' => 'string', + 'can_ad_account_use_lookalike_container' => 'bool', + 'sharing_agreement_status' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php b/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php new file mode 100644 index 000000000..7f5a9d0ba --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudienceSharingRecipientAccountsFields.php @@ -0,0 +1,44 @@ + 'string', + 'account_name' => 'string', + 'account_type' => 'string', + 'business_id' => 'string', + 'business_name' => 'string', + 'can_ad_account_use_lookalike_container' => 'bool', + 'sharing_agreement_status' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudioAssetFields.php b/src/FacebookAds/Object/Fields/AudioAssetFields.php new file mode 100644 index 000000000..8f9078b17 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudioAssetFields.php @@ -0,0 +1,68 @@ + 'string', + 'all_ddex_main_artists' => 'string', + 'audio_cluster_id' => 'string', + 'cover_image_source' => 'string', + 'display_artist' => 'string', + 'download_hd_url' => 'string', + 'download_sd_url' => 'string', + 'duration_in_ms' => 'int', + 'freeform_genre' => 'string', + 'grid' => 'string', + 'id' => 'string', + 'is_test' => 'bool', + 'original_release_date' => 'datetime', + 'owner' => 'Page', + 'parental_warning_type' => 'string', + 'subtitle' => 'string', + 'title' => 'string', + 'title_with_featured_artists' => 'string', + 'upc' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudioCopyrightFields.php b/src/FacebookAds/Object/Fields/AudioCopyrightFields.php index ea293a20f..aa176b3ef 100644 --- a/src/FacebookAds/Object/Fields/AudioCopyrightFields.php +++ b/src/FacebookAds/Object/Fields/AudioCopyrightFields.php @@ -29,6 +29,7 @@ class AudioCopyrightFields extends AbstractEnum { const ISRC = 'isrc'; const MATCH_RULE = 'match_rule'; const OWNERSHIP_COUNTRIES = 'ownership_countries'; + const OWNERSHIP_DETAILS = 'ownership_details'; const REFERENCE_FILE_STATUS = 'reference_file_status'; const RIDGE_MONITORING_STATUS = 'ridge_monitoring_status'; const TAGS = 'tags'; @@ -45,6 +46,7 @@ public function getFieldTypes() { 'isrc' => 'string', 'match_rule' => 'VideoCopyrightRule', 'ownership_countries' => 'list', + 'ownership_details' => 'list>', 'reference_file_status' => 'string', 'ridge_monitoring_status' => 'string', 'tags' => 'list', diff --git a/src/FacebookAds/Object/Fields/AudioIsrcFields.php b/src/FacebookAds/Object/Fields/AudioIsrcFields.php new file mode 100644 index 000000000..817680856 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudioIsrcFields.php @@ -0,0 +1,48 @@ + 'string', + 'all_kg_main_artists' => 'string', + 'artist_profile_picture_url' => 'string', + 'id' => 'string', + 'isrc' => 'string', + 'publishing_rights_data' => 'Object', + 'top_searchable_artist_id' => 'string', + 'top_searchable_artist_name' => 'string', + 'top_searchable_artist_profile_pic_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AudioReleaseFields.php b/src/FacebookAds/Object/Fields/AudioReleaseFields.php new file mode 100644 index 000000000..a8dbecf8d --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudioReleaseFields.php @@ -0,0 +1,62 @@ + 'string', + 'asset_availability_status' => 'list>', + 'audio_availability_status' => '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/AudioVisualReferenceMatchFields.php b/src/FacebookAds/Object/Fields/AudioVisualReferenceMatchFields.php new file mode 100644 index 000000000..f1200bc64 --- /dev/null +++ b/src/FacebookAds/Object/Fields/AudioVisualReferenceMatchFields.php @@ -0,0 +1,92 @@ + 'list', + 'audio_current_conflict_resolved_segments' => 'list', + 'audio_segment_resolution_history' => 'list', + 'conflict_type' => 'string', + 'conflicting_countries' => 'list', + 'country_resolution_history' => 'list>>', + 'creation_time' => 'datetime', + 'current_conflict_resolved_countries' => 'list>', + 'displayed_match_state' => 'string', + 'dispute_form_data_entries_with_translations' => 'list', + 'expiration_time' => 'datetime', + 'id' => 'string', + 'is_disputable' => 'bool', + 'match_state' => 'string', + 'matched_overlap_percentage' => 'float', + 'matched_owner_match_duration_in_sec' => 'float', + 'matched_reference_owner' => 'Profile', + 'modification_history' => 'list', + 'num_matches_on_matched_side' => 'unsigned int', + 'num_matches_on_ref_side' => 'unsigned int', + 'ref_owner_match_duration_in_sec' => 'float', + 'reference_overlap_percentage' => 'float', + 'reference_owner' => 'Profile', + 'rejection_form_data_entries_with_translations' => 'list', + 'resolution_details' => 'string', + 'resolution_reason' => 'string', + 'update_time' => 'datetime', + 'views_on_matched_side' => 'unsigned int', + 'visual_conflicting_segments' => 'list', + 'visual_current_conflict_resolved_segments' => 'list', + 'visual_segment_resolution_history' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/AuthLinkFields.php b/src/FacebookAds/Object/Fields/AuthLinkFields.php new file mode 100644 index 000000000..b9e2fff1b --- /dev/null +++ b/src/FacebookAds/Object/Fields/AuthLinkFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BAPIDomainFields.php b/src/FacebookAds/Object/Fields/BAPIDomainFields.php new file mode 100644 index 000000000..de8dfe486 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BAPIDomainFields.php @@ -0,0 +1,38 @@ + 'string', + 'in_cool_down_until' => 'int', + 'is_eligible_for_vo' => 'bool', + 'is_in_cool_down' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BCPCampaignFields.php b/src/FacebookAds/Object/Fields/BCPCampaignFields.php new file mode 100644 index 000000000..1f4781b5e --- /dev/null +++ b/src/FacebookAds/Object/Fields/BCPCampaignFields.php @@ -0,0 +1,64 @@ + 'bool', + 'application_deadline' => 'string', + 'campaign_goal' => 'string', + 'campaign_goal_other' => 'string', + 'content_delivery_deadline' => 'string', + 'content_delivery_start_date' => 'string', + 'content_requirements' => 'list>', + 'content_requirements_description' => 'string', + 'currency' => 'string', + 'deal_negotiation_type' => 'string', + 'description' => 'string', + 'has_free_product' => 'bool', + 'id' => 'string', + 'name' => 'string', + 'payment_amount_for_ads' => 'unsigned int', + 'payment_amount_for_content' => 'unsigned int', + 'payment_description' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BCPCreatorIgUserFields.php b/src/FacebookAds/Object/Fields/BCPCreatorIgUserFields.php new file mode 100644 index 000000000..06ed6102e --- /dev/null +++ b/src/FacebookAds/Object/Fields/BCPCreatorIgUserFields.php @@ -0,0 +1,42 @@ + 'string', + 'id' => 'string', + 'is_paid_partnership_messages_enabled' => 'bool', + 'messaging_id' => 'string', + 'portfolio_url' => 'string', + 'username' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BespokePartnerGuidanceLaserFields.php b/src/FacebookAds/Object/Fields/BespokePartnerGuidanceLaserFields.php new file mode 100644 index 000000000..3a07baf4a --- /dev/null +++ b/src/FacebookAds/Object/Fields/BespokePartnerGuidanceLaserFields.php @@ -0,0 +1,40 @@ + 'Business', + 'campaign_group' => 'Campaign', + 'cpa_improvement' => 'float', + 'guidance_type' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BidScheduleFields.php b/src/FacebookAds/Object/Fields/BidScheduleFields.php new file mode 100644 index 000000000..f1fa546f8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BidScheduleFields.php @@ -0,0 +1,46 @@ + 'string', + 'bid_recurrence_type' => 'string', + 'bid_timezone' => 'string', + 'bid_value' => 'int', + 'id' => 'string', + 'status' => 'string', + 'time_end' => 'datetime', + 'time_start' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BizInboxOffsiteEmailAccountFields.php b/src/FacebookAds/Object/Fields/BizInboxOffsiteEmailAccountFields.php new file mode 100644 index 000000000..dcba6a3de --- /dev/null +++ b/src/FacebookAds/Object/Fields/BizInboxOffsiteEmailAccountFields.php @@ -0,0 +1,34 @@ + 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BlindPigFields.php b/src/FacebookAds/Object/Fields/BlindPigFields.php new file mode 100644 index 000000000..4f4715053 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BlindPigFields.php @@ -0,0 +1,34 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BlockedUserInfoFields.php b/src/FacebookAds/Object/Fields/BlockedUserInfoFields.php new file mode 100644 index 000000000..58e8fabe3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BlockedUserInfoFields.php @@ -0,0 +1,40 @@ + 'datetime', + 'block_type' => 'string', + 'fbid' => 'string', + 'name' => 'string', + 'username' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BrandSafetyDownloadableFields.php b/src/FacebookAds/Object/Fields/BrandSafetyDownloadableFields.php new file mode 100644 index 000000000..d95811dae --- /dev/null +++ b/src/FacebookAds/Object/Fields/BrandSafetyDownloadableFields.php @@ -0,0 +1,44 @@ + 'string', + 'async_job_percent_complete' => 'int', + 'async_job_status' => 'string', + 'file_name' => 'string', + 'id' => 'string', + 'request_surface' => 'string', + 'url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BrandedContentAdErrorFields.php b/src/FacebookAds/Object/Fields/BrandedContentAdErrorFields.php new file mode 100644 index 000000000..1c0bc1e35 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BrandedContentAdErrorFields.php @@ -0,0 +1,44 @@ + 'list', + 'error_code' => 'int', + 'error_description' => 'string', + 'error_message' => 'string', + 'error_placement' => 'string', + 'error_severity' => 'string', + 'help_center_id' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BrandedContentEligibleSponsorIDsFields.php b/src/FacebookAds/Object/Fields/BrandedContentEligibleSponsorIDsFields.php new file mode 100644 index 000000000..87afb40b1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BrandedContentEligibleSponsorIDsFields.php @@ -0,0 +1,36 @@ + 'Page', + 'ig_account_v2' => 'IGUser', + 'ig_approval_needed' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BrandedContentShadowIGMediaIDFields.php b/src/FacebookAds/Object/Fields/BrandedContentShadowIGMediaIDFields.php index af5e6d8fa..63013682e 100644 --- a/src/FacebookAds/Object/Fields/BrandedContentShadowIGMediaIDFields.php +++ b/src/FacebookAds/Object/Fields/BrandedContentShadowIGMediaIDFields.php @@ -23,6 +23,7 @@ class BrandedContentShadowIGMediaIDFields extends AbstractEnum { const ELIGIBILITY_ERRORS = 'eligibility_errors'; + const HAS_PERMISSION_FOR_PARTNERSHIP_AD = 'has_permission_for_partnership_ad'; const ID = 'id'; const OWNER_ID = 'owner_id'; const PERMALINK = 'permalink'; @@ -30,6 +31,7 @@ class BrandedContentShadowIGMediaIDFields extends AbstractEnum { public function getFieldTypes() { return array( 'eligibility_errors' => 'list', + 'has_permission_for_partnership_ad' => 'bool', 'id' => 'string', 'owner_id' => 'string', 'permalink' => 'string', diff --git a/src/FacebookAds/Object/Fields/BusinessAdsReportingReportSpecsFields.php b/src/FacebookAds/Object/Fields/BusinessAdsReportingReportSpecsFields.php new file mode 100644 index 000000000..e0a92c958 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessAdsReportingReportSpecsFields.php @@ -0,0 +1,108 @@ + 'string', + 'ad_account_id' => 'string', + 'ad_account_ids' => 'list', + 'ad_accounts' => 'list', + 'attribution_windows' => 'list', + 'business' => 'Business', + 'business_asset_group' => 'BusinessAssetGroup', + 'comparison_date_interval' => 'Object', + 'creation_source' => 'string', + 'creation_time' => 'datetime', + 'currency' => 'string', + 'date_preset' => 'string', + 'default_attribution_windows' => 'list', + 'filtering' => 'list', + 'formatting' => 'list>>', + 'id' => 'string', + 'last_access_by' => 'Profile', + 'last_access_time' => 'datetime', + 'last_report_snapshot_id' => 'string', + 'last_report_snapshot_time' => 'datetime', + 'last_shared_report_expiration' => 'datetime', + 'limit' => 'int', + 'locked_dimensions' => 'int', + 'report_name' => 'string', + 'report_snapshot_async_percent_completion' => 'int', + 'report_snapshot_async_status' => 'string', + 'schedule_frequency' => 'string', + 'scope' => 'string', + 'show_deprecate_aw_banner' => 'bool', + 'sorting' => 'list', + 'start_date' => 'string', + 'status' => 'string', + 'subscribers' => 'list', + 'update_by' => 'Profile', + 'update_time' => 'datetime', + 'user' => 'Profile', + 'user_dimensions' => 'list', + 'user_metrics' => 'list', + 'view_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessAdvertisableApplicationsResultFields.php b/src/FacebookAds/Object/Fields/BusinessAdvertisableApplicationsResultFields.php new file mode 100644 index 000000000..01c7ee5fc --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessAdvertisableApplicationsResultFields.php @@ -0,0 +1,42 @@ + 'bool', + 'business' => 'Business', + 'has_insight_permission' => 'bool', + 'id' => 'string', + 'name' => 'string', + 'photo_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessAgreementFields.php b/src/FacebookAds/Object/Fields/BusinessAgreementFields.php new file mode 100644 index 000000000..cde1b6594 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessAgreementFields.php @@ -0,0 +1,34 @@ + 'string', + 'request_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessCreativeFields.php b/src/FacebookAds/Object/Fields/BusinessCreativeFields.php new file mode 100644 index 000000000..1427238de --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessCreativeFields.php @@ -0,0 +1,52 @@ + 'datetime', + 'duration' => 'int', + 'hash' => 'string', + 'height' => 'int', + 'id' => 'string', + 'name' => 'string', + 'thumbnail' => 'string', + 'type' => 'string', + 'url' => 'string', + 'video_id' => 'string', + 'width' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessCreativeInsightsFields.php b/src/FacebookAds/Object/Fields/BusinessCreativeInsightsFields.php new file mode 100644 index 000000000..ef4eee55e --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessCreativeInsightsFields.php @@ -0,0 +1,62 @@ + 'list', + 'age' => 'string', + 'country' => 'string', + 'date_end' => 'string', + 'date_start' => 'string', + 'device_platform' => 'string', + 'gender' => 'string', + 'impressions' => 'int', + 'inline_link_clicks' => 'int', + 'objective' => 'string', + 'optimization_goal' => 'string', + 'platform_position' => 'string', + 'publisher_platform' => 'string', + 'quality_ranking' => 'string', + 'video_play_actions' => 'list', + 'video_thruplay_watched_actions' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessFranchiseConfigFields.php b/src/FacebookAds/Object/Fields/BusinessFranchiseConfigFields.php new file mode 100644 index 000000000..a41966eb7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessFranchiseConfigFields.php @@ -0,0 +1,56 @@ + 'int', + 'agency_business' => 'Business', + 'agency_business_asset_group' => 'BusinessAssetGroup', + 'brand_name' => 'string', + 'business' => 'Business', + 'business_vertical' => 'string', + 'id' => 'string', + 'partner_count' => 'int', + 'pending_agency_business' => 'string', + 'program_count' => 'int', + 'shared_business_asset_group' => 'BusinessAssetGroup', + 'shared_creative_folder_count' => 'int', + 'shared_custom_audience_count' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessImageTBusinessFolderPathItemFields.php b/src/FacebookAds/Object/Fields/BusinessImageTBusinessFolderPathItemFields.php new file mode 100644 index 000000000..56937161a --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessImageTBusinessFolderPathItemFields.php @@ -0,0 +1,36 @@ + 'string', + 'parent_folder_id' => 'string', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessMediaAdPlacementValidationResultFields.php b/src/FacebookAds/Object/Fields/BusinessMediaAdPlacementValidationResultFields.php new file mode 100644 index 000000000..f751eede6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessMediaAdPlacementValidationResultFields.php @@ -0,0 +1,38 @@ + 'string', + 'ad_placement_label' => 'string', + 'error_messages' => 'list', + 'is_valid' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessObjectFields.php b/src/FacebookAds/Object/Fields/BusinessObjectFields.php new file mode 100644 index 000000000..a90d74ab5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessObjectFields.php @@ -0,0 +1,40 @@ + 'Object', + 'asset_type' => 'string', + 'id' => 'string', + 'name' => 'string', + 'picture' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessObjectTransferOwnershipAgreementFields.php b/src/FacebookAds/Object/Fields/BusinessObjectTransferOwnershipAgreementFields.php new file mode 100644 index 000000000..fc07f032e --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessObjectTransferOwnershipAgreementFields.php @@ -0,0 +1,38 @@ + 'string', + 'receiving_business' => 'Business', + 'requesting_business' => 'Business', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessProductCatalogTOSFields.php b/src/FacebookAds/Object/Fields/BusinessProductCatalogTOSFields.php new file mode 100644 index 000000000..16016715f --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessProductCatalogTOSFields.php @@ -0,0 +1,34 @@ + 'bool', + 'content' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessProjectFields.php b/src/FacebookAds/Object/Fields/BusinessProjectFields.php new file mode 100644 index 000000000..0cf735ea4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessProjectFields.php @@ -0,0 +1,40 @@ + 'Business', + 'created_time' => 'datetime', + 'creator' => 'Object', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessRequestFields.php b/src/FacebookAds/Object/Fields/BusinessRequestFields.php new file mode 100644 index 000000000..68de3d9e8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessRequestFields.php @@ -0,0 +1,48 @@ + '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/BusinessSettingLogsDataFields.php b/src/FacebookAds/Object/Fields/BusinessSettingLogsDataFields.php new file mode 100644 index 000000000..8216ba387 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessSettingLogsDataFields.php @@ -0,0 +1,40 @@ + 'Object', + 'event_object' => 'Object', + 'event_time' => 'string', + 'event_type' => 'string', + 'extra_data' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessTagFields.php b/src/FacebookAds/Object/Fields/BusinessTagFields.php new file mode 100644 index 000000000..9a3c2e110 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessTagFields.php @@ -0,0 +1,34 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessTrafficAnalysisReportFields.php b/src/FacebookAds/Object/Fields/BusinessTrafficAnalysisReportFields.php new file mode 100644 index 000000000..b0dbcdbdc --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessTrafficAnalysisReportFields.php @@ -0,0 +1,36 @@ + 'list', + 'event_category' => 'list', + 'traffic_analysis_impressions' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/BusinessVideoTBusinessFolderPathItemFields.php b/src/FacebookAds/Object/Fields/BusinessVideoTBusinessFolderPathItemFields.php new file mode 100644 index 000000000..76db81ed3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/BusinessVideoTBusinessFolderPathItemFields.php @@ -0,0 +1,36 @@ + 'string', + 'parent_folder_id' => 'string', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CASSSetupOfflineEventSetProgressFields.php b/src/FacebookAds/Object/Fields/CASSSetupOfflineEventSetProgressFields.php new file mode 100644 index 000000000..410ce9aa2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CASSSetupOfflineEventSetProgressFields.php @@ -0,0 +1,30 @@ + 'string', + 'id' => 'string', + 'is_unused_template' => 'bool', + 'name' => 'string', + 'optimization_goal' => 'string', + 'targeting_type' => 'string', + 'template_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CPASLsbImageBankFields.php b/src/FacebookAds/Object/Fields/CPASLsbImageBankFields.php new file mode 100644 index 000000000..8dd33c842 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CPASLsbImageBankFields.php @@ -0,0 +1,40 @@ + 'string', + 'catalog_segment_proxy_id' => 'string', + 'id' => 'string', + 'agency_business_id' => 'unsigned int', + 'backup_image_urls' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CPASParentCatalogSettingsFields.php b/src/FacebookAds/Object/Fields/CPASParentCatalogSettingsFields.php new file mode 100644 index 000000000..a16645dc4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CPASParentCatalogSettingsFields.php @@ -0,0 +1,38 @@ + 'list', + 'default_currency' => 'string', + 'disable_use_as_parent_catalog' => 'bool', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CPASSetupCatalogProgressFields.php b/src/FacebookAds/Object/Fields/CPASSetupCatalogProgressFields.php new file mode 100644 index 000000000..eb3334b84 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CPASSetupCatalogProgressFields.php @@ -0,0 +1,40 @@ + 'int', + 'child_catalog_issues' => 'list', + 'id' => 'string', + 'issues' => 'list', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CPASSetupFields.php b/src/FacebookAds/Object/Fields/CPASSetupFields.php new file mode 100644 index 000000000..22ef2c988 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CPASSetupFields.php @@ -0,0 +1,30 @@ + 'string', + 'issues' => 'list', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CTWAWhatsAppNumbersInfoFields.php b/src/FacebookAds/Object/Fields/CTWAWhatsAppNumbersInfoFields.php new file mode 100644 index 000000000..c403ff4d5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CTWAWhatsAppNumbersInfoFields.php @@ -0,0 +1,42 @@ + 'bool', + 'formatted_whatsapp_number' => 'string', + 'is_business_number' => 'bool', + 'page_whatsapp_number_id' => 'string', + 'whatsapp_number' => 'string', + 'whatsapp_smb_device' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CTXOptimizationEligibilityFields.php b/src/FacebookAds/Object/Fields/CTXOptimizationEligibilityFields.php new file mode 100644 index 000000000..6b28884a6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CTXOptimizationEligibilityFields.php @@ -0,0 +1,32 @@ + 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CalibratorExistingRuleFields.php b/src/FacebookAds/Object/Fields/CalibratorExistingRuleFields.php new file mode 100644 index 000000000..31c283916 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CalibratorExistingRuleFields.php @@ -0,0 +1,52 @@ + 'int', + 'creation_source' => 'string', + 'creation_time' => 'datetime', + 'creator' => 'string', + 'event_type' => 'string', + 'id' => 'string', + 'rule' => 'string', + 'rule_type' => 'string', + 'sample_urls' => 'list', + 'status' => 'string', + 'transforms' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CallAdsPhoneDataFields.php b/src/FacebookAds/Object/Fields/CallAdsPhoneDataFields.php new file mode 100644 index 000000000..4fe5cda1a --- /dev/null +++ b/src/FacebookAds/Object/Fields/CallAdsPhoneDataFields.php @@ -0,0 +1,42 @@ + 'string', + 'callback_variant' => 'string', + 'destination_website_url' => 'string', + 'id' => 'string', + 'page' => 'Page', + 'phone_number' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CampaignActionsDataFields.php b/src/FacebookAds/Object/Fields/CampaignActionsDataFields.php new file mode 100644 index 000000000..c299032b2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CampaignActionsDataFields.php @@ -0,0 +1,30 @@ + 'string', 'owner' => 'Page', 'property_list' => 'list', - 'source_template' => 'Object', + 'source_template' => 'CanvasTemplate', 'store_url' => 'string', 'style_list' => 'list', 'tags' => 'list', diff --git a/src/FacebookAds/Object/Fields/CanvasTemplateFields.php b/src/FacebookAds/Object/Fields/CanvasTemplateFields.php new file mode 100644 index 000000000..3adb6e308 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CanvasTemplateFields.php @@ -0,0 +1,58 @@ + '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/CatalogItemOverrideFields.php b/src/FacebookAds/Object/Fields/CatalogItemOverrideFields.php new file mode 100644 index 000000000..16ae23882 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogItemOverrideFields.php @@ -0,0 +1,38 @@ + 'string', + 'local_info' => 'ProductItemLocalInfo', + 'override_type' => 'string', + 'override_value' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CatalogItemRejectionReasonsFields.php b/src/FacebookAds/Object/Fields/CatalogItemRejectionReasonsFields.php new file mode 100644 index 000000000..3cbd855d0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogItemRejectionReasonsFields.php @@ -0,0 +1,34 @@ + 'Capability', + 'rejection_information' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CatalogItemValidationErrorListFields.php b/src/FacebookAds/Object/Fields/CatalogItemValidationErrorListFields.php new file mode 100644 index 000000000..abd82a0d4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogItemValidationErrorListFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php b/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php new file mode 100644 index 000000000..14ca5c072 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogSmartPixelSettingsFields.php @@ -0,0 +1,68 @@ + 'list', + 'available_property_filters' => 'list', + 'catalog' => 'ProductCatalog', + 'cbb_custom_override_filters' => 'list', + 'cbb_default_filter' => 'list>>', + 'cbb_default_filter_crawl_params' => 'string', + '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', + 'microdata_format_precedence' => 'list', + 'pixel' => 'AdsPixel', + 'property_filter' => 'list', + 'retention_time_sec' => 'int', + 'trusted_domains' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CatalogWebsiteOnboardingSettingsFields.php b/src/FacebookAds/Object/Fields/CatalogWebsiteOnboardingSettingsFields.php new file mode 100644 index 000000000..95f329601 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogWebsiteOnboardingSettingsFields.php @@ -0,0 +1,34 @@ + 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CatalogWebsiteSettingsFields.php b/src/FacebookAds/Object/Fields/CatalogWebsiteSettingsFields.php new file mode 100644 index 000000000..207633953 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CatalogWebsiteSettingsFields.php @@ -0,0 +1,34 @@ + 'string', + 'is_allowed_to_crawl' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ChinaBusinessOnboardingVettingRequestFields.php b/src/FacebookAds/Object/Fields/ChinaBusinessOnboardingVettingRequestFields.php new file mode 100644 index 000000000..e6c9afdae --- /dev/null +++ b/src/FacebookAds/Object/Fields/ChinaBusinessOnboardingVettingRequestFields.php @@ -0,0 +1,114 @@ + 'string', + 'ad_account_limit' => 'int', + 'ad_account_number' => 'string', + 'ad_accounts_info' => 'list', + 'business_manager_id' => 'string', + 'business_registration' => 'string', + 'business_registration_id' => 'string', + 'chinese_address' => 'string', + 'chinese_legal_entity_name' => 'string', + 'city' => 'string', + 'contact' => 'string', + 'coupon_code' => 'string', + 'disapprove_reason' => 'string', + 'english_business_name' => 'string', + 'id' => 'string', + 'official_website_url' => 'string', + 'org_ad_account_count' => 'int', + 'payment_type' => 'string', + 'planning_agency_id' => 'string', + 'planning_agency_name' => 'string', + 'promotable_app_ids' => 'list', + 'promotable_page_ids' => 'list', + 'promotable_pages' => 'list', + 'promotable_urls' => 'list', + 'request_changes_reason' => 'string', + 'reviewed_user' => 'string', + 'spend_limit' => 'int', + 'status' => 'string', + 'subvertical' => 'string', + 'subvertical_v2' => 'string', + 'supporting_document' => 'string', + 'time_changes_requested' => 'datetime', + 'time_created' => 'datetime', + 'time_updated' => 'datetime', + 'time_zone' => 'string', + 'used_reseller_link' => 'bool', + 'user_id' => 'string', + 'user_name' => 'string', + 'vertical' => 'string', + 'vertical_v2' => 'string', + 'viewed_by_reseller' => 'bool', + 'zip_code' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CloudbridgeDatasetStatusFields.php b/src/FacebookAds/Object/Fields/CloudbridgeDatasetStatusFields.php new file mode 100644 index 000000000..16a27cb7e --- /dev/null +++ b/src/FacebookAds/Object/Fields/CloudbridgeDatasetStatusFields.php @@ -0,0 +1,42 @@ + 'list', + 'app_sensitive_params' => 'list>>', + 'app_unverified_event' => 'list', + 'has_app_associated' => 'bool', + 'is_app_prohibited' => 'bool', + 'is_dataset' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CollaborativeAdsPartnerBusinessesFields.php b/src/FacebookAds/Object/Fields/CollaborativeAdsPartnerBusinessesFields.php new file mode 100644 index 000000000..cede3392c --- /dev/null +++ b/src/FacebookAds/Object/Fields/CollaborativeAdsPartnerBusinessesFields.php @@ -0,0 +1,34 @@ + 'list', + 'dedicated_partner_business_info' => 'Business', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ColumnSuggestionsFields.php b/src/FacebookAds/Object/Fields/ColumnSuggestionsFields.php new file mode 100644 index 000000000..72e2710fc --- /dev/null +++ b/src/FacebookAds/Object/Fields/ColumnSuggestionsFields.php @@ -0,0 +1,38 @@ + 'Object', + 'format' => 'list', + 'objective' => 'list', + 'optimization_goals' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php b/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php index 8ccbecc04..6b126d583 100644 --- a/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +++ b/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php @@ -22,57 +22,37 @@ class CommerceMerchantSettingsFields extends AbstractEnum { - const BRAINTREE_MERCHANT_ID = 'braintree_merchant_id'; const CHECKOUT_MESSAGE = 'checkout_message'; const CONTACT_EMAIL = 'contact_email'; const CTA = 'cta'; - const DISABLE_CHECKOUT_URLS = 'disable_checkout_urls'; const DISPLAY_NAME = 'display_name'; - const EXTERNAL_MERCHANT_ID = 'external_merchant_id'; const FACEBOOK_CHANNEL = 'facebook_channel'; - const FEATURE_ELIGIBILITY = 'feature_eligibility'; - const HAS_DISCOUNT_CODE = 'has_discount_code'; - const HAS_ONSITE_INTENT = 'has_onsite_intent'; const ID = 'id'; const INSTAGRAM_CHANNEL = 'instagram_channel'; - const MERCHANT_ALERT_EMAIL = 'merchant_alert_email'; const MERCHANT_PAGE = 'merchant_page'; const MERCHANT_STATUS = 'merchant_status'; const ONSITE_COMMERCE_MERCHANT = 'onsite_commerce_merchant'; const PAYMENT_PROVIDER = 'payment_provider'; - const PRIVACY_URL_BY_LOCALE = 'privacy_url_by_locale'; const REVIEW_REJECTION_MESSAGES = 'review_rejection_messages'; const REVIEW_REJECTION_REASONS = 'review_rejection_reasons'; - const SUPPORTED_CARD_TYPES = 'supported_card_types'; const TERMS = 'terms'; - const TERMS_URL_BY_LOCALE = 'terms_url_by_locale'; public function getFieldTypes() { return array( - 'braintree_merchant_id' => 'string', 'checkout_message' => 'string', 'contact_email' => 'string', 'cta' => 'string', - 'disable_checkout_urls' => 'bool', 'display_name' => 'string', - 'external_merchant_id' => 'string', 'facebook_channel' => 'Object', - 'feature_eligibility' => 'Object', - 'has_discount_code' => 'bool', - 'has_onsite_intent' => 'bool', 'id' => 'string', 'instagram_channel' => 'Object', - 'merchant_alert_email' => 'string', 'merchant_page' => 'Profile', 'merchant_status' => 'string', 'onsite_commerce_merchant' => 'Object', 'payment_provider' => 'string', - 'privacy_url_by_locale' => 'list>', 'review_rejection_messages' => 'list', 'review_rejection_reasons' => 'list', - 'supported_card_types' => 'list', 'terms' => 'string', - 'terms_url_by_locale' => 'list>', ); } } diff --git a/src/FacebookAds/Object/Fields/CommerceOrderFields.php b/src/FacebookAds/Object/Fields/CommerceOrderFields.php index 892b03bfe..720b9146b 100644 --- a/src/FacebookAds/Object/Fields/CommerceOrderFields.php +++ b/src/FacebookAds/Object/Fields/CommerceOrderFields.php @@ -24,6 +24,7 @@ class CommerceOrderFields extends AbstractEnum { const BUYER_DETAILS = 'buyer_details'; const CHANNEL = 'channel'; + const CONTAINS_BOPIS_ITEMS = 'contains_bopis_items'; const CREATED = 'created'; const ESTIMATED_PAYMENT_DETAILS = 'estimated_payment_details'; const ID = 'id'; @@ -40,6 +41,7 @@ public function getFieldTypes() { return array( 'buyer_details' => 'Object', 'channel' => 'string', + 'contains_bopis_items' => 'bool', 'created' => 'string', 'estimated_payment_details' => 'Object', 'id' => 'string', diff --git a/src/FacebookAds/Object/Fields/ContactsMessengerSyncConfigFields.php b/src/FacebookAds/Object/Fields/ContactsMessengerSyncConfigFields.php new file mode 100644 index 000000000..2233f7b5f --- /dev/null +++ b/src/FacebookAds/Object/Fields/ContactsMessengerSyncConfigFields.php @@ -0,0 +1,32 @@ + 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ContentDeliveryReportFields.php b/src/FacebookAds/Object/Fields/ContentDeliveryReportFields.php new file mode 100644 index 000000000..51b5dc96f --- /dev/null +++ b/src/FacebookAds/Object/Fields/ContentDeliveryReportFields.php @@ -0,0 +1,40 @@ + 'string', + 'content_url' => 'string', + 'creator_name' => 'string', + 'creator_url' => 'string', + 'estimated_impressions' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ConversionHealthKPIFields.php b/src/FacebookAds/Object/Fields/ConversionHealthKPIFields.php new file mode 100644 index 000000000..89aaba285 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ConversionHealthKPIFields.php @@ -0,0 +1,48 @@ + 'string', + 'impacted_browsers_match_rate' => 'float', + 'impacted_browsers_match_rate_mom_trend' => 'float', + 'impacted_browsers_traffic_share' => 'float', + 'impacted_browsers_traffic_share_mom_trend' => 'float', + 'match_rate' => 'float', + 'match_rate_mom_trend' => 'float', + 'match_rate_vertical_benchmark' => 'float', + 'match_rate_vs_benchmark_mom_trend' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CopyrightAttributionInsightsFields.php b/src/FacebookAds/Object/Fields/CopyrightAttributionInsightsFields.php new file mode 100644 index 000000000..d8c351071 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CopyrightAttributionInsightsFields.php @@ -0,0 +1,40 @@ + 'int', + 'l7_attribution_page_view_delta' => 'float', + 'l7_attribution_video_view' => 'int', + 'l7_attribution_video_view_delta' => 'float', + 'metrics_ending_date' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CopyrightAudioAssetFields.php b/src/FacebookAds/Object/Fields/CopyrightAudioAssetFields.php new file mode 100644 index 000000000..b0b9dd9b4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CopyrightAudioAssetFields.php @@ -0,0 +1,44 @@ + 'string', + 'audio_library_policy' => 'list>>>', + 'creation_time' => 'datetime', + 'id' => 'string', + 'reference_files' => 'list', + 'title' => 'string', + 'update_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CopyrightMediaMisuseFields.php b/src/FacebookAds/Object/Fields/CopyrightMediaMisuseFields.php new file mode 100644 index 000000000..65b233aa4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CopyrightMediaMisuseFields.php @@ -0,0 +1,64 @@ + 'list', + 'creation_time' => 'datetime', + 'disabled_audio_segments' => 'list', + 'disabled_video_segments' => 'list', + 'entire_file_issue' => 'bool', + 'entire_file_issue_reasons' => 'list', + 'expiration_time' => 'datetime', + 'id' => 'string', + 'media_asset_id' => 'string', + 'reasons' => 'list', + 'requested_audio_segments' => 'list', + 'requested_video_segments' => 'list', + 'resolution_type' => 'string', + 'status' => 'string', + 'update_time' => 'datetime', + 'video_copyright' => 'VideoCopyright', + 'video_segments' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CreativeAssetTagFields.php b/src/FacebookAds/Object/Fields/CreativeAssetTagFields.php new file mode 100644 index 000000000..1b57763c3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CreativeAssetTagFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CreatorAssetCreativeFields.php b/src/FacebookAds/Object/Fields/CreatorAssetCreativeFields.php new file mode 100644 index 000000000..a30592130 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CreatorAssetCreativeFields.php @@ -0,0 +1,44 @@ + 'string', + 'image_url' => 'string', + 'moderation_status' => 'string', + 'product_item_retailer_id' => 'string', + 'product_url' => 'string', + 'retailer_id' => 'string', + 'video_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CustomAudienceCapabilitiesFields.php b/src/FacebookAds/Object/Fields/CustomAudienceCapabilitiesFields.php new file mode 100644 index 000000000..4d8c2beb2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/CustomAudienceCapabilitiesFields.php @@ -0,0 +1,32 @@ + 'map', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CustomAudienceSharedAccountCampaignInfoFields.php b/src/FacebookAds/Object/Fields/CustomAudienceSharedAccountCampaignInfoFields.php new file mode 100644 index 000000000..b1435c4eb --- /dev/null +++ b/src/FacebookAds/Object/Fields/CustomAudienceSharedAccountCampaignInfoFields.php @@ -0,0 +1,46 @@ + 'string', + 'account_name' => 'string', + 'adset_excluding_count' => 'unsigned int', + 'adset_including_count' => 'unsigned int', + 'campaign_delivery_status' => 'string', + 'campaign_objective' => 'string', + 'campaign_pages' => 'list', + 'campaign_schedule' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CustomConversionActivitiesFields.php b/src/FacebookAds/Object/Fields/CustomConversionActivitiesFields.php new file mode 100644 index 000000000..3a1c0357e --- /dev/null +++ b/src/FacebookAds/Object/Fields/CustomConversionActivitiesFields.php @@ -0,0 +1,38 @@ + 'unsigned int', + 'data' => 'string', + 'event_type' => 'string', + 'timestamp' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/CustomConversionFields.php b/src/FacebookAds/Object/Fields/CustomConversionFields.php index 4853b4e30..9d740241f 100644 --- a/src/FacebookAds/Object/Fields/CustomConversionFields.php +++ b/src/FacebookAds/Object/Fields/CustomConversionFields.php @@ -41,6 +41,7 @@ class CustomConversionFields extends AbstractEnum { const PIXEL = 'pixel'; const RETENTION_DAYS = 'retention_days'; const RULE = 'rule'; + const ACTION_SOURCE_TYPE = 'action_source_type'; const ADVANCED_RULE = 'advanced_rule'; const EVENT_SOURCE_ID = 'event_source_id'; const CUSTOM_CONVERSION_ID = 'custom_conversion_id'; @@ -66,6 +67,7 @@ public function getFieldTypes() { 'pixel' => 'AdsPixel', 'retention_days' => 'unsigned int', 'rule' => 'string', + 'action_source_type' => 'ActionSourceType', 'advanced_rule' => 'string', 'event_source_id' => 'string', 'custom_conversion_id' => 'string', diff --git a/src/FacebookAds/Object/Fields/DeliveryInfoFields.php b/src/FacebookAds/Object/Fields/DeliveryInfoFields.php new file mode 100644 index 000000000..161da5784 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DeliveryInfoFields.php @@ -0,0 +1,114 @@ + 'int', + 'active_day_parted_campaign_count' => 'int', + 'ad_penalty_map' => 'list>', + 'are_all_daily_budgets_spent' => 'bool', + 'credit_needed_ads_count' => 'int', + '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_clickbait_penalized' => 'bool', + 'is_daily_budget_spent' => 'bool', + 'is_engagement_bait_penalized' => 'bool', + 'is_lqwe_penalized' => 'bool', + 'is_reach_and_frequency_misconfigured' => 'bool', + 'is_sensationalism_penalized' => 'bool', + 'is_split_test_active' => 'bool', + 'is_split_test_valid' => 'bool', + 'lift_study_time_period' => 'string', + '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', + 'start_time' => 'datetime', + 'status' => 'string', + 'text_penalty_level' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DeliveryStatusFields.php b/src/FacebookAds/Object/Fields/DeliveryStatusFields.php new file mode 100644 index 000000000..1dbdf66e6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DeliveryStatusFields.php @@ -0,0 +1,34 @@ + 'string', + 'substatuses' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DirectDebitFields.php b/src/FacebookAds/Object/Fields/DirectDebitFields.php new file mode 100644 index 000000000..7afb1cb04 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DirectDebitFields.php @@ -0,0 +1,50 @@ + '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/DogNotificationSettingsFields.php b/src/FacebookAds/Object/Fields/DogNotificationSettingsFields.php new file mode 100644 index 000000000..69b3f55ca --- /dev/null +++ b/src/FacebookAds/Object/Fields/DogNotificationSettingsFields.php @@ -0,0 +1,36 @@ + 'string', + 'id' => 'string', + 'subscription_status_per_channel' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DomainFields.php b/src/FacebookAds/Object/Fields/DomainFields.php new file mode 100644 index 000000000..282038e56 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DomainFields.php @@ -0,0 +1,36 @@ + 'string', + 'name' => 'string', + 'url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DraftPostFields.php b/src/FacebookAds/Object/Fields/DraftPostFields.php new file mode 100644 index 000000000..85594ae40 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DraftPostFields.php @@ -0,0 +1,64 @@ + 'User', + 'creation_time' => 'datetime', + 'feed_audience_description' => 'string', + 'feed_targeting' => 'Targeting', + 'id' => 'string', + 'is_post_in_good_state' => 'bool', + 'message' => 'string', + 'modified_time' => 'datetime', + 'og_action_summary' => 'string', + 'permalink_url' => 'string', + 'place' => 'Place', + 'privacy_description' => 'string', + 'scheduled_failure_notice' => 'string', + 'scheduled_publish_time' => 'datetime', + 'story_token' => 'string', + 'thumbnail' => 'string', + 'video_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DynamicARMetadataFields.php b/src/FacebookAds/Object/Fields/DynamicARMetadataFields.php new file mode 100644 index 000000000..9378c1cfd --- /dev/null +++ b/src/FacebookAds/Object/Fields/DynamicARMetadataFields.php @@ -0,0 +1,54 @@ + 'list', + 'container_effect_enum' => 'int', + 'effect_icon_url' => 'string', + 'effect_id' => 'string', + 'id' => 'string', + 'platforms' => 'list', + 'scale_factor' => 'list', + 'shadow_texture_url' => 'string', + 'source_url' => 'string', + 'state' => 'string', + 'tags' => 'list', + 'variant_picker_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DynamicContentSetFields.php b/src/FacebookAds/Object/Fields/DynamicContentSetFields.php new file mode 100644 index 000000000..fab72b640 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DynamicContentSetFields.php @@ -0,0 +1,36 @@ + 'string', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php b/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php new file mode 100644 index 000000000..82f05dcc4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFields.php @@ -0,0 +1,44 @@ + '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 new file mode 100644 index 000000000..8999f6ade --- /dev/null +++ b/src/FacebookAds/Object/Fields/DynamicItemDisplayBundleFolderFields.php @@ -0,0 +1,42 @@ + 'string', + 'id' => 'string', + 'name' => 'string', + 'product_catalog' => 'ProductCatalog', + 'product_set' => 'ProductSet', + 'valid_labels' => 'list>>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/EducationExperienceFields.php b/src/FacebookAds/Object/Fields/EducationExperienceFields.php new file mode 100644 index 000000000..0302d04b7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EducationExperienceFields.php @@ -0,0 +1,46 @@ + 'list', + 'concentration' => 'list', + 'degree' => 'Page', + 'id' => 'string', + 'school' => 'Page', + 'type' => 'string', + 'with' => 'list', + 'year' => 'Page', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/EmailImportFields.php b/src/FacebookAds/Object/Fields/EmailImportFields.php new file mode 100644 index 000000000..848af0fe9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EmailImportFields.php @@ -0,0 +1,34 @@ + 'list', + 'total' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/EndStudyCriteriaFields.php b/src/FacebookAds/Object/Fields/EndStudyCriteriaFields.php new file mode 100644 index 000000000..19f6c1608 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EndStudyCriteriaFields.php @@ -0,0 +1,30 @@ + 'string', + 'owner_linked_instagram_user_v1_id' => '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 new file mode 100644 index 000000000..e86221cef --- /dev/null +++ b/src/FacebookAds/Object/Fields/EventExternalTicketInfoFields.php @@ -0,0 +1,38 @@ + 'string', + 'max_sales_price' => 'CurrencyAmount', + 'min_sales_price' => 'CurrencyAmount', + 'sales_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/EventFields.php b/src/FacebookAds/Object/Fields/EventFields.php index fbb55564d..78a928fea 100644 --- a/src/FacebookAds/Object/Fields/EventFields.php +++ b/src/FacebookAds/Object/Fields/EventFields.php @@ -86,10 +86,10 @@ public function getFieldTypes() { 'owner' => 'Object', 'parent_group' => 'Group', 'place' => 'Place', - 'registration_setting' => 'Object', + 'registration_setting' => 'EventRegistrationSetting', 'scheduled_publish_time' => 'string', 'start_time' => 'string', - 'ticket_setting' => 'Object', + 'ticket_setting' => 'EventTicketSetting', 'ticket_uri' => 'string', 'ticket_uri_start_sales_time' => 'string', 'ticketing_privacy_uri' => 'string', diff --git a/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php b/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php new file mode 100644 index 000000000..261d9fd12 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EventRegistrationSettingFields.php @@ -0,0 +1,38 @@ + '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 new file mode 100644 index 000000000..4b28a22a5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EventTicketSettingFields.php @@ -0,0 +1,34 @@ + 'string', + 'ticket_delivery_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/EventTicketTierFields.php b/src/FacebookAds/Object/Fields/EventTicketTierFields.php new file mode 100644 index 000000000..bf9971709 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EventTicketTierFields.php @@ -0,0 +1,66 @@ + '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/EventTourFields.php b/src/FacebookAds/Object/Fields/EventTourFields.php new file mode 100644 index 000000000..92c209690 --- /dev/null +++ b/src/FacebookAds/Object/Fields/EventTourFields.php @@ -0,0 +1,56 @@ + 'string', + 'dominant_color' => 'string', + 'end_time' => 'string', + 'id' => 'string', + 'is_past' => 'bool', + 'last_event_timestamp' => 'int', + 'name' => 'string', + 'num_events' => 'int', + 'photo' => 'Photo', + 'scheduled_publish_timestamp' => 'int', + 'start_time' => 'string', + 'ticketing_uri' => 'string', + 'video' => 'AdVideo', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExpirablePostFields.php b/src/FacebookAds/Object/Fields/ExpirablePostFields.php new file mode 100644 index 000000000..10975e8e4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExpirablePostFields.php @@ -0,0 +1,70 @@ + 'User', + 'can_republish' => 'bool', + 'content_type' => 'string', + 'creation_time' => 'datetime', + 'expiration' => 'Object', + 'feed_audience_description' => 'string', + 'feed_targeting' => 'Targeting', + 'id' => 'string', + 'is_post_in_good_state' => 'bool', + 'message' => 'string', + 'modified_time' => 'datetime', + 'og_action_summary' => 'string', + 'permalink_url' => 'string', + 'place' => 'Place', + 'privacy_description' => 'string', + 'scheduled_failure_notice' => 'string', + 'scheduled_publish_time' => 'datetime', + 'story_token' => 'string', + 'thumbnail' => 'string', + 'video_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php new file mode 100644 index 000000000..a529ff20f --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExtendedCreditApplicationFields.php @@ -0,0 +1,80 @@ + 'string', + 'city' => 'string', + 'cnpj' => 'string', + 'country' => 'string', + 'display_currency' => 'string', + 'duns_number' => 'string', + 'id' => 'string', + 'invoice_email_address' => 'string', + 'is_umi' => 'bool', + 'legal_entity_name' => 'string', + 'original_online_limit' => 'CurrencyAmount', + 'phone_number' => 'string', + 'postal_code' => 'string', + 'product_types' => 'list', + 'proposed_credit_limit' => 'CurrencyAmount', + 'registration_number' => 'string', + 'run_id' => 'string', + 'state' => 'string', + 'status' => 'string', + 'street1' => 'string', + 'street2' => 'string', + 'submitter' => 'User', + 'tax_exempt_status' => 'string', + 'tax_id' => 'string', + 'terms' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditEmailFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditEmailFields.php new file mode 100644 index 000000000..f9856df9b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExtendedCreditEmailFields.php @@ -0,0 +1,34 @@ + 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php new file mode 100644 index 000000000..4888e4623 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExtendedCreditInfoFields.php @@ -0,0 +1,38 @@ + 'string', + 'credit_revoked' => 'bool', + 'credit_used' => 'string', + 'using_biz_ec' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExtendedCreditInvoiceGroupFields.php b/src/FacebookAds/Object/Fields/ExtendedCreditInvoiceGroupFields.php index 9b6a3d32e..1c2a3ea70 100644 --- a/src/FacebookAds/Object/Fields/ExtendedCreditInvoiceGroupFields.php +++ b/src/FacebookAds/Object/Fields/ExtendedCreditInvoiceGroupFields.php @@ -37,7 +37,7 @@ public function getFieldTypes() { 'auto_enroll' => 'bool', 'bill_to_address' => 'CRMAddress', 'customer_po_number' => 'string', - 'email' => 'Object', + 'email' => 'ExtendedCreditEmail', 'emails' => 'list', 'id' => 'string', 'liable_address' => 'CRMAddress', diff --git a/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingFields.php b/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingFields.php new file mode 100644 index 000000000..bf808bbe4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingFields.php @@ -0,0 +1,48 @@ + 'int', + 'app_version' => 'string', + 'content_url' => 'string', + 'device_os' => 'string', + 'diagnostic' => 'string', + 'event_name' => 'string', + 'event_time' => 'int', + 'missing_ids' => 'string', + 'severity' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingInfoFields.php b/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingInfoFields.php new file mode 100644 index 000000000..afaae5302 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExternalEventSourceCPASEventsDebuggingInfoFields.php @@ -0,0 +1,36 @@ + 'int', + 'diagnostic' => 'string', + 'event_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExternalEventSourceDAStatsResultFields.php b/src/FacebookAds/Object/Fields/ExternalEventSourceDAStatsResultFields.php new file mode 100644 index 000000000..469eba4d3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExternalEventSourceDAStatsResultFields.php @@ -0,0 +1,42 @@ + 'unsigned int', + 'count_content_ids_match_any_catalog' => 'unsigned int', + 'count_fires' => 'unsigned int', + 'count_fires_match_any_catalog' => 'unsigned int', + 'date' => 'string', + 'percentage_missed_users' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php b/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php new file mode 100644 index 000000000..931e5ecde --- /dev/null +++ b/src/FacebookAds/Object/Fields/ExternalMerchantSettingsFields.php @@ -0,0 +1,36 @@ + 'string', + 'external_platform' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/DatasetFields.php b/src/FacebookAds/Object/Fields/FAMEKumoFields.php similarity index 93% rename from src/FacebookAds/Object/Fields/DatasetFields.php rename to src/FacebookAds/Object/Fields/FAMEKumoFields.php index e41cbdfb4..0bbdf15cd 100644 --- a/src/FacebookAds/Object/Fields/DatasetFields.php +++ b/src/FacebookAds/Object/Fields/FAMEKumoFields.php @@ -20,7 +20,7 @@ * */ -class DatasetFields extends AbstractEnum { +class FAMEKumoFields extends AbstractEnum { const ID = 'id'; diff --git a/src/FacebookAds/Object/Fields/FBImageCopyrightMatchFields.php b/src/FacebookAds/Object/Fields/FBImageCopyrightMatchFields.php new file mode 100644 index 000000000..4a7280721 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FBImageCopyrightMatchFields.php @@ -0,0 +1,56 @@ + 'datetime', + 'applied_actions' => 'list>', + 'audit_log' => 'list', + 'available_ui_actions' => 'list', + 'expiration_days' => 'int', + 'id' => 'string', + 'is_business_page_match' => 'bool', + 'last_modified_time' => 'datetime', + 'match_data' => 'list', + 'match_status' => 'string', + 'ownership_countries' => 'VideoCopyrightGeoGate', + 'reference_owner' => 'Profile', + 'time_to_appeal' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FBLiteToNTTransitionsFields.php b/src/FacebookAds/Object/Fields/FBLiteToNTTransitionsFields.php new file mode 100644 index 000000000..661a45365 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FBLiteToNTTransitionsFields.php @@ -0,0 +1,32 @@ + 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FBPageAndInstagramAccountFields.php b/src/FacebookAds/Object/Fields/FBPageAndInstagramAccountFields.php new file mode 100644 index 000000000..1a7e7aca0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FBPageAndInstagramAccountFields.php @@ -0,0 +1,40 @@ + 'list', + 'bc_permission_status' => 'string', + 'bc_permissions' => 'list>', + 'is_managed' => 'bool', + 'matched_by' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FBPayButtonLoginFields.php b/src/FacebookAds/Object/Fields/FBPayButtonLoginFields.php new file mode 100644 index 000000000..7eabd552f --- /dev/null +++ b/src/FacebookAds/Object/Fields/FBPayButtonLoginFields.php @@ -0,0 +1,30 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FavoriteCatalogFields.php b/src/FacebookAds/Object/Fields/FavoriteCatalogFields.php new file mode 100644 index 000000000..2dd8046fa --- /dev/null +++ b/src/FacebookAds/Object/Fields/FavoriteCatalogFields.php @@ -0,0 +1,34 @@ + 'ProductCatalog', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FinanceObjectFields.php b/src/FacebookAds/Object/Fields/FinanceObjectFields.php new file mode 100644 index 000000000..ea431d0b9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FinanceObjectFields.php @@ -0,0 +1,34 @@ + 'string', + 'user' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FranchiseProgramFields.php b/src/FacebookAds/Object/Fields/FranchiseProgramFields.php new file mode 100644 index 000000000..cdd8c65f6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FranchiseProgramFields.php @@ -0,0 +1,54 @@ + 'BusinessAssetGroup', + 'creator_business' => 'Business', + 'description' => 'string', + 'end_date' => 'datetime', + 'id' => 'string', + 'name' => 'string', + 'program_access_type' => 'string', + 'program_approval_type' => 'string', + 'program_image_link' => 'string', + 'program_url' => 'string', + 'shared_custom_audience' => 'CustomAudience', + 'start_date' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/FranchiseProgramMemberFields.php b/src/FacebookAds/Object/Fields/FranchiseProgramMemberFields.php new file mode 100644 index 000000000..288fab392 --- /dev/null +++ b/src/FacebookAds/Object/Fields/FranchiseProgramMemberFields.php @@ -0,0 +1,46 @@ + 'Business', + 'end_date' => 'datetime', + 'id' => 'string', + 'join_date' => 'datetime', + 'member_ad_account' => 'AdAccount', + 'member_user' => 'User', + 'membership_status' => 'string', + 'page' => 'Page', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php b/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php new file mode 100644 index 000000000..138bc8e61 --- /dev/null +++ b/src/FacebookAds/Object/Fields/GenericVideoAssetFields.php @@ -0,0 +1,122 @@ + 'string', + 'broadcast_planned_start_time' => 'datetime', + 'can_viewer_edit' => 'bool', + 'copyright_monitoring_status' => 'string', + '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', + 'premiere_living_room_status' => 'string', + 'published' => 'bool', + 'scheduled_publish_time' => 'datetime', + 'secret' => 'bool', + 'secure_stream_url' => 'string', + 'social_actions' => 'bool', + 'status' => 'VideoStatus', + 'stream_url' => 'string', + 'thumbnail_while_encoding' => 'string', + 'title' => 'string', + 'views' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/GeoGatingPolicyFields.php b/src/FacebookAds/Object/Fields/GeoGatingPolicyFields.php new file mode 100644 index 000000000..bf91a7461 --- /dev/null +++ b/src/FacebookAds/Object/Fields/GeoGatingPolicyFields.php @@ -0,0 +1,44 @@ + 'string', + 'exclude_country' => 'list', + 'id' => 'string', + 'include_country' => 'list', + 'name' => 'string', + 'valid_from' => 'datetime', + 'valid_until' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/HoursFields.php b/src/FacebookAds/Object/Fields/HoursFields.php new file mode 100644 index 000000000..6028a9f63 --- /dev/null +++ b/src/FacebookAds/Object/Fields/HoursFields.php @@ -0,0 +1,34 @@ + 'string', + 'permanent_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGAccessTokenForIGOnlyAPIFields.php b/src/FacebookAds/Object/Fields/IGAccessTokenForIGOnlyAPIFields.php new file mode 100644 index 000000000..79bbba2a3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGAccessTokenForIGOnlyAPIFields.php @@ -0,0 +1,38 @@ + 'string', + 'expires_in' => 'int', + 'token_type' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGBoostMediaAdFields.php b/src/FacebookAds/Object/Fields/IGBoostMediaAdFields.php new file mode 100644 index 000000000..420356363 --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGBoostMediaAdFields.php @@ -0,0 +1,36 @@ + 'string', + 'ad_status' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGMediaBoostEligibilityInfoFields.php b/src/FacebookAds/Object/Fields/IGMediaBoostEligibilityInfoFields.php new file mode 100644 index 000000000..1e277dbae --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGMediaBoostEligibilityInfoFields.php @@ -0,0 +1,36 @@ + 'string', + 'eligible_to_boost' => 'bool', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGMediaFields.php b/src/FacebookAds/Object/Fields/IGMediaFields.php index d26ccf153..b7a6a79b1 100644 --- a/src/FacebookAds/Object/Fields/IGMediaFields.php +++ b/src/FacebookAds/Object/Fields/IGMediaFields.php @@ -22,6 +22,7 @@ class IGMediaFields extends AbstractEnum { + const BOOST_ELIGIBILITY_INFO = 'boost_eligibility_info'; const CAPTION = 'caption'; const COMMENTS_COUNT = 'comments_count'; const COPYRIGHT_CHECK_INFORMATION = 'copyright_check_information'; @@ -42,6 +43,7 @@ class IGMediaFields extends AbstractEnum { public function getFieldTypes() { return array( + 'boost_eligibility_info' => 'IGMediaBoostEligibilityInfo', 'caption' => 'string', 'comments_count' => 'int', 'copyright_check_information' => 'IGVideoCopyrightCheckMatchesInformation', diff --git a/src/FacebookAds/Object/Fields/IGMediaForIGOnlyAPIFields.php b/src/FacebookAds/Object/Fields/IGMediaForIGOnlyAPIFields.php new file mode 100644 index 000000000..ee5d9c90e --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGMediaForIGOnlyAPIFields.php @@ -0,0 +1,56 @@ + 'string', + 'id' => 'string', + 'is_shared_to_feed' => 'bool', + 'like_count' => 'int', + 'media_product_type' => 'string', + 'media_type' => 'string', + 'media_url' => 'string', + 'owner' => 'User', + 'permalink' => 'string', + 'shortcode' => 'string', + 'thumbnail_url' => 'string', + 'timestamp' => 'datetime', + 'username' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGProductTaggingInvalidationErrorFields.php b/src/FacebookAds/Object/Fields/IGProductTaggingInvalidationErrorFields.php new file mode 100644 index 000000000..b63deff2a --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGProductTaggingInvalidationErrorFields.php @@ -0,0 +1,36 @@ + 'string', + 'taggability_state' => 'string', + 'title' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGRefreshAccessTokenForIGOnlyAPIFields.php b/src/FacebookAds/Object/Fields/IGRefreshAccessTokenForIGOnlyAPIFields.php new file mode 100644 index 000000000..4507cc02c --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGRefreshAccessTokenForIGOnlyAPIFields.php @@ -0,0 +1,38 @@ + 'string', + 'expires_in' => 'int', + 'token_type' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGResumableVideoUploadStatusFields.php b/src/FacebookAds/Object/Fields/IGResumableVideoUploadStatusFields.php new file mode 100644 index 000000000..0309f4a1c --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGResumableVideoUploadStatusFields.php @@ -0,0 +1,34 @@ + 'VideoStatusProcessingPhase', + 'uploading_phase' => 'VideoStatusUploadingPhase', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IGUserForIGOnlyAPIFields.php b/src/FacebookAds/Object/Fields/IGUserForIGOnlyAPIFields.php new file mode 100644 index 000000000..233beedf7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/IGUserForIGOnlyAPIFields.php @@ -0,0 +1,38 @@ + 'string', + 'id' => 'string', + 'media_count' => 'int', + 'username' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/IPObjectFields.php b/src/FacebookAds/Object/Fields/IPObjectFields.php new file mode 100644 index 000000000..20064d262 --- /dev/null +++ b/src/FacebookAds/Object/Fields/IPObjectFields.php @@ -0,0 +1,34 @@ + 'string', + 'user' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ImageCopyrightDisputeFields.php b/src/FacebookAds/Object/Fields/ImageCopyrightDisputeFields.php new file mode 100644 index 000000000..591830d05 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ImageCopyrightDisputeFields.php @@ -0,0 +1,48 @@ + 'string', + 'dispute_form_data' => 'string', + 'expiration_time' => 'datetime', + 'id' => 'string', + 'match_id' => 'string', + 'status' => 'string', + 'time_appealed' => 'datetime', + 'time_created' => 'datetime', + 'time_updated' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ImageReferenceMatchFields.php b/src/FacebookAds/Object/Fields/ImageReferenceMatchFields.php new file mode 100644 index 000000000..1395f6e1e --- /dev/null +++ b/src/FacebookAds/Object/Fields/ImageReferenceMatchFields.php @@ -0,0 +1,64 @@ + 'list', + 'country_resolution_history' => 'list>>', + 'creation_time' => 'datetime', + 'current_conflict_resolved_countries' => 'list>', + 'displayed_match_state' => 'string', + 'dispute_form_data_entries_with_translations' => 'list', + 'expiration_time' => 'datetime', + 'id' => 'string', + 'match_state' => 'string', + 'matched_reference_copyright' => 'ImageCopyright', + 'matched_reference_owner' => 'Profile', + 'modification_history' => 'list', + 'reference_copyright' => 'ImageCopyright', + 'reference_owner' => 'Profile', + 'rejection_form_data_entries_with_translations' => 'list', + 'resolution_reason' => 'string', + 'update_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/InstagramBoostableMediaForAccessTokenFields.php b/src/FacebookAds/Object/Fields/InstagramBoostableMediaForAccessTokenFields.php new file mode 100644 index 000000000..cef3fe913 --- /dev/null +++ b/src/FacebookAds/Object/Fields/InstagramBoostableMediaForAccessTokenFields.php @@ -0,0 +1,34 @@ + 'bool', + 'media' => 'IGMedia', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/InstagramRelatedProductTagsFields.php b/src/FacebookAds/Object/Fields/InstagramRelatedProductTagsFields.php new file mode 100644 index 000000000..b89d20c5f --- /dev/null +++ b/src/FacebookAds/Object/Fields/InstagramRelatedProductTagsFields.php @@ -0,0 +1,42 @@ + 'string', + 'id' => 'int', + 'image_uri' => 'string', + 'name' => 'string', + 'price_label' => 'string', + 'sale_price_label' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/InstantArticleCTAFields.php b/src/FacebookAds/Object/Fields/InstantArticleCTAFields.php new file mode 100644 index 000000000..ceb2068a1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/InstantArticleCTAFields.php @@ -0,0 +1,40 @@ + 'string', + 'is_enabled' => 'bool', + 'publisher_defined_value' => 'float', + 'type' => 'string', + 'update_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/InstantArticleInsightsQueryResultFields.php b/src/FacebookAds/Object/Fields/InstantArticleInsightsQueryResultFields.php new file mode 100644 index 000000000..71de41bd5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/InstantArticleInsightsQueryResultFields.php @@ -0,0 +1,38 @@ + 'map', + 'name' => 'string', + 'time' => 'datetime', + 'value' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/KeywordDeliveryReportFields.php b/src/FacebookAds/Object/Fields/KeywordDeliveryReportFields.php new file mode 100644 index 000000000..d0522cddd --- /dev/null +++ b/src/FacebookAds/Object/Fields/KeywordDeliveryReportFields.php @@ -0,0 +1,48 @@ + 'unsigned int', + 'estimated_conversions' => 'unsigned int', + 'estimated_cost' => 'float', + 'estimated_cpc' => 'float', + 'estimated_ctr' => 'float', + 'estimated_cvr' => 'float', + 'estimated_impressions' => 'unsigned int', + 'estimated_returns' => 'float', + 'keyword' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php b/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php new file mode 100644 index 000000000..5cb8f2466 --- /dev/null +++ b/src/FacebookAds/Object/Fields/LeadGenDataDraftFields.php @@ -0,0 +1,60 @@ + 'bool', + 'created_time' => 'datetime', + 'disqualified_end_component' => 'Object', + 'follow_up_action_url' => 'string', + 'id' => 'string', + 'is_optimized_for_quality' => 'bool', + 'legal_content' => 'Object', + 'locale' => 'string', + 'name' => 'string', + 'page' => 'Page', + 'question_page_custom_headline' => 'string', + 'questions' => 'list', + 'status' => 'string', + 'thank_you_page' => 'Object', + 'tracking_parameters' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationConfigFields.php b/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationConfigFields.php new file mode 100644 index 000000000..50e40de5a --- /dev/null +++ b/src/FacebookAds/Object/Fields/LeadGenDirectCRMIntegrationConfigFields.php @@ -0,0 +1,46 @@ + 'string', + 'creation_time' => 'datetime', + 'id' => 'string', + 'lead_gen_data' => 'LeadgenForm', + 'matched_fields' => 'list>', + 'matched_fields_labels' => 'list>', + 'resources' => 'list>', + 'third_party_app_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LeadGenFormPreviewDetailsFields.php b/src/FacebookAds/Object/Fields/LeadGenFormPreviewDetailsFields.php new file mode 100644 index 000000000..2b3548f3d --- /dev/null +++ b/src/FacebookAds/Object/Fields/LeadGenFormPreviewDetailsFields.php @@ -0,0 +1,96 @@ + 'string', + 'contact_information_text' => 'string', + 'creatives_overview_default_text' => 'string', + 'data_privacy_policy_setting_description' => 'string', + 'default_appointment_scheduling_inline_context' => 'string', + 'default_disqualified_end_component' => 'Object', + 'default_thank_you_page' => 'Object', + 'disqualified_thank_you_card_transparency_info_text' => 'string', + 'edit_text' => 'string', + 'email_inline_context_text' => 'string', + 'email_messenger_push_opt_in_disclaimer' => 'string', + 'email_messenger_push_opt_in_transparency_text' => 'string', + 'form_clarity_description_content' => 'string', + 'form_clarity_description_title' => 'string', + 'form_clarity_headline' => 'string', + 'gated_content_locked_description' => 'string', + 'gated_content_locked_headline' => 'string', + 'gated_content_unlocked_description' => 'string', + 'gated_content_unlocked_headline' => 'string', + 'how_it_works_section_headers' => 'list>', + 'next_button_text' => 'string', + 'optional_question_text' => 'string', + 'personal_info_text' => 'string', + 'phone_number_inline_context_text' => 'string', + 'privacy_policy_title_section_title_text' => 'string', + 'privacy_setting_description' => 'string', + 'products_section_headers' => 'list>', + 'qualified_thank_you_card_transparency_info_text' => 'string', + 'review_your_info_text' => 'string', + 'secure_sharing_text' => 'string', + 'slide_to_submit_text' => 'string', + 'social_proof_section_headers' => 'list>', + 'submit_button_text' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedFileFields.php b/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedFileFields.php new file mode 100644 index 000000000..d480f8b39 --- /dev/null +++ b/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedFileFields.php @@ -0,0 +1,38 @@ + 'string', + 'file_name' => 'string', + 'file_size_bytes' => 'int', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedPromoFields.php b/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedPromoFields.php new file mode 100644 index 000000000..ec5131338 --- /dev/null +++ b/src/FacebookAds/Object/Fields/LeadGenThankYouPageGatedPromoFields.php @@ -0,0 +1,36 @@ + 'string', + 'online_offer_url' => 'string', + 'online_promo_code' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LinkedInstagramAccountDataFields.php b/src/FacebookAds/Object/Fields/LinkedInstagramAccountDataFields.php new file mode 100644 index 000000000..926bfdcbf --- /dev/null +++ b/src/FacebookAds/Object/Fields/LinkedInstagramAccountDataFields.php @@ -0,0 +1,42 @@ + 'string', + 'analytics_claim' => 'string', + 'full_name' => 'string', + 'profile_picture_url' => 'string', + 'user_id' => 'string', + 'user_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LocationBasedItemFields.php b/src/FacebookAds/Object/Fields/LocationBasedItemFields.php new file mode 100644 index 000000000..3ac0f30f4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/LocationBasedItemFields.php @@ -0,0 +1,56 @@ + 'CatalogItemAppLinks', + 'category_specific_fields' => 'CatalogSubVerticalList', + 'currency' => 'string', + 'description' => 'string', + 'id' => 'string', + 'image_fetch_status' => 'ImageFetchStatus', + 'images' => 'list', + 'location_based_item_id' => 'string', + 'name' => 'string', + 'price' => 'string', + 'sanitized_images' => 'list', + 'url' => 'string', + 'visibility' => 'Visibility', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/LoomConfigFields.php b/src/FacebookAds/Object/Fields/LoomConfigFields.php new file mode 100644 index 000000000..432c54426 --- /dev/null +++ b/src/FacebookAds/Object/Fields/LoomConfigFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MCExperienceConfigForApiFields.php b/src/FacebookAds/Object/Fields/MCExperienceConfigForApiFields.php new file mode 100644 index 000000000..c94549c28 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MCExperienceConfigForApiFields.php @@ -0,0 +1,36 @@ + 'bool', + 'is_terms_signed' => 'bool', + 'merchant_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MIXInsightsResultFields.php b/src/FacebookAds/Object/Fields/MIXInsightsResultFields.php new file mode 100644 index 000000000..26043713d --- /dev/null +++ b/src/FacebookAds/Object/Fields/MIXInsightsResultFields.php @@ -0,0 +1,72 @@ + 'list>>>', + 'daily_audio_library_values' => 'list>', + 'daily_ugc_values' => 'list>', + 'daily_values' => 'list>', + 'metric' => 'string', + 'monthly_audio_library_values' => 'list>', + 'monthly_ugc_values' => 'list>', + 'monthly_values' => 'list>', + 'percent_growth' => 'float', + 'shielded_fields' => 'list>>>', + 'total_age_gender_breakdown' => 'list>', + 'total_audio_library_value' => 'int', + 'total_country_breakdown' => 'list>', + 'total_locale_breakdown' => 'list>', + 'total_product_breakdown' => 'list>', + 'total_ugc_value' => 'int', + 'total_value' => 'int', + 'trending_age' => 'list>>>', + 'trending_gender' => 'list>>>', + 'trending_interest' => 'list>>>', + 'trending_territory' => 'list>>>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MarketingMessageTargetingFields.php b/src/FacebookAds/Object/Fields/MarketingMessageTargetingFields.php new file mode 100644 index 000000000..4dbadab79 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MarketingMessageTargetingFields.php @@ -0,0 +1,40 @@ + 'string', + 'delay_send_time_second' => 'unsigned int', + 'delay_send_time_unit' => 'string', + 'subscriber_lists' => 'list', + 'targeting_rules' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomInvoiceBankAccountFields.php b/src/FacebookAds/Object/Fields/McomInvoiceBankAccountFields.php new file mode 100644 index 000000000..942941e7d --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomInvoiceBankAccountFields.php @@ -0,0 +1,38 @@ + 'int', + 'num_verified_accounts' => 'int', + 'pending_verification_accounts' => 'list', + 'verified_accounts' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomInvoiceDetailsFields.php b/src/FacebookAds/Object/Fields/McomInvoiceDetailsFields.php new file mode 100644 index 000000000..39bd921eb --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomInvoiceDetailsFields.php @@ -0,0 +1,68 @@ + 'list', + 'buyer_notes' => 'string', + 'currency_amount' => 'Object', + 'external_invoice_id' => 'string', + 'features' => 'Object', + 'invoice_created' => 'int', + 'invoice_id' => 'string', + 'invoice_instructions' => 'string', + 'invoice_instructions_image_url' => 'string', + 'invoice_updated' => 'int', + 'outstanding_amount' => 'Object', + 'paid_amount' => 'Object', + 'payments' => 'list', + 'platform_logo_url' => 'string', + 'platform_name' => 'string', + 'product_items' => 'list', + 'shipping_address' => 'Object', + 'status' => 'string', + 'tracking_info' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomInvoiceListsFields.php b/src/FacebookAds/Object/Fields/McomInvoiceListsFields.php new file mode 100644 index 000000000..c6a509fc9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomInvoiceListsFields.php @@ -0,0 +1,36 @@ + 'list', + 'invoice_ids' => 'list', + 'page_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomInvoiceStatusFields.php b/src/FacebookAds/Object/Fields/McomInvoiceStatusFields.php new file mode 100644 index 000000000..697631475 --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomInvoiceStatusFields.php @@ -0,0 +1,54 @@ + 'string', + 'bank_code' => 'string', + 'invoice_id' => 'string', + 'invoice_status' => 'string', + 'page_id' => 'string', + 'payment_method' => 'string', + 'payment_type' => 'string', + 'payout_amount' => 'Object', + 'slip_verification_error' => 'string', + 'slip_verification_status' => 'string', + 'transaction_fee' => 'Object', + 'transfer_slip' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomOnboardingStatusFields.php b/src/FacebookAds/Object/Fields/McomOnboardingStatusFields.php new file mode 100644 index 000000000..e379f01c3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomOnboardingStatusFields.php @@ -0,0 +1,34 @@ + 'string', + 'page_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/McomPayoutsFields.php b/src/FacebookAds/Object/Fields/McomPayoutsFields.php new file mode 100644 index 000000000..e9c12192e --- /dev/null +++ b/src/FacebookAds/Object/Fields/McomPayoutsFields.php @@ -0,0 +1,44 @@ + 'int', + 'order_ids' => 'list', + 'payout_amount' => 'Object', + 'payout_provider_reference_id' => 'string', + 'payout_status' => 'string', + 'payout_time' => 'int', + 'provider' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MeasurementReportFields.php b/src/FacebookAds/Object/Fields/MeasurementReportFields.php new file mode 100644 index 000000000..3d1af5e42 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MeasurementReportFields.php @@ -0,0 +1,40 @@ + 'list', + 'id' => 'string', + 'metadata' => 'map', + 'report_type' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php b/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php new file mode 100644 index 000000000..d11a26cb8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MediaCopyrightAttributionFields.php @@ -0,0 +1,62 @@ + 'string', + 'attribution_target_email_address' => 'string', + 'attribution_target_id' => '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/MediaCopyrightUpdateRecordFields.php b/src/FacebookAds/Object/Fields/MediaCopyrightUpdateRecordFields.php new file mode 100644 index 000000000..8004d073b --- /dev/null +++ b/src/FacebookAds/Object/Fields/MediaCopyrightUpdateRecordFields.php @@ -0,0 +1,44 @@ + 'list', + 'actor' => 'User', + 'actor_type' => 'string', + 'creation_time' => 'datetime', + 'id' => 'string', + 'ownership_countries' => 'list', + 'whitelisted_accounts' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MerchantComplianceFields.php b/src/FacebookAds/Object/Fields/MerchantComplianceFields.php new file mode 100644 index 000000000..7568380c8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MerchantComplianceFields.php @@ -0,0 +1,40 @@ + 'int', + 'compliance_status' => 'string', + 'count_down_start_time' => 'int', + 'purchase' => 'int', + 'purchase_conversion_value' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MerchantReportFields.php b/src/FacebookAds/Object/Fields/MerchantReportFields.php new file mode 100644 index 000000000..1d9336c96 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MerchantReportFields.php @@ -0,0 +1,60 @@ + 'int', + 'brand' => 'string', + 'catalog_segment_id' => 'string', + 'catalog_segment_purchase_value' => 'float', + 'category' => 'string', + 'date' => 'string', + 'latest_date' => 'string', + 'link_clicks' => 'int', + 'merchant_currency' => 'string', + 'page_id' => 'string', + 'product_id' => 'string', + 'product_quantity' => 'int', + 'product_total_value' => 'float', + 'purchase' => 'int', + 'purchase_value' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MessagingAppsInfoFields.php b/src/FacebookAds/Object/Fields/MessagingAppsInfoFields.php new file mode 100644 index 000000000..48bde3b22 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MessagingAppsInfoFields.php @@ -0,0 +1,38 @@ + 'bool', + 'has_messenger_messaging_permission' => 'bool', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MessengerCallSettingsFields.php b/src/FacebookAds/Object/Fields/MessengerCallSettingsFields.php new file mode 100644 index 000000000..d590fa2ee --- /dev/null +++ b/src/FacebookAds/Object/Fields/MessengerCallSettingsFields.php @@ -0,0 +1,32 @@ + 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MessengerDestinationPageWelcomeMessageFields.php b/src/FacebookAds/Object/Fields/MessengerDestinationPageWelcomeMessageFields.php new file mode 100644 index 000000000..4c98a33c9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MessengerDestinationPageWelcomeMessageFields.php @@ -0,0 +1,42 @@ + 'string', + 'page_welcome_message_body' => 'string', + 'page_welcome_message_type' => 'string', + 'template_name' => 'string', + 'time_created' => 'datetime', + 'time_last_used' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/MusicWorkCopyrightFields.php b/src/FacebookAds/Object/Fields/MusicWorkCopyrightFields.php new file mode 100644 index 000000000..b2d4c1d77 --- /dev/null +++ b/src/FacebookAds/Object/Fields/MusicWorkCopyrightFields.php @@ -0,0 +1,52 @@ + 'list', + 'claim_status' => 'string', + 'creation_time' => 'datetime', + 'displayed_fb_matches_count' => 'int', + 'displayed_ig_matches_count' => 'int', + 'displayed_matches_count' => 'int', + 'id' => 'string', + 'match_rule' => 'VideoCopyrightRule', + 'status' => 'string', + 'tags' => 'list', + 'update_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/NegativeKeywordListFields.php b/src/FacebookAds/Object/Fields/NegativeKeywordListFields.php new file mode 100644 index 000000000..3746ea2ab --- /dev/null +++ b/src/FacebookAds/Object/Fields/NegativeKeywordListFields.php @@ -0,0 +1,54 @@ + 'list>', + 'applied_inactive_ad_campaign_groups' => 'list>', + 'creator_id' => 'string', + 'id' => 'string', + 'is_fully_reviewed' => 'bool', + 'last_update_time' => 'datetime', + 'last_update_user_id' => 'string', + 'list_name' => 'string', + 'total_approved_keyword_count' => 'int', + 'total_declined_keyword_count' => 'int', + 'total_negative_keyword_count' => 'int', + 'total_validated_keyword_count' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OfflineConversionDataSetActivitiesFields.php b/src/FacebookAds/Object/Fields/OfflineConversionDataSetActivitiesFields.php new file mode 100644 index 000000000..94e03b04f --- /dev/null +++ b/src/FacebookAds/Object/Fields/OfflineConversionDataSetActivitiesFields.php @@ -0,0 +1,48 @@ + 'int', + 'actor_name' => 'string', + 'adaccount_id' => 'int', + 'adaccount_name' => 'string', + 'event_time' => 'datetime', + 'event_type' => 'string', + 'extra_data' => 'string', + 'object_id' => 'int', + 'object_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php b/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php index ae7e7fbe7..b8858c77d 100644 --- a/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php +++ b/src/FacebookAds/Object/Fields/OfflineConversionDataSetFields.php @@ -54,7 +54,6 @@ class OfflineConversionDataSetFields extends AbstractEnum { const OWNER_BUSINESS = 'owner_business'; const USAGE = 'usage'; const VALID_ENTRIES = 'valid_entries'; - const AUTO_ASSIGN_TO_NEW_ACCOUNTS_ONLY = 'auto_assign_to_new_accounts_only'; public function getFieldTypes() { return array( @@ -90,7 +89,6 @@ public function getFieldTypes() { 'owner_business' => 'Business', 'usage' => 'OfflineConversionDataSetUsage', 'valid_entries' => 'int', - 'auto_assign_to_new_accounts_only' => 'bool', ); } } diff --git a/src/FacebookAds/Object/Fields/OfflineConversionDataSetOptimizationStatusFields.php b/src/FacebookAds/Object/Fields/OfflineConversionDataSetOptimizationStatusFields.php new file mode 100644 index 000000000..9139948af --- /dev/null +++ b/src/FacebookAds/Object/Fields/OfflineConversionDataSetOptimizationStatusFields.php @@ -0,0 +1,38 @@ + 'string', + 'last_changed_time' => 'int', + 'last_detected_time' => 'int', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OfflineProductItemFields.php b/src/FacebookAds/Object/Fields/OfflineProductItemFields.php new file mode 100644 index 000000000..09c315515 --- /dev/null +++ b/src/FacebookAds/Object/Fields/OfflineProductItemFields.php @@ -0,0 +1,62 @@ + 'CatalogItemAppLinks', + 'brand' => 'string', + 'category' => 'string', + 'category_specific_fields' => 'CatalogSubVerticalList', + 'currency' => 'string', + 'description' => 'string', + 'id' => 'string', + 'image_fetch_status' => 'ImageFetchStatus', + 'image_url' => 'string', + 'images' => 'list', + 'name' => 'string', + 'offline_product_item_id' => 'string', + 'price' => 'string', + 'sanitized_images' => 'list', + 'url' => 'string', + 'visibility' => 'Visibility', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OfflineTermsOfServiceFields.php b/src/FacebookAds/Object/Fields/OfflineTermsOfServiceFields.php new file mode 100644 index 000000000..7b87409f4 --- /dev/null +++ b/src/FacebookAds/Object/Fields/OfflineTermsOfServiceFields.php @@ -0,0 +1,36 @@ + 'int', + 'id' => 'string', + 'signed_by_user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OffsiteSignalContainerBusinessObjectFields.php b/src/FacebookAds/Object/Fields/OffsiteSignalContainerBusinessObjectFields.php new file mode 100644 index 000000000..c67a105eb --- /dev/null +++ b/src/FacebookAds/Object/Fields/OffsiteSignalContainerBusinessObjectFields.php @@ -0,0 +1,44 @@ + 'Business', + 'id' => 'string', + 'is_eligible_for_sharing_to_ad_account' => 'bool', + 'is_eligible_for_sharing_to_business' => 'bool', + 'is_unavailable' => 'bool', + 'name' => 'string', + 'primary_container_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OpenBridgeConfigurationFields.php b/src/FacebookAds/Object/Fields/OpenBridgeConfigurationFields.php index 889c96139..1e6a89eef 100644 --- a/src/FacebookAds/Object/Fields/OpenBridgeConfigurationFields.php +++ b/src/FacebookAds/Object/Fields/OpenBridgeConfigurationFields.php @@ -22,7 +22,6 @@ class OpenBridgeConfigurationFields extends AbstractEnum { - const ACCESS_KEY = 'access_key'; const ACTIVE = 'active'; const ENDPOINT = 'endpoint'; const FALLBACK_DOMAIN = 'fallback_domain'; @@ -30,11 +29,11 @@ class OpenBridgeConfigurationFields extends AbstractEnum { const HOST_BUSINESS_ID = 'host_business_id'; const HOST_EXTERNAL_ID = 'host_external_id'; const ID = 'id'; + const INSTANCE_ID = 'instance_id'; const PIXEL_ID = 'pixel_id'; public function getFieldTypes() { return array( - 'access_key' => 'string', 'active' => 'bool', 'endpoint' => 'string', 'fallback_domain' => 'string', @@ -42,6 +41,7 @@ public function getFieldTypes() { 'host_business_id' => 'string', 'host_external_id' => 'string', 'id' => 'string', + 'instance_id' => 'string', 'pixel_id' => 'string', ); } diff --git a/src/FacebookAds/Object/Fields/OrderIDAttributionsFields.php b/src/FacebookAds/Object/Fields/OrderIDAttributionsFields.php new file mode 100644 index 000000000..2739c6f29 --- /dev/null +++ b/src/FacebookAds/Object/Fields/OrderIDAttributionsFields.php @@ -0,0 +1,48 @@ + 'string', + 'attribution_type' => 'string', + 'attributions' => 'list', + 'conversion_device' => 'string', + 'dataset_id' => 'string', + 'holdout_status' => 'list', + 'order_id' => 'string', + 'order_timestamp' => 'datetime', + 'pixel_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OrganizationFields.php b/src/FacebookAds/Object/Fields/OrganizationFields.php new file mode 100644 index 000000000..1f36f6039 --- /dev/null +++ b/src/FacebookAds/Object/Fields/OrganizationFields.php @@ -0,0 +1,40 @@ + 'string', + 'id' => 'string', + 'legal_entity_name' => 'string', + 'master_bm_id' => 'string', + 'owner_business' => 'Business', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/OwnedDomainFields.php b/src/FacebookAds/Object/Fields/OwnedDomainFields.php new file mode 100644 index 000000000..a90c10d95 --- /dev/null +++ b/src/FacebookAds/Object/Fields/OwnedDomainFields.php @@ -0,0 +1,40 @@ + 'string', + 'id' => 'string', + 'owner_business' => 'Business', + 'status' => 'string', + 'verification_code' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/P2MInvoicePaymentsFields.php b/src/FacebookAds/Object/Fields/P2MInvoicePaymentsFields.php new file mode 100644 index 000000000..e25a0be30 --- /dev/null +++ b/src/FacebookAds/Object/Fields/P2MInvoicePaymentsFields.php @@ -0,0 +1,34 @@ + 'string', + 'payments' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php new file mode 100644 index 000000000..a7623e3ab --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageAppWithLeadsAccessFields.php @@ -0,0 +1,34 @@ + 'bool', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageBroadcastFields.php b/src/FacebookAds/Object/Fields/PageBroadcastFields.php new file mode 100644 index 000000000..45f6b5aa0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageBroadcastFields.php @@ -0,0 +1,36 @@ + 'string', + 'scheduled_time' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageCTSTopicFields.php b/src/FacebookAds/Object/Fields/PageCTSTopicFields.php new file mode 100644 index 000000000..672cac679 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageCTSTopicFields.php @@ -0,0 +1,42 @@ + 'string', + 'frequency' => 'string', + 'image_hash' => 'string', + 'image_url' => 'string', + 'subscriber' => 'int', + 'title' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageCTXBudgetSimilarAdvertiserBudgetRecommendationFields.php b/src/FacebookAds/Object/Fields/PageCTXBudgetSimilarAdvertiserBudgetRecommendationFields.php new file mode 100644 index 000000000..d518eaa8b --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageCTXBudgetSimilarAdvertiserBudgetRecommendationFields.php @@ -0,0 +1,34 @@ + 'string', + 'reported_conversion' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageCTXDefaultGreetingTextFields.php b/src/FacebookAds/Object/Fields/PageCTXDefaultGreetingTextFields.php new file mode 100644 index 000000000..274580532 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageCTXDefaultGreetingTextFields.php @@ -0,0 +1,36 @@ + 'string', + 'ctm' => 'string', + 'ctwa' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageCrmsWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageCrmsWithLeadsAccessFields.php new file mode 100644 index 000000000..ed8358fba --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageCrmsWithLeadsAccessFields.php @@ -0,0 +1,38 @@ + 'bool', + 'id' => 'string', + 'integration_type' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php new file mode 100644 index 000000000..94043ae3e --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageDirectIntegrationCrmWithLeadsAccessFields.php @@ -0,0 +1,36 @@ + 'bool', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageFields.php b/src/FacebookAds/Object/Fields/PageFields.php index c08680024..8cb6de4d5 100644 --- a/src/FacebookAds/Object/Fields/PageFields.php +++ b/src/FacebookAds/Object/Fields/PageFields.php @@ -87,11 +87,11 @@ class PageFields extends AbstractEnum { const INFLUENCES = 'influences'; const INSTAGRAM_BUSINESS_ACCOUNT = 'instagram_business_account'; const IS_ALWAYS_OPEN = 'is_always_open'; + const IS_CALLING_ELIGIBLE = 'is_calling_eligible'; const IS_CHAIN = 'is_chain'; const IS_COMMUNITY_PAGE = 'is_community_page'; const IS_ELIGIBLE_FOR_BRANDED_CONTENT = 'is_eligible_for_branded_content'; const IS_ELIGIBLE_FOR_DISABLE_CONNECT_IG_BTN_FOR_NON_PAGE_ADMIN_AM_WEB = 'is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web'; - const IS_ELIGIBLE_FOR_LIVE_BOOSTING_EXPANSION = 'is_eligible_for_live_boosting_expansion'; const IS_MESSENGER_BOT_GET_STARTED_ENABLED = 'is_messenger_bot_get_started_enabled'; const IS_MESSENGER_PLATFORM_BOT = 'is_messenger_platform_bot'; const IS_OWNED = 'is_owned'; @@ -241,11 +241,11 @@ public function getFieldTypes() { 'influences' => 'string', 'instagram_business_account' => 'IGUser', 'is_always_open' => 'bool', + 'is_calling_eligible' => 'bool', 'is_chain' => 'bool', 'is_community_page' => 'bool', 'is_eligible_for_branded_content' => 'bool', 'is_eligible_for_disable_connect_ig_btn_for_non_page_admin_am_web' => 'bool', - 'is_eligible_for_live_boosting_expansion' => 'bool', 'is_messenger_bot_get_started_enabled' => 'bool', 'is_messenger_platform_bot' => 'bool', 'is_owned' => 'bool', diff --git a/src/FacebookAds/Object/Fields/PageGameBotQuotaInformationFields.php b/src/FacebookAds/Object/Fields/PageGameBotQuotaInformationFields.php new file mode 100644 index 000000000..f29dcbd49 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageGameBotQuotaInformationFields.php @@ -0,0 +1,34 @@ + 'int', + 'time_window' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageGetStartedNullstateFields.php b/src/FacebookAds/Object/Fields/PageGetStartedNullstateFields.php new file mode 100644 index 000000000..462051fe9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageGetStartedNullstateFields.php @@ -0,0 +1,36 @@ + 'string', + 'processed_greeting' => 'string', + 'responsiveness' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageInsightsAsyncExportRunFields.php b/src/FacebookAds/Object/Fields/PageInsightsAsyncExportRunFields.php new file mode 100644 index 000000000..3665add85 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageInsightsAsyncExportRunFields.php @@ -0,0 +1,48 @@ + 'string', + 'filters' => 'list', + 'format' => 'string', + 'gen_report_date' => 'int', + 'id' => 'string', + 'report_end_date' => 'int', + 'report_start_date' => 'int', + 'sorters' => 'list', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php b/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php new file mode 100644 index 000000000..446410c6c --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageLeadsAccessConfigFields.php @@ -0,0 +1,34 @@ + 'string', + 'page' => 'Page', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageLocationsBreakdownFields.php b/src/FacebookAds/Object/Fields/PageLocationsBreakdownFields.php new file mode 100644 index 000000000..1a1e7def8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageLocationsBreakdownFields.php @@ -0,0 +1,48 @@ + 'string', + 'location_name' => 'string', + 'location_type' => 'string', + 'num_pages' => 'int', + 'num_pages_eligible_for_store_visit_reporting' => 'int', + 'num_unpublished_or_closed_pages' => 'int', + 'parent_country_code' => 'string', + 'parent_region_id' => 'int', + 'parent_region_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php b/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php new file mode 100644 index 000000000..e5a83f11e --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageMessageResponsivenessMetricsFields.php @@ -0,0 +1,36 @@ + 'bool', + 'response_rate' => 'float', + 'response_time' => 'float', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php new file mode 100644 index 000000000..8ffe27be7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PagePartnerWithLeadsAccessFields.php @@ -0,0 +1,36 @@ + 'bool', + 'partner_business' => 'Business', + 'permitted_tasks' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PagePublisherFields.php b/src/FacebookAds/Object/Fields/PagePublisherFields.php new file mode 100644 index 000000000..b0f4e5943 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PagePublisherFields.php @@ -0,0 +1,40 @@ + 'string', + 'icon' => 'string', + 'id' => 'string', + 'name' => 'string', + 'url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageUserPermissionsFields.php b/src/FacebookAds/Object/Fields/PageUserPermissionsFields.php new file mode 100644 index 000000000..8e89b3358 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageUserPermissionsFields.php @@ -0,0 +1,50 @@ + 'Business', + 'business_persona' => 'string', + 'created_by' => 'Profile', + 'created_time' => 'datetime', + 'email' => 'string', + 'status' => 'string', + 'tasks' => 'list', + 'updated_by' => 'Profile', + 'updated_time' => 'datetime', + 'user' => 'Profile', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php b/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php new file mode 100644 index 000000000..bae907812 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageUserWithLeadsAccessFields.php @@ -0,0 +1,38 @@ + 'bool', + 'business_role' => 'string', + 'can_access_leads' => 'bool', + 'page_role' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PageVideosYouCanUseFields.php b/src/FacebookAds/Object/Fields/PageVideosYouCanUseFields.php new file mode 100644 index 000000000..96c744ada --- /dev/null +++ b/src/FacebookAds/Object/Fields/PageVideosYouCanUseFields.php @@ -0,0 +1,36 @@ + 'string', + 'id' => 'string', + 'title' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PanelAPIReportFields.php b/src/FacebookAds/Object/Fields/PanelAPIReportFields.php new file mode 100644 index 000000000..4bf9e6f5b --- /dev/null +++ b/src/FacebookAds/Object/Fields/PanelAPIReportFields.php @@ -0,0 +1,50 @@ + 'string', + 'download_url' => 'string', + 'end_date' => 'datetime', + 'export_file_type' => 'string', + 'id' => 'string', + 'index' => 'int', + 'name' => 'string', + 'number_of_chunks' => 'int', + 'start_date' => 'datetime', + 'upload_date' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ParentCatalogReportFields.php b/src/FacebookAds/Object/Fields/ParentCatalogReportFields.php new file mode 100644 index 000000000..354daa2a9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ParentCatalogReportFields.php @@ -0,0 +1,34 @@ + 'float', + 'purchases' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PartnerAccountLinkingFields.php b/src/FacebookAds/Object/Fields/PartnerAccountLinkingFields.php new file mode 100644 index 000000000..3a68b97fd --- /dev/null +++ b/src/FacebookAds/Object/Fields/PartnerAccountLinkingFields.php @@ -0,0 +1,46 @@ + 'AdAccount', + 'app' => 'Application', + 'business' => 'Business', + 'externalidentifier' => 'string', + 'externalidentifieruri' => 'string', + 'id' => 'string', + 'partnername' => 'string', + 'pixel' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PartnerCategoryFields.php b/src/FacebookAds/Object/Fields/PartnerCategoryFields.php new file mode 100644 index 000000000..8e0d34b2b --- /dev/null +++ b/src/FacebookAds/Object/Fields/PartnerCategoryFields.php @@ -0,0 +1,52 @@ + 'int', + 'country' => 'string', + 'description' => 'string', + 'details' => 'string', + 'id' => 'string', + 'is_private' => 'bool', + 'name' => 'string', + 'parent_category' => 'string', + 'source' => 'string', + 'status' => 'string', + 'targeting_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PartnerIntegrationLinkedFields.php b/src/FacebookAds/Object/Fields/PartnerIntegrationLinkedFields.php new file mode 100644 index 000000000..a46a7c000 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PartnerIntegrationLinkedFields.php @@ -0,0 +1,62 @@ + 'AdsPixel', + 'application' => 'Application', + 'completed_integration_types' => 'list', + 'external_business_connection_id' => 'string', + 'external_id' => 'string', + 'has_oauth_token' => 'bool', + 'id' => 'string', + 'mbe_app_id' => 'string', + 'mbe_asset_id' => 'string', + 'mbe_external_business_id' => 'string', + 'name' => 'string', + 'offline_conversion_data_set' => 'OfflineConversionDataSet', + 'page' => 'Page', + 'partner' => 'string', + 'product_catalog' => 'ProductCatalog', + 'setup_status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PartnershipAdContentSearchMediaFields.php b/src/FacebookAds/Object/Fields/PartnershipAdContentSearchMediaFields.php new file mode 100644 index 000000000..962305e42 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PartnershipAdContentSearchMediaFields.php @@ -0,0 +1,36 @@ + 'IGMedia', + 'ig_media_has_product_tags' => 'bool', + 'is_ad_code_entry' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PartnershipAdsIdentityFields.php b/src/FacebookAds/Object/Fields/PartnershipAdsIdentityFields.php new file mode 100644 index 000000000..69cb61318 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PartnershipAdsIdentityFields.php @@ -0,0 +1,34 @@ + 'list', + 'secondary_identities' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PaymentRequestDetailsFields.php b/src/FacebookAds/Object/Fields/PaymentRequestDetailsFields.php new file mode 100644 index 000000000..9d12e1786 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PaymentRequestDetailsFields.php @@ -0,0 +1,48 @@ + 'Object', + 'creation_time' => 'int', + 'note' => 'string', + 'payment_request_id' => 'string', + 'receiver_id' => 'string', + 'reference_number' => 'string', + 'sender_id' => 'string', + 'status' => 'string', + 'transaction_time' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php b/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php new file mode 100644 index 000000000..7ba3f623d --- /dev/null +++ b/src/FacebookAds/Object/Fields/PersonalAdsPersonaFields.php @@ -0,0 +1,40 @@ + 'string', + 'first_name' => 'string', + 'id' => 'string', + 'last_name' => 'string', + 'pending_email' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PhotoMetadataFields.php b/src/FacebookAds/Object/Fields/PhotoMetadataFields.php new file mode 100644 index 000000000..d2317f57b --- /dev/null +++ b/src/FacebookAds/Object/Fields/PhotoMetadataFields.php @@ -0,0 +1,54 @@ + 'string', + 'camera_model' => 'string', + 'datetime_modified' => 'datetime', + 'datetime_taken' => 'datetime', + 'exposure' => 'string', + 'focal_length' => 'string', + 'fstop' => 'string', + 'iso_speed' => 'int', + 'offline_id' => 'string', + 'orientation' => 'string', + 'original_height' => 'string', + 'original_width' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PlaceTagFields.php b/src/FacebookAds/Object/Fields/PlaceTagFields.php new file mode 100644 index 000000000..349f2231f --- /dev/null +++ b/src/FacebookAds/Object/Fields/PlaceTagFields.php @@ -0,0 +1,36 @@ + 'datetime', + 'id' => 'string', + 'place' => 'Page', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PlatformSessionKeyFields.php b/src/FacebookAds/Object/Fields/PlatformSessionKeyFields.php new file mode 100644 index 000000000..03f4a3797 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PlatformSessionKeyFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PreapprovalReviewFields.php b/src/FacebookAds/Object/Fields/PreapprovalReviewFields.php new file mode 100644 index 000000000..4a8f7a123 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PreapprovalReviewFields.php @@ -0,0 +1,40 @@ + 'string', + 'crow_component_id' => 'int', + 'is_human_reviewed' => 'bool', + 'is_reviewed' => 'bool', + 'policy_info' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PremiumMusicVideoFields.php b/src/FacebookAds/Object/Fields/PremiumMusicVideoFields.php new file mode 100644 index 000000000..50a406551 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PremiumMusicVideoFields.php @@ -0,0 +1,46 @@ + 'string', + 'cross_post_videos' => 'list', + 'eligible_cross_post_pages' => 'list', + 'id' => 'string', + 'preferred_video_thumbnail_image_uri' => 'string', + 'premium_music_video_metadata' => 'Object', + 'scheduled_publish_time' => 'int', + 'title' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PrivacyOptionFields.php b/src/FacebookAds/Object/Fields/PrivacyOptionFields.php new file mode 100644 index 000000000..cc5f6d4a9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PrivacyOptionFields.php @@ -0,0 +1,42 @@ + 'string', + 'icon_src' => 'string', + 'id' => 'string', + 'is_currently_selected' => 'bool', + 'type' => 'string', + 'user_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PrivateComputationEnvironmentFields.php b/src/FacebookAds/Object/Fields/PrivateComputationEnvironmentFields.php new file mode 100644 index 000000000..69d140471 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PrivateComputationEnvironmentFields.php @@ -0,0 +1,42 @@ + 'string', + 'publisher_pce_deployment_status' => 'int', + 'publisher_pce_id' => 'string', + 'publisher_region' => 'string', + 'publisher_vpc_id' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogExampleFeedFields.php b/src/FacebookAds/Object/Fields/ProductCatalogExampleFeedFields.php new file mode 100644 index 000000000..e790ebbde --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogExampleFeedFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogFacetsFields.php b/src/FacebookAds/Object/Fields/ProductCatalogFacetsFields.php new file mode 100644 index 000000000..670877a3a --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogFacetsFields.php @@ -0,0 +1,34 @@ + 'list>>', + 'item_count' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogImageSettingsInternalFields.php b/src/FacebookAds/Object/Fields/ProductCatalogImageSettingsInternalFields.php new file mode 100644 index 000000000..cf772d77b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogImageSettingsInternalFields.php @@ -0,0 +1,36 @@ + 'ProductCatalogImageSettingsOperation', + 'shops_pdp' => 'ProductCatalogImageSettingsOperation', + 'single_ad' => 'ProductCatalogImageSettingsOperation', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogLocalizationSettingsFields.php b/src/FacebookAds/Object/Fields/ProductCatalogLocalizationSettingsFields.php new file mode 100644 index 000000000..23bc0ff61 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogLocalizationSettingsFields.php @@ -0,0 +1,36 @@ + 'string', + 'default_language' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogMicrodataStatsPixelInfoFields.php b/src/FacebookAds/Object/Fields/ProductCatalogMicrodataStatsPixelInfoFields.php new file mode 100644 index 000000000..b520d4523 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogMicrodataStatsPixelInfoFields.php @@ -0,0 +1,34 @@ + 'bool', + 'pixel_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogUserActionsFields.php b/src/FacebookAds/Object/Fields/ProductCatalogUserActionsFields.php new file mode 100644 index 000000000..0ab297caf --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogUserActionsFields.php @@ -0,0 +1,32 @@ + 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php b/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php new file mode 100644 index 000000000..8da9021f6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogUserPermissionsFields.php @@ -0,0 +1,50 @@ + 'Business', + 'business_persona' => 'Object', + 'created_by' => 'User', + 'created_time' => 'datetime', + 'email' => 'string', + 'role' => 'string', + 'status' => 'string', + 'updated_by' => 'User', + 'updated_time' => 'datetime', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductCatalogUserTasksFields.php b/src/FacebookAds/Object/Fields/ProductCatalogUserTasksFields.php new file mode 100644 index 000000000..a1e0df771 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductCatalogUserTasksFields.php @@ -0,0 +1,34 @@ + 'Business', + 'tasks' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductDaEventSamplesBatchFields.php b/src/FacebookAds/Object/Fields/ProductDaEventSamplesBatchFields.php new file mode 100644 index 000000000..aa239b27b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductDaEventSamplesBatchFields.php @@ -0,0 +1,36 @@ + 'list', + 'time_start' => 'unsigned int', + 'time_stop' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php b/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php new file mode 100644 index 000000000..32271d3ad --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductFeedRulePreviewSampleFields.php @@ -0,0 +1,34 @@ + 'list>', + 'properties_before' => 'list>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductFeedUploadProgressFields.php b/src/FacebookAds/Object/Fields/ProductFeedUploadProgressFields.php new file mode 100644 index 000000000..4447d47eb --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductFeedUploadProgressFields.php @@ -0,0 +1,40 @@ + 'int', + 'size' => 'int', + 'step' => 'string', + 'unit' => 'string', + 'updated_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemFields.php b/src/FacebookAds/Object/Fields/ProductItemFields.php index 842b7bd66..50f6a4a0d 100644 --- a/src/FacebookAds/Object/Fields/ProductItemFields.php +++ b/src/FacebookAds/Object/Fields/ProductItemFields.php @@ -159,7 +159,7 @@ public function getFieldTypes() { 'images' => 'list', 'importer_address' => 'ProductItemImporterAddress', 'importer_name' => 'string', - 'invalidation_errors' => 'list', + 'invalidation_errors' => 'list', 'inventory' => 'int', 'manufacturer_info' => 'string', 'manufacturer_part_number' => 'string', diff --git a/src/FacebookAds/Object/Fields/ProductItemInsightsFields.php b/src/FacebookAds/Object/Fields/ProductItemInsightsFields.php new file mode 100644 index 000000000..d7a9f14a8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemInsightsFields.php @@ -0,0 +1,40 @@ + 'int', + 'ad_impression_count' => 'int', + 'add_to_cart_count' => 'int', + 'purchase_count' => 'int', + 'view_content_count' => 'int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemInvalidationErrorFields.php b/src/FacebookAds/Object/Fields/ProductItemInvalidationErrorFields.php new file mode 100644 index 000000000..5f52ed03d --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemInvalidationErrorFields.php @@ -0,0 +1,30 @@ + 'Availability', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemOfferFields.php b/src/FacebookAds/Object/Fields/ProductItemOfferFields.php new file mode 100644 index 000000000..7903638bd --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemOfferFields.php @@ -0,0 +1,36 @@ + 'list', + 'availability_radius' => 'float', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemShippingFields.php b/src/FacebookAds/Object/Fields/ProductItemShippingFields.php new file mode 100644 index 000000000..e9683cdba --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemShippingFields.php @@ -0,0 +1,40 @@ + 'string', + 'shipping_price_currency' => 'string', + 'shipping_price_value' => 'float', + 'shipping_region' => 'string', + 'shipping_service' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemSubscriptionInfoFields.php b/src/FacebookAds/Object/Fields/ProductItemSubscriptionInfoFields.php new file mode 100644 index 000000000..b7da7e32f --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemSubscriptionInfoFields.php @@ -0,0 +1,36 @@ + 'bool', + 'subscription_billing_period' => 'unsigned int', + 'subscription_billing_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductItemUnitPriceFields.php b/src/FacebookAds/Object/Fields/ProductItemUnitPriceFields.php new file mode 100644 index 000000000..bf41de32b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductItemUnitPriceFields.php @@ -0,0 +1,30 @@ + 'int', + 'category_name' => 'string', + 'image_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductSetUsageFields.php b/src/FacebookAds/Object/Fields/ProductSetUsageFields.php new file mode 100644 index 000000000..edc26611b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductSetUsageFields.php @@ -0,0 +1,36 @@ + 'string', + 'product_set' => 'ProductSet', + 'usage_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ProductVisualVariantFields.php b/src/FacebookAds/Object/Fields/ProductVisualVariantFields.php new file mode 100644 index 000000000..c2fc6e27b --- /dev/null +++ b/src/FacebookAds/Object/Fields/ProductVisualVariantFields.php @@ -0,0 +1,34 @@ + 'list', + 'unique_key' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PublisherBlockListFields.php b/src/FacebookAds/Object/Fields/PublisherBlockListFields.php index 6bcdcbe70..8c8b54bed 100644 --- a/src/FacebookAds/Object/Fields/PublisherBlockListFields.php +++ b/src/FacebookAds/Object/Fields/PublisherBlockListFields.php @@ -35,7 +35,7 @@ class PublisherBlockListFields extends AbstractEnum { public function getFieldTypes() { return array( - 'app_publishers' => 'list', + 'app_publishers' => 'list', 'business_owner_id' => 'string', 'id' => 'string', 'is_auto_blocking_on' => 'bool', @@ -44,7 +44,7 @@ public function getFieldTypes() { 'last_update_user' => 'string', 'name' => 'string', 'owner_ad_account_id' => 'string', - 'web_publishers' => 'list', + 'web_publishers' => 'list', ); } } diff --git a/src/FacebookAds/Object/Fields/PublisherDeliveryReportFields.php b/src/FacebookAds/Object/Fields/PublisherDeliveryReportFields.php new file mode 100644 index 000000000..71f6ebe63 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PublisherDeliveryReportFields.php @@ -0,0 +1,40 @@ + 'list', + 'estimated_impressions' => 'unsigned int', + 'name' => 'string', + 'status' => 'string', + 'url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/PublisherWhiteListFields.php b/src/FacebookAds/Object/Fields/PublisherWhiteListFields.php new file mode 100644 index 000000000..a91876f58 --- /dev/null +++ b/src/FacebookAds/Object/Fields/PublisherWhiteListFields.php @@ -0,0 +1,42 @@ + 'string', + 'id' => 'string', + 'last_updated_time' => 'datetime', + 'last_updated_user' => 'string', + 'name' => 'string', + 'placement_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RecommendedIGMediaFields.php b/src/FacebookAds/Object/Fields/RecommendedIGMediaFields.php new file mode 100644 index 000000000..aa28c34c7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/RecommendedIGMediaFields.php @@ -0,0 +1,34 @@ + 'float', + 'media' => 'InstagramMedia', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RecommendedPagePostFields.php b/src/FacebookAds/Object/Fields/RecommendedPagePostFields.php new file mode 100644 index 000000000..153dfb88e --- /dev/null +++ b/src/FacebookAds/Object/Fields/RecommendedPagePostFields.php @@ -0,0 +1,36 @@ + 'float', + 'is_ig_media' => 'bool', + 'post_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RegionalRegulationIdentitiesFields.php b/src/FacebookAds/Object/Fields/RegionalRegulationIdentitiesFields.php new file mode 100644 index 000000000..d0631f9c7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/RegionalRegulationIdentitiesFields.php @@ -0,0 +1,34 @@ + 'string', + 'taiwan_finserv_payer' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ReportingAudienceFields.php b/src/FacebookAds/Object/Fields/ReportingAudienceFields.php new file mode 100644 index 000000000..7f40444b1 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ReportingAudienceFields.php @@ -0,0 +1,36 @@ + 'list', + 'custom_audiences_url_param_name' => 'string', + 'custom_audiences_url_param_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php b/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php new file mode 100644 index 000000000..0f3b30a97 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ResearchPollStudyFields.php @@ -0,0 +1,36 @@ + 'AdAccount', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ResellerGuidanceFields.php b/src/FacebookAds/Object/Fields/ResellerGuidanceFields.php new file mode 100644 index 000000000..802a681fd --- /dev/null +++ b/src/FacebookAds/Object/Fields/ResellerGuidanceFields.php @@ -0,0 +1,64 @@ + 'string', + 'ad_account_id' => 'string', + 'adopted_guidance_l7d' => 'list', + 'advertiser_name' => 'string', + 'attributed_to_reseller_l7d' => 'bool', + 'available_guidance' => 'list', + 'benchmark_report_link' => 'string', + 'guidance_adoption_rate_l7d' => 'float', + 'no_adsets_gte_benchmark' => 'int', + 'no_adsets_lt_benchmark' => 'int', + 'nurtured_by_reseller_l7d' => 'bool', + 'planning_agency_name' => 'string', + 'recommendation_time' => 'datetime', + 'reporting_ds' => 'string', + 'reseller' => 'Business', + 'revenue_l30d' => 'float', + 'ultimate_advertiser_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RightsManagerDataExportFields.php b/src/FacebookAds/Object/Fields/RightsManagerDataExportFields.php new file mode 100644 index 000000000..9959305dc --- /dev/null +++ b/src/FacebookAds/Object/Fields/RightsManagerDataExportFields.php @@ -0,0 +1,44 @@ + 'string', + 'export_scope' => 'string', + 'id' => 'string', + 'name' => 'string', + 'record_type' => 'string', + 'time_range_end' => 'datetime', + 'time_range_start' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RightsManagerInsightsFields.php b/src/FacebookAds/Object/Fields/RightsManagerInsightsFields.php new file mode 100644 index 000000000..ea39ffa25 --- /dev/null +++ b/src/FacebookAds/Object/Fields/RightsManagerInsightsFields.php @@ -0,0 +1,40 @@ + 'string', + 'error_message' => 'string', + 'metadata' => 'list>', + 'totals' => 'list>', + 'x_axis_breakdown' => 'list>>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/RobotFields.php b/src/FacebookAds/Object/Fields/RobotFields.php new file mode 100644 index 000000000..0681b45a3 --- /dev/null +++ b/src/FacebookAds/Object/Fields/RobotFields.php @@ -0,0 +1,54 @@ + 'list>', + 'configurations' => 'list>', + 'data_center' => 'string', + 'id' => 'string', + 'init_pos' => 'list>', + 'last_pos' => 'list>', + 'meetup_link_hash' => 'string', + 'suite' => 'string', + 'target_map_image_uri' => 'string', + 'target_os_image_uri' => 'string', + 'target_sw_image_uri' => 'string', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SalesRightsInventoryManagementFields.php b/src/FacebookAds/Object/Fields/SalesRightsInventoryManagementFields.php new file mode 100644 index 000000000..230d316c6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/SalesRightsInventoryManagementFields.php @@ -0,0 +1,44 @@ + 'int', + 'booked_impressions' => 'int', + 'overbooked_impressions' => 'int', + 'supported_countries' => 'list', + 'total_impressions' => 'int', + 'unavailable_impressions' => 'int', + 'warning_messages' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ScheduledPostFields.php b/src/FacebookAds/Object/Fields/ScheduledPostFields.php new file mode 100644 index 000000000..07a6018f2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ScheduledPostFields.php @@ -0,0 +1,64 @@ + 'User', + 'creation_time' => 'datetime', + 'feed_audience_description' => 'string', + 'feed_targeting' => 'Targeting', + 'id' => 'string', + 'is_post_in_good_state' => 'bool', + 'message' => 'string', + 'modified_time' => 'datetime', + 'og_action_summary' => 'string', + 'permalink_url' => 'string', + 'place' => 'Place', + 'privacy_description' => 'string', + 'scheduled_failure_notice' => 'string', + 'scheduled_publish_time' => 'datetime', + 'story_token' => 'string', + 'thumbnail' => 'string', + 'video_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ScimCompanyUserPhoneNumberFields.php b/src/FacebookAds/Object/Fields/ScimCompanyUserPhoneNumberFields.php new file mode 100644 index 000000000..d9713ddce --- /dev/null +++ b/src/FacebookAds/Object/Fields/ScimCompanyUserPhoneNumberFields.php @@ -0,0 +1,36 @@ + 'string', + 'primary' => 'bool', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ShadowIGMediaBoostedInsightsResultFields.php b/src/FacebookAds/Object/Fields/ShadowIGMediaBoostedInsightsResultFields.php new file mode 100644 index 000000000..6deba6be8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ShadowIGMediaBoostedInsightsResultFields.php @@ -0,0 +1,42 @@ + 'string', + 'name' => 'string', + 'organic_media_id' => 'string', + 'source_type' => 'string', + 'title' => 'string', + 'values' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ShadowIGMediaBuilderFields.php b/src/FacebookAds/Object/Fields/ShadowIGMediaBuilderFields.php index 02acf25bc..6a56a6188 100644 --- a/src/FacebookAds/Object/Fields/ShadowIGMediaBuilderFields.php +++ b/src/FacebookAds/Object/Fields/ShadowIGMediaBuilderFields.php @@ -26,6 +26,7 @@ class ShadowIGMediaBuilderFields extends AbstractEnum { const ID = 'id'; const STATUS = 'status'; const STATUS_CODE = 'status_code'; + const VIDEO_STATUS = 'video_status'; public function getFieldTypes() { return array( @@ -33,6 +34,7 @@ public function getFieldTypes() { 'id' => 'string', 'status' => 'string', 'status_code' => 'string', + 'video_status' => 'IGResumableVideoUploadStatus', ); } } diff --git a/src/FacebookAds/Object/Fields/SignalsIWLExtractorFields.php b/src/FacebookAds/Object/Fields/SignalsIWLExtractorFields.php new file mode 100644 index 000000000..740b33c97 --- /dev/null +++ b/src/FacebookAds/Object/Fields/SignalsIWLExtractorFields.php @@ -0,0 +1,38 @@ + 'string', + 'event_type' => 'string', + 'extractor_type' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SingleOwnerAdditionalProfileFields.php b/src/FacebookAds/Object/Fields/SingleOwnerAdditionalProfileFields.php new file mode 100644 index 000000000..273852476 --- /dev/null +++ b/src/FacebookAds/Object/Fields/SingleOwnerAdditionalProfileFields.php @@ -0,0 +1,36 @@ + 'string', + 'name' => 'string', + 'user_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SiteLinkFields.php b/src/FacebookAds/Object/Fields/SiteLinkFields.php new file mode 100644 index 000000000..f00e8f9d2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/SiteLinkFields.php @@ -0,0 +1,40 @@ + 'string', + 'link_image_hash' => 'string', + 'link_title' => 'string', + 'link_type' => 'string', + 'link_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SlicedEventSourceGroupFields.php b/src/FacebookAds/Object/Fields/SlicedEventSourceGroupFields.php new file mode 100644 index 000000000..ae74cf9bb --- /dev/null +++ b/src/FacebookAds/Object/Fields/SlicedEventSourceGroupFields.php @@ -0,0 +1,38 @@ + 'EventSourceGroup', + 'filter' => 'string', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SmartPixelInsightsFields.php b/src/FacebookAds/Object/Fields/SmartPixelInsightsFields.php new file mode 100644 index 000000000..3d9dadcfb --- /dev/null +++ b/src/FacebookAds/Object/Fields/SmartPixelInsightsFields.php @@ -0,0 +1,34 @@ + 'string', + 'stats' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SocialWifiSiteFields.php b/src/FacebookAds/Object/Fields/SocialWifiSiteFields.php new file mode 100644 index 000000000..356dd704e --- /dev/null +++ b/src/FacebookAds/Object/Fields/SocialWifiSiteFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/SplitTestConfigFields.php b/src/FacebookAds/Object/Fields/SplitTestConfigFields.php new file mode 100644 index 000000000..8756146a5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/SplitTestConfigFields.php @@ -0,0 +1,44 @@ + 'int', + 'early_winner_declaration_enabled' => 'bool', + 'end_time' => 'datetime', + 'splits' => 'list', + 'start_time' => 'datetime', + 'test_variable' => 'string', + 'id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/StatusFields.php b/src/FacebookAds/Object/Fields/StatusFields.php new file mode 100644 index 000000000..0169a3801 --- /dev/null +++ b/src/FacebookAds/Object/Fields/StatusFields.php @@ -0,0 +1,42 @@ + 'Event', + 'from' => 'Object', + 'id' => 'string', + 'message' => 'string', + 'place' => 'Place', + 'updated_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/StreamFilterFields.php b/src/FacebookAds/Object/Fields/StreamFilterFields.php new file mode 100644 index 000000000..c0cc872d7 --- /dev/null +++ b/src/FacebookAds/Object/Fields/StreamFilterFields.php @@ -0,0 +1,36 @@ + 'string', + 'name' => 'string', + 'type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TaggableSubjectFields.php b/src/FacebookAds/Object/Fields/TaggableSubjectFields.php new file mode 100644 index 000000000..2645b73fd --- /dev/null +++ b/src/FacebookAds/Object/Fields/TaggableSubjectFields.php @@ -0,0 +1,34 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TargetingAutomationFields.php b/src/FacebookAds/Object/Fields/TargetingAutomationFields.php index 371e776da..af419c923 100644 --- a/src/FacebookAds/Object/Fields/TargetingAutomationFields.php +++ b/src/FacebookAds/Object/Fields/TargetingAutomationFields.php @@ -23,12 +23,14 @@ class TargetingAutomationFields extends AbstractEnum { const ADVANTAGE_AUDIENCE = 'advantage_audience'; + const INDIVIDUAL_SETTING = 'individual_setting'; const SHARED_AUDIENCES = 'shared_audiences'; const VALUE_EXPRESSION = 'value_expression'; public function getFieldTypes() { return array( 'advantage_audience' => 'unsigned int', + 'individual_setting' => 'Object', 'shared_audiences' => 'unsigned int', 'value_expression' => 'unsigned int', ); diff --git a/src/FacebookAds/Object/Fields/TargetingGeoLocationLocationExpansionFields.php b/src/FacebookAds/Object/Fields/TargetingGeoLocationLocationExpansionFields.php new file mode 100644 index 000000000..159d7c7a8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/TargetingGeoLocationLocationExpansionFields.php @@ -0,0 +1,34 @@ + 'bool', + 'intent' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TargetingMarketingMessageChannelsFields.php b/src/FacebookAds/Object/Fields/TargetingMarketingMessageChannelsFields.php new file mode 100644 index 000000000..932ddc755 --- /dev/null +++ b/src/FacebookAds/Object/Fields/TargetingMarketingMessageChannelsFields.php @@ -0,0 +1,32 @@ + 'IDName', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ThirdPartyMeasurementReportDatasetFields.php b/src/FacebookAds/Object/Fields/ThirdPartyMeasurementReportDatasetFields.php new file mode 100644 index 000000000..a003cdb02 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ThirdPartyMeasurementReportDatasetFields.php @@ -0,0 +1,40 @@ + 'string', + 'id' => 'string', + 'partner' => 'Business', + 'product' => 'string', + 'schema' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ThirdPartyPartnerLiftRequestFields.php b/src/FacebookAds/Object/Fields/ThirdPartyPartnerLiftRequestFields.php new file mode 100644 index 000000000..fa43041e8 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ThirdPartyPartnerLiftRequestFields.php @@ -0,0 +1,56 @@ + 'list', + 'country' => 'string', + 'created_time' => 'datetime', + 'description' => 'string', + 'holdout_size' => 'float', + 'id' => 'string', + 'modified_time' => 'datetime', + 'owner_instance_id' => 'string', + 'region' => 'string', + 'status' => 'Status', + 'study_cells' => 'list', + 'study_end_time' => 'datetime', + 'study_start_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelRequestFields.php b/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelRequestFields.php new file mode 100644 index 000000000..b603cff71 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelRequestFields.php @@ -0,0 +1,56 @@ + 'list', + 'country' => 'string', + 'created_time' => 'datetime', + 'description' => 'string', + 'id' => 'string', + 'modified_time' => 'datetime', + 'owner_instance_id' => 'string', + 'owner_panel_id' => 'string', + 'owner_panel_name' => 'string', + 'status' => 'Status', + 'study_end_time' => 'datetime', + 'study_start_time' => 'datetime', + 'study_type' => 'StudyType', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelScheduledFields.php b/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelScheduledFields.php new file mode 100644 index 000000000..75126709c --- /dev/null +++ b/src/FacebookAds/Object/Fields/ThirdPartyPartnerPanelScheduledFields.php @@ -0,0 +1,58 @@ + 'list', + 'cadence' => 'string', + 'country' => 'string', + 'created_time' => 'datetime', + 'description' => 'string', + 'end_time' => 'datetime', + 'id' => 'string', + 'modified_time' => 'datetime', + 'owner_instance_id' => 'string', + 'owner_panel_id' => 'string', + 'owner_panel_name' => 'string', + 'start_time' => 'datetime', + 'status' => 'Status', + 'study_type' => 'StudyType', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/ThirdPartyPartnerViewabilityRequestFields.php b/src/FacebookAds/Object/Fields/ThirdPartyPartnerViewabilityRequestFields.php new file mode 100644 index 000000000..29ae1f174 --- /dev/null +++ b/src/FacebookAds/Object/Fields/ThirdPartyPartnerViewabilityRequestFields.php @@ -0,0 +1,50 @@ + 'datetime', + 'description' => 'string', + 'hour' => 'datetime', + 'id' => 'string', + 'metric' => 'string', + 'modified_time' => 'datetime', + 'owner_instance_id' => 'string', + 'platform' => 'string', + 'status' => 'Status', + 'total_file_count' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TimeSuggestionFields.php b/src/FacebookAds/Object/Fields/TimeSuggestionFields.php new file mode 100644 index 000000000..e5474333d --- /dev/null +++ b/src/FacebookAds/Object/Fields/TimeSuggestionFields.php @@ -0,0 +1,34 @@ + 'list', + 'is_enabled' => 'bool', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TimezoneOffsetFields.php b/src/FacebookAds/Object/Fields/TimezoneOffsetFields.php new file mode 100644 index 000000000..d7f24c1cd --- /dev/null +++ b/src/FacebookAds/Object/Fields/TimezoneOffsetFields.php @@ -0,0 +1,40 @@ + 'string', + 'isdst' => 'bool', + 'offset' => 'int', + 'time' => 'string', + 'ts' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TransactableItemFields.php b/src/FacebookAds/Object/Fields/TransactableItemFields.php new file mode 100644 index 000000000..415038316 --- /dev/null +++ b/src/FacebookAds/Object/Fields/TransactableItemFields.php @@ -0,0 +1,70 @@ + 'string', + 'applinks' => 'CatalogItemAppLinks', + 'category_specific_fields' => 'CatalogSubVerticalList', + 'currency' => 'string', + 'description' => 'string', + 'duration_time' => 'unsigned int', + 'duration_type' => 'string', + 'id' => 'string', + 'image_fetch_status' => 'ImageFetchStatus', + 'images' => 'list', + 'order_index' => 'unsigned int', + 'price' => 'string', + 'price_type' => 'string', + 'sanitized_images' => 'list', + 'session_type' => 'string', + 'time_padding_after_end' => 'unsigned int', + 'title' => 'string', + 'transactable_item_id' => 'string', + 'url' => 'string', + 'visibility' => 'Visibility', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/TransactionFields.php b/src/FacebookAds/Object/Fields/TransactionFields.php new file mode 100644 index 000000000..66f893ff5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/TransactionFields.php @@ -0,0 +1,74 @@ + 'string', + 'app_amount' => 'Object', + 'billing_end_time' => 'unsigned int', + 'billing_reason' => 'string', + 'billing_start_time' => 'unsigned int', + 'card_charge_mode' => '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', + 'vat_invoice_id' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php b/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php new file mode 100644 index 000000000..91253e888 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UniqueAdCreativeFields.php @@ -0,0 +1,34 @@ + 'AdCreative', + 'visual_hash' => 'unsigned int', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserContextFields.php b/src/FacebookAds/Object/Fields/UserContextFields.php new file mode 100644 index 000000000..52a935bb5 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserContextFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserFields.php b/src/FacebookAds/Object/Fields/UserFields.php index 59a042f91..1e306b2c4 100644 --- a/src/FacebookAds/Object/Fields/UserFields.php +++ b/src/FacebookAds/Object/Fields/UserFields.php @@ -81,7 +81,7 @@ public function getFieldTypes() { 'community' => 'Group', 'cover' => 'UserCoverPhoto', 'currency' => 'Currency', - 'education' => 'list', + 'education' => 'list', 'email' => 'string', 'favorite_athletes' => 'list', 'favorite_teams' => 'list', diff --git a/src/FacebookAds/Object/Fields/UserMobileConfigFields.php b/src/FacebookAds/Object/Fields/UserMobileConfigFields.php new file mode 100644 index 000000000..d6b55a054 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserMobileConfigFields.php @@ -0,0 +1,34 @@ + 'string', + 'value' => 'Object', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserNotificationSeenStateDataFields.php b/src/FacebookAds/Object/Fields/UserNotificationSeenStateDataFields.php new file mode 100644 index 000000000..5978ae8e2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserNotificationSeenStateDataFields.php @@ -0,0 +1,34 @@ + 'string', + 'seen_state' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserPaymentMethodsInfoFields.php b/src/FacebookAds/Object/Fields/UserPaymentMethodsInfoFields.php new file mode 100644 index 000000000..ed7fb8e30 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserPaymentMethodsInfoFields.php @@ -0,0 +1,44 @@ + 'string', + 'available_card_types' => 'list', + 'available_payment_methods' => 'list', + 'available_payment_methods_details' => 'list', + 'country' => 'string', + 'currency' => 'string', + 'existing_payment_methods' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserPaymentModulesOptionsFields.php b/src/FacebookAds/Object/Fields/UserPaymentModulesOptionsFields.php new file mode 100644 index 000000000..d036d9aa2 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserPaymentModulesOptionsFields.php @@ -0,0 +1,38 @@ + 'string', + 'available_payment_options' => 'list', + 'country' => 'string', + 'currency' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/UserSetReportingRootFields.php b/src/FacebookAds/Object/Fields/UserSetReportingRootFields.php new file mode 100644 index 000000000..7fcfae9c9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/UserSetReportingRootFields.php @@ -0,0 +1,36 @@ + 'datetime', + 'id' => 'string', + 'last_modified_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/VideoAssetFields.php b/src/FacebookAds/Object/Fields/VideoAssetFields.php new file mode 100644 index 000000000..697b0d263 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoAssetFields.php @@ -0,0 +1,122 @@ + 'string', + 'broadcast_planned_start_time' => 'datetime', + 'can_viewer_edit' => 'bool', + 'copyright_monitoring_status' => 'string', + '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', + 'premiere_living_room_status' => 'string', + 'published' => 'bool', + 'scheduled_publish_time' => 'datetime', + 'secret' => 'bool', + 'secure_stream_url' => 'string', + 'social_actions' => 'bool', + 'status' => 'VideoStatus', + '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 new file mode 100644 index 000000000..a5f7fb082 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoCopyrightMatchFields.php @@ -0,0 +1,44 @@ + 'datetime', + 'id' => 'string', + 'last_modified_user' => 'User', + '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 new file mode 100644 index 000000000..71d110dfb --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoGroupFields.php @@ -0,0 +1,64 @@ + 'string', + 'description' => 'string', + 'disable_reason' => '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 new file mode 100644 index 000000000..204718892 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoMetricsReportFields.php @@ -0,0 +1,52 @@ + '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/VideoStatsFields.php b/src/FacebookAds/Object/Fields/VideoStatsFields.php new file mode 100644 index 000000000..3c0b7d733 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoStatsFields.php @@ -0,0 +1,42 @@ + 'list>', + 'error' => 'string', + 'metadata' => 'list>', + 'time_series' => 'list>>', + 'totals' => 'list>', + 'x_axis_breakdown' => 'list>>', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/VideoTextQuestionFields.php b/src/FacebookAds/Object/Fields/VideoTextQuestionFields.php new file mode 100644 index 000000000..ba843cd77 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VideoTextQuestionFields.php @@ -0,0 +1,38 @@ + 'string', + 'question_target_id' => 'string', + 'question_text' => 'string', + 'status' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/VidwallaBroadcastFields.php b/src/FacebookAds/Object/Fields/VidwallaBroadcastFields.php new file mode 100644 index 000000000..598201ad0 --- /dev/null +++ b/src/FacebookAds/Object/Fields/VidwallaBroadcastFields.php @@ -0,0 +1,34 @@ + 'string', + 'overlay_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WITUserFields.php b/src/FacebookAds/Object/Fields/WITUserFields.php new file mode 100644 index 000000000..36da45d2e --- /dev/null +++ b/src/FacebookAds/Object/Fields/WITUserFields.php @@ -0,0 +1,36 @@ + 'string', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WearableDevicePublicKeyFields.php b/src/FacebookAds/Object/Fields/WearableDevicePublicKeyFields.php new file mode 100644 index 000000000..95d01005d --- /dev/null +++ b/src/FacebookAds/Object/Fields/WearableDevicePublicKeyFields.php @@ -0,0 +1,46 @@ + 'string', + 'creation_time_on_device' => 'datetime', + 'device_uuid' => 'string', + 'id' => 'string', + 'key_type' => 'string', + 'owner_id' => 'string', + 'product_use_case' => 'string', + 'version' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WebPublisherFields.php b/src/FacebookAds/Object/Fields/WebPublisherFields.php new file mode 100644 index 000000000..a8b02ad55 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WebPublisherFields.php @@ -0,0 +1,36 @@ + 'string', + 'id' => 'string', + 'publisher_name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSourceFields.php b/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSourceFields.php new file mode 100644 index 000000000..b8c09aab9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSourceFields.php @@ -0,0 +1,34 @@ + 'string', + 'source_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSuggestionsFields.php b/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSuggestionsFields.php new file mode 100644 index 000000000..53bb405bc --- /dev/null +++ b/src/FacebookAds/Object/Fields/WebsiteCreativeAssetSuggestionsFields.php @@ -0,0 +1,38 @@ + 'string', + 'extraction_status' => 'string', + 'id' => 'string', + 'link_url' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php b/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php index da98c1b39..41e511c1b 100644 --- a/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php +++ b/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php @@ -24,6 +24,7 @@ class WhatsAppBusinessAccountFields extends AbstractEnum { const ACCOUNT_REVIEW_STATUS = 'account_review_status'; const ANALYTICS = 'analytics'; + const AUTH_INTERNATIONAL_RATE_ELIGIBILITY = 'auth_international_rate_eligibility'; const BUSINESS_VERIFICATION_STATUS = 'business_verification_status'; const COUNTRY = 'country'; const CREATION_TIME = 'creation_time'; @@ -38,6 +39,7 @@ class WhatsAppBusinessAccountFields extends AbstractEnum { const OWNER_BUSINESS = 'owner_business'; const OWNER_BUSINESS_INFO = 'owner_business_info'; const OWNERSHIP_TYPE = 'ownership_type'; + const PRIMARY_BUSINESS_LOCATION = 'primary_business_location'; const PRIMARY_FUNDING_ID = 'primary_funding_id'; const PURCHASE_ORDER_NUMBER = 'purchase_order_number'; const STATUS = 'status'; @@ -47,6 +49,7 @@ public function getFieldTypes() { return array( 'account_review_status' => 'string', 'analytics' => 'Object', + 'auth_international_rate_eligibility' => 'Object', 'business_verification_status' => 'string', 'country' => 'string', 'creation_time' => 'int', @@ -61,6 +64,7 @@ public function getFieldTypes() { 'owner_business' => 'Business', 'owner_business_info' => 'Object', 'ownership_type' => 'string', + 'primary_business_location' => 'string', 'primary_funding_id' => 'string', 'purchase_order_number' => 'string', 'status' => 'string', diff --git a/src/FacebookAds/Object/Fields/WhatsAppPaymentCapabilitiesFields.php b/src/FacebookAds/Object/Fields/WhatsAppPaymentCapabilitiesFields.php new file mode 100644 index 000000000..62b4ab428 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WhatsAppPaymentCapabilitiesFields.php @@ -0,0 +1,34 @@ + 'bool', + 'payment_capability_details' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WhatsappSubscribedAppsInfoFields.php b/src/FacebookAds/Object/Fields/WhatsappSubscribedAppsInfoFields.php new file mode 100644 index 000000000..daa1bec55 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WhatsappSubscribedAppsInfoFields.php @@ -0,0 +1,34 @@ + 'string', + 'subscribed_apps' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WhitehatFBDLRunFields.php b/src/FacebookAds/Object/Fields/WhitehatFBDLRunFields.php new file mode 100644 index 000000000..14dfe5ea6 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WhitehatFBDLRunFields.php @@ -0,0 +1,46 @@ + 'datetime', + 'id' => 'string', + 'is_pinned' => 'bool', + 'note' => 'string', + 'result' => 'list>', + 'run_code' => 'string', + 'status' => 'string', + 'user_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WifiInformationFields.php b/src/FacebookAds/Object/Fields/WifiInformationFields.php new file mode 100644 index 000000000..c27979888 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WifiInformationFields.php @@ -0,0 +1,36 @@ + 'string', + 'name' => 'string', + 'network_access_type' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WithAsset3DFields.php b/src/FacebookAds/Object/Fields/WithAsset3DFields.php new file mode 100644 index 000000000..d3d92d963 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WithAsset3DFields.php @@ -0,0 +1,32 @@ + 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WoodhengeSupporterFields.php b/src/FacebookAds/Object/Fields/WoodhengeSupporterFields.php new file mode 100644 index 000000000..781ff093c --- /dev/null +++ b/src/FacebookAds/Object/Fields/WoodhengeSupporterFields.php @@ -0,0 +1,42 @@ + 'datetime', + 'id' => 'string', + 'is_gifted_subscription' => 'bool', + 'most_recent_subscription_time' => 'datetime', + 'number_of_months_subscribed' => 'unsigned int', + 'user' => 'User', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WorkAccessCodeFields.php b/src/FacebookAds/Object/Fields/WorkAccessCodeFields.php new file mode 100644 index 000000000..4430e9665 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WorkAccessCodeFields.php @@ -0,0 +1,34 @@ + 'string', + 'expiration_time' => 'datetime', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WorkExperienceFields.php b/src/FacebookAds/Object/Fields/WorkExperienceFields.php new file mode 100644 index 000000000..f628ea7a9 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WorkExperienceFields.php @@ -0,0 +1,50 @@ + 'string', + 'employer' => 'Page', + 'end_date' => 'string', + 'from' => 'User', + 'id' => 'string', + 'location' => 'Page', + 'position' => 'Page', + 'projects' => 'list', + 'start_date' => 'string', + 'with' => 'list', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WorkSkillFields.php b/src/FacebookAds/Object/Fields/WorkSkillFields.php new file mode 100644 index 000000000..fc3a4a365 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WorkSkillFields.php @@ -0,0 +1,34 @@ + 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/Fields/WorkUserBadgesFields.php b/src/FacebookAds/Object/Fields/WorkUserBadgesFields.php new file mode 100644 index 000000000..55690ee04 --- /dev/null +++ b/src/FacebookAds/Object/Fields/WorkUserBadgesFields.php @@ -0,0 +1,40 @@ + 'string', + 'description' => 'string', + 'icon' => 'string', + 'id' => 'string', + 'name' => 'string', + ); + } +} diff --git a/src/FacebookAds/Object/FinanceObject.php b/src/FacebookAds/Object/FinanceObject.php new file mode 100644 index 000000000..05ec637ce --- /dev/null +++ b/src/FacebookAds/Object/FinanceObject.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/FranchiseProgram.php b/src/FacebookAds/Object/FranchiseProgram.php new file mode 100644 index 000000000..66ac22008 --- /dev/null +++ b/src/FacebookAds/Object/FranchiseProgram.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new FranchiseProgram(), + 'NODE', + FranchiseProgram::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/FranchiseProgramMember.php b/src/FacebookAds/Object/FranchiseProgramMember.php new file mode 100644 index 000000000..3ee674d48 --- /dev/null +++ b/src/FacebookAds/Object/FranchiseProgramMember.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new FranchiseProgramMember(), + 'NODE', + FranchiseProgramMember::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 new file mode 100644 index 000000000..125ef1460 --- /dev/null +++ b/src/FacebookAds/Object/GenericVideoAsset.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new GeoGatingPolicy(), + 'NODE', + GeoGatingPolicy::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/Group.php b/src/FacebookAds/Object/Group.php index 8cd862cd4..af2b3e65b 100644 --- a/src/FacebookAds/Object/Group.php +++ b/src/FacebookAds/Object/Group.php @@ -72,7 +72,7 @@ protected static function getReferencedEnums() { } - public function deleteAdmins(array $fields = array(), array $params = array(), $pending = false) { + public function deleteAdMIns(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -96,7 +96,7 @@ public function deleteAdmins(array $fields = array(), array $params = array(), $ return $pending ? $request : $request->execute(); } - public function createAdmin(array $fields = array(), array $params = array(), $pending = false) { + public function createAdMIn(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -258,7 +258,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe $param_types = array( 'actions' => 'Object', - 'adaptive_type' => 'string', 'album_id' => 'string', 'android_key_hash' => 'string', 'animated_effect_id' => 'unsigned int', @@ -343,7 +342,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe 'publish_event_id' => 'unsigned int', 'published' => 'bool', 'quote' => 'string', - 'react_mode_metadata' => 'string', 'ref' => 'list', 'referenceable_image_ids' => 'list', 'referral_id' => 'string', @@ -760,7 +758,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p $this->assureId(); $param_types = array( - 'adaptive_type' => 'string', 'animated_effect_id' => 'unsigned int', 'application_id' => 'string', 'asked_fun_fact_prompt_id' => 'unsigned int', @@ -809,7 +806,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p 'original_projection_type' => 'original_projection_type_enum', 'publish_event_id' => 'unsigned int', 'published' => 'bool', - 'react_mode_metadata' => 'string', 'referenced_sticker_id' => 'string', 'replace_video_id' => 'string', 'scheduled_publish_time' => 'unsigned int', diff --git a/src/FacebookAds/Object/HomeListing.php b/src/FacebookAds/Object/HomeListing.php index 01c8552d1..522c3e853 100644 --- a/src/FacebookAds/Object/HomeListing.php +++ b/src/FacebookAds/Object/HomeListing.php @@ -63,9 +63,9 @@ public function getAugmentedRealitiesMetadata(array $fields = array(), array $pa $this->data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/Hotel.php b/src/FacebookAds/Object/Hotel.php index 8efa107a9..2a34b9df4 100644 --- a/src/FacebookAds/Object/Hotel.php +++ b/src/FacebookAds/Object/Hotel.php @@ -63,9 +63,9 @@ public function getAugmentedRealitiesMetadata(array $fields = array(), array $pa $this->data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/Hours.php b/src/FacebookAds/Object/Hours.php new file mode 100644 index 000000000..b027269e4 --- /dev/null +++ b/src/FacebookAds/Object/Hours.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new Hours(), + 'NODE', + Hours::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGAccessTokenForIGOnlyAPI.php b/src/FacebookAds/Object/IGAccessTokenForIGOnlyAPI.php new file mode 100644 index 000000000..0aaa0a0ba --- /dev/null +++ b/src/FacebookAds/Object/IGAccessTokenForIGOnlyAPI.php @@ -0,0 +1,68 @@ +assureId(); + + $param_types = array( + 'access_token' => 'string', + 'client_secret' => 'string', + 'grant_type' => 'string', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new IGAccessTokenForIGOnlyAPI(), + 'NODE', + IGAccessTokenForIGOnlyAPI::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGBoostMediaAd.php b/src/FacebookAds/Object/IGBoostMediaAd.php new file mode 100644 index 000000000..b1d7cdb16 --- /dev/null +++ b/src/FacebookAds/Object/IGBoostMediaAd.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new IGBoostMediaAd(), + 'NODE', + IGBoostMediaAd::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGMedia.php b/src/FacebookAds/Object/IGMedia.php index b724c0ac9..cbd6d5e46 100644 --- a/src/FacebookAds/Object/IGMedia.php +++ b/src/FacebookAds/Object/IGMedia.php @@ -42,6 +42,29 @@ protected static function getReferencedEnums() { } + public function getBoostAdsList(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, + '/boost_ads_list', + new IGBoostMediaAd(), + 'EDGE', + IGBoostMediaAd::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function getBrandedContentPartnerPromote(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); diff --git a/src/FacebookAds/Object/IGMediaBoostEligibilityInfo.php b/src/FacebookAds/Object/IGMediaBoostEligibilityInfo.php new file mode 100644 index 000000000..704fd7793 --- /dev/null +++ b/src/FacebookAds/Object/IGMediaBoostEligibilityInfo.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new IGMediaBoostEligibilityInfo(), + 'NODE', + IGMediaBoostEligibilityInfo::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGMediaForIGOnlyAPI.php b/src/FacebookAds/Object/IGMediaForIGOnlyAPI.php new file mode 100644 index 000000000..2c779a5ed --- /dev/null +++ b/src/FacebookAds/Object/IGMediaForIGOnlyAPI.php @@ -0,0 +1,88 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/children', + 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 IGMediaForIGOnlyAPI(), + 'NODE', + IGMediaForIGOnlyAPI::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGProductTaggingInvalidationError.php b/src/FacebookAds/Object/IGProductTaggingInvalidationError.php new file mode 100644 index 000000000..e9e125d30 --- /dev/null +++ b/src/FacebookAds/Object/IGProductTaggingInvalidationError.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + 'access_token' => 'string', + 'grant_type' => 'string', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new IGRefreshAccessTokenForIGOnlyAPI(), + 'NODE', + IGRefreshAccessTokenForIGOnlyAPI::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/IGResumableVideoUploadStatus.php b/src/FacebookAds/Object/IGResumableVideoUploadStatus.php new file mode 100644 index 000000000..e319c55b3 --- /dev/null +++ b/src/FacebookAds/Object/IGResumableVideoUploadStatus.php @@ -0,0 +1,42 @@ + 'string', + 'creator_instagram_username' => 'string', 'revoke' => 'bool', ); $enums = array( @@ -262,7 +263,7 @@ public function getContentPublishingLimit(array $fields = array(), array $params return $pending ? $request : $request->execute(); } - public function getDataset(array $fields = array(), array $params = array(), $pending = false) { + public function getDataSet(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -275,9 +276,32 @@ public function getDataset(array $fields = array(), array $params = array(), $pe $this->data['id'], RequestInterface::METHOD_GET, '/dataset', - new Dataset(), + new AdsPixel(), 'EDGE', - Dataset::getFieldsEnum()->getValues(), + AdsPixel::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function createDataSet(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_POST, + '/dataset', + new AdsPixel(), + 'EDGE', + AdsPixel::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/IGUserForIGOnlyAPI.php b/src/FacebookAds/Object/IGUserForIGOnlyAPI.php new file mode 100644 index 000000000..fd040a135 --- /dev/null +++ b/src/FacebookAds/Object/IGUserForIGOnlyAPI.php @@ -0,0 +1,136 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/live_media', + new AbstractCrudObject(), + 'EDGE', + array(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getMedia(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'since' => 'datetime', + 'until' => 'datetime', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/media', + new AbstractCrudObject(), + 'EDGE', + array(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getStories(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, + '/stories', + 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 IGUserForIGOnlyAPI(), + 'NODE', + IGUserForIGOnlyAPI::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 new file mode 100644 index 000000000..33fa2bcec --- /dev/null +++ b/src/FacebookAds/Object/IPObject.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ImageCopyrightDispute(), + 'NODE', + ImageCopyrightDispute::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ImageReferenceMatch.php b/src/FacebookAds/Object/ImageReferenceMatch.php new file mode 100644 index 000000000..223104424 --- /dev/null +++ b/src/FacebookAds/Object/ImageReferenceMatch.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ImageReferenceMatch(), + 'NODE', + ImageReferenceMatch::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/InsightsResult.php b/src/FacebookAds/Object/InsightsResult.php index 2bc4e4847..7a6e967f9 100644 --- a/src/FacebookAds/Object/InsightsResult.php +++ b/src/FacebookAds/Object/InsightsResult.php @@ -15,6 +15,7 @@ use FacebookAds\TypeChecker; use FacebookAds\Object\Fields\InsightsResultFields; use FacebookAds\Object\Values\InsightsResultDatePresetValues; +use FacebookAds\Object\Values\InsightsResultMetricValues; use FacebookAds\Object\Values\InsightsResultPeriodValues; /** @@ -39,6 +40,7 @@ protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['DatePreset'] = InsightsResultDatePresetValues::getInstance()->getValues(); $ref_enums['Period'] = InsightsResultPeriodValues::getInstance()->getValues(); + $ref_enums['Metric'] = InsightsResultMetricValues::getInstance()->getValues(); return $ref_enums; } diff --git a/src/FacebookAds/Object/InstagramBoostableMediaForAccessToken.php b/src/FacebookAds/Object/InstagramBoostableMediaForAccessToken.php new file mode 100644 index 000000000..aee710fb4 --- /dev/null +++ b/src/FacebookAds/Object/InstagramBoostableMediaForAccessToken.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/ar_effects', - new AbstractCrudObject(), + new AREffect(), 'EDGE', - array(), + AREffect::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/InstantArticleCTA.php b/src/FacebookAds/Object/InstantArticleCTA.php new file mode 100644 index 000000000..862b3c115 --- /dev/null +++ b/src/FacebookAds/Object/InstantArticleCTA.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new LeadGenDataDraft(), + 'NODE', + LeadGenDataDraft::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/LeadGenDirectCRMIntegrationConfig.php b/src/FacebookAds/Object/LeadGenDirectCRMIntegrationConfig.php new file mode 100644 index 000000000..cbfe18760 --- /dev/null +++ b/src/FacebookAds/Object/LeadGenDirectCRMIntegrationConfig.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new LeadGenDirectCRMIntegrationConfig(), + 'NODE', + LeadGenDirectCRMIntegrationConfig::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/LeadGenFormPreviewDetails.php b/src/FacebookAds/Object/LeadGenFormPreviewDetails.php new file mode 100644 index 000000000..57d8c21d7 --- /dev/null +++ b/src/FacebookAds/Object/LeadGenFormPreviewDetails.php @@ -0,0 +1,42 @@ +execute(); } - public function getCrosspostSharedPages(array $fields = array(), array $params = array(), $pending = false) { + public function getCrosspostShareDPages(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/LocationBasedItem.php b/src/FacebookAds/Object/LocationBasedItem.php new file mode 100644 index 000000000..f622949a3 --- /dev/null +++ b/src/FacebookAds/Object/LocationBasedItem.php @@ -0,0 +1,92 @@ +getValues(); + $ref_enums['Visibility'] = LocationBasedItemVisibilityValues::getInstance()->getValues(); + return $ref_enums; + } + + + public function getChannelsToIntegrityStatus(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, + '/channels_to_integrity_status', + new CatalogItemChannelsToIntegrityStatus(), + 'EDGE', + CatalogItemChannelsToIntegrityStatus::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 LocationBasedItem(), + 'NODE', + LocationBasedItem::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 new file mode 100644 index 000000000..a3faa4cc9 --- /dev/null +++ b/src/FacebookAds/Object/LoomConfig.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new MeasurementReport(), + 'NODE', + MeasurementReport::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 new file mode 100644 index 000000000..27b7c7912 --- /dev/null +++ b/src/FacebookAds/Object/MediaCopyrightAttribution.php @@ -0,0 +1,65 @@ +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/MediaCopyrightUpdateRecord.php b/src/FacebookAds/Object/MediaCopyrightUpdateRecord.php new file mode 100644 index 000000000..60a0fcd4b --- /dev/null +++ b/src/FacebookAds/Object/MediaCopyrightUpdateRecord.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new MediaCopyrightUpdateRecord(), + 'NODE', + MediaCopyrightUpdateRecord::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 index fca4450a2..b85378b84 100644 --- a/src/FacebookAds/Object/MediaTitle.php +++ b/src/FacebookAds/Object/MediaTitle.php @@ -58,9 +58,9 @@ public function getAugmentedRealitiesMetadata(array $fields = array(), array $pa $this->data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/MerchantCompliance.php b/src/FacebookAds/Object/MerchantCompliance.php new file mode 100644 index 000000000..d40727385 --- /dev/null +++ b/src/FacebookAds/Object/MerchantCompliance.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new MusicWorkCopyright(), + 'NODE', + MusicWorkCopyright::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/NegativeKeywordList.php b/src/FacebookAds/Object/NegativeKeywordList.php new file mode 100644 index 000000000..104a05bda --- /dev/null +++ b/src/FacebookAds/Object/NegativeKeywordList.php @@ -0,0 +1,90 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new NegativeKeywordList(), + 'NODE', + NegativeKeywordList::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( + 'business_id' => 'unsigned int', + 'list_name' => 'string', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/', + new NegativeKeywordList(), + 'NODE', + NegativeKeywordList::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/OfflineConversionDataSet.php b/src/FacebookAds/Object/OfflineConversionDataSet.php index e1c66af92..80bfe8bb1 100644 --- a/src/FacebookAds/Object/OfflineConversionDataSet.php +++ b/src/FacebookAds/Object/OfflineConversionDataSet.php @@ -17,8 +17,6 @@ use FacebookAds\Object\Values\AdAccountActionSourceValues; use FacebookAds\Object\Values\BusinessActionSourceValues; use FacebookAds\Object\Values\CustomAudienceActionSourceValues; -use FacebookAds\Object\Values\OfflineConversionDataSetPermittedRolesValues; -use FacebookAds\Object\Values\OfflineConversionDataSetRelationshipTypeValues; use FacebookAds\Object\Values\OfflineConversionDataSetUploadOrderValues; use FacebookAds\Object\Values\OfflineConversionDataSetUploadSortByValues; @@ -33,13 +31,6 @@ class OfflineConversionDataSet extends AbstractCrudObject { - /** - * @deprecated getEndpoint function is deprecated - */ - protected function getEndpoint() { - return 'offline_conversion_data_sets'; - } - /** * @return OfflineConversionDataSetFields */ @@ -49,8 +40,6 @@ public static function getFieldsEnum() { protected static function getReferencedEnums() { $ref_enums = array(); - $ref_enums['PermittedRoles'] = OfflineConversionDataSetPermittedRolesValues::getInstance()->getValues(); - $ref_enums['RelationshipType'] = OfflineConversionDataSetRelationshipTypeValues::getInstance()->getValues(); return $ref_enums; } @@ -79,32 +68,6 @@ public function getAdAccounts(array $fields = array(), array $params = array(), return $pending ? $request : $request->execute(); } - public function createAdAccount(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'account_id' => 'string', - 'auto_track_for_ads' => 'bool', - 'business' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/adaccounts', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - 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(); @@ -128,35 +91,6 @@ public function getAgencies(array $fields = array(), array $params = array(), $p return $pending ? $request : $request->execute(); } - public function createAgency(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'business' => 'string', - 'other_relationship' => 'string', - 'permitted_roles' => 'list', - 'relationship_type' => 'list', - ); - $enums = array( - 'permitted_roles_enum' => OfflineConversionDataSetPermittedRolesValues::getInstance()->getValues(), - 'relationship_type_enum' => OfflineConversionDataSetRelationshipTypeValues::getInstance()->getValues(), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/agencies', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - public function getAudiences(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -230,7 +164,7 @@ public function getServerEventsPermittedBusiness(array $fields = array(), array return $pending ? $request : $request->execute(); } - public function getSharedAccounts(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAccounts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -256,7 +190,7 @@ public function getSharedAccounts(array $fields = array(), array $params = array return $pending ? $request : $request->execute(); } - public function getSharedAgencies(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDAgencies(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -349,78 +283,6 @@ public function getUploads(array $fields = array(), array $params = array(), $pe return $pending ? $request : $request->execute(); } - public function createUpload(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'upload_tag' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/uploads', - new OfflineConversionDataSetUpload(), - 'EDGE', - OfflineConversionDataSetUpload::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function createValidate(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'data' => 'list', - 'namespace_id' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/validate', - new OfflineConversionDataSet(), - 'EDGE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - - public function deleteSelf(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_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(); @@ -444,31 +306,4 @@ public function getSelf(array $fields = array(), array $params = array(), $pendi return $pending ? $request : $request->execute(); } - public function updateSelf(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'auto_assign_to_new_accounts_only' => 'bool', - 'description' => 'string', - 'enable_auto_assign_to_accounts' => 'bool', - 'name' => 'string', - ); - $enums = array( - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/', - new OfflineConversionDataSet(), - 'NODE', - OfflineConversionDataSet::getFieldsEnum()->getValues(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - } diff --git a/src/FacebookAds/Object/OfflineConversionDataSetActivities.php b/src/FacebookAds/Object/OfflineConversionDataSetActivities.php new file mode 100644 index 000000000..e9f2b3c16 --- /dev/null +++ b/src/FacebookAds/Object/OfflineConversionDataSetActivities.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['Visibility'] = OfflineProductItemVisibilityValues::getInstance()->getValues(); + return $ref_enums; + } + + + public function getChannelsToIntegrityStatus(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, + '/channels_to_integrity_status', + new CatalogItemChannelsToIntegrityStatus(), + 'EDGE', + CatalogItemChannelsToIntegrityStatus::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 OfflineProductItem(), + 'NODE', + OfflineProductItem::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/OfflineTermsOfService.php b/src/FacebookAds/Object/OfflineTermsOfService.php new file mode 100644 index 000000000..8e50d2048 --- /dev/null +++ b/src/FacebookAds/Object/OfflineTermsOfService.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new OfflineTermsOfService(), + 'NODE', + OfflineTermsOfService::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/OffsiteSignalContainerBusinessObject.php b/src/FacebookAds/Object/OffsiteSignalContainerBusinessObject.php new file mode 100644 index 000000000..5ac4b5dbf --- /dev/null +++ b/src/FacebookAds/Object/OffsiteSignalContainerBusinessObject.php @@ -0,0 +1,111 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/linked_application', + new AdsDataset(), + 'EDGE', + AdsDataset::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getLinkedPage(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, + '/linked_page', + new Page(), + 'EDGE', + Page::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 OffsiteSignalContainerBusinessObject(), + 'NODE', + OffsiteSignalContainerBusinessObject::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/OpenBridgeConfiguration.php b/src/FacebookAds/Object/OpenBridgeConfiguration.php index 3fba116ab..6c5840e24 100644 --- a/src/FacebookAds/Object/OpenBridgeConfiguration.php +++ b/src/FacebookAds/Object/OpenBridgeConfiguration.php @@ -96,13 +96,13 @@ public function updateSelf(array $fields = array(), array $params = array(), $pe $this->assureId(); $param_types = array( - 'access_key' => 'string', 'active' => 'bool', 'endpoint' => 'string', 'fallback_domain' => 'string', 'fallback_domain_enabled' => 'bool', 'host_business_id' => 'unsigned int', 'host_external_id' => 'string', + 'instance_id' => 'string', ); $enums = array( ); diff --git a/src/FacebookAds/Object/OrderIDAttributions.php b/src/FacebookAds/Object/OrderIDAttributions.php new file mode 100644 index 000000000..90de0fb21 --- /dev/null +++ b/src/FacebookAds/Object/OrderIDAttributions.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new Organization(), + 'NODE', + Organization::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/OwnedDomain.php b/src/FacebookAds/Object/OwnedDomain.php new file mode 100644 index 000000000..1f177cca7 --- /dev/null +++ b/src/FacebookAds/Object/OwnedDomain.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new OwnedDomain(), + 'NODE', + OwnedDomain::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/P2MInvoicePayments.php b/src/FacebookAds/Object/P2MInvoicePayments.php new file mode 100644 index 000000000..2ea7cabc5 --- /dev/null +++ b/src/FacebookAds/Object/P2MInvoicePayments.php @@ -0,0 +1,42 @@ +data['id'], RequestInterface::METHOD_GET, '/ar_experience', - new AbstractCrudObject(), + new ArAdsDataContainer(), 'EDGE', - array(), + ArAdsDataContainer::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -560,9 +563,9 @@ public function getBusinessProjects(array $fields = array(), array $params = arr $this->data['id'], RequestInterface::METHOD_GET, '/businessprojects', - new AbstractCrudObject(), + new BusinessProject(), 'EDGE', - array(), + BusinessProject::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -593,6 +596,43 @@ public function getCallToActions(array $fields = array(), array $params = array( return $pending ? $request : $request->execute(); } + public function createCall(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'action' => 'action_enum', + 'call_id' => 'string', + 'platform' => 'platform_enum', + 'session' => 'map', + 'to' => 'string', + ); + $enums = array( + 'action_enum' => array( + 'ACCEPT', + 'REJECT', + 'TERMINATE', + ), + 'platform_enum' => array( + 'INSTAGRAM', + 'MESSENGER', + ), + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/calls', + new AbstractCrudObject(), + 'EDGE', + array(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function getCanvasElements(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -914,28 +954,9 @@ public function createCopyrightManualClaim(array $fields = array(), array $param 'selected_segments' => 'list', ); $enums = array( - 'action_enum' => array( - 'BLOCK', - 'CLAIM_AD_EARNINGS', - 'MANUAL_REVIEW', - 'MONITOR', - 'REQUEST_TAKEDOWN', - ), - 'action_reason_enum' => array( - 'ARTICLE_17_PREFLAGGING', - 'ARTIST_OBJECTION', - 'OBJECTIONABLE_CONTENT', - 'PREMIUM_MUSIC_VIDEO', - 'PRERELEASE_CONTENT', - 'PRODUCT_PARAMETERS', - 'RESTRICTED_CONTENT', - 'UNAUTHORIZED_COMMERCIAL_USE', - ), - 'match_content_type_enum' => array( - 'AUDIO_ONLY', - 'VIDEO_AND_AUDIO', - 'VIDEO_ONLY', - ), + 'action_enum' => VideoCopyrightMatchActionValues::getInstance()->getValues(), + 'action_reason_enum' => VideoCopyrightMatchActionReasonValues::getInstance()->getValues(), + 'match_content_type_enum' => VideoCopyrightMatchMatchContentTypeValues::getInstance()->getValues(), ); $request = new ApiRequest( @@ -943,9 +964,9 @@ public function createCopyrightManualClaim(array $fields = array(), array $param $this->data['id'], RequestInterface::METHOD_POST, '/copyright_manual_claims', - new AbstractCrudObject(), + new VideoCopyrightMatch(), 'EDGE', - array(), + VideoCopyrightMatch::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1101,7 +1122,7 @@ public function createCustomUserSetting(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function getDataset(array $fields = array(), array $params = array(), $pending = false) { + public function getDataSet(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1114,9 +1135,32 @@ public function getDataset(array $fields = array(), array $params = array(), $pe $this->data['id'], RequestInterface::METHOD_GET, '/dataset', - new Dataset(), + new AdsPixel(), 'EDGE', - Dataset::getFieldsEnum()->getValues(), + AdsPixel::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function createDataSet(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_POST, + '/dataset', + new AdsPixel(), + 'EDGE', + AdsPixel::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1192,9 +1236,9 @@ public function getFantasyGames(array $fields = array(), array $params = array() $this->data['id'], RequestInterface::METHOD_GET, '/fantasy_games', - new AbstractCrudObject(), + new FantasyGame(), 'EDGE', - array(), + FantasyGame::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -1235,7 +1279,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe $param_types = array( 'actions' => 'Object', - 'adaptive_type' => 'string', 'album_id' => 'string', 'android_key_hash' => 'string', 'animated_effect_id' => 'unsigned int', @@ -1321,7 +1364,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe 'publish_event_id' => 'unsigned int', 'published' => 'bool', 'quote' => 'string', - 'react_mode_metadata' => 'string', 'ref' => 'list', 'referenceable_image_ids' => 'list', 'referral_id' => 'string', @@ -1866,7 +1908,7 @@ public function createMediaFingerprint(array $fields = array(), array $params = return $pending ? $request : $request->execute(); } - public function createMessageAttachment(array $fields = array(), array $params = array(), $pending = false) { + public function createMessageAttachMEnt(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1955,7 +1997,54 @@ public function getMessagingFeatureReview(array $fields = array(), array $params return $pending ? $request : $request->execute(); } - public function getMessengerLeadForms(array $fields = array(), array $params = array(), $pending = false) { + public function getMessengerCallSettings(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, + '/messenger_call_settings', + new MessengerCallSettings(), + 'EDGE', + MessengerCallSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function createMessengerCallSetting(array $fields = array(), array $params = array(), $pending = false) { + $this->assureId(); + + $param_types = array( + 'audio_enabled' => 'bool', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/messenger_call_settings', + new Page(), + 'EDGE', + Page::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + + public function getMessengerLeadForMs(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -1978,7 +2067,7 @@ public function getMessengerLeadForms(array $fields = array(), array $params = a return $pending ? $request : $request->execute(); } - public function createMessengerLeadForm(array $fields = array(), array $params = array(), $pending = false) { + public function createMessengerLeadForM(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2241,7 +2330,7 @@ public function createPageBackedInstagramAccount(array $fields = array(), array return $pending ? $request : $request->execute(); } - public function createPageWhatsappNumberVerification(array $fields = array(), array $params = array(), $pending = false) { + public function createPageWhatsAppNumberVerification(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -2774,7 +2863,7 @@ public function getRtbDynamicPosts(array $fields = array(), array $params = arra return $pending ? $request : $request->execute(); } - public function getScheduledPosts(array $fields = array(), array $params = array(), $pending = false) { + public function getScheduleDPosts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -3408,7 +3497,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p $param_types = array( 'ad_breaks' => 'list', - 'adaptive_type' => 'string', 'animated_effect_id' => 'unsigned int', 'application_id' => 'string', 'asked_fun_fact_prompt_id' => 'unsigned int', @@ -3467,7 +3555,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p 'original_projection_type' => 'original_projection_type_enum', 'publish_event_id' => 'unsigned int', 'published' => 'bool', - 'react_mode_metadata' => 'string', 'reference_only' => 'bool', 'referenced_sticker_id' => 'string', 'replace_video_id' => 'string', diff --git a/src/FacebookAds/Object/PageAppWithLeadsAccess.php b/src/FacebookAds/Object/PageAppWithLeadsAccess.php new file mode 100644 index 000000000..e2efdee36 --- /dev/null +++ b/src/FacebookAds/Object/PageAppWithLeadsAccess.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PageBroadcast(), + 'NODE', + PageBroadcast::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/PageCTSTopic.php b/src/FacebookAds/Object/PageCTSTopic.php new file mode 100644 index 000000000..01da0f745 --- /dev/null +++ b/src/FacebookAds/Object/PageCTSTopic.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PageInsightsAsyncExportRun(), + 'NODE', + PageInsightsAsyncExportRun::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 new file mode 100644 index 000000000..e847670ee --- /dev/null +++ b/src/FacebookAds/Object/PageLeadsAccessConfig.php @@ -0,0 +1,65 @@ +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/PageLocationsBreakdown.php b/src/FacebookAds/Object/PageLocationsBreakdown.php new file mode 100644 index 000000000..024b89cb4 --- /dev/null +++ b/src/FacebookAds/Object/PageLocationsBreakdown.php @@ -0,0 +1,42 @@ +assureId(); $param_types = array( @@ -294,7 +294,7 @@ public function getReactions(array $fields = array(), array $params = array(), $ return $pending ? $request : $request->execute(); } - public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDPosts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/PagePublisher.php b/src/FacebookAds/Object/PagePublisher.php new file mode 100644 index 000000000..0117d2319 --- /dev/null +++ b/src/FacebookAds/Object/PagePublisher.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PanelAPIReport(), + 'NODE', + PanelAPIReport::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ParentCatalogReport.php b/src/FacebookAds/Object/ParentCatalogReport.php new file mode 100644 index 000000000..709711190 --- /dev/null +++ b/src/FacebookAds/Object/ParentCatalogReport.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PartnerAccountLinking(), + 'NODE', + PartnerAccountLinking::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/PartnerCategory.php b/src/FacebookAds/Object/PartnerCategory.php new file mode 100644 index 000000000..80138bd52 --- /dev/null +++ b/src/FacebookAds/Object/PartnerCategory.php @@ -0,0 +1,49 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PartnerIntegrationLinked(), + 'NODE', + PartnerIntegrationLinked::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/PartnershipAdContentSearchMedia.php b/src/FacebookAds/Object/PartnershipAdContentSearchMedia.php new file mode 100644 index 000000000..ed33b977e --- /dev/null +++ b/src/FacebookAds/Object/PartnershipAdContentSearchMedia.php @@ -0,0 +1,42 @@ +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/PhotoMetadata.php b/src/FacebookAds/Object/PhotoMetadata.php new file mode 100644 index 000000000..654aefcb7 --- /dev/null +++ b/src/FacebookAds/Object/PhotoMetadata.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PlaceTag(), + 'NODE', + PlaceTag::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/PlatformSessionKey.php b/src/FacebookAds/Object/PlatformSessionKey.php new file mode 100644 index 000000000..59d262334 --- /dev/null +++ b/src/FacebookAds/Object/PlatformSessionKey.php @@ -0,0 +1,42 @@ +assureId(); $param_types = array( @@ -281,7 +281,7 @@ public function getReactions(array $fields = array(), array $params = array(), $ return $pending ? $request : $request->execute(); } - public function getSharedPosts(array $fields = array(), array $params = array(), $pending = false) { + public function getShareDPosts(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( diff --git a/src/FacebookAds/Object/PreapprovalReview.php b/src/FacebookAds/Object/PreapprovalReview.php new file mode 100644 index 000000000..b302c34f8 --- /dev/null +++ b/src/FacebookAds/Object/PreapprovalReview.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PrivateComputationEnvironment(), + 'NODE', + PrivateComputationEnvironment::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ProductCatalog.php b/src/FacebookAds/Object/ProductCatalog.php index 622f0adc7..2c1608c36 100644 --- a/src/FacebookAds/Object/ProductCatalog.php +++ b/src/FacebookAds/Object/ProductCatalog.php @@ -15,6 +15,7 @@ use FacebookAds\TypeChecker; use FacebookAds\Object\Fields\ProductCatalogFields; use FacebookAds\Object\Values\CheckBatchRequestStatusErrorPriorityValues; +use FacebookAds\Object\Values\CreatorAssetCreativeModerationStatusValues; use FacebookAds\Object\Values\ProductCatalogAdditionalVerticalOptionValues; use FacebookAds\Object\Values\ProductCatalogCategoryCategorizationCriteriaValues; use FacebookAds\Object\Values\ProductCatalogDataSourceIngestionSourceTypeValues; @@ -148,6 +149,7 @@ public function createAgency(array $fields = array(), array $params = array(), $ 'business' => 'string', 'permitted_roles' => 'list', 'permitted_tasks' => 'list', + 'skip_default_utms' => 'bool', 'utm_settings' => 'map', ); $enums = array( @@ -300,7 +302,7 @@ public function createCatalogStore(array $fields = array(), array $params = arra $this->assureId(); $param_types = array( - 'page' => 'int', + 'page' => 'string', ); $enums = array( ); @@ -397,7 +399,7 @@ public function getCheckBatchRequestStatus(array $fields = array(), array $param return $pending ? $request : $request->execute(); } - public function getCollaborativeAdsEventStats(array $fields = array(), array $params = array(), $pending = false) { + public function getCollaborativeAdsLsbImageBank(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -409,10 +411,10 @@ public function getCollaborativeAdsEventStats(array $fields = array(), array $pa $this->api, $this->data['id'], RequestInterface::METHOD_GET, - '/collaborative_ads_event_stats', - new CatalogSegmentAllMatchCountLaser(), + '/collaborative_ads_lsb_image_bank', + new CPASLsbImageBank(), 'EDGE', - CatalogSegmentAllMatchCountLaser::getFieldsEnum()->getValues(), + CPASLsbImageBank::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -420,7 +422,7 @@ public function getCollaborativeAdsEventStats(array $fields = array(), array $pa return $pending ? $request : $request->execute(); } - public function getCollaborativeAdsLsbImageBank(array $fields = array(), array $params = array(), $pending = false) { + public function getCollaborativeAdsShareSettings(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( @@ -432,10 +434,10 @@ public function getCollaborativeAdsLsbImageBank(array $fields = array(), array $ $this->api, $this->data['id'], RequestInterface::METHOD_GET, - '/collaborative_ads_lsb_image_bank', - new AbstractCrudObject(), + '/collaborative_ads_share_settings', + new CollaborativeAdsShareSettings(), 'EDGE', - array(), + CollaborativeAdsShareSettings::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -443,10 +445,13 @@ public function getCollaborativeAdsLsbImageBank(array $fields = array(), array $ return $pending ? $request : $request->execute(); } - public function getCollaborativeAdsShareSettings(array $fields = array(), array $params = array(), $pending = false) { + public function createCpasLsbImageBank(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( + 'ad_group_id' => 'unsigned int', + 'agency_business_id' => 'unsigned int', + 'backup_image_urls' => 'list', ); $enums = array( ); @@ -454,11 +459,11 @@ public function getCollaborativeAdsShareSettings(array $fields = array(), array $request = new ApiRequest( $this->api, $this->data['id'], - RequestInterface::METHOD_GET, - '/collaborative_ads_share_settings', - new CollaborativeAdsShareSettings(), + RequestInterface::METHOD_POST, + '/cpas_lsb_image_bank', + new CPASLsbImageBank(), 'EDGE', - CollaborativeAdsShareSettings::getFieldsEnum()->getValues(), + CPASLsbImageBank::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); @@ -466,25 +471,24 @@ public function getCollaborativeAdsShareSettings(array $fields = array(), array return $pending ? $request : $request->execute(); } - public function createCpasLsbImageBank(array $fields = array(), array $params = array(), $pending = false) { + public function getCreatorAssetCreatives(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); $param_types = array( - 'ad_group_id' => 'unsigned int', - 'agency_business_id' => 'unsigned int', - 'backup_image_urls' => 'list', + 'moderation_status' => 'moderation_status_enum', ); $enums = array( + 'moderation_status_enum' => CreatorAssetCreativeModerationStatusValues::getInstance()->getValues(), ); $request = new ApiRequest( $this->api, $this->data['id'], - RequestInterface::METHOD_POST, - '/cpas_lsb_image_bank', - new AbstractCrudObject(), + RequestInterface::METHOD_GET, + '/creator_asset_creatives', + new CreatorAssetCreative(), 'EDGE', - array(), + CreatorAssetCreative::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/ProductCatalogExampleFeed.php b/src/FacebookAds/Object/ProductCatalogExampleFeed.php new file mode 100644 index 000000000..051f23e3a --- /dev/null +++ b/src/FacebookAds/Object/ProductCatalogExampleFeed.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ProductCatalogLocalizationSettings(), + 'NODE', + ProductCatalogLocalizationSettings::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ProductCatalogMicrodataStatsPixelInfo.php b/src/FacebookAds/Object/ProductCatalogMicrodataStatsPixelInfo.php new file mode 100644 index 000000000..558a92b47 --- /dev/null +++ b/src/FacebookAds/Object/ProductCatalogMicrodataStatsPixelInfo.php @@ -0,0 +1,42 @@ +getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/ProductItemOffer.php b/src/FacebookAds/Object/ProductItemOffer.php new file mode 100644 index 000000000..167073e46 --- /dev/null +++ b/src/FacebookAds/Object/ProductItemOffer.php @@ -0,0 +1,65 @@ +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/ProductItemShipping.php b/src/FacebookAds/Object/ProductItemShipping.php new file mode 100644 index 000000000..89ee7477c --- /dev/null +++ b/src/FacebookAds/Object/ProductItemShipping.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ProductSetUsage(), + 'NODE', + ProductSetUsage::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ProductVisualVariant.php b/src/FacebookAds/Object/ProductVisualVariant.php new file mode 100644 index 000000000..143ada692 --- /dev/null +++ b/src/FacebookAds/Object/ProductVisualVariant.php @@ -0,0 +1,42 @@ +assureId(); $param_types = array( @@ -84,9 +84,9 @@ public function getPagedWebPublishers(array $fields = array(), array $params = a $this->data['id'], RequestInterface::METHOD_GET, '/paged_web_publishers', - new AbstractCrudObject(), + new WebPublisher(), 'EDGE', - array(), + WebPublisher::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/PublisherDeliveryReport.php b/src/FacebookAds/Object/PublisherDeliveryReport.php new file mode 100644 index 000000000..afe0a8f48 --- /dev/null +++ b/src/FacebookAds/Object/PublisherDeliveryReport.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new PublisherWhiteList(), + 'NODE', + PublisherWhiteList::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/RecommendedIGMedia.php b/src/FacebookAds/Object/RecommendedIGMedia.php new file mode 100644 index 000000000..bb127b1d4 --- /dev/null +++ b/src/FacebookAds/Object/RecommendedIGMedia.php @@ -0,0 +1,42 @@ +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/ResellerGuidance.php b/src/FacebookAds/Object/ResellerGuidance.php new file mode 100644 index 000000000..fbefa2340 --- /dev/null +++ b/src/FacebookAds/Object/ResellerGuidance.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new RightsManagerDataExport(), + 'NODE', + RightsManagerDataExport::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/RightsManagerInsights.php b/src/FacebookAds/Object/RightsManagerInsights.php new file mode 100644 index 000000000..b95e2aad3 --- /dev/null +++ b/src/FacebookAds/Object/RightsManagerInsights.php @@ -0,0 +1,42 @@ +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/SalesRightsInventoryManagement.php b/src/FacebookAds/Object/SalesRightsInventoryManagement.php new file mode 100644 index 000000000..48238e7a9 --- /dev/null +++ b/src/FacebookAds/Object/SalesRightsInventoryManagement.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new SignalsIWLExtractor(), + 'NODE', + SignalsIWLExtractor::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/SingleOwnerAdditionalProfile.php b/src/FacebookAds/Object/SingleOwnerAdditionalProfile.php new file mode 100644 index 000000000..afe92ccac --- /dev/null +++ b/src/FacebookAds/Object/SingleOwnerAdditionalProfile.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new SiteLink(), + 'NODE', + SiteLink::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/SlicedEventSourceGroup.php b/src/FacebookAds/Object/SlicedEventSourceGroup.php new file mode 100644 index 000000000..f83adbf67 --- /dev/null +++ b/src/FacebookAds/Object/SlicedEventSourceGroup.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new SlicedEventSourceGroup(), + 'NODE', + SlicedEventSourceGroup::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/SmartPixelInsights.php b/src/FacebookAds/Object/SmartPixelInsights.php new file mode 100644 index 000000000..b76dc5e0f --- /dev/null +++ b/src/FacebookAds/Object/SmartPixelInsights.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new SplitTestConfig(), + 'NODE', + SplitTestConfig::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/Status.php b/src/FacebookAds/Object/Status.php new file mode 100644 index 000000000..cf07f7fbe --- /dev/null +++ b/src/FacebookAds/Object/Status.php @@ -0,0 +1,92 @@ +assureId(); + + $param_types = array( + 'feedback_source' => 'string', + 'nectar_module' => 'string', + 'notify' => 'bool', + 'tracking' => 'string', + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_POST, + '/likes', + new Status(), + 'EDGE', + Status::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 Status(), + 'NODE', + Status::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/StreamFilter.php b/src/FacebookAds/Object/StreamFilter.php new file mode 100644 index 000000000..1e863d55d --- /dev/null +++ b/src/FacebookAds/Object/StreamFilter.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new ThirdPartyMeasurementReportDataset(), + 'NODE', + ThirdPartyMeasurementReportDataset::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ThirdPartyPartnerLiftRequest.php b/src/FacebookAds/Object/ThirdPartyPartnerLiftRequest.php new file mode 100644 index 000000000..769b33a58 --- /dev/null +++ b/src/FacebookAds/Object/ThirdPartyPartnerLiftRequest.php @@ -0,0 +1,67 @@ +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 ThirdPartyPartnerLiftRequest(), + 'NODE', + ThirdPartyPartnerLiftRequest::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ThirdPartyPartnerPanelRequest.php b/src/FacebookAds/Object/ThirdPartyPartnerPanelRequest.php new file mode 100644 index 000000000..296b8eab9 --- /dev/null +++ b/src/FacebookAds/Object/ThirdPartyPartnerPanelRequest.php @@ -0,0 +1,69 @@ +getValues(); + $ref_enums['StudyType'] = ThirdPartyPartnerPanelRequestStudyTypeValues::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 ThirdPartyPartnerPanelRequest(), + 'NODE', + ThirdPartyPartnerPanelRequest::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ThirdPartyPartnerPanelScheduled.php b/src/FacebookAds/Object/ThirdPartyPartnerPanelScheduled.php new file mode 100644 index 000000000..9d7bf801c --- /dev/null +++ b/src/FacebookAds/Object/ThirdPartyPartnerPanelScheduled.php @@ -0,0 +1,69 @@ +getValues(); + $ref_enums['StudyType'] = ThirdPartyPartnerPanelScheduledStudyTypeValues::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 ThirdPartyPartnerPanelScheduled(), + 'NODE', + ThirdPartyPartnerPanelScheduled::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/ThirdPartyPartnerViewabilityRequest.php b/src/FacebookAds/Object/ThirdPartyPartnerViewabilityRequest.php new file mode 100644 index 000000000..96f4112c0 --- /dev/null +++ b/src/FacebookAds/Object/ThirdPartyPartnerViewabilityRequest.php @@ -0,0 +1,67 @@ +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 ThirdPartyPartnerViewabilityRequest(), + 'NODE', + ThirdPartyPartnerViewabilityRequest::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/TimeSuggestion.php b/src/FacebookAds/Object/TimeSuggestion.php new file mode 100644 index 000000000..66b107146 --- /dev/null +++ b/src/FacebookAds/Object/TimeSuggestion.php @@ -0,0 +1,42 @@ +getValues(); + $ref_enums['Visibility'] = TransactableItemVisibilityValues::getInstance()->getValues(); + return $ref_enums; + } + + + public function getChannelsToIntegrityStatus(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, + '/channels_to_integrity_status', + new CatalogItemChannelsToIntegrityStatus(), + 'EDGE', + CatalogItemChannelsToIntegrityStatus::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 TransactableItem(), + 'NODE', + TransactableItem::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 new file mode 100644 index 000000000..ac3f17ad9 --- /dev/null +++ b/src/FacebookAds/Object/Transaction.php @@ -0,0 +1,51 @@ +getValues(); + return $ref_enums; + } + + +} diff --git a/src/FacebookAds/Object/UniqueAdCreative.php b/src/FacebookAds/Object/UniqueAdCreative.php new file mode 100644 index 000000000..37339764c --- /dev/null +++ b/src/FacebookAds/Object/UniqueAdCreative.php @@ -0,0 +1,42 @@ +execute(); } + public function getAssignedApplications(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, + '/assigned_applications', + new Application(), + 'EDGE', + Application::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function getAssignedBusinessAssetGroups(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -568,11 +592,12 @@ public function createBusiness(array $fields = array(), array $params = array(), 'survey_business_type' => 'survey_business_type_enum', 'survey_num_assets' => 'unsigned int', 'survey_num_people' => 'unsigned int', - 'timezone_id' => 'unsigned int', + 'timezone_id' => 'timezone_id_enum', 'vertical' => 'vertical_enum', ); $enums = array( 'survey_business_type_enum' => BusinessSurveyBusinessTypeValues::getInstance()->getValues(), + 'timezone_id_enum' => BusinessTimezoneIdValues::getInstance()->getValues(), 'vertical_enum' => BusinessVerticalValues::getInstance()->getValues(), ); @@ -702,7 +727,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe $param_types = array( 'actions' => 'Object', - 'adaptive_type' => 'string', 'album_id' => 'string', 'android_key_hash' => 'string', 'animated_effect_id' => 'unsigned int', @@ -787,7 +811,6 @@ public function createFeed(array $fields = array(), array $params = array(), $pe 'publish_event_id' => 'unsigned int', 'published' => 'bool', 'quote' => 'string', - 'react_mode_metadata' => 'string', 'ref' => 'list', 'referenceable_image_ids' => 'list', 'referral_id' => 'string', @@ -923,35 +946,6 @@ public function createFundraiser(array $fields = array(), array $params = array( return $pending ? $request : $request->execute(); } - public function createGameTime(array $fields = array(), array $params = array(), $pending = false) { - $this->assureId(); - - $param_types = array( - 'action' => 'action_enum', - ); - $enums = array( - 'action_enum' => array( - 'END', - 'HEARTBEAT', - 'START', - ), - ); - - $request = new ApiRequest( - $this->api, - $this->data['id'], - RequestInterface::METHOD_POST, - '/game_times', - new AbstractCrudObject(), - 'EDGE', - array(), - new TypeChecker($param_types, $enums) - ); - $request->addParams($params); - $request->addFields($fields); - return $pending ? $request : $request->execute(); - } - public function getGroups(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -1563,7 +1557,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p $this->assureId(); $param_types = array( - 'adaptive_type' => 'string', 'animated_effect_id' => 'unsigned int', 'application_id' => 'string', 'asked_fun_fact_prompt_id' => 'unsigned int', @@ -1614,7 +1607,6 @@ public function createVideo(array $fields = array(), array $params = array(), $p 'original_projection_type' => 'original_projection_type_enum', 'privacy' => 'string', 'publish_event_id' => 'unsigned int', - 'react_mode_metadata' => 'string', 'referenced_sticker_id' => 'string', 'replace_video_id' => 'string', 'slideshow_spec' => 'map', diff --git a/src/FacebookAds/Object/UserContext.php b/src/FacebookAds/Object/UserContext.php new file mode 100644 index 000000000..279fa5be8 --- /dev/null +++ b/src/FacebookAds/Object/UserContext.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new UserContext(), + 'NODE', + UserContext::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/UserMobileConfig.php b/src/FacebookAds/Object/UserMobileConfig.php new file mode 100644 index 000000000..507933fc8 --- /dev/null +++ b/src/FacebookAds/Object/UserMobileConfig.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new UserSetReportingRoot(), + 'NODE', + UserSetReportingRoot::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/Values/AdAccountAdRulesHistoryActionValues.php b/src/FacebookAds/Object/Values/AdAccountAdRulesHistoryActionValues.php index 83d53c82e..9cc9c845d 100644 --- a/src/FacebookAds/Object/Values/AdAccountAdRulesHistoryActionValues.php +++ b/src/FacebookAds/Object/Values/AdAccountAdRulesHistoryActionValues.php @@ -26,11 +26,14 @@ class AdAccountAdRulesHistoryActionValues extends AbstractEnum { const CHANGED_BID = 'CHANGED_BID'; const CHANGED_BUDGET = 'CHANGED_BUDGET'; const EMAIL = 'EMAIL'; + const ENABLE_ADVANTAGE_CAMPAIGN_BUDGET = 'ENABLE_ADVANTAGE_CAMPAIGN_BUDGET'; const ENABLE_ADVANTAGE_PLUS_CREATIVE = 'ENABLE_ADVANTAGE_PLUS_CREATIVE'; const ENABLE_ADVANTAGE_PLUS_PLACEMENTS = 'ENABLE_ADVANTAGE_PLUS_PLACEMENTS'; const ENABLE_AUTOFLOW = 'ENABLE_AUTOFLOW'; const ENABLE_GEN_UNCROP = 'ENABLE_GEN_UNCROP'; + const ENABLE_MUSIC = 'ENABLE_MUSIC'; const ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION = 'ENABLE_SEMANTIC_BASED_AUDIENCE_EXPANSION'; + const ENABLE_SHOPS_ADS = 'ENABLE_SHOPS_ADS'; const ENDPOINT_PINGED = 'ENDPOINT_PINGED'; const ERROR = 'ERROR'; const FACEBOOK_NOTIFICATION_SENT = 'FACEBOOK_NOTIFICATION_SENT'; diff --git a/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php b/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php index 099f4cefe..30551b501 100644 --- a/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php +++ b/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php @@ -22,6 +22,7 @@ */ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { + const AAC_CREATION_PACKAGE = 'AAC_CREATION_PACKAGE'; const AB_TEST = 'AB_TEST'; const ACCOUNT_SPEND_LIMIT = 'ACCOUNT_SPEND_LIMIT'; const ACO_TOGGLE = 'ACO_TOGGLE'; @@ -33,10 +34,14 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const ADVANTAGE_DETAILED_TARGETING = 'ADVANTAGE_DETAILED_TARGETING'; const ADVANTAGE_LOOKALIKE_AUDIENCE = 'ADVANTAGE_LOOKALIKE_AUDIENCE'; const ADVANTAGE_PLUS_AUDIENCE = 'ADVANTAGE_PLUS_AUDIENCE'; + const ADVANTAGE_PLUS_AUDIENCE_DUPLICATION = 'ADVANTAGE_PLUS_AUDIENCE_DUPLICATION'; const ADVANTAGE_PLUS_AUDIENCE_FRICTION = 'ADVANTAGE_PLUS_AUDIENCE_FRICTION'; const ADVANTAGE_PLUS_AUDIENCE_TOGGLE = 'ADVANTAGE_PLUS_AUDIENCE_TOGGLE'; + const ADVANTAGE_PLUS_CAMPAIGN_BUDGET = 'ADVANTAGE_PLUS_CAMPAIGN_BUDGET'; const ADVANTAGE_PLUS_CREATIVE = 'ADVANTAGE_PLUS_CREATIVE'; const ADVANTAGE_PLUS_CREATIVE_CATALOG = 'ADVANTAGE_PLUS_CREATIVE_CATALOG'; + const ADVANTAGE_PLUS_CREATIVE_SE = 'ADVANTAGE_PLUS_CREATIVE_SE'; + const ADVANTAGE_PLUS_PLACEMENTS_DUPLICATION = 'ADVANTAGE_PLUS_PLACEMENTS_DUPLICATION'; const ADVANTAGE_PLUS_PLACEMENTS_FRICTION = 'ADVANTAGE_PLUS_PLACEMENTS_FRICTION'; const ADVANTAGE_SHOPPING_CAMPAIGN = 'ADVANTAGE_SHOPPING_CAMPAIGN'; const ADVANTAGE_SHOPPING_CAMPAIGN_FRAGMENTATION = 'ADVANTAGE_SHOPPING_CAMPAIGN_FRAGMENTATION'; @@ -47,7 +52,6 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const AGGREGATED_COST_LIMITED = 'AGGREGATED_COST_LIMITED'; const APP_AEM_V2_INSTALLATION_PROMOTION = 'APP_AEM_V2_INSTALLATION_PROMOTION'; const ASC_BUDGET_OPTIMIZATION = 'ASC_BUDGET_OPTIMIZATION'; - const ASC_BUDGET_OPTIMIZATION_PFR = 'ASC_BUDGET_OPTIMIZATION_PFR'; const ASC_CREATION_PACKAGE = 'ASC_CREATION_PACKAGE'; const ASC_FRAGMENTATION_V2 = 'ASC_FRAGMENTATION_V2'; const ASPECT_RATIO = 'ASPECT_RATIO'; @@ -55,14 +59,18 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const AUCTION_OVERLAP = 'AUCTION_OVERLAP'; const AUCTION_OVERLAP_CONSOLIDATION = 'AUCTION_OVERLAP_CONSOLIDATION'; const AUDIENCE_EXPANSION = 'AUDIENCE_EXPANSION'; + const AUDIENCE_EXPANSION_GEORADIUS = 'AUDIENCE_EXPANSION_GEORADIUS'; const AUDIENCE_EXPANSION_RETARGETING = 'AUDIENCE_EXPANSION_RETARGETING'; const AUDIENCE_LEARNING_LIMITED = 'AUDIENCE_LEARNING_LIMITED'; const AUTOFLOW_OPT_IN = 'AUTOFLOW_OPT_IN'; const AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW = 'AUTOFLOW_OPT_IN_FALLBACK_DUPLICATION_FLOW'; + const AUTOFLOW_OPT_IN_V2 = 'AUTOFLOW_OPT_IN_V2'; const AUTOMATIC_PLACEMENTS = 'AUTOMATIC_PLACEMENTS'; + const AUTOMATIC_PLACEMENTS_V2 = 'AUTOMATIC_PLACEMENTS_V2'; const AUTO_BID = 'AUTO_BID'; const BLENDED_ADS = 'BLENDED_ADS'; const BROAD_TARGETING = 'BROAD_TARGETING'; + const BUDGET_LIMITED = 'BUDGET_LIMITED'; const CAPI = 'CAPI'; const CAPI_PERFORMANCE_MATCH_KEY = 'CAPI_PERFORMANCE_MATCH_KEY'; const CAPI_PERFORMANCE_MATCH_KEY_V2 = 'CAPI_PERFORMANCE_MATCH_KEY_V2'; @@ -76,6 +84,7 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const COST_GOAL_CPA_LIMITED = 'COST_GOAL_CPA_LIMITED'; const COST_PER_RESULT = 'COST_PER_RESULT'; const CREATION_PACKAGE_UPGRADE_TO_ASC = 'CREATION_PACKAGE_UPGRADE_TO_ASC'; + const CREATION_PACKAGE_UPGRADE_TO_CTX = 'CREATION_PACKAGE_UPGRADE_TO_CTX'; const CREATION_PACKAGE_UPGRADE_TO_TLA = 'CREATION_PACKAGE_UPGRADE_TO_TLA'; const CREATION_PACKAGE_UPGRADE_TO_TMC = 'CREATION_PACKAGE_UPGRADE_TO_TMC'; const CREATIVE_BADGE = 'CREATIVE_BADGE'; @@ -92,13 +101,16 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS = 'DA_ADVANTAGE_PLUS_CREATIVE_INFO_LABELS'; const DA_DUPLICATION_PRODUCT_TAGS = 'DA_DUPLICATION_PRODUCT_TAGS'; const DEAD_LINK = 'DEAD_LINK'; + const DEFRAGMENTATION_ACB = 'DEFRAGMENTATION_ACB'; const DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET = 'DYNAMIC_ADVANTAGE_CAMPAIGN_BUDGET'; const ECOSYSTEM_BID_REDUCE_L1_CARDINALITY = 'ECOSYSTEM_BID_REDUCE_L1_CARDINALITY'; const EVC_APP_DUPLICATION_UPGRADE = 'EVC_APP_DUPLICATION_UPGRADE'; const EVC_WEB_DUPLICATION_UPGRADE = 'EVC_WEB_DUPLICATION_UPGRADE'; const FRAGMENTATION = 'FRAGMENTATION'; + const FRAGMENTATION_V2 = 'FRAGMENTATION_V2'; const GES_TEST = 'GES_TEST'; const GUIDANCE_CENTER_CODE_GEN = 'GUIDANCE_CENTER_CODE_GEN'; + const HEURISTIC_DEFAULT_DURATION = 'HEURISTIC_DEFAULT_DURATION'; const HIGH_COST = 'HIGH_COST'; const HISTORICAL_BENCHMARK = 'HISTORICAL_BENCHMARK'; const IG_MULTI_ADS = 'IG_MULTI_ADS'; @@ -115,29 +127,36 @@ class AdAccountAdVolumeRecommendationTypeValues extends AbstractEnum { const MULTI_TEXT = 'MULTI_TEXT'; const MUSIC = 'MUSIC'; const NOT_APPLICABLE = 'NOT_APPLICABLE'; + const NO_DELIVERY_STATUS = 'NO_DELIVERY_STATUS'; const OPTIMAL_BAU = 'OPTIMAL_BAU'; const PAYMENT_METHOD = 'PAYMENT_METHOD'; const PERFORMANT_CREATIVE_REELS_OPT_IN = 'PERFORMANT_CREATIVE_REELS_OPT_IN'; const PFR_L1_INLINE_MMT = 'PFR_L1_INLINE_MMT'; + const PIXEL_UPSELL = 'PIXEL_UPSELL'; const PREDICTIVE_CREATIVE_LIMITED = 'PREDICTIVE_CREATIVE_LIMITED'; const PREDICTIVE_CREATIVE_LIMITED_HOURLY = 'PREDICTIVE_CREATIVE_LIMITED_HOURLY'; const PREPARING_STATUS = 'PREPARING_STATUS'; + const PURCHASE_OPTIMIZATION = 'PURCHASE_OPTIMIZATION'; const RAPID_LEARNING_LIMITED = 'RAPID_LEARNING_LIMITED'; const RAPID_LEARNING_PHASE = 'RAPID_LEARNING_PHASE'; const REELS_DUPLICATION_UPSELL = 'REELS_DUPLICATION_UPSELL'; + const REELS_PLACEMENT = 'REELS_PLACEMENT'; const REVERT = 'REVERT'; const SCALE_GOOD_CAMPAIGN = 'SCALE_GOOD_CAMPAIGN'; const SEMANTIC_BASED_AUDIENCE_EXPANSION = 'SEMANTIC_BASED_AUDIENCE_EXPANSION'; const SETUP_PIXEL = 'SETUP_PIXEL'; const SHOPS_ADS = 'SHOPS_ADS'; + const SHOPS_ADS_DUPLICATION = 'SHOPS_ADS_DUPLICATION'; const SIGNALS_GROWTH_CAPI = 'SIGNALS_GROWTH_CAPI'; const SIGNALS_GROWTH_CAPI_TABLE = 'SIGNALS_GROWTH_CAPI_TABLE'; const SIGNALS_GROWTH_CAPI_V2 = 'SIGNALS_GROWTH_CAPI_V2'; + const SIMILAR_ADVERTISER_BUDGET_RECOMMENDATION = 'SIMILAR_ADVERTISER_BUDGET_RECOMMENDATION'; const SIX_PLUS_MANUAL_PLACEMENTS = 'SIX_PLUS_MANUAL_PLACEMENTS'; const SPEND_LIMIT = 'SPEND_LIMIT'; const SYD_TEST_MODE = 'SYD_TEST_MODE'; const TAILORED_LEAD_AD_CAMPAIGN = 'TAILORED_LEAD_AD_CAMPAIGN'; const TAILORED_MESSAGES_CAMPAIGN = 'TAILORED_MESSAGES_CAMPAIGN'; + const TLA_CREATION_PACKAGE = 'TLA_CREATION_PACKAGE'; const TOP_ADSETS_WITH_ADS_UNDER_CAP = 'TOP_ADSETS_WITH_ADS_UNDER_CAP'; const TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP = 'TOP_CAMPAIGNS_WITH_ADS_UNDER_CAP'; const TWO_P_GUIDANCE_CARD_AAA = 'TWO_P_GUIDANCE_CARD_AAA'; diff --git a/src/FacebookAds/Object/Values/AdAccountBusinessConstraintsStatusValues.php b/src/FacebookAds/Object/Values/AdAccountBusinessConstraintsStatusValues.php new file mode 100644 index 000000000..79a0d3fc0 --- /dev/null +++ b/src/FacebookAds/Object/Values/AdAccountBusinessConstraintsStatusValues.php @@ -0,0 +1,28 @@ +data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/VehicleOffer.php b/src/FacebookAds/Object/VehicleOffer.php index 6b40c8658..3ff582598 100644 --- a/src/FacebookAds/Object/VehicleOffer.php +++ b/src/FacebookAds/Object/VehicleOffer.php @@ -56,9 +56,9 @@ public function getAugmentedRealitiesMetadata(array $fields = array(), array $pa $this->data['id'], RequestInterface::METHOD_GET, '/augmented_realities_metadata', - new AbstractCrudObject(), + new DynamicARMetadata(), 'EDGE', - array(), + DynamicARMetadata::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/VideoAsset.php b/src/FacebookAds/Object/VideoAsset.php new file mode 100644 index 000000000..7e248e221 --- /dev/null +++ b/src/FacebookAds/Object/VideoAsset.php @@ -0,0 +1,94 @@ +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/VideoCopyright.php b/src/FacebookAds/Object/VideoCopyright.php index 43840f139..f63e41f2b 100644 --- a/src/FacebookAds/Object/VideoCopyright.php +++ b/src/FacebookAds/Object/VideoCopyright.php @@ -56,9 +56,9 @@ public function getUpdateRecords(array $fields = array(), array $params = array( $this->data['id'], RequestInterface::METHOD_GET, '/update_records', - new AbstractCrudObject(), + new MediaCopyrightUpdateRecord(), 'EDGE', - array(), + MediaCopyrightUpdateRecord::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums) ); $request->addParams($params); diff --git a/src/FacebookAds/Object/VideoCopyrightMatch.php b/src/FacebookAds/Object/VideoCopyrightMatch.php new file mode 100644 index 000000000..9b8a8a289 --- /dev/null +++ b/src/FacebookAds/Object/VideoCopyrightMatch.php @@ -0,0 +1,71 @@ +getValues(); + $ref_enums['ActionReason'] = VideoCopyrightMatchActionReasonValues::getInstance()->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 new file mode 100644 index 000000000..bbf31f1f6 --- /dev/null +++ b/src/FacebookAds/Object/VideoGroup.php @@ -0,0 +1,42 @@ +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/VideoStats.php b/src/FacebookAds/Object/VideoStats.php new file mode 100644 index 000000000..14302cab6 --- /dev/null +++ b/src/FacebookAds/Object/VideoStats.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new VideoTextQuestion(), + 'NODE', + VideoTextQuestion::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/VidwallaBroadcast.php b/src/FacebookAds/Object/VidwallaBroadcast.php new file mode 100644 index 000000000..4669e2ba0 --- /dev/null +++ b/src/FacebookAds/Object/VidwallaBroadcast.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new VidwallaBroadcast(), + 'NODE', + VidwallaBroadcast::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WITUser.php b/src/FacebookAds/Object/WITUser.php new file mode 100644 index 000000000..5e3413507 --- /dev/null +++ b/src/FacebookAds/Object/WITUser.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WearableDevicePublicKey(), + 'NODE', + WearableDevicePublicKey::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WebPublisher.php b/src/FacebookAds/Object/WebPublisher.php new file mode 100644 index 000000000..3bd3ea951 --- /dev/null +++ b/src/FacebookAds/Object/WebPublisher.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WebsiteCreativeAssetSource(), + 'NODE', + WebsiteCreativeAssetSource::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WebsiteCreativeAssetSuggestions.php b/src/FacebookAds/Object/WebsiteCreativeAssetSuggestions.php new file mode 100644 index 000000000..a091bae24 --- /dev/null +++ b/src/FacebookAds/Object/WebsiteCreativeAssetSuggestions.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WebsiteCreativeAssetSuggestions(), + 'NODE', + WebsiteCreativeAssetSuggestions::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 index 279498ee1..c031ec94e 100644 --- a/src/FacebookAds/Object/WhatsAppBusinessAccount.php +++ b/src/FacebookAds/Object/WhatsAppBusinessAccount.php @@ -15,6 +15,7 @@ use FacebookAds\TypeChecker; use FacebookAds\Object\Fields\WhatsAppBusinessAccountFields; use FacebookAds\Object\Values\WhatsAppBusinessAccountCategoryValues; +use FacebookAds\Object\Values\WhatsAppBusinessAccountDisplayFormatValues; use FacebookAds\Object\Values\WhatsAppBusinessAccountSubCategoryValues; use FacebookAds\Object\Values\WhatsAppBusinessAccountTasksValues; @@ -40,6 +41,7 @@ protected static function getReferencedEnums() { $ref_enums = array(); $ref_enums['Tasks'] = WhatsAppBusinessAccountTasksValues::getInstance()->getValues(); $ref_enums['Category'] = WhatsAppBusinessAccountCategoryValues::getInstance()->getValues(); + $ref_enums['DisplayFormat'] = WhatsAppBusinessAccountDisplayFormatValues::getInstance()->getValues(); $ref_enums['SubCategory'] = WhatsAppBusinessAccountSubCategoryValues::getInstance()->getValues(); return $ref_enums; } @@ -161,12 +163,12 @@ public function getConversationAnalytics(array $fields = array(), array $params 'conversation_categories_enum' => array( 'AUTHENTICATION', 'AUTHENTICATION_INTERNATIONAL', - 'FIXED_TEMPLATE_NOTIFY', 'MARKETING', 'MARKETING_OPTIMIZED_DELIVERY', 'SERVICE', 'UNKNOWN', 'UTILITY', + 'UTILITY_FIXED_TEMPLATE', ), 'conversation_directions_enum' => array( 'BUSINESS_INITIATED', @@ -401,6 +403,7 @@ public function getMessageTemplates(array $fields = array(), array $params = arr ), 'status_enum' => array( 'APPROVED', + 'ARCHIVED', 'DELETED', 'DISABLED', 'IN_APPEAL', @@ -435,6 +438,7 @@ public function createMessageTemplate(array $fields = array(), array $params = a 'category' => 'category_enum', 'components' => 'list', 'cta_url_link_tracking_opted_out' => 'bool', + 'display_format' => 'display_format_enum', 'language' => 'string', 'library_template_button_inputs' => 'list', 'library_template_name' => 'string', @@ -444,6 +448,7 @@ public function createMessageTemplate(array $fields = array(), array $params = a ); $enums = array( 'category_enum' => WhatsAppBusinessAccountCategoryValues::getInstance()->getValues(), + 'display_format_enum' => WhatsAppBusinessAccountDisplayFormatValues::getInstance()->getValues(), 'sub_category_enum' => WhatsAppBusinessAccountSubCategoryValues::getInstance()->getValues(), ); @@ -636,6 +641,7 @@ public function createSetOboMobilityIntent(array $fields = array(), array $param $this->assureId(); $param_types = array( + 'solution_id' => 'string', ); $enums = array( ); @@ -655,6 +661,29 @@ public function createSetOboMobilityIntent(array $fields = array(), array $param return $pending ? $request : $request->execute(); } + public function getSolutions(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, + '/solutions', + new AbstractCrudObject(), + 'EDGE', + array(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + public function deleteSubscribedApps(array $fields = array(), array $params = array(), $pending = false) { $this->assureId(); @@ -742,6 +771,7 @@ public function getTemplateAnalytics(array $fields = array(), array $params = ar ), 'metric_types_enum' => array( 'CLICKED', + 'COST', 'DELIVERED', 'READ', 'SENT', diff --git a/src/FacebookAds/Object/WhatsAppPaymentCapabilities.php b/src/FacebookAds/Object/WhatsAppPaymentCapabilities.php new file mode 100644 index 000000000..209166a70 --- /dev/null +++ b/src/FacebookAds/Object/WhatsAppPaymentCapabilities.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WhitehatFBDLRun(), + 'NODE', + WhitehatFBDLRun::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 new file mode 100644 index 000000000..f28fd9388 --- /dev/null +++ b/src/FacebookAds/Object/WifiInformation.php @@ -0,0 +1,65 @@ +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(); + } + +} diff --git a/src/FacebookAds/Object/WithAsset3D.php b/src/FacebookAds/Object/WithAsset3D.php new file mode 100644 index 000000000..b1ca4b926 --- /dev/null +++ b/src/FacebookAds/Object/WithAsset3D.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WithAsset3D(), + 'NODE', + WithAsset3D::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WoodhengeSupporter.php b/src/FacebookAds/Object/WoodhengeSupporter.php new file mode 100644 index 000000000..2b24232c8 --- /dev/null +++ b/src/FacebookAds/Object/WoodhengeSupporter.php @@ -0,0 +1,65 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WoodhengeSupporter(), + 'NODE', + WoodhengeSupporter::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WorkAccessCode.php b/src/FacebookAds/Object/WorkAccessCode.php new file mode 100644 index 000000000..46f2c2f81 --- /dev/null +++ b/src/FacebookAds/Object/WorkAccessCode.php @@ -0,0 +1,42 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/', + new WorkExperience(), + 'NODE', + WorkExperience::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WorkSkill.php b/src/FacebookAds/Object/WorkSkill.php new file mode 100644 index 000000000..4bfd09afd --- /dev/null +++ b/src/FacebookAds/Object/WorkSkill.php @@ -0,0 +1,88 @@ +assureId(); + + $param_types = array( + ); + $enums = array( + ); + + $request = new ApiRequest( + $this->api, + $this->data['id'], + RequestInterface::METHOD_GET, + '/users', + 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 WorkSkill(), + 'NODE', + WorkSkill::getFieldsEnum()->getValues(), + new TypeChecker($param_types, $enums) + ); + $request->addParams($params); + $request->addFields($fields); + return $pending ? $request : $request->execute(); + } + +} diff --git a/src/FacebookAds/Object/WorkUserBadges.php b/src/FacebookAds/Object/WorkUserBadges.php new file mode 100644 index 000000000..dffe4834f --- /dev/null +++ b/src/FacebookAds/Object/WorkUserBadges.php @@ -0,0 +1,42 @@ +